Core Concepts
This section explains how AmritaCore works under the hood — the components, their responsibilities, and how they fit together. It assumes you have finished the Tutorials.
Mental Model
The default workflow (
_workflow_rendered) runs the full shell with the legacy single-call agent loop on its agent branch. The step-driven ReAct loop is enabled by passing the step-loop workflow explicitly — see ChatObject.
Concepts
| Concept | What it covers |
|---|---|
| ChatObject | The lifecycle manager: workflow, DI contexts, stream |
| Configuration | AmritaConfig, FunctionConfig, LLMConfig, presets |
| Event System | Pipeline events + the matcher hook system |
| Tool System | Tool registration, schemas, execution |
| Agent Strategy | Strategy pattern; the step-driven ReAct loop |
| Data Management | Messages, DI contexts, backend + memory deep-dives |
Where to Go Next
- Extend it -> Extensions & Integration
- Tune it -> Agent Engineering
- Go deeper -> Advanced
