AgentOven

CLI Reference

Complete reference for the agentoven command-line interface — 55+ commands across 13 command groups.


The agentoven CLI is your primary interface for managing agents, providers, tools, prompts, recipes, sessions, and kitchens from the terminal.


Installation

bash

# From crates.io (recommended)
cargo install agentoven-cli

# From source
git clone https://github.com/agentoven/agentoven.git
cd agentoven
cargo install --path crates/agentoven-cli

# macOS (Homebrew)
brew install agentoven/tap/agentoven
Global Flags

Every command accepts these flags:

FlagEnv VarDefaultDescription
--url <url>AGENTOVEN_URLhttp://localhost:8080Control plane URL
--api-key <key>AGENTOVEN_API_KEY—API key for authentication
-k, --kitchen <name>AGENTOVEN_KITCHENdefaultKitchen (workspace) scope
--output <fmt>—textOutput format: text, json, table
--help——Show help for any command

Commands at a Glance
GroupCommandsDescription
init—Initialize a new AgentOven project
apply—Declarative resource management from YAML/JSON/TOML manifests
agent15 subcommandsFull agent lifecycle management
provider7 subcommandsModel provider management
tool5 subcommandsMCP tool management
prompt7 subcommandsVersioned prompt templates
recipe7 subcommandsMulti-agent workflows
session6 subcommandsMulti-turn chat sessions
kitchen4 subcommandsWorkspace/tenant management
trace4 subcommandsObservability and cost tracking
rag2 subcommandsRAG pipeline operations
dashboard—Start control plane + dashboard UI
login—Authenticate with the control plane
status—Show control plane health

agentoven init

Initialize a new AgentOven project in the current directory.

bash

agentoven init [path] [--name <name>] [--framework <fw>]
FlagDefaultDescription
path.Project directory
--name, -ndirectory nameAgent name
--framework, -fcustomFramework: langgraph, crewai, openai-sdk, autogen, managed, custom

Creates agentoven.toml, prompts/system.md, and .gitignore.

bash

agentoven init my-agent --framework openai-sdk

agentoven apply

Declarative resource management — apply agents, recipes, and tools from YAML/JSON/TOML manifest files. Supports multi-document YAML with --- separators.

Use this when the source of truth is a manifest file.

bash

agentoven apply -f <manifest-file> [--dry-run]
FlagDescription
-f, --filePath to manifest file (YAML, JSON, or TOML)
--dry-runPreview changes without applying
Manifest Format

Each document in a manifest requires a kind field: Agent, Recipe, or ToolSet.

yaml

# agent.yaml — multi-document manifest
kind: Agent
name: summarizer
description: "Summarizes documents with citations"
model_provider: openai
model_name: gpt-4o
system_prompt: "You are a document summarizer."
tags:
  - production
ingredients:
  models:
    - name: gpt-4o
      provider: openai
      role: primary
  tools:
    - name: web-search
      protocol: mcp
---
kind: ToolSet
tools:
  - name: web-search
    description: "Search the web for information"
    endpoint: https://tools.example.com/search
    transport: http
  - name: calculator
    description: "Perform math calculations"
    endpoint: https://tools.example.com/calc
---
kind: Recipe
name: doc-review
steps:
  - name: summarize
    agent: summarizer
    kind: agent
  - name: review-gate
    kind: human-gate
    depends_on:
      - summarize
  - name: publish
    agent: publisher
    kind: agent
    depends_on:
      - review-gate

bash

# Apply all resources from a manifest
agentoven apply -f agent.yaml

# Preview without applying
agentoven apply -f agent.yaml --dry-run

For workflow definitions, use YAML when you want declarative manifests and Python when the workflow is code-first.


agentoven agent

Full agent lifecycle management — register, deploy, test, and retire agents.

Agent Lifecycle

text

  register → bake → ready
                ↓       ↑
              cool → rewarm
                ↓
             retire
agent register

Register an agent with the oven.

bash

agentoven agent register <name> [flags]
# or from config file:
agentoven agent register --config agentoven.toml
# or from a YAML/JSON/TOML definition:
agentoven agent register --from agent.yaml
FlagDescription
--descriptionAgent description
--frameworkFramework: langgraph, crewai, openai-sdk, autogen, managed, custom
--modeAgent mode: managed or external (A2A proxy). Default: managed
--model-providerPrimary model provider name
--model-namePrimary model name
--backup-providerBackup provider for failover
--backup-modelBackup model for failover
--system-promptSystem prompt / instructions
--max-turnsMaximum turns for managed agentic loop
--skillAgent skills (repeatable)
--tagTags (repeatable)
--a2a-endpointA2A endpoint for external agents
--guardrailGuardrail in kind:stage format (repeatable)
--config, -cPath to agentoven.toml
--from, -fPath to agent definition file (YAML/JSON/TOML)

