Skip to main content

SuperQode: Multi-Agent Coding Agent Harness

Project description

SuperQode TUI

SuperQode Logo

SuperQode

Your pluggable multi-agent coding harness.
Run coding agents with portable specs, controlled tools, and readable sessions.

PyPI Python License

Stars Forks Issues PRs

📚 Documentation🐛 Report Bug💬 Discussions


What is SuperQode?

SuperQode is your pluggable multi-agent coding harness for interactive development, local model workflows, BYOK providers, ACP coding agents, and tool-based repository work. It provides a TUI and CLI so developers can connect to the model or agent runtime they prefer, run file/search/edit/shell tools under policy, and get concise summaries of what changed.

Use one harness spec to choose the runtime, model policy, tools, sandbox rules, approvals, event storage, and output shape for a coding-agent run.

Note (Enterprise): Enterprise adds deeper automation, evaluation testing, and enterprise integrations.

Core Concepts

SuperQode separates the pieces of an agent system so teams can change one piece without rewriting the rest.

Concept What it means in SuperQode
Harness The full contract for a run: flavor, model policy, tools, sandbox, workflow, output, events, and validation
Runtime The engine that executes the harness, such as the native loop, Google ADK, OpenAI Agents SDK, or DeepAgents
Flavor The kind of harness being run, such as tool-rich coding or model-only no-tool
Tools Capabilities granted by policy, including file, search, edit, shell, MCP, todo, and validation tools
Model policy The model-specific behavior for prompt level, temperature, reasoning, tool surface, history, and iteration limits
Framework adapter A bridge that lets an external agent framework run behind the SuperQode harness contract

The harness is the product contract. Runtimes and framework adapters are execution choices behind that contract.

Demo Video

Watch the demo: SuperQode Demo

SuperQode Banner

Quick Start

Installation

Primary (Recommended)

# Using uv (best performance)
uv tool install superqode

# Or using pip
pip install superqode

Alternate (No Python Required, SuperQode TUI Only)

# Using Homebrew (macOS/Linux)
brew install SuperagenticAI/superqode/superqode

# Using Curl script
curl -fsSL https://super-agentic.ai/install.sh | bash

Run SuperQode

Interactive TUI (Explore)

cd your-project
superqode

Headless coding harness

cd your-project
superqode --print "inspect this repository and suggest the smallest next step"

Your First Harness Run

A harness is the repeatable contract for how an agent run behaves. Start with the default coding harness:

cd your-project
superqode harness init my-coder --template coding --output harness.yaml
superqode harness doctor --spec harness.yaml
superqode harness run --spec harness.yaml --prompt "summarize the architecture"

Prefer to start from a complete file? See examples/harnesses for ready-to-run specs covering builtin, no-tool, PydanticAI, DeepAgents, OpenAI Agents SDK, Google ADK, Gemma4, and DS4.

After a run, inspect what happened:

superqode harness events <run-id>
superqode harness graph <run-id>
superqode harness graph <run-id> --json

Use doctor before sharing a harness with a team. It checks backend availability, spec compatibility, sandbox policy, event-store readiness, approval support, MCP config paths, and rich event graph support.

Common Harness Choices

Goal Start with
Let SuperQode edit, search, and run shell commands under policy superqode harness init app --template coding
Bet on model capability without tools or repository access superqode harness init reasoner --template no-tool
Optimize for local Gemma4 coding superqode harness init local --template gemma4-coding
Optimize for fast DS4 local iteration superqode harness init fast --template ds4-fast-local

For DeepSeek V4 Flash on local hardware, prefer the DS4 provider over a generic MLX server:

superqode providers ds4 server
superqode -p --provider ds4 --model deepseek-v4-flash "review this repo"

Optional Runtime Backends

Install only the runtimes you need:

pip install "superqode[adk]"
pip install "superqode[openai-agents]"
pip install "superqode[deepagents]"
pip install "superqode[pydanticai]"

Then select a backend in a spec or at run time:

superqode harness run --spec harness.yaml --runtime pydanticai --prompt "review this design"
superqode harness run --spec harness.yaml --runtime openai-agents --prompt "make the smallest safe fix"

Key Features

