
Agent Description
Role or personality that sets the tone for your agent’s responses
Goals
What the agent should accomplish and its primary objectives
Instructions
Specific rules and behavior constraints for the agent
Expected Output
Response format (JSON, bullets, summary, etc.)
Anatomy of the System Prompt
The system prompt is constructed differently depending on where your agent runs:Local Development
When running locally, the system prompt includes only your configured components:- Agent Description - Your configured role/personality
- Instructions - Your configured instructions list
- Goals - Your configured goals
- Expected Output - Your configured output format
Local System Prompt
Production (with @on_task)
When running in production using the@on_task decorator, the platform automatically injects additional context:
- Additional Information - Auto-injected metadata (current time, markdown formatting)
- User Details - User ID, name, email, and custom attributes
- Timezone Info - User timezone with conversion rules
- User Memories - Personal facts from previous interactions (if enabled)
- Agent Memories - Shared knowledge across all users (if configured)
- Memory Management Tools - Instructions for
update_user_memoryandcreate_or_update_cultural_knowledge
Real System Prompt
Using the SDK
How to View System Prompt
Enable debug mode to see the full system prompt in logs:- Local
- Kubernetes