bash

agentoven agent register summarizer \
  --description "Summarizes documents with citations" \
  --framework managed \
  --model-provider my-openai \
  --model-name gpt-4o \
  --system-prompt "You are a document summarizer." \
  --skill summarization \
  --tag production
agent list

bash

agentoven agent list [--tag <tag>] [--status <status>]
agent get

bash

agentoven agent get <name>
# Supports version pinning:
agentoven agent get [email protected]
agent update

bash

agentoven agent update <name> [--description <text>] [--model-provider <p>] [--model-name <m>] [--system-prompt <s>] [--max-turns <n>] [--json <raw>]
agent delete

bash

agentoven agent delete <name> [--force]
agent bake

Deploy (bake) an agent — resolves all ingredients, validates configuration, and sets the agent to ready.

bash

agentoven agent bake <name>
agent recook

Hot-swap agent configuration without full redeployment (edit modal re-cook).

bash

agentoven agent recook <name> [--model-provider <p>] [--model-name <m>] [--system-prompt <s>] [--max-turns <n>] [--json <raw>]
agent cool

Pause (cool) a deployed agent. Stops processing but keeps registration.

bash

agentoven agent cool <name>
agent rewarm

Bring a cooled agent back to ready state.

bash

agentoven agent rewarm <name>
agent retire

Permanently decommission an agent.

bash

agentoven agent retire <name>
agent test

Test an agent — one-shot or interactive playground.

bash

agentoven agent test <name> [--message <msg>] [--interactive] [--thinking]
FlagDescription
--message, -mOne-shot message to send
--interactive, -iInteractive REPL mode
--thinkingEnable chain-of-thought / thinking blocks
agent invoke

Invoke a managed agent with a full agentic loop and execution trace.

bash

agentoven agent invoke <name> --message <msg> [--thinking]
agent config

Show the resolved configuration for a baked agent (all ingredients resolved).

bash

agentoven agent config <name>
agent card

Show the A2A Agent Card (discovery metadata).

bash

agentoven agent card <name>
agent versions

List version history for an agent.

bash

agentoven agent versions <name>

agentoven provider

Manage model providers — OpenAI, Anthropic, Azure OpenAI, Ollama, LiteLLM.

provider list

bash

agentoven provider list
provider add

bash

agentoven provider add <name> --kind <kind> [--api-key <key>] [--base-url <url>] [--model <model>]
FlagDescription
--kind, -kProvider kind: openai, azure-openai, anthropic, ollama, litellm
--api-keyAPI key (or set via environment)
--base-urlBase URL / endpoint
--modelDefault model name

bash

agentoven provider add my-openai --kind openai --api-key $OPENAI_API_KEY --model gpt-4o
agentoven provider add local-llm --kind ollama --base-url http://localhost:11434 --model llama3
provider get

bash

agentoven provider get <name>
provider update

bash

agentoven provider update <name> [--api-key <key>] [--base-url <url>] [--model <model>] [--enabled true|false]
provider remove

bash

agentoven provider remove <name> [--force]
provider test

Test provider connectivity and credentials.

bash

agentoven provider test <name>
provider discover

Discover models available from a provider.

bash

agentoven provider discover <name>

agentoven tool

Manage MCP (Model Context Protocol) tools.

CommandDescription
tool listList all registered MCP tools
tool add <name>Add a tool (--description, --schema, --schema-file)
tool get <name>Get tool details and input schema
tool update <name>Update description or schema
tool remove <name>Remove a tool (--force)

bash

agentoven tool add web-search \
  --description "Search the web" \
  --schema '{"type":"object","properties":{"query":{"type":"string"}}}'

agentoven prompt

Manage versioned prompt templates with variable interpolation.

CommandDescription
prompt listList all prompt templates
prompt add <name>Add a prompt (--template or --from-file, --variables)
prompt get <name>Get prompt template and metadata
prompt update <name>Update template text (creates a new version)
prompt remove <name>Remove a prompt (--force)
prompt validate <name>Validate a prompt template
prompt versions <name>List version history

bash

agentoven prompt add summarizer-system \
  --template "You are a {role}. Summarize the following in {format} format." \
  --variables "role,format"

agentoven recipe

Manage multi-agent workflows (recipes) — DAG-based orchestration with human gates.

