Quick Start¶
5 minutes from install to running an agent.
Install¶
For Ed25519 signing (recommended for production):
Create your first agent¶
This creates my-researcher.agent:
apiVersion: agent/v1
name: my-researcher
version: 0.1.0
model:
capability: reasoning-mid
preferred:
- claude/claude-sonnet-4-6
- gemini/gemini-2.5-pro
- local/llama3:70b
skills:
- code-execution
- file-read
- file-write
behavior:
traits:
- think-step-by-step
- be-concise
trust:
filesystem: scoped
scope: [./workspace]
Validate¶
Resolve¶
See what would run before actually running:
Run¶
The resolver:
- Detected
claudein your PATH - Found
ANTHROPIC_API_KEYin your environment - Selected the first model whose runtime + auth was available
- Spawned
claude-codewith the system prompt built from your traits
What just happened¶
You wrote a manifest describing what you wanted (reasoning-mid model, file access, scoped to ./workspace). AgentSpec's resolver figured out how to make it real (use claude-code with claude-sonnet-4-6 via your API key).
If you only had gemini installed and GOOGLE_API_KEY set, the same .agent file would have run on Gemini instead. That's the resolver — your manifest is portable across environments.
Next steps¶
- Your First Agent — write a more interesting agent
- The .agent Format — full schema reference
- Resolver — how environment negotiation works