A barebones implementation of agentic architectures dedicated to demystifying how recursive agent loops work. Inspired by Claude Code and Open Claw.
- Educational: Understand tool-calling, memory, and feedback loops without heavy abstractions.
- Prototyping: Minimalist playground for testing agentic concepts.
- Documentation: A curated guide to modern agentic architectures.
- Agent Loop: Sequential ReAct-style loop.
- Tool Registry: Dynamic schema generation from Python functions.
- Model Abstraction: Multi-provider support via
LiteLLM. - Memory: Simple list-based message history.
- Python 3.10+
- OpenAI or Anthropic API Key
uv is an extremely fast Python package manager.
# Install dependencies
uv pip install -e .
# Or run directly if using uv project management (if applicable)
# uv run some_example.py- Copy
.env.exampleto.env:cp .env.example .env
- Add your API keys to the
.envfile.
Check out Architectures Guide for a deep dive into ReAct, Plan-and-Execute, and Reflexion patterns.
Check the examples/ directory for working implementation examples.
python examples/01_react_basic.py