tamar (runtime)
tamar is the runtime binary that executes your agent graph. It reads tama.toml, builds the agent graph, and runs the entrypoint agent with the provided input.
tamar "<task input>"tamar --debug "<task input>"Run from the project root (where tama.toml lives).
Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
<task> | The input string passed to the entrypoint agent’s start() |
| Flag | Description |
|---|---|
--debug | Enable interactive step-through debugger |
Environment variables
Section titled “Environment variables”| Variable | Description |
|---|---|
TAMA_ENTRYPOINT_AGENT | Override the entrypoint from tama.toml |
TAMA_MODEL_<ROLE> | Set model for a role (e.g. TAMA_MODEL_THINKER) |
ANTHROPIC_API_KEY | Anthropic API key |
OPENAI_API_KEY | OpenAI API key |
GEMINI_API_KEY | Google API key |
Output
Section titled “Output”tamar writes the final agent output to stdout. All trace/debug output goes to stderr.
# capture output onlytamar "research fusion energy" > output.txt
# see trace output in real timetamar "research fusion energy" 2>&1 | tee full-output.txtInteractive debugger
Section titled “Interactive debugger”tamar --debug "research fusion energy"The debugger pauses before each LLM call and lets you:
- Inspect the current input/context
- Edit the system prompt before the call
- Press Enter to continue
- After each agent completes: proceed or retry the entire agent
Difference from tama
Section titled “Difference from tama”tama | tamar | |
|---|---|---|
| Purpose | Developer tool | Runtime |
| Commands | init, add, lint, brew | (takes task as argument) |
| Runs agents? | No | Yes |
| In Docker image? | No | Yes |
tamar is the binary that runs in production Docker images. tama stays on your development machine.
Tracing
Section titled “Tracing”Every tamar run produces a trace in .tama/runs.duckdb. View runs with the web UI:
tama runs # not yet implemented — use web UIOr query directly:
duckdb .tama/runs.duckdbSELECT * FROM spans ORDER BY started_at DESC LIMIT 20;See Tracing & Observability for details.