Metadata-Version: 2.5
Name: chiefofstaff
Version: 0.1.63
Summary: Your engineering chief of staff: runs Copilot, Codex and Claude Code as one team, follows every piece of work through to done, learns to work like you, and brings you only the decisions.
Project-URL: Homepage, https://github.com/evanl666/chiefofstaff
Project-URL: Issues, https://github.com/evanl666/chiefofstaff/issues
Author: evanl666
License-Expression: MIT
License-File: LICENSE
Keywords: agent-orchestration,ai-agents,claude-code,codex,coding-agents,developer-tools,github-copilot,human-in-the-loop,multi-agent,slack
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development
Requires-Python: >=3.11
Requires-Dist: cryptography<52,>=44
Requires-Dist: fastapi<1,>=0.115
Requires-Dist: github-copilot-sdk<1.0.29,>=1.0.28
Requires-Dist: httpx<1,>=0.28
Requires-Dist: keyring<26,>=25
Requires-Dist: mcp<2,>=1.24
Requires-Dist: platformdirs<5,>=4.14.3
Requires-Dist: psutil<8,>=7; sys_platform == 'win32'
Requires-Dist: pydantic<3,>=2.10
Requires-Dist: uvicorn<1,>=0.34
Provides-Extra: claude
Requires-Dist: claude-agent-sdk<0.3,>=0.2.182; extra == 'claude'
Provides-Extra: dev
Requires-Dist: claude-agent-sdk<0.3,>=0.2.182; extra == 'dev'
Requires-Dist: httpx<1,>=0.28; extra == 'dev'
Requires-Dist: pyright==1.1.414; extra == 'dev'
Requires-Dist: pytest-asyncio<2,>=0.25; extra == 'dev'
Requires-Dist: pytest-cov<8,>=6; extra == 'dev'
Requires-Dist: pytest-timeout<3,>=2.3; extra == 'dev'
Requires-Dist: pytest<10,>=8; extra == 'dev'
Requires-Dist: ruff<1,>=0.11; extra == 'dev'
Description-Content-Type: text/markdown

<p align="center">
  <img src="https://raw.githubusercontent.com/evanl666/chiefofstaff/v0.1.63/docs/images/captain.svg" width="360" alt="The captain, Chief of Staff's duck, in its five moods: idle, working, needs you, watching, done">
</p>

<h1 align="center">Chief of Staff</h1>

<h3 align="center">Your engineering chief of staff.<br>The more it works for you, the more it works like you.</h3>

<p align="center">
  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.
</p>

<p align="center">
  <a href="https://pypi.org/project/chiefofstaff/"><img src="https://img.shields.io/pypi/v/chiefofstaff" alt="PyPI"></a>
  <a href="https://pypi.org/project/chiefofstaff/"><img src="https://img.shields.io/pypi/pyversions/chiefofstaff" alt="Python"></a>
  <a href="https://github.com/evanl666/chiefofstaff/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="License: MIT"></a>
  <img src="https://img.shields.io/badge/runs-on%20your%20machine-2ea44f" alt="Runs on your machine">
  <img src="https://img.shields.io/badge/telemetry-none-2ea44f" alt="Telemetry: none">
</p>

<p align="center"><b>English</b> · <a href="https://github.com/evanl666/chiefofstaff/blob/main/README.zh-CN.md">简体中文</a></p>

<p align="center">
  <picture>
    <source media="(prefers-reduced-motion: reduce)" srcset="https://raw.githubusercontent.com/evanl666/chiefofstaff/v0.1.63/docs/images/hero.png">
    <img src="https://raw.githubusercontent.com/evanl666/chiefofstaff/v0.1.63/docs/images/hero.gif" width="900" alt="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">
  </picture>
  <br>
  <sub>The real app in demo mode, 21 seconds. <a href="https://raw.githubusercontent.com/evanl666/chiefofstaff/v0.1.63/docs/images/hero.mp4">Full quality (MP4)</a></sub>
</p>

<p align="center">
  <b>A Python package that runs on your machine.</b> Its data stays in a folder on your computer:
  no server, no account, no telemetry. Your code and prompts go only to the coding agents you
  already use.
</p>

<p align="center">
  <b>Receipts, not claims</b> · <b>One question, one card</b> · <b>The floor is enforced, not requested</b> · <b>Local, no telemetry</b>
</p>

## Try it in 10 seconds

