Skip to content

CLI

The everruns CLI is a command-line client for the Everruns API. It covers the same surface as the SDK — agents, sessions, messages, capabilities — and is designed to compose well with shell pipelines.

This page covers installation, configuration, and the command surface. For scripting patterns and jq examples, see Automate with the CLI.

Terminal window
brew tap everruns/tap
brew install everruns

From the Git repository:

Terminal window
cargo install --git https://github.com/everruns/everruns everruns-cli

Or clone and build:

Terminal window
git clone https://github.com/everruns/everruns.git
cd everruns
cargo install --path crates/cli
Terminal window
everruns --version

The CLI defaults to the hosted API at https://app.everruns.com/api. Override for local or self-hosted deployments:

Terminal window
# Per command
everruns --api-url http://localhost:9300/api agents list
# Per shell
export EVERRUNS_API_URL=http://localhost:9300/api
export EVERRUNS_API_KEY=dev
GroupSubcommands
agentscreate, list, get, update, delete
sessionscreate, list, get, cancel, delete
capabilities(list — no subcommand)
chatSend a message and stream the response
Terminal window
# Inline
everruns agents create \
--name "my-agent" \
--system-prompt "You are a helpful assistant." \
--tag production
# From a file (TOML, YAML, JSON, or Markdown front matter)
everruns agents create -f agent.toml
everruns agents create -f agent.yaml
everruns agents create -f agent.md

If ./agent.toml exists and you don’t pass inline flags, everruns agents create picks it up automatically. The file formats are documented in Define agents as files.

Terminal window
everruns agents list
everruns agents get agt_xxx
everruns agents delete agt_xxx
Terminal window
everruns sessions create --agent agt_xxx
everruns sessions create --agent agt_xxx --title "Debug session"
# With session-level overrides
everruns sessions create \
--agent agt_xxx \
--harness generic \
--capability 'web_fetch={"timeout":10}' \
--hint setup_connection=true \
--network-allow api.example.com \
--max-iterations 8

Also accepts: --locale, repeatable --tag, --system-prompt, --hints-json, repeatable --network-block, repeatable --secret KEY=VALUE, and budget flags.

Terminal window
everruns sessions list
everruns sessions get ses_xxx
Terminal window
everruns chat "Tell me a joke!" --session ses_xxx

Options: --timeout <seconds> (default 300), --no-stream to queue without waiting.

Every command accepts -o / --output:

Terminal window
everruns agents list -o json
everruns agents list -o yaml

--quiet suppresses headers and prints only the essential identifier — useful for capturing IDs in shell variables.