Feature Description
HarnessSpec Define coding, no-tool, local-model, and custom harness behavior with one declarative contract
Harness runs Run sessions with normalized events, run records, typed outputs, and workflow execution
Pluggable runtimes Swap the agent loop: SuperQode native, Google ADK, OpenAI Agents SDK, optional DeepAgents, or optional PydanticAI
Event graph Inspect model, tool, approval, sandbox, subagent, memory, and result events across supported runtimes
Harness doctor Preflight backend installation, spec compatibility, sandbox policy, MCP config, approvals, and graph readiness
Developer TUI Interactive sessions with wrapped prompts, quiet streaming logs, compact tool activity, and readable change summaries
Headless CLI Run coding tasks and provider checks from scripts or terminals
Tool system File, search, edit, shell, todo, MCP, and optional Monty Python REPL tools
Sandbox contract Use local sandbox policy for read, write, shell, command, grep, glob, and edit access
Typed outputs Ask a harness run to return validated structured data using explicit result delimiters
Workflow engine Run single, chain, parallel, router, orchestrator, and evaluator-optimizer workflows
Model policies First-class Gemma4, DS4, coding, and no-tool policy profiles for local and hosted models
Provider UX Provider doctor, model listing, guided local provider selection, and dynamic OpenCode free model discovery
Harness flavors Tool-rich coding and model-only no-tool profiles, with room for Bring Your Own Harness specs

How It Works

HARNESS LIFECYCLE
━━━━━━━━━━━━━━━━━
1. SPEC       Choose coding, no-tool, local-model, or custom harness behavior
2. MODEL      Resolve policy for Gemma4, DS4, hosted models, or model-only runs
3. RUNTIME    Run on builtin, OpenAI Agents, Google ADK, DeepAgents, or another backend
4. TOOLS      Attach file, search, edit, shell, MCP, or no tools
5. SESSION    Stream events, persist history, compact context, and store runs
6. OUTPUT     Return text, typed data, workflow results, and validation state

The default coding harness keeps repository work practical. The no-tool harness lets you bet directly on model capability. Optional runtimes let teams bring their preferred agent framework without replacing the SuperQode harness contract.

Rich Runtime Observability

SuperQode normalizes runtime-specific streams into one harness event graph:

Backend Rich graph events
builtin Model requests, model deltas, tool calls, tool results, approval pauses, final results
pydanticai Model deltas, tool calls, tool results, final results, approval pauses
openai-agents Model deltas, tool calls, tool results, approval pauses, sandbox markers
deepagents Model deltas, tool calls, subagent activity, memory reads/writes, sandbox file/command events, final results
adk Run and stream events with the same graph storage contract

This gives teams one way to debug runs even when they use different agent frameworks.

Documentation

For complete guides, configuration options, and API reference:

📚 View Full Documentation →

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

git clone https://github.com/SuperagenticAI/superqode
cd superqode
uv pip install -e ".[dev]"
pytest

License

Apache-2.0 - Built by Superagentic AI for developers who care about code quality.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

superqode-0.1.34.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

superqode-0.1.34-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file superqode-0.1.34.tar.gz.

File metadata

  • Download URL: superqode-0.1.34.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for superqode-0.1.34.tar.gz
Algorithm Hash digest
SHA256 51f6bd392629903bb72ee0bf9e20c7ed938a4a0177f7d96f89d533e669fcb7e4
MD5 d86f155d89bda95ae2b0fee22f0c4426
BLAKE2b-256 c935059e68f0f7e7ecf8eda5c75f4b067222f1baae7b82a73d9e875d509c4f68

See more details on using hashes here.

File details

Details for the file superqode-0.1.34-py3-none-any.whl.

File metadata

  • Download URL: superqode-0.1.34-py3-none-any.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for superqode-0.1.34-py3-none-any.whl
Algorithm Hash digest
SHA256 e6cd35c6f3ee8d68ba12f5523eeb2d0335d8fdeee5b350a6167b2635aaf86f9c
MD5 9678360517094bddb8935733e9e458d9
BLAKE2b-256 0358054c977a27615740c69324d129530f2f33f4f5d9afd2edaefa25771bd4eb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page