agent-workbench
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Basarisiz
- spawnSync — Synchronous process spawning in .github/validate.mjs
- fs.rmSync — Destructive file system operation in .github/validate.mjs
- process.env — Environment variable access in .github/validate.mjs
- exec() — Shell command execution in .github/workflows/owner-decisions.yml
- spawnSync — Synchronous process spawning in bin/awb.mjs
- os.homedir — User home directory access in bin/awb.mjs
- process.env — Environment variable access in bin/awb.mjs
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Agent Workbench (awb): orchestrate your coding agents as one team. A Manager plans and delegates, Workers build and review. For Claude Code and Codex.
English | 简体中文
Agent Workbench
CLI skills and policy hooks that help Claude Code and Codex delegate coding tasks and check the results.
onsager-ai/agent-workbench on GitHub · @onsager/awb on npm
How it works
The session you talk to is the Manager. It plans the task, gives a Worker a specific job, then checks the diff and any test results before reporting back. Workers are subagents built into Claude Code or Codex. Small tasks can start on a faster, cheaper model. The most capable Worker tier needs your approval each time.
A policy hook is a script that checks an agent’s actions, such as file edits, shell commands, and Worker launches. If a Claude Code Manager tries to edit a source file without approval, the hook blocks the edit and tells it to delegate to a Worker in one of the first two model tiers (L1 or L2). For a small bug fix, the Manager can ask a Haiku Worker to make the change on a task branch, then review the result.
Read how we run 12 AI managers with this setup.
Watch a Claude Code Manager delegate an off-by-one fix to a Haiku Worker, then verify the diff, commit, and tests.
Platform support
| Platform | Install / CLI / Hooks | Notes & limits |
|---|---|---|
| Linux | Full support (CI-tested) | Thermal control, one-shot jobs, and automatic worktree cleanup require the Linux facilities described in the reference. |
| macOS | Supported (CI-tested) | awb ops thermal and awb ops run-once require Linux. Without Linux /proc, awb prune cleans up branches without worktrees. Codex uses Seatbelt for sandboxing. |
| Windows | In progress | Native support is planned next. Run Workbench and your CLI harness inside WSL today. |
See platform-specific limits and fallbacks.
Get started in five minutes
You’ll need Linux or macOS, Node.js 22.20 or newer, Git, and Claude Code or Codex CLI already installed and signed in. For Codex hooks, use Codex CLI 0.141 or newer.
Install the skills and apply the shared setup.
npm install -g @onsager/awb awb setupFor setup without a global npm install, run
npx @onsager/awb setupand follow the PATH hint if shown.agent-workbenchremains available as a compatibility alias.If you use Codex, review and accept the hook trust prompt.
awb trustIf you use a custom Codex home, review and trust the hooks with
/hooksin that Codex session.Check the setup.
awb statusLook for
setup: appliedand the hook status for your coding tool. For Codex, confirm the hooks show astrusted.Open a new Claude Code or Codex session in a Git repository with a small fix you can review. Try this prompt.
Delegate a small fix to a Worker. Have it fix a typo in this repository’s README on a new task branch. Review the diff and tell me what changed.
In Codex, enable the built-in subagent tools if needed. To apply the same per-turn Manager limits as Claude Code, follow the Codex Manager setup.
From the repository, see the local worktrees and their branches. If the GitHub CLI (
gh) is installed and signed in, the command also shows your open pull requests.awb lanes
For handoffs and comparisons with other tools, see the overview. For manual and project-local installs, updates, and branch cleanup, see the reference. It also explains how to set up Worker profiles for switching providers.
What setup changes
Setup writes to your home directory. It installs the skills and launcher, adds shared instructions while preserving your own text, and registers the policy hook. It configures a default 300,000-token target for automatically summarizing long conversations and adds Haiku, Sonnet, and Opus Worker definitions for Claude Code. See the list of files and settings.
What the policy hook enforces
- Blocks agent commands that check out, commit to, or push a local
mainormasterbranch. - Requires approval before dispatching an L3 Worker, which is Opus in the default profile.
- Blocks GitHub polling,
whileoruntilloops withsleep, andforloops with bothsleepandgh. - Limits an unapproved Claude Code or enrolled Codex Manager to five counted work calls per turn. The Manager can make a one-off CI log read within that limit and delegate longer investigations.
- Sends a final reply back when it ends in a question the agent should ask through the coding tool’s question interface.
See the hook rules and Codex differences.
Skills
The skills are published on skills.sh. A skills-only install copies the skill files and leaves hooks and global instructions for you to apply. Run npx @onsager/awb setup to install the skills and apply both, or run awb install if you already have the launcher and skill files.
- manage-lane keeps track of the task, what you approved, and handovers.
- orchestrate-harnesses coordinates Workers and Managers.
- prompt-for-decisions presents choices with a recommendation.
- host-ops manages CPU-heavy work and disk space.
- workbench-setup applies shared instructions while preserving your own text.
- review-storybook is optional and covers reviewing Storybook previews on mobile.
Thermal helper (Linux)
On a Linux machine with a supported temperature sensor, run awb ops thermal now to check the temperature before heavy local work. Run the work with awb ops thermal gate -- <command>. To enable background logging with user systemd, run awb ops thermal install after setup. See thermal operations.
Undo
If you enabled the optional thermal logger, run awb ops thermal uninstall first. Your thermal logs are retained.
awb uninstall
npx skills remove -g manage-lane orchestrate-harnesses prompt-for-decisions host-ops workbench-setup review-storybook
The first command rolls back managed setup and preserves your own edits. The second removes the Agent Workbench skills. To remove every global skill, use npx skills remove -g --all.
If you installed the npm CLI globally, remove it with npm uninstall -g @onsager/awb.
License
MIT. See LICENSE.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi