CLI
Install and use the Stigmer CLI to run agents, deploy resources, and manage your Stigmer environment from the terminal.
The Stigmer CLI is the primary tool for interacting with the Stigmer platform from your terminal. Run agents, deploy resource definitions, manage local and cloud backends, and connect MCP servers — all from the command line.
Installation
macOS (Homebrew)
brew install stigmer/tap/stigmerShell script (macOS / Linux)
No prerequisites — the installer bundles its own Node.js runtime under
~/.stigmer and never touches your system. Re-run it any time to upgrade.
curl -fsSL https://stigmer.ai/install.sh | shA running stack keeps the server it started with. After an upgrade, restart it so it runs the new version; your data stays where it is:
stigmer down && stigmer upnpm
Already have Node.js 22 (22.19 or newer) or Node.js 24 or newer? The CLI is
published as @stigmer/cli:
npm install -g @stigmer/cliFrom source
git clone https://github.com/stigmer/stigmer.git
cd stigmer
npm install
npm start -w @stigmer/cli -- --helpBackend modes
The CLI connects to one of two backends:
| Mode | Description |
|---|---|
| Local | Stigmer server running on your machine (localhost:7234) |
| Cloud | Stigmer Cloud API (api.stigmer.ai) |
Switch between backends with stigmer config backend set:
# Use the local server
stigmer config backend set local
# Use Stigmer Cloud
stigmer config backend set cloud
stigmer auth loginStarting the local server
stigmer serverOn first run, an interactive prompt asks for your Anthropic API key — local Runs use Anthropic Claude models. The server starts Temporal for durable execution and the runner process that executes your agents.
Quick start
# Start the server
stigmer server
# Run an agent interactively
stigmer run
# Run a specific agent with a message
stigmer run my-agent -m "Summarize the quarterly report"
# Deploy resources from YAML
stigmer apply -f agent.yamlstigmer run draws the session in your terminal: what the agent is doing, each
tool call, and an approval to answer with a key when the agent asks before it
acts.
$ stigmer run demo/demo-agent -m "What changed in billing this week?"LLM configuration
Local mode runs agents on Anthropic Claude models. Provide your API key once —
either export ANTHROPIC_API_KEY in your shell or enter it during setup — and
the platform picks the best current model automatically.
Reconfigure at any time with stigmer setup.
Commands
Every command is documented in the Command Reference, organized by category:
Core Commands
Run agents, resume sessions, and track usage.
Lifecycle
Start, stop, inspect, and reset the local Stigmer stack.
Resource Management
Apply, get, list, and validate resources, and manage channels.
Packages and Downloads
Push and install skills, plugins and evals, and download a run's or a session's outputs.
Server Commands
Run the MCP server that exposes Stigmer resources to AI coding assistants.
Configuration
Manage authentication, API keys, CLI config, and completions.