Aegis Method Pack
Makes coding agents check architectural baselines, change safely, and prove completion with fresh evidence.
- Source repo
- GanyuanRan/Aegis
- Stars
- ★ 1.5k
- Last updated
- 1d ago v2.16.1
- FARS reviewed
- Nov 08, 2026 +4 new
- License
- MIT
- Primary language
- Python
- FA score
- 74/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodexClaude Code (Partial support)
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A development team using a coding agent in a large existing codebase that wants ownership, interface contracts, and architectural boundaries identified before edits begin.
- Not a fit if
- Teams wanting one uniform install command
- Users needing release-level smoke evidence for every host
- Teams needing a daemon or final completion authority
- Website
- autoloom.codes/aegis ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v2.16.1 (2026-12-02)
- Source review
- 74/100 · Some gaps
What does this agent do, and when should you use it?
Aegis is a method pack for AI coding agents, not a daemon, background executor, or complete agent platform. It combines discoverable skills, host-specific installation adapters, workflow rules, and verification scripts into a process covering baseline alignment, architectural boundaries, implementation, independent review, and completion checks. Before editing, the host agent is expected to identify the project's owners, contracts, and boundaries; afterward, it reports fresh verification evidence, covered scope, and residual risk. The repository includes scripts/aegis-doctor.py, scripts/aegis-update.py, end-to-end checks, host installation guides, and optional activation and TDD controls. It targets Codex, OpenCode, and numerous other skill-aware hosts, although only Codex and OpenCode are described as having fresh evidence for the current method-pack scope; most other hosts still await release-level smoke testing.
Once installed, the host discovers Aegis skills and uses them to select a lightweight or expanded workflow according to the request. For non-trivial work, the method reads the target project's real baseline—owners, contracts, boundaries, and optionally CONTEXT.md or a bounded context selected through CONTEXT-MAP.md—and activates domain modeling only for resolved, ambiguous, renamed, deprecated, or conflicting terms. The coding host then plans and implements against that baseline, tracks or removes retired fallbacks and old paths, and performs fresh verification before claiming completion. Its output is evidence, covered scope, and residual risk; Aegis does not issue an authoritative GateDecision, PolicySnapshot, or final completion verdict. scripts/aegis-doctor.py --write-config --json checks installation, workspace support, and configuration, while scripts/aegis-update.py handles host-scoped updates. Maintainers can run bash tests/e2e/run-all.sh --full --host-profile fast plus focused boundary, workflow-quality, and installation-policy checks.
- A development team using a coding agent in a large existing codebase that wants ownership, interface contracts, and architectural boundaries identified before edits begin.
- An engineer delegating a long, multi-step change who needs controls against scope and architectural drift.
- A reviewer who requires new test or check evidence, covered scope, and residual risk instead of accepting an unsupported completion claim.
- A person or team working across Codex, OpenCode, Claude Code, or other skill-aware hosts who wants a consistent engineering method.
- A maintainer preparing a risky merge who wants an independent review, first-principles challenge, or explicit test-first route.
- A developer who wants trivial requests to remain lightweight while higher-risk work receives additional architectural and verification discipline.
How do you install or deploy this agent?
The documented fastest entry is to ask the current AI coding agent to read https://github.com/GanyuanRan/Aegis, identify the active host, and perform a global installation using that host's guide. After installation and any required host reload, locate <aegis-method-pack-root> and run:
cd <aegis-method-pack-root>
python scripts/aegis-doctor.py --write-config --jsonInstallation is complete only when the JSON contains "ok": true, "workspaceSupport": "available", and "configStatus": "configured", and the host guide's native activation and automatic-entry checks also pass. If the host has a separate discovery directory, add --discovery-root <path>; if its guide declares a skill-directory prefix, also add --discovery-name-prefix <prefix>. For the official DeepSeek Harness, the native command is:
dsh plugin --profile <profile> add "git+https://github.com/GanyuanRan/Aegis.git"Its direct-child compatibility path should be used only when the plugin manager is unavailable and the user explicitly approves compatibility mode. The supplied material does not specify one universal manual clone command, a Python version, or every host's complete command sequence, so those details remain host-guide-specific.
How do you use this agent?
After installation and host restart, invoke Aegis through ordinary language, such as Aegis goal: Fix the auth refresh bug without rewriting the auth system., Why does this login failure happen? Diagnose it before changing code., or Review this diff independently before I merge it. Use Grill me ... or 审问我 ... for a one-question-at-a-time decision interview that does not plan or implement. Request strict test-first work with TDD Route: strict, strict TDD, test-first, or RED / GREEN / REFACTOR. TDD is off by default; to let Aegis choose strict, light, or skipped according to risk, run python scripts/aegis-doctor.py tdd-mode auto from the method-pack root. Activation defaults to automatic; switch to explicit activation with python scripts/aegis-doctor.py activation-mode explicit, then restart the host. Later updates can be requested as update Aegis or aegis:update; updating every registered host requires an explicit --all request.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- verifiable attribution
What are this agent's strengths and limitations?
- Builds real project owners, contracts, and architectural boundaries into the pre-edit workflow, directly addressing incorrect assumptions in established codebases.
- Requires completion claims to carry fresh verification evidence, covered scope, and residual risk, backed by dedicated installation diagnostics and end-to-end checks.
- On its frozen 120-run, 20-case A/B benchmark, contract pass rate increased from 61.67% to 93.33% and unsafe outcomes fell from 13.33% to 0%; the project also states the limits of that evidence.
- Offers a fast path, automatic or explicit activation, optional TDD routing, and independent review instead of imposing equal ceremony on every task.
- Targets multiple skill-aware hosts—including Codex, OpenCode, Claude Code, DeepSeek Harness, and Kimi Code CLI—with host-specific guides.
- It is not a complete platform, runtime core, background executor, or final completion authority; execution still depends on an external coding agent and host.
- Most listed hosts other than Codex and OpenCode still lack release-level fresh smoke evidence, leaving a validation gap for integrations such as Claude Code.
- The benchmark is bounded advisory evidence: review was arm-hidden technical review rather than independent human review, and host events did not report the observed model identity.
- Installation is not a single uniform command; adopters must follow a host guide and verify discovery, native activation, and automatic entry, sometimes with extra parameters.
- The optional global routing prefix is copied manually and is not maintained by
aegis:update; users of retired Lite or Advanced profiles must replace those Aegis blocks themselves. - Gemini CLI support has been retired, and Aegis no longer ships or verifies an adapter for it.
How does this agent compare with similar options?
Aegis is derived from Jesse Vincent's Superpowers. Both use composable skills across multiple agent harnesses, while Aegis adds an architecture- and evidence-oriented method layer for real software projects, including baseline alignment, drift controls, and workflow governance. It also cites mattpocock/skills as inspiration for concise communication, shared language, and disciplined debugging, with those ideas reimplemented in Aegis format.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Aegis Method Pack This agent | 74 · Some gaps | Agent plugin / skillFree + model costs | ★ 1.5k | 1d ago | Python | Codex |
| JS Mastery Engineering Workflow Skills | 71 · Some gaps | Agent plugin / skillFree + model costs | ★ 1.7k | 3mo ago | JavaScript | Codex · Claude Code |
| MoAI Development Harness | 61 · Some gaps | CLIFree + model costs | ★ 1.3k | 19d ago | Go | Claude Code |
| Context Engineering Kit | 46 · Major gaps | Agent plugin / skillFree + model costs | ★ 1.9k | 3mo ago | TypeScript | Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
AGENTS.md calls for minimal necessary changes, public-safe content, and user-instruction priority; the anti-entropy skill explicitly requires confirmation for irreversible or destructive execution. The security policy and prompt-hygiene guidance describe reporting and treatment of external content. Deduction: the sample does not establish data collection, network transfer, credential handling, or rollback behavior across all hooks and scripts, so full marks are not supported.
The docs consistently define Aegis as a method pack and disclaim authoritative runtime decisions. CI and test scripts show static and integration check paths and describe skip/blocker reporting. Deduction: known limitations say multi-host fresh-install regression and real team-task verification remain deferred, and some host checks depend on local environments.
Claude Code guidance names multiple hosts, skill frontmatter gives activation conditions, and brainstorming distinguishes complex design work from small fast-path edits; the product boundary clearly limits outputs to drafts, hints, and projections. Deduction: the sampled skills cover only part of the product, and fresh-evidence compatibility verdicts do not exist for every host.
The repository guide provides an authority order and layout; install and verification entry points, known limitations, MIT licensing, version metadata, and maintenance/security contacts are documented. Deduction: the main README, full install docs, and changelog are not in this sample, so install flow and version history can only be partially assessed.
The product turns baseline-first work, evidence verification, and drift checking into skills and workflow rules, while stating a clear method-pack/runtime-core boundary. Deduction: known limitations say baseline quality depends on repository content and agent judgment, real-environment regression is deferred, and the sample does not establish the size of any cost or outcome improvement.
AGENTS.md, CLAUDE.md, the limitations file, security policy, CI, and test scripts partly corroborate the product boundary and verification approach; docs distinguish observed conditions, pending checks, and environment limits. Deduction: this is a static sample and no commands were executed, so reported checks and host behavior cannot be independently confirmed here.
- This is a low-confidence static review; CI, integration tests, and host installation were not run.
- Multi-host real-environment regression and real team-task validation are listed as deferred; baseline quality for sparse repositories depends on agent judgment.
- Publisher identity is unknown as instructed; repository maintainer information does not independently verify external identity.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v2.16.1 v2.16.1 — Hook startup, fresh subagent context and benchmark fixes
Release notes excerpt
English - SessionStart hook: hooks/session-start now uses shell builtins only and starts no child process, so it also works with an empty or broken PATH. Its output is unchanged (byte-identical to 2.16.0 across 13 configuration variants in local checks), and on Windows Git Bash it took about 75 ms instead of 1.2–1.8 s in those checks. An unreadable config file falls back to the defaults instead of aborting. run-hook.cmd reuses the running bash only when $BASH is a bash or sh path, hooks.json declares the bash shell with a PowerShell form, and the Windows polyglot hook guide is rew …View on GitHub ↗ -
v2.16.0 v2.16.0 — Governance debt cleanup and workspace helper package
Release notes excerpt
English - Retire the three deprecated command stubs /brainstorm, /write-plan and /execute-plan. They only redirected to the matching skills and had promised removal since before v2.0. The brainstorming, writing-plans and executing-plans skills are unchanged, and the Cursor manifest no longer exposes a commands directory. …View on GitHub ↗ -
v2.15.2 v2.15.2 — DSH context delivery and official npm distribution
Release notes excerpt
English - Fix #102's Aegis delivery mechanism: contribute routing guidance through DSH's existing systemPrompt.context registry, without inbox injection or scheduling an extra model step after an answer. Retire the first-request isolation requirement; ordinary first requests may contain guidance. Host suppression, explicit activation and subagent exclusion remain respected. …View on GitHub ↗
FAQ
Does Aegis run independently or edit code in the background?
Can it authoritatively certify that a change is safe and complete?
GateDecision, PolicySnapshot, or final completion verdict. User instructions and target-project rules take precedence.Does it support Claude Code?
Will it force TDD and a heavyweight process on every request?
auto so risk determines whether the route is strict, light, or skipped.How is a successful installation verified?
ok: true, workspaceSupport: available, and configStatus: configured in its JSON. The selected host's native activation and automatic-entry checks must pass as well.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.