support_agent.py
Sources of Context
Agno can assemble these sources for each run. Enable only the sources the model needs for the current use case.
Control Context Size
Start with the smallest set that supports the task. Inspect model messages in debug mode when behavior suggests the model received missing, stale, or conflicting context.
Context Caching
Some model providers cache repeated prompt prefixes. Provider requirements and pricing differ. Keep stable instructions consistent between requests, place changing data in the appropriate runtime fields, and verify the selected provider’s caching behavior.- OpenAI prompt caching
- Anthropic prompt caching
- Anthropic caching with Agno
- OpenRouter prompt caching
Next Steps
Agent Context
Configure system messages and instructions for agents.
Team Context
Configure context for a leader and its members.
Chat History
Select previous messages for model context.