CLI command tree
Discover terminal commands with settle help --json.
SettleKit Agent Operating Guide
This page is written for AI agents, automation scripts, and hosted runtimes. Use discovery first, then call tools or APIs from the current catalog.
settle help --json
settle tool list --json
settle tool show <tool-id> --json
Mental model
A SettleKit account gives an agent one CLI, one API key, and one tool catalog for models, hosted agents, web tools, image/video generation, deployments, databases, resources, events, and future provider integrations.
Discover terminal commands with settle help --json.
Discover executable tools with settle tool list --json or GET /v1/tools.
Create, upload, version, invoke, and inspect cloud agents.
Export schemas for agent runtimes and call OpenAI-compatible endpoints.
Operating rules
--json whenever output will be parsed.--wait --json for long-running calls and parse NDJSON events line by line.Authentication
npm install -g settlekit
settle login
settle whoami --json
export SETTLE_API_KEY="sk_..."
settle tool list --json
CLI authentication order is SETTLE_API_KEY, then the token saved by settle login. Direct HTTP calls use Authorization: Bearer $SETTLE_API_KEY.
Discovery
settle help --json
settle help agents --json
settle help tool call --json
settle tool list --query search --json
settle tool show web.search --json
The command tree explains how to operate the CLI. The tool catalog explains executable capability IDs, providers, input schemas, wait behavior, pricing metadata, and follow-up actions.
Tool invocation
settle tool call web.search \
--input '{"query":"SettleKit agent guide","limit":5}' \
--json
settle tool call server.sandbox \
--input '{"name":"demo"}' \
--confirm \
--wait \
--json
Standard JSON responses use {"ok":true,"tool_id":"...","status":"...","data":...,"next":[...],"meta":{...}}. Waiting calls may emit NDJSON events such as started, poll, action_required, completed, failed, and timeout.
HTTP API
curl https://settlekit.io/v1/tools \
-H "Authorization: Bearer $SETTLE_API_KEY"
curl https://settlekit.io/v1/capabilities/web.search/invoke \
-H "Authorization: Bearer $SETTLE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"latest AI agent deployment patterns"}}'
For model calls, use the OpenAI-compatible API surface where available, including /v1/models and /v1/chat/completions.
Hosted agents
Upload or edit AGENT.md, skills, memories, allowed tools, and template configuration.
Use the worker-focused template and keep only the runtime soul needed by cloud execution.
settle agents templates --json
settle agents create --name research-worker --template hermes --json
settle agents soul push agent_... --file ./AGENT.md --json
settle agents invoke agent_... --input '{"task":"summarize the uploaded files"}' --wait --json
Runtime schemas
settle tool schema \
--format openai \
--allowed web.search,image.gpt-image-2 \
--include-local \
--json
Use schema export when connecting SettleKit to OpenAI, Anthropic-style adapters, Hermes, OpenClaw, or custom hosted runtimes. Remote tools come from the live catalog; local runtime declarations such as shell, file, and memory tools are declared only when requested.
Errors and safety
settle login or SETTLE_API_KEY.
next.
settle tool list --json; never guess tool IDs.
This guide stays current because agents should discover command and tool metadata at runtime instead of depending on static examples.