Tutorials¶
Step-by-step guides for common use cases with Mamba Agents.
Available Tutorials¶
-
Building a Code Assistant
Build a complete coding assistant that can read, analyze, and modify code.
Topics: Tools, multi-turn conversations, file operations
-
Creating Custom Tools
Learn to create, test, and register custom tools for your agents.
Topics: Tool decorators, type hints, error handling
-
ReAct Workflow Deep Dive
Master the ReAct workflow pattern for complex multi-step tasks.
Topics: Workflows, reasoning traces, hooks
-
Local LLM Setup
Configure and use local models with Ollama, vLLM, or LM Studio.
Topics: Model backends, configuration, troubleshooting
Prerequisites¶
Before starting these tutorials, make sure you have:
- Python 3.12+ installed
- Mamba Agents installed (
uv add mamba-agents) - API access to a model provider (or local model server)
Tutorial Structure¶
Each tutorial follows a consistent structure:
- Overview - What you'll build and learn
- Prerequisites - What you need before starting
- Step-by-step guide - Detailed instructions with code
- Complete example - Full working code
- Next steps - Where to go from here
Quick Links¶
| Tutorial | Difficulty | Time |
|---|---|---|
| Code Assistant | Intermediate | 20 min |
| Custom Tools | Beginner | 15 min |
| ReAct Workflow | Advanced | 30 min |
| Local LLM Setup | Beginner | 15 min |