Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By agentic-tool-labsv0.130.1Apache-2.0In 1 marketplace
Multi-agent role hierarchy, each on the right model. Optional herdr transport for pane-based teams.
You run one by typing its /name in Claude Code.
1 critical · 2 cautions to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it runs programs; reads files.
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
subagent, delegation, orchestration, models, review, cost, herdr
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Status entrystatus_entry
Show the hierarchy line (⚠ ah: …) in the status area. Off by default; turn it on if claude-tui-line's ah item does not already show it.
booleandefault false
Toast secondstoast_seconds
How long hierarchy notices stay on screen, in seconds (2-60); 0 turns them off. Click a notice to dismiss it early.
numberdefault 10
Splits work across six roles and runs each one on a model priced for what that role actually does. Design happens on a strong model, review on a mid one, and legwork on Haiku, and no role spends its tokens doing a cheaper role's job.
| Role | Default model | Does | Never does |
|---|---|---|---|
| Orchestrator | the session itself | decomposes, dispatches, synthesizes, polices the lanes | design or implement non-trivial changes |
| Ultra-Advisor | fable | adjudicates the hardest calls | implement; run routine steps |
| Architect | opus | design reasoning; writes the spec | implement or execute: no tests, builds, experiments |
| Reviewer | opus | validates the diff against the spec | edit anything, or run anything |
| Implementor | inherit (session model) | builds exactly the spec; runs what it builds | design; fill spec gaps with its own judgment |
| Task-Runner | haiku (delegates to task-gopher when installed) | explicit-order legwork | reason or decide |
For the whole flow, the lanes, and the tiers on one page, see the visual map: docs/hierarchy.html (rendered).
/plugin marketplace add agentic-tool-labs/agent-tools
/plugin install ah@agent-tools
The plugin installs under the short name ah. Then run /hierarchy init
once. You can make the config user-wide (~/.claude/agent-hierarchy.json) or
commit it to a repo (<repo>/.claude/agent-hierarchy.json), and the repo file
wins. From then on a
SessionStart hook injects the resolved role-to-model table and the
orchestration protocol, and injects them again after compaction so they last
through long sessions. It stays silent inside subagents on purpose. The role
agents carry their own contracts in agents/*.md, and a worker that started
orchestrating would defeat the point.
roster.mjs and msg.mjs verbs,
how to invoke them, and permissions.Everything above runs on Node alone, with no external binary. The one optional
dependency is herdr, which you only need if you opt into the herdr
transport (HERDR_ENV=1) for teams of peers in panes. Without it, roster
spawning falls back to tmux, and without tmux, to plain terminal windows.
Nothing breaks; you just don't get herdr's pane placement. It's been checked
against herdr 0.8.2. See herdr's own install instructions for getting it on
your PATH. The herdr desktop app (beta) works too: from one of its terminals,
ah uses its hc and herdr-app commands instead of herdr.
The status entry, and the band, the Pane and toasts, need Claude Code 2.1.289 or later.
Trivial edits (a typo, a config value) skip the chain entirely. A request that's already fully specified skips the Architect but still gets the Reviewer. Everything else goes like this:
Orchestrator → Architect (spec file) → Implementor (builds it) → Reviewer
↑ ↑ ↑ |
| └── spec-defect ─────────┼───── impl-defect ───┘
└── Ultra-Advisor, only when the chain can't settle it
The spec file is the contract. The Orchestrator picks one absolute path, every role works against it, and it's a living document: it gets amended before the Reviewer runs, so the review always checks the current design. The Reviewer labels every finding as an impl-defect (the code is wrong, so it goes back to the Implementor) or a spec-defect (the spec is wrong, so it goes back to the Architect). After two round trips the loop goes up to the Ultra-Advisor instead of going in circles.
A Reviewer needs to know what the change is meant to deliver: a review brief
states its goal and acceptance, and a dispatch without them is held until it
does. A Reviewer that finds no intent anywhere answers NEEDS-INTENT instead of
reviewing. A verdict covers only the range it names, so a behaviour-changing
commit made after it gets its own review of that range before it is pushed.
The expensive roles read. They don't run things. That's enforced three ways at once, because prose alone already failed once: a live Architect ran test cycles because its old charter allowed "execution legwork".
Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub agentic-tool-labs/agent-tools --plugin ah