Skip to content

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

    Start Tutorial

  • Creating Custom Tools


    Learn to create, test, and register custom tools for your agents.

    Topics: Tool decorators, type hints, error handling

    Start Tutorial

  • ReAct Workflow Deep Dive


    Master the ReAct workflow pattern for complex multi-step tasks.

    Topics: Workflows, reasoning traces, hooks

    Start Tutorial

  • Local LLM Setup


    Configure and use local models with Ollama, vLLM, or LM Studio.

    Topics: Model backends, configuration, troubleshooting

    Start Tutorial

Prerequisites

Before starting these tutorials, make sure you have:

  1. Python 3.12+ installed
  2. Mamba Agents installed (uv add mamba-agents)
  3. API access to a model provider (or local model server)

Tutorial Structure

Each tutorial follows a consistent structure:

  1. Overview - What you'll build and learn
  2. Prerequisites - What you need before starting
  3. Step-by-step guide - Detailed instructions with code
  4. Complete example - Full working code
  5. Next steps - Where to go from here
Tutorial Difficulty Time
Code Assistant Intermediate 20 min
Custom Tools Beginner 15 min
ReAct Workflow Advanced 30 min
Local LLM Setup Beginner 15 min