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[codex-sdk]"
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"
superqode harness run --spec harness.yaml --runtime codex-sdk --prompt "summarize this repository"

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, OpenAI Codex 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
codex-sdk Model deltas, command output, patch updates, command/file-change results, turn completion
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.35.tar.gz (1.4 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.35-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: superqode-0.1.35.tar.gz
  • Upload date:
  • Size: 1.4 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.35.tar.gz
Algorithm Hash digest
SHA256 be5b7f7b0945e0be82f0d074ec783a4c3ad7a32cd3e875bd082740afa30635c7
MD5 8e63c2e1d93471c68a629d7b3746ec9b
BLAKE2b-256 ca644505e761cee0b20c07ca91d7fc18210b132be8f78ebe12e9b6297bc2b0ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: superqode-0.1.35-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.35-py3-none-any.whl
Algorithm Hash digest
SHA256 cbbdd1865cb2c615128e9f7cc2103a97b4293459e0836f0e916777c89c3013a4
MD5 cbee7101a21630a9f5884dcee25c5980
BLAKE2b-256 dda676b3332683c79165ab9952f48879211cdbef0ed56b60dbdc15d24d799f5c

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