Skip to content

Tutorials

This section walks you through building agents with AmritaCore step by step. Each tutorial builds on the previous one and uses the public API only — no internals required.

Prerequisites

  • Python 3.10+ with amrita-core installed (see Getting Started)
  • An LLM API endpoint (OpenAI-compatible or Anthropic)
  • Basic familiarity with async/await

Tutorial Path

#TutorialWhat you will build
1Create Your First AgentA minimal chat agent with create_agent() and ChatObject
2Add Tools to Your AgentRegister callable tools with @simple_tool and @on_tools
3Streaming and CallbacksStream responses, read metadata, use callbacks
4Events and HooksIntercept the pipeline with lifecycle events
5Memory and SessionsPersist conversation history with session_id

Each tutorial takes about 5–10 minutes. Already comfortable? Jump to Concepts to understand the internals, or Extensions & Integration to plug in your own tools, adapters and MCP servers.

Apache 2.0 License