CommandDescription
recipe create <name>Create a recipe (--from YAML/TOML file)
recipe listList all recipes
recipe get <name>Get recipe details and steps
recipe delete <name>Delete a recipe (--force)
recipe bake <name>Execute a recipe (--input JSON or --input-file)
recipe runs <name>Show execution history (--limit)
recipe approve <name>Approve/reject a human gate (--run-id, --gate-id, --approved, --comment)

bash

# Create and execute a recipe
agentoven recipe create doc-review --from recipe.yaml
agentoven recipe bake doc-review --input '{"document_url":"https://..."}'

# Approve a human gate
agentoven recipe approve doc-review \
  --run-id abc123 --gate-id gate-1 --approved true --comment "LGTM"

agentoven session

Manage multi-turn chat sessions with history and thinking mode.

CommandDescription
session list <agent>List sessions for an agent
session create <agent>Create a new session
session get <agent> <session-id>Get session details and message history
session delete <agent> <session-id>Delete a session (--force)
session send <agent> <session-id>Send a message (--message, --thinking)
session chat <agent> [session-id]Interactive chat REPL (--thinking)

bash

# Create a session and start chatting
agentoven session create my-agent
agentoven session chat my-agent <session-id> --thinking

# Or auto-create a new session
agentoven session chat my-agent --thinking

agentoven kitchen

Manage kitchens (workspaces/tenants) — view plans, limits, and settings.

CommandDescription
kitchen listList all kitchens
kitchen get <id>Get kitchen details and plan limits
kitchen settingsView current kitchen settings
kitchen update-settingsUpdate settings (--trace-ttl, --audit-ttl, --max-items, --archive, --json)

bash

agentoven kitchen settings
agentoven kitchen update-settings --trace-ttl 30d --archive true

agentoven trace

Inspect traces, cost data, and audit logs.

CommandDescription
trace lsList recent traces (--agent, --limit)
trace get <trace-id>Inspect a specific trace with span details
trace costShow cost summary (--range 24h/7d/30d, --group-by agent/model/kitchen)
trace auditShow audit log (--limit)

bash

agentoven trace ls --agent summarizer --limit 50
agentoven trace cost --range 7d --group-by model
agentoven trace audit --limit 100

agentoven rag

RAG (Retrieval-Augmented Generation) pipeline operations.

rag query

bash

agentoven rag query "<text>" [--strategy <s>] [--top-k <n>] [--sources]
FlagDefaultDescription
--strategynaiveStrategy: naive, sentence-window, parent-doc, hyde, agentic
--top-k5Max results to return
--sourcesfalseInclude source documents in output
rag ingest

bash

agentoven rag ingest <path> [--chunk-size <n>] [--chunk-overlap <n>] [--collection <name>]
FlagDefaultDescription
--chunk-size1000Chunk size in characters
--chunk-overlap200Overlap between chunks
--collectiondefaultTarget collection/index name

bash

agentoven rag ingest ./knowledge-base/ --collection product-docs --chunk-size 800
agentoven rag query "How does billing work?" --strategy hyde --sources

agentoven dashboard

Start the control plane and open the dashboard UI.

bash

agentoven dashboard [--port <port>] [--no-open] [--server-bin <path>]
FlagDefaultDescription
--port, -p8080Port for the control plane server
--no-openfalseDon't open the browser automatically
--server-binauto-detectPath to control plane binary (env: AGENTOVEN_SERVER_BIN)

agentoven login

Authenticate with the control plane and save credentials to ~/.agentoven/config.toml.

bash

agentoven login [--api-key <key>] [--url <url>]

agentoven status

Show control plane connection status, agent count, and CLI version.

bash

agentoven status

Configuration File

agentoven init creates an agentoven.toml:

toml

[agent]
name = "my-agent"
version = "0.1.0"
description = ""
framework = "custom"

[ingredients]
# [[ingredients.models]]
# name = "gpt-4o"
# provider = "azure-openai"

[bake]
# environment = "production"

[oven]
# url = "http://localhost:8080"
# kitchen = "default"
Environment Variables
VariableDescription
AGENTOVEN_URLControl plane URL
AGENTOVEN_API_KEYAPI key for authentication
AGENTOVEN_KITCHENDefault kitchen scope
AGENTOVEN_SERVER_BINPath to control plane binary
AGENTOVEN_CORS_ORIGINSAllowed CORS origins (comma-separated)
AGENTOVEN_REQUIRE_AUTHRequire auth for all endpoints (true/false)
AGENTOVEN_SA_SECRETHMAC secret for service account tokens