Skip to main content

SuperQode

The harness layer for coding agents.
Discover, build, run, evaluate, and optimize coding-agent harnesses from one terminal.

PyPI Python License Stars Discussions

Documentation  ·  Quick Start  ·  Harness Hub  ·  Website  ·  Discussions

The SuperQode terminal interface

What is SuperQode?

Picking a capable model does not give you a reliable code production system. The harness decides what the agent sees, which tools it may use, how it remembers, what it is allowed to change, and how its work gets verified. That layer is usually owned by a vendor, invisible, and impossible to measure.

SuperQode makes the harness a repository-owned artifact you can read, version, test, and improve. One portable HarnessSpec controls the runtime, model policy, tools, memory, search, sandbox, approvals, workflow, and evidence.

Connect the coding agents you already pay for, run local or hosted models, or build your own harness. All of them run through the same inspectable contract.

Quick Start

curl -fsSL https://super-agentic.ai/superqode.sh | sh

The installer pulls the latest release from PyPI into an isolated environment, installs uv when needed, and never uses sudo. Already have uv? Run uv tool install superqode instead.

Open any repository and start:

cd your-project
superqode

Connect something, then work normally:

:connect                # local models, ACP agents, BYOK, or a vendor plan
:connect codex          # or claude, copilot, grok, kimi-code, qwen-code, fx
Summarize this repository and identify the smallest safe improvement.

Prefer a single headless task?

superqode --print "fix the failing test and summarize the change"

sq is a shorter alias for every superqode command. Remove it any time with uv tool uninstall superqode.

The Harness Hub

:hub opens a browsable catalog of 97 harnesses: SuperQode's native harnesses, vendor coding agents, the full ACP registry, optional runtimes, model presets, and the HarnessSpecs your own repository defines.

:hub                    # browse, search, and filter every route
:harness switch codex   # change harness mid-session, keeping the conversation
:harness switch rlm --fork   # or branch into an independent attempt

55 of those harnesses are open source, across every route. Press o in the Hub, or ask from the command line:

sq hub list --openness open
sq hub show deepagents
sq hub list --json          # the same catalog, for scripts and dashboards

Openness describes the harness implementation, never SuperQode's route to it. A license SuperQode cannot verify is reported as unknown rather than guessed.

Bring Your Own Agent, or Build One

Connect an agent that already exists:

Route Examples
Vendor plans Codex, Claude, GitHub Copilot, Cursor, Grok, Devin, Factory Droid, Kiro
ACP agents OpenCode, Goose, Gemini CLI, Cline, OpenHands, Deep Agents Code, and the full registry
Optional runtimes LangChain DeepAgents, Hugging Face Tau, DeepSeek Harness, PydanticAI, Google ADK, OpenAI Agents SDK
Local models Ollama, LM Studio, MLX, DS4, llama.cpp, vLLM, SGLang, TGI

Or write your own. Start from the wizard, a template, or plain YAML:

superqode harness wizard
superqode harness init my-coder --template coding --output harness.yaml
superqode harness doctor --spec harness.yaml
superqode harness run --spec harness.yaml --prompt "review this repository"

Runnable examples live in examples/harnesses. An independently installed Python harness needs one async function and one entry point to join the catalog:

[project.entry-points."superqode.harnesses"]
my-harness = "my_package:run"

Native RLM

rlm is the built-in recursive harness. The model gets one executable tool and a persistent Python environment, and builds context by writing Python instead of calling separate search, edit, and shell tools:

chunks = context.select("src/**/*.py").chunk(size=8000)
answers = llm_query_batched([chunk.labelled() for chunk in chunks])

children = rlm.run_batch(["Inspect the implementation", "Inspect the tests"])
results = rlm.wait_all(children)

It runs on the host, in a container with sandbox: docker, or inside a no-filesystem interpreter with sandbox: monty. See Native RLM.

Evaluate and Optimize

Treat the harness the way you treat the rest of your code: measure it, then gate changes against repeatable tasks.

superqode harness test --spec harness.yaml
superqode harness eval --spec harness.yaml --tasks eval-tasks.yaml
superqode harness eval --spec harness.yaml --variant candidate.yaml --tasks eval-tasks.yaml

Evaluation records behavior and never edits the spec. Optimization is a separate outer loop, worth reaching for only once the tasks and scoring represent the behavior that matters:

superqode harness optimize-omni --spec harness.yaml --tasks eval-tasks.yaml --max-evals 20
superqode harness promote stage

Candidates stay reviewable artifacts. GEPA Omni stages its selected HarnessSpec separately, audits the mutation surfaces it is allowed to touch, and runs a sealed held-out gate without replacing the live specification.

See the evaluation and optimization guide and Harness Promotion.

Local and Open Models

SuperQode is tuned for the cases where context, tool calling, and search decide whether an agent works at all:

  • Auto context management detects the loaded context window and compacts before overflow.
  • Context economy uses bounded reads, line-numbered output, continue hints, spill files, and stale-output pruning.
  • Local search registers repositories with :workspace add, searches with ripgrep, and adds semantic indexes when needed.
  • Airplane Mode prepares a strict offline harness with network tools removed.
  • Post-edit verification feeds fast per-file checks back to the agent so it can correct itself before moving on.
  • Resilient tool calls repair malformed calls and block no-progress loops.
superqode local init --repo .     # detect hardware, generate a starter harness
superqode providers scan-free     # find current zero-price model routes

Local inference uses real CPU, GPU, memory, and battery. Prefer smaller models or hosted providers when a machine is constrained.

Code Factory Workflows

For work that has to finish across several harnesses, use a durable WorkOrder with bounded workers, isolated worktrees, crash recovery, acceptance checks, and an explicit human delivery decision:

