A collection of practical examples and projects exploring AI agent frameworks and agentic workflows.
| Directory | Description | Framework |
|---|---|---|
| Chapter 1 | Introduction to AI agents and basic tool usage | - |
| LangGraph | Stateful multi-actor applications with conditional routing and tool integration | LangGraph |
| Llama Index | RAG, multi-agent workflows, and agentic systems | LlamaIndex |
| Small Agents | Tool calling, multi-agent orchestration, RAG, and MCP integration | smolagents |
- Agent Types: ToolCallingAgent, CodeAgent, ReAct agents
- RAG (Retrieval-Augmented Generation): Document ingestion, vector embeddings, semantic search
- Multi-Agent Orchestration: Hierarchical and coordinated agent systems
- Tool Integration: Custom tools, MCP protocol, function calling
- State Management: StateGraph patterns, conditional routing, context persistence
- Observability: Langfuse tracing and monitoring
- Frameworks: LangGraph, LlamaIndex, smolagents
- LLM Providers: Anthropic (Claude), OpenAI, HuggingFace Inference API, Together AI
- Vector Stores: ChromaDB
- Embeddings: BAAI/bge-small-en-v1.5
- Search: SearXNG, DuckDuckGo
Each project has its own README with specific setup instructions. General requirements:
# Python 3.10+
python -m venv venv
source venv/bin/activate
# Install project-specific dependencies
cd <project-directory>
pip install -r requirements.txtProjects may require API keys in a .env file:
ANTHROPIC_API_KEY=your_key
OPENAI_API_KEY=your_key
HF_TOKEN=your_huggingface_token