Open source ยท MIT License ยท Go 1.23+

The agent runtime that
stays in its lane.

superclaw is a minimal Go agent runtime โ€” bounded steps, curated tools, Docker-first isolation. It does the task and stops.

Minimal. Bounded. Container-first.

zsh โ€” superclaw
$go install github.com/akshaymemane/superclaw/cmd/superclaw@latest
$export ANTHROPIC_API_KEY=sk-ant-...
$superclaw "read the README and write a summary to summary.md"
# superclaw v0.3.0
# Loading skill: summarize
# Step 1/20 โ€” read_file(README.md)
# Step 2/20 โ€” write_file(summary.md)
# Done. 2 steps, 1.2s, 0 errors.

Everything you need. Nothing you don't.

Designed with hard constraints so the agent cannot surprise you.

Bounded by design

Step limits, wall-clock timeouts, and per-run URL caps. The agent cannot run forever. Every execution has a hard ceiling.

7 focused tools

fetch_url, web_search, read_file, write_file, patch_file, list_files, run_bash. No more, no less. Each tool has a typed contract.

5 curated skills

summarize, research, extract, coding, github. Injected as system prompt instructions, not as extra tools. Scope is explicit.

Docker-first

Non-root user, read-only rootfs, capability drops, /workspace bind mount. The container model is not optional โ€” it is the design.

Automatic retry

Exponential backoff with jitter on rate limits and server errors. Fetch retries too. Transient failures do not abort the run.

Session persistence

Every run appended to .superclaw/runs.jsonl. Inspectable, auditable history. No black box โ€” every step is logged.

Quick Start

From zero to running agent in under two minutes.

1

Install

Requires Go 1.23 or later. Installs the superclaw binary to your GOPATH.

bash
go install github.com/akshaymemane/superclaw/cmd/superclaw@latest
2

Set your API key

superclaw uses the Anthropic API. Get a key at console.anthropic.com.

bash
export ANTHROPIC_API_KEY=sk-ant-...
3

Run a task

Pass the task as a quoted string. The agent plans, executes tools, and stops when done.

bash
superclaw "read the README and write a summary to summary.md"
4

Add a config file (optional)

Drop a superclaw.json in your project root to set defaults, restrict tools, or load a skill.

superclaw.jsonjson
1{2  "model": "claude-opus-4-5",3  "max_steps": 20,4  "max_tokens": 4096,5  "timeout_seconds": 120,6  "work_dir": "/workspace",7  "max_fetch_calls": 5,8  "tools": [9    "read_file",10    "write_file",11    "list_files",12    "run_bash"13  ],14  "skills": ["summarize", "coding"],15  "system_prompt": ""16}

All fields are optional. Defaults are conservative โ€” 20 steps, 120s timeout, all tools enabled.

View all configuration options

How it works

A simple, transparent execution model. No magic, no hidden state.

01

Load config + skills

Reads superclaw.json (or defaults), validates the tool allowlist, and injects skill instructions into the system prompt.

02

Call the model

Sends the task and system prompt to Claude. Receives a response with zero or more tool_use blocks.

03

Execute tools (with limits)

Runs each approved tool call, checks against step and fetch budgets, enforces timeouts. Feeds results back to the model.

04

Persist result + stop

When the model returns a final text response (no more tool calls), writes the session to runs.jsonl and exits.

The loop is bounded at every step

Max steps, max tokens, wall-clock timeout, and max fetch calls โ€” all configurable, all enforced.

max_steps: 20timeout: 120smax_fetch: 5max_tokens: 4096