Skip to main content

The captain, Chief of Staff's duck, in its five moods: idle, working, needs you, watching, done

Chief of Staff

Your engineering chief of staff.
The more it works for you, the more it works like you.

It runs Copilot, Codex and Claude as one team whose agents talk to each other, follows every piece of work through to done, reaches you wherever you are, and brings you only the decisions.

PyPI Python License: MIT Runs on your machine

English · 简体中文

One request becomes a team on Copilot, Codex and Claude; one worker tells another what it changed; one decision card comes to you; the result is accepted on its receipts
The real app in demo mode, 21 seconds. Full quality (MP4)

Try it in 10 seconds

uvx chiefofstaff@latest --demo   # scripted agents: no sign-in, nothing leaves your machine
uvx chiefofstaff@latest          # with Copilot CLI, Codex CLI or Claude Code signed in

No uv? pipx run chiefofstaff --demo works too. The browser opens by itself.

What it does

  1. Learns to work like you, and from its own mistakes. It picks up how you write (your Slack messages, PR reviews, commits) and what you keep asking for: a habit you said three times or more is usually kept at once (one click undoes it), the rest wait for your OK. When a worker fixes a failing test, it proposes a check that fails on the mistake and passes on the fix: proved on both, so that mistake is caught next time.
  2. A team whose agents talk to each other. One request becomes parts, each worker on its own agent and worktree. They tell and ask each other directly, wait on each other's results and share your decisions; a live team page shows the plan. Or run one task on two agents and compare.
  3. Sees it through to done. It keeps your PRs moving: when CI fails or reviewers comment, the same worker prepares the fix or the replies for your OK (Keep my PRs moving). Slack threads and PRs it follows go straight to their worker, check-backs watch long runs, and the Watchdog nudges stalled work.
  4. Reach it from anywhere. React 🤖 to any Slack message to hand it over, or send work from any app with a hotkey. When you're away, what needs you comes to you (a Slack DM, say), and you answer right there.
  5. Only decisions reach you. One card per question, with options and a recommendation. Workers that hit the same question share it, and your one answer reaches all of them. Every result comes with receipts: the tests, commits and diff it saw, not just what the agent says.
  6. Never acts as you without your OK. It drafts Slack replies and PR reviews in your voice and sends them only when you say so. No worker can comment, review, merge or close on GitHub as you, push to main, or force-push or delete someone else's branch.
  7. Share in one link. A finished result becomes an encrypted link that expires, opened in any browser; whatever looks private is flagged for you to remove first.
  8. The basics. Copilot CLI, Codex CLI and Claude Code, mixed per task on the subscriptions you already have; when one hits its limit, new work starts on the next. It continues sessions you started in a terminal. Local, open source (MIT).

What you stop doing

Before With Chief of Staff
Watching five terminal tabs to see which agent is stuck One chat. Every task shows its live step; stalled ones get nudged
Copying context from one agent to another Workers tell each other what changed, in their own words
Answering the same question for three agents One card; your answer reaches every worker that asked
Trusting "all tests pass" Receipts: the commands it ran and their exit codes, its commits, its diff
Re-checking every PR for red CI and new comments The fix or the replies, prepared in the same worker, waiting for your OK
Writing every reply and review from scratch Drafts in your voice, sent when you say so
Losing the afternoon when an agent hits its limit New work starts on the next agent you have

How it works

What comes to you (your words, Slack, GitHub, watches, a hotkey) goes to the Router, which runs a team of workers on Copilot, Codex and Claude; only decisions, drafts, results with receipts and share links come back to you

You talk to one session, the Router. It splits your request and starts a worker per part, on the agent you name for it (or the one Settings picks), each in its own folder and git worktree, and keeps the decisions. Every worker is a real session of its agent, driven through that agent's own SDK or app server (Copilot's show up in copilot --resume). Sessions never message each other unlabeled: Chief of Staff delivers each message with who sent it, so a Slack message can't pass itself off as you.

A look around

A team's page: where the request stands, the plan, what the parts told each other, and what was decided
A team's page: the plan, what the parts told each other, what you decided
A decision card: the question, why it comes up, three options with what each means, and a recommendation
One decision card: options, what each means, a recommendation
A result with receipts: verified, the failing test made to pass, one file changed, one commit
Receipts: verified, the failing test made to pass, the diff, the commit
A Slack reply drafted in your voice, with Send
In your voice: a Slack reply drafted, sent on your OK
Three tasks started on Copilot, Codex and Claude, and one worker telling another what it changed
Three agents, one request: and a worker telling another what it changed
A share link, ready: encrypted, expires on its date, can be turned off any time
Share in one link: encrypted, and it expires

