Agent System Prompts
System prompts are the foundational instructions that define how your AI agent behaves, responds, and interacts with users. They act as the “personality” and “expertise” blueprint for your agent.Understanding System Prompts
Based on the agent configuration interface shown in the screenshots, system prompts are configured in the Behavior tab of your agent settings.
What Are System Prompts?
System prompts are instructions that:- Define your agent’s role and expertise
- Set behavioral guidelines and conversation style
- Establish knowledge boundaries and capabilities
- Configure response format and structure
- Integrate with knowledge bases and external tools
Core Components Visible in Interface
The configuration interface shows several key elements:- Agent Prompt (Give Instructions To Agent): The main system instruction field
- Prompt Templates: Pre-built templates for common use cases
- Knowledge Integration: “Use the following pieces of context to answer the question at the end.”
- Initial Messages: Welcome messages and conversation starters
- Suggested Messages: Pre-written prompts to help users engage
Prompt Template System
The interface includes a “Prompt templates” button that provides access to pre-built prompt structures. This helps ensure you start with proven prompt patterns.
Template Categories
Based on the interface structure, templates likely include:- Knowledge Base Agents: For information retrieval and Q&A
- Customer Support: For handling customer inquiries
- Sales Assistants: For lead qualification and product guidance
- Technical Support: For troubleshooting and technical assistance
- General Assistants: For multi-purpose interactions
Knowledge Base Integration
The system prompt field shows integration with knowledge bases through context instructions:
- Utilize available knowledge sources
- Reference specific information when responding
- Maintain accuracy by staying within knowledge boundaries
- Provide contextual, relevant answers
System Prompt Best Practices
1. Clear Role Definition
Start your prompt by clearly defining the agent’s role:2. Behavioral Guidelines
Set clear expectations for how the agent should behave:3. Knowledge Integration
Based on the interface screenshot showing knowledge context integration:4. Response Format
Specify how responses should be structured:5. Boundaries and Limitations
Set clear boundaries for what the agent can and cannot do:Advanced Prompt Engineering
Contextual Instructions
The interface shows advanced configuration options including:
- MCP Agent Integration: Model Context Protocol for external tool access
- Knowledge Base Selection: Specific knowledge sources to reference
- Voice and Model Settings: How the agent processes and responds
Multi-Modal Considerations
For agents with voice capabilities (as shown in the voice selection screenshots):Real-Time Interaction Prompts
For real-time models (GPT Realtime, GPT‑4o Realtime, GPT Realtime Mini, Gemini 2.5 Flash/Flash Lite, Groq-hosted realtime variants):
Industry-Specific Prompt Examples
Customer Support Agent
Sales Assistant
Technical Support Specialist
Testing and Optimization
Prompt Testing Strategy
- Role Consistency: Test if the agent maintains its defined role
- Knowledge Accuracy: Verify responses align with knowledge base content
- Boundary Respect: Ensure agent stays within defined limitations
- Tone Consistency: Check that communication style remains consistent
- Edge Cases: Test unusual or challenging scenarios
Iterative Improvement
The interface provides real-time feedback (as shown with “Agent preview theme updated”), allowing for iterative refinement:
- Deploy Initial Prompt: Start with a well-structured prompt
- Monitor Interactions: Track how users interact with the agent
- Identify Issues: Look for patterns in misunderstandings or errors
- Refine Instructions: Update the system prompt based on learnings
- Test Changes: Verify improvements work as expected
Integration with Other Features
Initial Messages Integration
System prompts work with initial agent messages:
- Welcome Message: ”👋 Hi, how can I help you?”
- Suggested Prompts: Pre-written conversation starters
- Context Setting: Establish the interaction framework immediately
Voice Integration
For voice-enabled agents, system prompts should include:
Data Collection Integration
When agents collect user data:
Common Pitfalls to Avoid
- Overly Long Prompts: Keep instructions focused and actionable
- Vague Instructions: Be specific about expected behaviors
- Conflicting Guidelines: Ensure all instructions align consistently
- Ignoring User Context: Consider how users will actually interact
- Static Thinking: Plan for prompt evolution and improvement
Measuring Prompt Effectiveness
Track key metrics to evaluate prompt success:- User Satisfaction: How well does the agent meet user needs?
- Task Completion: Does the agent help users accomplish their goals?
- Escalation Rate: How often do conversations require human intervention?
- Conversation Length: Are interactions appropriately efficient?
- Return Usage: Do users come back to interact with the agent?
