Write a single prompt
Overview
Single prompt agents use one comprehensive prompt to define the agent’s behavior, personality, and capabilities.Writing an effective single prompt
Key components
- Agent Role - Define who the agent is
- Personality - Describe the tone and style
- Capabilities - List what the agent can do
- Constraints - Set boundaries and limitations
- Instructions - Provide clear guidance
Example structure
Best practices
- Be specific and clear
- Use consistent formatting
- Test and iterate
- Keep it concise but comprehensive