Safety and privacy

On its own Only with your OK Never: no worker can, in any mode
Works in its own folder and git worktree; your checkouts stay untouched Sends a Slack reply or posts a PR review in your name Comment on, review, merge or close a PR as you, write to issues, or write anything else through gh
Runs tests and builds; pushes its own chief/… branches and opens PRs Merges a PR (one click on its card) Push to main or master
Reads what you let it: your code, Slack, the tools your agents have Turns on a check or your profile it learned, or a habit you said fewer than three times Force-push or delete a branch that isn't its own
Asks you instead of guessing With Ask first on: writes outside its folders, sudo, any force push Get your Slack token (no agent ever does)

Everything runs on your machine; your data stays in your data folder. No account, no telemetry: your code and prompts go only to the coding agents you use, and it reaches Slack and GitHub with your own sign-ins. The one call it makes for itself is a once-a-day look at PyPI for a newer version, which sends nothing about you (and can be turned off). A share link's key lives in the link itself, never on GitHub. An OS sandbox for workers is one switch in Settings. SECURITY.md says what the sandbox, Chief of Staff and the model each enforce.

Where it fits

Great at What is still on you
A terminal coding agent One task, deep, in your repository Starting each session, watching it, carrying context, following up
A dashboard of parallel agents Many sessions side by side in worktrees Watching each one, answering each one, merging
An AI editor Writing code with an agent beside you Staying in the editor to drive it
Chief of Staff The layer above them: runs your agents as a team and follows the work to done The decisions

Install

You need macOS or Linux (Windows is experimental, on Copilot only), Python 3.11+, uv or pipx, and one coding agent signed in: the GitHub Copilot CLI, the Codex CLI or Claude Code.

npm install -g @github/copilot && copilot login   # or: codex login, or: claude auth login
uv tool install chiefofstaff && chiefofstaff       # or: pipx install chiefofstaff

It opens in your browser through a private link printed in the terminal. Tell it where your code lives (~/workspace, say) and type what you need. Optional: gh auth login for GitHub reviews and PRs, and a Slack user token in Settings (how). Update with Update and restart in the sidebar, or uv tool upgrade chiefofstaff.

Learn more

FAQ

Does it replace Copilot, Codex or Claude Code? No. It runs them, on your own sign-ins and plans, and every worker stays a real session of its agent.

What does it cost? Nothing itself. Each agent's work counts against your plan with it: Home shows the Copilot credits each task used, and Usage every agent's.

Can it post or merge as me? Only when you say so. A reply, a review or a merge happens when you OK it on its card; no worker can do any of them itself, on any agent. One exception you choose: reacting 🤖 to a Slack message is your OK for the one reply to that thread.

Do I need all three agents? No. One is enough, any of them. Add more in Settings → Agents & models, and pick one for a task by typing @codex or @claude.

Is it ready? It is early (0.1) and moving fast: expect rough edges, and please open an issue when you hit one.

Contributing and license

Issues and ideas are welcome; see CONTRIBUTING.md. MIT licensed. Chief of Staff is an independent project, not made by or affiliated with GitHub, OpenAI or Anthropic; product names belong to their owners.

Metadata

Release files for chiefofstaff 0.1.61

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

Source distribution (sdist)

Source distribution for chiefofstaff 0.1.61
File Size Uploaded Provenance Actions
chiefofstaff-0.1.61.tar.gz 4.1 MB With provenance Details for chiefofstaff-0.1.61.tar.gz

Built distribution (wheel)

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

Total release size: 5.9 MB

Release files / chiefofstaff-0.1.61.tar.gz

Download URL chiefofstaff-0.1.61.tar.gz
Size 4.1 MB
Tags Source
SHA-256 checksum
How to use checksums
0ebfa30dd1bbd55804dd2a512d1deab48d51552881ff1b4962e15b039e2aaf22
BLAKE2b-256 checksum
How to use checksums
f73aafae4603defe62b1534a917ed8cd9492c4288670552b6359a46f0661b1b2
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 29, 2026.

Transparency log

Release files / chiefofstaff-0.1.61-py3-none-any.whl

Download URL chiefofstaff-0.1.61-py3-none-any.whl
Size 1.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
22710758af9fe091f46944410377aae4d9662394df19094360c25ffc64142ea5
BLAKE2b-256 checksum
How to use checksums
3322368ba00395cc60769b65d91f93f072f044328e526806875d5ed3b3c7bcc4
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 29, 2026.

Transparency log

Security for chiefofstaff 0.1.61

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 chiefofstaff-0.1.61.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 29, 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.

Release history Release notifications | RSS feed

This release

0.1.61 This release

2 release files Full provenance

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