professorpalmer/Puppetmaster
About
Provider-neutral control plane for durable-state agent swarms: subprocess workers, leases, artifacts, memory, and deterministic stitching.
AI & Machine LearningMeasured star growth
- in 24h
- +1
- in 7 days
- +5
- in 15 days
- +12
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalPuppetmaster
Puppetmaster runs engineering work as durable jobs. It is universal for any harness or CLI, or a plain provider API.
Your agent gives Puppetmaster a task. Puppetmaster starts independent workers, routes each task to a model, and stores each typed result in SQLite. You can inspect a job, resume it, or read its results later at no model cost.

Quick setup
pipx install puppetmaster-ai # or: pip install puppetmaster-ai
puppetmaster setup # installs MCP tools, rules, and hooks
Restart your agent tool. Then send it this prompt:
Use Puppetmaster to run doctor in this repo and summarize what is missing.
No agent CLI? The built-in agentic adapter needs only a provider API key. For all steps, see Setup.
Index
Get started
| Doc | What it covers |
|---|---|
| Setup | Install, select platforms, run a first job, uninstall |
| Daily driver | Prompts for review, swarm, implement, and inspection |
| Grok Bot | Grok Bot as a pilot over remote MCP |
| Pi / OMP | Pi and OMP as pilots |
Run work
| Doc | What it covers |
|---|---|
| Flows | Write one graph. Puppetmaster walks it and wakes you when it is done |
| Adapters | Worker adapters and how to add one |
| Model routing | Router policies and the model registry |
| Concurrent sessions | State scope, worktrees, and many sessions at once |
| CodeGraph | Optional code index for worker context |
| Budgets | Spend limits and how they are enforced |
Watch and inspect
| Doc | What it covers |
|---|---|
| Dashboard | Live job board |
| Mobile | Watch jobs from a phone |
| CLI reference | Every CLI command |
| MCP tools | The MCP tool surface |
How it works
| Doc | What it covers |
|---|---|
| Architecture | Pilots, workers, jobs, tasks, and artifacts |
| Why | Why durable state, not one shared transcript |
| Comparison | How it differs from LangGraph, CrewAI, and native subagents |
| Store contracts | Embedding APIs and their limits |
Evidence
| Doc | What it covers |
|---|---|
| Claims | Benchmark scripts, scope, and caveats |
| SWE-bench Lite study | 29% lower actual spend with cost routing and durable retries. One seed. Quality parity is not proven |
| NL2Repo-Bench | 91.1% mean pass rate against a published baseline of about 40% |
| Research | Durable autoresearch protocol |
Operate
| Doc | What it covers |
|---|---|
| Troubleshooting | Common errors and fixes |
| Security | Threat model and safe use |
| Production | Notes for use past a local trial |
| Changelog | Changes in each release |
| Contributing | How to land a patch |
| The full docs list is in the docs index. |
License
MIT
Explore related projects
Loading…