🚀 AgentFlow - Build AI Agents in Minutes¶
AgentFlow helps you build AI agents that think and act. No complex frameworks. No confusing abstractions. Just simple, working code.
Think of it like building with LEGO blocks: - Block 1: Create an agent - Block 2: Give it tasks (tools) - Block 3: Run it!
That's it. You're building multi-agent systems.
⏱️ Start Here: 5-Minute Quick Start¶
New to agents? Start here:¶
- What is AgentFlow? (2 min read)
- Install it (3 min)
- Build your first agent (5 min)
- Learn the concepts (5 min)
🎉 You'll have a working agent in 15 minutes.
Already familiar with agents? Jump to:¶
🎯 Ready to See It In Action?¶
This is all the code you need to create an AI agent:
from agentflow.graph import StateGraph, END
from agentflow.state import AgentState, Message
from agentflow.graph.agent_class import Agent
import os
os.environ["OPENAI_API_KEY"] = "your-key"
# 1. Create workflow
workflow = StateGraph(state_schema=AgentState)
# 2. Add an agent
agent = Agent(model="openai/gpt-4o", system_prompt="You are helpful.")
workflow.add_node("agent", agent)
# 3. Set the flow
workflow.set_entry_point("agent")
workflow.add_edge("agent", END)
# 4. Run it
app = workflow.compile()
result = app.invoke({"messages": [Message.text_message("Hello!", "user")]})
print(result["messages"][-1].content)
That's a complete agent! It takes questions, thinks about them, and responds.
📚 Documentation¶
- Getting Started ⭐ Start here if you're new
- Tutorials - Learn by building real projects
- How-To Guides - Find solutions to common tasks (coming soon)
- API Reference - Technical details
- Concepts - Understand how it works
✨ What Can You Build?¶
🤖 Chatbots¶
🔍 Code Reviewers¶
📚 Research Assistants¶
🎯 Autonomous Workers¶
All with the same simple pattern.
🏆 Why AgentFlow?¶
- 🚀 Fast to build - Agents in minutes, not weeks
- 🧠 Any LLM - Works with OpenAI, Gemini, Claude, or your favorite provider
- 🔧 Simple API - No framework bloat, just clean Python
- 📦 Production-ready - Deploy with confidence
- 🎓 Easy to learn - Start simple, scale gradually
🗂️ Choose Your Path¶
👶 Absolute Beginner¶
Path: What is AgentFlow? → Installation → Hello World → Tutorials
Time: ~1 hour
Goal: Build your first agent
🚀 Developer Familiar with LLMs¶
Path: Hello World → Tutorials → API Reference
Time: ~30 min to first agent
Goal: Integrate into existing project
🏢 Enterprise/Production¶
Path: Concepts → API Reference → Deployment Guide
Time: Variable
Goal: Scale to production
📖 Next Steps¶
- Never used an AI agent? → Start here
- Ready to code? → Install and build
- Want examples? → Tutorials
- Need specific help? → How-To Guides (coming soon)
🤖 For AI Assistants¶
This documentation includes an llms.txt file to help AI assistants like ChatGPT, Claude, and others better understand and navigate our documentation. If you're an AI assistant helping users with AgentFlow, check out our llms.txt for a structured overview of all available resources.
Learn more about the llms.txt standard at llmstxt.org.
Ready to build? Start with Getting Started →