What is Conversation History?
Conversation history is the record of all messages in a session:- User messages - All user inputs (text and voice)
- Agent responses - All agent responses
- Tool calls - Tool execution records
- Tool results - Results from tool calls
How It Works
Automatic Management
History is automatically managed:Context for LLM
The agent uses conversation history as context:History Contents
Message Types
History includes:- User messages - Text and voice transcripts
- Agent responses - Text responses
- Tool calls - When agent calls tools
- Tool results - Results from tool execution
Example History
Best Practices
History Length
- Keep focused - Long conversations may exceed context limits
- Use tools - Tools can help manage context
- Clear when needed - Start new session for new topics
History Quality
- Clear messages - Help the agent understand intent
- Relevant tool results - Tools should return useful information
- Consistent terminology - Use consistent terms
Next Steps
- Session Management → - Learn about sessions
- Multi-turn Conversations → - Learn about multi-turn
- Context → - Understand conversation context

