Skip to main content

Supagents

Maintain shared subagent instructions and generate native configurations for your coding tools. For developers using multiple harnesses, Supagents keeps roles in Git while preserving explicit model, tool, and permission settings for each host.

uv tool install supagents
supagents init reviewer --project --target claude --target codex
# Replace the scaffold with the reviewer source below.
supagents build --project --diff
supagents build --project --strict
supagents check --project --strict

The final check reports 0 would change, 2 unchanged, 0 obsolete, 0 warnings, 0 errors. Generation runs locally without model calls. 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
---

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.

Save this source as .agents/supagents/reviewer.md. The complete reviewer example includes all nine targets; retain only those you use. Shared _*.md partials reduce duplication across multiple roles via extends and {{BODY}} (see partial inheritance).

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 --target claude --target codex Scaffold only selected targets
build --diff Preview content changes and source-to-output mappings
build --strict Reject warnings before writing changed outputs
check --strict Fail on missing, modified, obsolete outputs or warnings; write nothing
list Show source-to-output mappings
clean --dry-run Preview obsolete generated files before clean removes them

init without --target includes all bundled targets. build --check remains an alias for the read-only check, and --dry-run previews paths without content diffs.

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

Commands display the selected scope and source directory. 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.

See the compatibility evidence for tested host versions, discovery results, and runtime limits.

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 across Python 3.12, 3.14, 3.15, and declared minimum dependencies. 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 a /supagent 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.6.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.6.0
File Size Uploaded Provenance Actions
supagents-1.6.0.tar.gz 20.3 kB With provenance Details for supagents-1.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 42.3 kB

Release files / supagents-1.6.0.tar.gz

Download URL supagents-1.6.0.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b0cbf232061710dd08dd686df3a2c073c61af5d4ad79b791fe8a9565eaf42572
BLAKE2b-256 checksum
How to use checksums
be1785e92effe62a390fb70ded5b5edf0672f7d708b4da6393b439d3a11d1022
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

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

Download URL supagents-1.6.0-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06e9816317a6ce98d431a9e36052c7f6d389020a6bc02f1f1cf598a7cab186c4
BLAKE2b-256 checksum
How to use checksums
10961c8196518c1c3e6d38ce8379f23d70554b22efe8eb66189c0499db9d1188
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Security for supagents 1.6.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for supagents-1.6.0.tar.gz

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 Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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