sq work create "Implement and review the authentication fix" \
  --repo . --harness coding \
  --acceptance-test "uv run pytest -q tests/test_auth.py" --queue
sq work worker --id builder-01 --concurrency 2
sq work approve work_... --actor maintainer
sq work merge work_... --actor maintainer --cleanup

Read the Code Factory guide.

Harness Execution Model

1. SPEC       Choose coding, no-tool, local-model, or custom behavior
2. MODEL      Resolve local or hosted model policy
3. RUNTIME    Run on builtin, an SDK, ACP, or another backend
4. TOOLS      Attach file, search, edit, shell, MCP, or no tools
5. SESSION    Stream events, persist history, and compact context
6. OUTPUT     Return text, typed data, workflow results, and validation

Sessions are durable and the harness is replaceable. Switching keeps the session ID and replays stored context through the newly selected harness.

SuperQode also normalizes each runtime's own stream into one event graph, so a run is inspectable the same way regardless of the framework underneath:

Backend Rich graph events
builtin Model requests, deltas, tool calls, results, approvals, final output
deepagents Model deltas, tools, subagents, memory, sandbox events, final output
codex-sdk Model deltas, command output, patches, file changes, completion
openai-agents Model deltas, tool calls, results, approvals, sandbox markers
pydanticai Model deltas, tool calls, results, approval pauses, final output
adk Run and stream events using the shared graph storage contract
superqode harness events <run-id>
superqode harness graph <run-id> --json

Documentation

Guide What it covers
Quick Start Install, connect, and run your first task
Harness Hub Browsing, filtering, and the published catalog
Connection Methods Local, ACP, BYOK, SDK, MCP, and A2A routes
Developer Workflows The complete TUI and CLI command set
Harness System HarnessSpec fields, runtimes, and policy
Harness Protocol The versioned session and evidence contract
Bring Your Own Harness Templates, wizard, and repository specs

Contributing

Contributions are welcome. See CONTRIBUTING.md.

git clone https://github.com/SuperagenticAI/superqode
cd superqode
uv sync --extra dev --extra docs
uv run pytest

License

Apache-2.0, built by Superagentic AI.

Release files for superqode 0.2.107

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for superqode 0.2.107
File Size Uploaded
superqode-0.2.107.tar.gz 2.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for superqode 0.2.107
File Interpreter ABI Platform
superqode-0.2.107-py3-none-any.whl Python 3 none any Details

Total release size: 5.3 MB

Release files / superqode-0.2.107.tar.gz

Download URL superqode-0.2.107.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
4f95764624fc4d97ab1b3f0b258a3ed30d32c08050142b831bffea83ca3b4407
BLAKE2b-256 checksum
How to use checksums
7a5c24b42211021458609000256866b1e079e26105d1446101eb9b6e38272a5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / superqode-0.2.107-py3-none-any.whl

Download URL superqode-0.2.107-py3-none-any.whl
Size 2.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1cf841d04d3aebdc31de7350f35fdd84c5aa935aa9630ad5dc4da6a2a035f7c7
BLAKE2b-256 checksum
How to use checksums
96910d265404cdde4019d5bf10a97b8f2c2810acae4b72ad6317b454585b023f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release history Release notifications | RSS feed

2.4.10

2 release files

2.4.9

2 release files

2.4.8

2 release files

2.4.7

2 release files

2.4.6

2 release files

2.4.5

2 release files

2.4.4

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.2

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.5

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

This release

0.2.107 This release

2 release files

0.2.99

2 release files

0.2.98

2 release files

0.2.97

2 release files

0.2.96

2 release files

0.2.95

2 release files

0.2.94

2 release files

0.2.93

2 release files

0.2.92

2 release files

0.2.91

2 release files

0.2.89

2 release files

0.2.88

2 release files

0.2.87

2 release files

0.2.86

2 release files

0.2.85

2 release files

0.2.66

2 release files

0.2.65

2 release files

0.2.64

2 release files

0.2.63

2 release files

0.2.62

2 release files

0.2.61

2 release files

0.2.60

2 release files

0.2.59

2 release files

0.2.58

2 release files

0.2.57

2 release files

0.2.56

2 release files

0.2.55

2 release files

0.2.54

2 release files

0.2.53

2 release files

0.2.52

2 release files

0.2.51

2 release files

0.2.50

2 release files

0.2.40

2 release files

0.2.39

2 release files

0.2.38

2 release files

0.2.37

2 release files

0.2.36

2 release files

0.2.35

2 release files

0.2.34

2 release files

0.2.33

2 release files

0.2.32

2 release files

0.2.31

2 release files

0.2.30

2 release files

0.2.25

2 release files

0.2.24

2 release files

0.2.23

2 release files

0.2.22

2 release files

0.2.21

2 release files

0.2.20

2 release files

0.2.19

2 release files

0.2.18

2 release files

0.2.17

2 release files

0.2.16

2 release files

0.2.15

2 release files

0.2.14

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.49

2 release files

0.1.48

2 release files

0.1.46

2 release files

0.1.45

2 release files

0.1.44

2 release files

0.1.43

2 release files

0.1.42

2 release files

0.1.41

2 release files

0.1.34

2 release files

0.1.33

2 release files

0.1.31

2 release files

0.1.29

2 release files

0.1.28

2 release files

0.1.27

2 release files

0.1.26

2 release files

0.1.25

2 release files

0.1.24

2 release files

0.1.23

2 release files

0.1.22

2 release files

0.1.21

2 release files

0.1.20

2 release files

0.1.19

2 release files

0.1.18

2 release files

0.1.17

2 release files

0.1.16

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page