Beta

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/stigmer

Shell 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 | sh

A 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 up

npm

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/cli

From source

git clone https://github.com/stigmer/stigmer.git
cd stigmer
npm install
npm start -w @stigmer/cli -- --help

Backend modes

The CLI connects to one of two backends:

ModeDescription
LocalStigmer server running on your machine (localhost:7234)
CloudStigmer 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 login

Starting the local server

stigmer server

On 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.yaml

stigmer 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: the agent reads two files, asks before it runs git log, and answers once allowed. Recorded from the terminal kit; no agent is running.

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:

What's next