```bash
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 learns how you write from your
   Slack messages, PR reviews and commits, and turns what you keep asking for into habits. When a
   worker fixes a failing test, it proposes a check and proves it on both versions (fails on the
   mistake, passes on the fix) before you turn it on.
2. **A team whose agents talk to each other.** One request becomes parts, each on its own agent
   and git worktree. Workers 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 a reviewer comments,
   the same worker prepares the fix or the replies for your OK. 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 a Slack message and the thread becomes your
   conversation with it: it says it's on it, asks you with numbered options, and posts the outcome
   there. Only your own reaction and replies count. Send work from any app with a hotkey; when
   you're away, what needs you comes to you (a Slack DM, say).
5. **Only decisions reach you.** One question, one card, one answer, however many agents asked.
   Every result carries receipts, not claims: the commands it ran, their exit codes, the diff.
   Stepping away? Switch on *Autopilot*: it answers only from what you already said, and accepts
   a result only after re-running its checks itself, offline.
6. **Never acts as you without your OK.** Slack replies and PR reviews are drafted in your voice
   and sent when you say so. The floor is enforced, not requested: on every agent, 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; anything
   that looks private is flagged for you first.
8. **The basics.** Copilot CLI, Codex CLI and Claude Code, mixed per task on the plans you
   already have; when one hits its limit, new work starts on the next. It picks up sessions you
   started in a terminal. It runs on your machine, 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 |
| 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 |
| Pasting a Slack ask into an agent, then the answer back | React 🤖: the thread is the conversation, and the outcome lands there |
| 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

<p align="center">
  <img src="https://raw.githubusercontent.com/evanl666/chiefofstaff/v0.1.63/docs/images/how-it-works.png" width="900" alt="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">
</p>

You talk to one session, the Router. It splits your request and starts a worker per part, each
in its own folder and git worktree, on the agent you name or the one Settings picks, and it keeps
your decisions. Every worker is a real session of its agent (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

| | |
| --- | --- |
| <img src="https://raw.githubusercontent.com/evanl666/chiefofstaff/v0.1.63/docs/images/tour-team.png" width="440" alt="A team's page: where the request stands, the plan, what the parts told each other, and what was decided"><br>**A team's page**: the plan, what the parts told each other, what you decided | <img src="https://raw.githubusercontent.com/evanl666/chiefofstaff/v0.1.63/docs/images/tour-decision.png" width="300" alt="A decision card: the question, why it comes up, three options with what each means, and a recommendation"><br>**One decision card**: options, what each means, a recommendation |
| <img src="https://raw.githubusercontent.com/evanl666/chiefofstaff/v0.1.63/docs/images/tour-receipts.png" width="300" alt="A result with receipts: verified, the failing test made to pass, one file changed, one commit"><br>**Receipts**: verified, the failing test made to pass, the diff, the commit | <img src="https://raw.githubusercontent.com/evanl666/chiefofstaff/v0.1.63/docs/images/tour-slack.png" width="300" alt="A Slack reply drafted in your voice, with Send"><br>**In your voice**: a Slack reply drafted, sent on your OK |
| <img src="https://raw.githubusercontent.com/evanl666/chiefofstaff/v0.1.63/docs/images/tour-team-talk.png" width="440" alt="Three tasks started on Copilot, Codex and Claude, and one worker telling another what it changed"><br>**Three agents, one request**: and a worker telling another what it changed | <img src="https://raw.githubusercontent.com/evanl666/chiefofstaff/v0.1.63/docs/images/tour-share.png" width="440" alt="A share link, ready: encrypted, expires on its date, can be turned off any time"><br>**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 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) |

Workers otherwise run like your own sessions of their agent; turn on *Ask first* or the OS
sandbox (Settings → General) for more. The floor in the last column holds either way, on every
agent. [SECURITY.md](https://github.com/evanl666/chiefofstaff/blob/main/SECURITY.md) says what the sandbox, Chief of Staff and the model each
enforce.

**Your data stays on your computer.** Chief of Staff is a Python package that runs entirely on
your machine: no server, no account, no telemetry, no cloud of its own. Its data (chats, tasks,
decisions, what it learns about you) is kept in a data folder there. What leaves, and only to
where you already work:

- your code and prompts, to the coding agents you use (Copilot, Codex, Claude Code), under their
  terms;
- Slack and GitHub, reached with your own sign-ins;
- a share link you make: encrypted before it leaves, its key only in the link;
- one daily look at PyPI for a newer version, which sends nothing about you (and can be turned
  off).

## 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 |
| A bot platform for a team | Jobs from Slack, Linear and GitHub for many people | Trusting results, who may ask what, approvals |
| **Chief of Staff** | The layer above your agents: runs them as a team and follows the work to done, for you | The decisions |

**Good to know.** It's early (0.1) and moving fast. It works for one owner, you; it isn't a
team's bot. It's not an IDE: a local page beside your editor and terminal. It runs three agents:
Copilot CLI, Codex CLI and Claude Code. Away from your desk it reaches you through Slack; there's
no phone app.

## Install

Chief of Staff is a Python package on PyPI, installed and run on your own computer. You need macOS
or Linux (Windows is experimental, on Copilot only), Python 3.11+,
[uv](https://docs.astral.sh/uv/getting-started/installation/) or pipx, and one coding agent signed
in: the [GitHub Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli), the
[Codex CLI](https://developers.openai.com/codex/cli) or [Claude Code](https://docs.claude.com/en/docs/claude-code).

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

Or `pip install chiefofstaff` in a virtual environment of its own. There is nothing else to set
up: no server to run, no account to make.

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](https://github.com/evanl666/chiefofstaff/blob/main/docs/guide.md#slack)). Update with **Update and
restart** in the sidebar, or `uv tool upgrade chiefofstaff`.

## Learn more

- [Guide](https://github.com/evanl666/chiefofstaff/blob/main/docs/guide.md): quickstart, concepts, daily use, agents, settings, troubleshooting
- [Reference](https://github.com/evanl666/chiefofstaff/blob/main/docs/reference.md): every behavior and setting in detail
- [Security](https://github.com/evanl666/chiefofstaff/blob/main/SECURITY.md) · [Architecture](https://github.com/evanl666/chiefofstaff/blob/main/docs/ARCHITECTURE.md) · [Changelog](https://github.com/evanl666/chiefofstaff/blob/main/CHANGELOG.md)

<details>
<summary><b>FAQ</b></summary>

**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, and Autopilot never
sends anything in your name. One OK you give by gesture: reacting 🤖 to a Slack message lets it
talk with you in that thread, as you (it says it's on it, asks you there, and posts the outcome).

**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](https://github.com/evanl666/chiefofstaff/issues) when you hit one.

</details>

## Contributing and license

Issues and ideas are welcome; see [CONTRIBUTING.md](https://github.com/evanl666/chiefofstaff/blob/main/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.
