Skip to content

Setup

Dojo works out of the box with no config file. If you want to customize things, create a dojo.toml in your project root:

[skills]
dir = ["skills", ".agents/skills"]
[model]
provider = "anthropic"
evaluator = "claude-haiku-4-5"
[reporting]
per-skill = true
consolidated = false

See the Config Reference for the full schema.

These flags work on all commands and override anything in dojo.toml:

FlagDescription
-s, --skills-dir <dir>Override skills directory (repeatable)
-c, --config <path>Path to config file (default: auto-detect dojo.toml)
-d, --cwd <dir>Working directory for config and skill discovery

Model-related flags (--model-provider, -m, -j) live on dojo run specifically. See the Commands Reference for all options.

Dojo needs a model provider to run evals. Four are supported:

ProviderConfig valueAuthDefault model
AnthropicanthropicANTHROPIC_API_KEY env varclaude-haiku-4-5
OpenAIopenaiOPENAI_API_KEY env vargpt-4o-mini
GitHub CopilotcopilotActive Copilot subscriptionSDK default
Vercel AI SDKvercelKey for the underlying provideropenai/gpt-4o-mini

Anthropic is the default. Switch via dojo.toml:

[model]
provider = "anthropic"
evaluator = "claude-sonnet-4-6"
judge = "claude-opus-4-6"

Or at runtime:

Terminal window
dojo run --model-provider anthropic -m claude-sonnet-4-6

For the Vercel provider, model strings use the format <provider>/<model-id> (e.g. openai/gpt-4o-mini or anthropic/claude-sonnet-4-6). This routes through the Vercel AI SDK to whichever underlying provider you specify.

See the Config Reference for all model options.

v0.6.1