How-To Guides¶
Task-focused guides for solving specific problems with AgentFlow.
Not sure where to start? Check out Getting Started or Tutorials first.
🎯 About How-To Guides¶
How-To guides are recipes for accomplishing specific tasks. They assume you have basic knowledge of AgentFlow and focus on solving one problem at a time.
Format¶
Each guide follows this structure: 1. Problem - What you want to accomplish 2. Prerequisites - What you need to know 3. Steps - How to do it 4. Code - Complete, working examples 5. Verification - How to test it worked
🤖 Agents¶
Build and configure agents:
- Create a Simple Agent
- Customize System Prompts
- Switch LLM Providers
- Handle Agent Errors
- Set Temperature and Parameters
🛠️ Tools¶
Give your agents capabilities:
- Create a Python Function Tool
- Add Multiple Tools
- Use External APIs
- Handle Tool Errors
- Implement Parallel Tool Execution
💾 Memory & State¶
Manage conversation state and memory:
- Add Conversation Memory
- Use PostgreSQL Checkpointer
- Implement Long-Term Memory
- Clear Conversation History
- Export Chat History
🔀 Workflows¶
Orchestrate complex agent workflows:
- Build a Multi-Agent System
- Implement Agent Handoff
- Add Conditional Routing
- Create Human-in-the-Loop
- Handle Workflow Errors
🚀 Deployment¶
Deploy your agents to production:
- Deploy with Docker
- Deploy to Production
- Configure Environment Variables
- Set Up Logging
- Monitor Performance
🔍 Finding the Right Guide¶
I want to...¶
...create an agent → Create a Simple Agent
...give my agent tools → Create a Python Function Tool
...make my agent remember conversations → Add Conversation Memory
...build a multi-agent system → Build a Multi-Agent System
...deploy to production → Deploy to Production
💡 Tips for Using How-To Guides¶
- Copy the code - All examples are complete and ready to use
- Adapt to your needs - Modify the examples for your use case
- Check prerequisites - Make sure you understand the basics first
- Read related guides - Many tasks build on each other
🆘 Can't Find What You Need?¶
- Search the docs - Use the search bar above
- Check tutorials - Tutorials provide step-by-step learning
- Browse examples - Examples show complete applications
- Ask the community - GitHub Discussions
🚧 More Guides Coming Soon¶
We're constantly adding new how-to guides. Check back regularly or star the repo to stay updated!
Suggest a guide: Open an issue on GitHub with your request.
Ready to solve a specific problem? Pick a category above and get started!