Documentation

File format

The files the CLI reads and writes.

models/*.yaml
tools/*/tool.yaml
tools/*/contracts/*.yaml
agents/*/agent.yaml
agents/*/instruction.md
agents/*/policies/*.yaml
applications/*.yaml

Every YAML file contains version: 1, a lowercase kind, a technical name and a spec. Unknown or duplicate fields fail the plan.

Model

models/smart.yaml
version: 1
kind: model
name: smart
spec:
  display_name: Smart
  limits: {context_window_tokens: 8192, max_output_tokens: 1024}
  capabilities: {input_modalities: [text], output_modalities: [text], tool_calling: false}
  nodes:
    - name: primary
      display_name: Primary
      provider: openai_compatible
      api: responses
      base_url: https://provider.example/v1
      model: test
      credentials: {api_key: {from_env: PROVIDER_API_KEY}}

Credentials come from environment variables (from_env) and never appear in pulled files.

Agent

agents/support/agent.yaml
version: 1
kind: agent
name: support
spec:
  display_name: Support
  models: [smart]
  tools: []

The agent's instructions live next to it in agents/support/instruction.md.

Application

applications/product.yaml
version: 1
kind: application
name: product
spec:
  display_name: Product assistant
  agents: [{name: support}]

An Application connects agents from the same configuration. Changing its name declares a different Application, and removing a saved Application with --prune erases its users and conversations.