Skip to main content

Supagents

Define a role once, then compile it into native subagent profiles for nine coding harnesses. Keep instructions shared and model, tool, and permission settings explicit for each host.

uv tool install supagents
supagents init reviewer --project
# Edit .agents/supagents/reviewer.md: write the instructions and keep the desired target blocks.
supagents build --project
supagents build --project --check

Requires Python 3.12+. See the changelog for release changes.

Target Harness Project output
AGY Antigravity .agents/agents/<name>.md
CLAUDE Claude Code .claude/agents/<name>.md
CODEX Codex .codex/agents/<name>.toml
COPILOT GitHub Copilot .github/agents/<name>.agent.md
CURSOR Cursor .cursor/agents/<name>.md
GEMINI Gemini CLI .gemini/agents/<name>.md
GROK Grok Build .grok/agents/<name>.md
KILO Kilo Code .kilo/agents/<name>.md
OPENCODE OpenCode .opencode/agents/<name>.md

One source, native settings

---
name: reviewer
description: Review assigned changes and report demonstrated defects.
CLAUDE:
  model: inherit
  tools: Read, Glob, Grep
CODEX:
  sandbox_mode: read-only
AGY:
  subagent: true
  model: inherit
  inheritMcp: false
  tools: [view_file, list_dir, find_by_name, grep_search]
---

Read the assigned files and requirements. Return findings with file and line references, evidence, and unresolved gaps. Do not implement fixes or delegate further work.

Only declared target blocks produce outputs. Supagents preserves the Markdown body and merges shared metadata with each target's overrides; Codex receives the body as TOML developer_instructions. It does not translate tool names, permissions, or model IDs. Native settings and parent-session policies determine runtime behavior.

Commands

Command Purpose
init NAME Scaffold a source with all bundled targets
build Validate the complete plan, then write changed outputs
build --check Fail if outputs differ; write nothing
build --dry-run Preview planned changes
list Show source-to-output mappings
clean --dry-run Preview generated files no longer produced
clean Remove those orphaned files

Use --project or --global, repeatable --target, --config, and --source-dir to select scope and locations. By default, a local .agents/supagents/ selects project scope; otherwise the CLI uses ~/.agents/supagents/.

Builds refuse to overwrite handwritten files, symlinks, sources, or colliding outputs. Cleanup refuses invalid or ambiguous sources. See usage and migration for configuration precedence, safety limits, host references, and chezmoi integration.

Development

mise trust
mise run install
mise run all

Python 3.12+ is supported; mise pins the development toolchain and uv locks dependencies. CI qualifies Linux and macOS, with an additional Python 3.12 test run. The gate audits dependencies and smoke-tests the built wheel in an isolated environment. Lefthook calls the same check and test tasks. Local checks do not establish hosted CI or live harness delegation results.

The repository also supplies an Agent Skill, Claude Code, Gemini CLI, and Copilot plugin manifests, and a downstream pre-commit hook. See plugin installation.

MIT license.

Metadata

Release files for supagents 1.3.0

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

Source distribution (sdist)

Source distribution for supagents 1.3.0
File Size Uploaded
supagents-1.3.0.tar.gz 500.4 kB Details

Built distribution (wheel)

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

Total release size: 516.5 kB

Release files / supagents-1.3.0.tar.gz

Download URL supagents-1.3.0.tar.gz
Size 500.4 kB
Tags Source
SHA-256 checksum
How to use checksums
dbef47ccb8418abc35c8dcf3617225d8f99ff6c89ce28d96267c049dbbd35320
BLAKE2b-256 checksum
How to use checksums
1d775c7af0de3a37565f8c4583700355585ba8d4dac3bf2e42a6e48e3d0d486f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.

Transparency log

Release files / supagents-1.3.0-py3-none-any.whl

Download URL supagents-1.3.0-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54a154e9d45e5e933e926a3263adedf4d7063e3a8ebc1085b833e56fc1c76b29
BLAKE2b-256 checksum
How to use checksums
0145535d1486ece5fdbd2639ef8b52ca041531a9e7c27f4d2c57000e3301298e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 27, 2026.

Transparency log

Release history Release notifications | RSS feed

1.4.1

2 release files

1.4.0

2 release files

This release

1.3.0 This release

2 release files

1.1.0

2 release files

1.0.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