Skip to main content

SuperQode: Multi-Agent Coding Agent Harness

Project description

SuperQode TUI

SuperQode Logo

SuperQode

Production coding harness for local models, BYOK providers, and pluggable agent runtimes
Define the harness, choose the runtime, control the tools, and keep coding sessions readable.
Bring your own model, runtime, tools, and harness.

PyPI Python License

Stars Forks Issues PRs

📚 Documentation🐛 Report Bug💬 Discussions


What is SuperQode?

SuperQode is a production coding-agent 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.

The v2 direction is harness-first: SuperQode owns the kernel for sessions, tools, runtimes, model policies, sandboxing, typed outputs, workflow execution, validation, events, and backend adapters. Higher-level workflows can be built on top through A2A later without changing the core identity.

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

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 kernel Run sessions with normalized events, run records, backend dispatch, 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
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
builtin and adk Coarse 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.26.tar.gz (1.2 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.26-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for superqode-0.1.26.tar.gz
Algorithm Hash digest
SHA256 e17ed33b7c67446897ee8103e0131182c1a5e04fb6d1081e7ba56877d06d71d9
MD5 2a38e2184b6b4602bc8d1549eb448505
BLAKE2b-256 1a895f199d4ebd7f5f61246b5ff4b91a2e8068b46432b6e09acfb9c60d4abe74

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for superqode-0.1.26-py3-none-any.whl
Algorithm Hash digest
SHA256 c0fbbd7bfb72d2861882503955b475d2dae0f339f0f7285c5e33f2442111f82b
MD5 30182da71a9deb8d3dce4a0e8ebae8c5
BLAKE2b-256 b66d0da9fb3b50a5fe45e45ff42db633c368fedca4a1b0f9bf79a01fbd9ed896

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