Quickstart
import { Steps } from ‘@astrojs/starlight/components’;
-
Create a project
Terminal window tama init my-projectcd my-projectThis creates:
my-project/├── tama.toml├── agents/└── skills/ -
Add your first agent
Terminal window tama add oneshot summarizerThis scaffolds
agents/summarizer/AGENT.md:---name: summarizerdescription: Summarizes text concisely.version: "1.0.0"pattern: oneshotcall:model:role: thinker---You are a concise summarizer. Given any text, return a clear 2-3 sentence summary. -
Set your API key and model
Terminal window export ANTHROPIC_API_KEY=sk-ant-...export TAMA_MODEL_THINKER=anthropic:claude-sonnet-4-6 -
Run it
Terminal window tamar "The Rust programming language is a systems language that guarantees memory safety \without a garbage collector, using a borrow checker to enforce ownership rules at compile time."Output:
Rust is a systems programming language that ensures memory safety at compile time throughits ownership and borrow checker system, eliminating the need for a garbage collector. -
Try a more powerful pattern
Add a research agent with web search:
Terminal window tama add react researchertama add skill search-webEdit
agents/researcher/AGENT.md:---name: researcherdescription: Researches topics using web search.version: "1.0.0"pattern: reactcall:model:role: thinkeruses:- search-web---You are a research assistant. Use search-web to find current information.When you have a comprehensive answer, call finish with key="done" and your findings.Point
tama.tomlat the new entrypoint:[project]name = "my-project"entrypoint = "researcher"Run:
Terminal window tama run "What are the latest developments in fusion energy?"
What just happened?
Section titled “What just happened?”tama initcreated the project scaffoldtama addgenerated an agent with the correct file structuretama runexecuted the agent graph starting from the entrypoint- The agent received your input as its first
start()call and ran untilfinish()
Next steps
Section titled “Next steps”- Core Concepts — understand how data flows through agents
- Patterns overview — choose the right pattern for your use case
- Writing a Skill — give agents access to external tools