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 wandercomv1.0.0MIT
Turns a feature into typed component contracts and executable tests before any code gets written, then has agents implement against them. Note: since v1, pact run stops after tests unless you pass --implement.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Contracts before code. Tests as law. Agents that can't cheat.
Website: pact.tools · Docs: pact.tools/docs · Repository: github.com/wandercom/pact
Pact is a multi-agent software engineering framework where the architecture is decided before a single line of implementation is written. Tasks are decomposed into components, each component gets a typed interface contract, and each contract gets executable tests. Only then do agents implement -- independently, in parallel, even competitively -- with no way to ship code that doesn't honor its contract. Generates Python, TypeScript, or JavaScript.
Breaking change in v1:
pact runnow stops after decomposition, contracts, and tests by default. Existing automation that expects Pact to implement must add--implement.
The insight: LLMs are unreliable reviewers but tests are perfectly reliable judges. So make the tests first, make them mechanical, and let agents iterate until they pass. No advisory coordination. No "looks good to me." Pass or fail.
Pact is for projects where getting the boundaries right matters more than getting the code written fast. If a single Claude or Codex session can build your feature in one pass, just do that -- Pact's decomposition, contracts, and multi-agent coordination would be pure overhead.
Use Pact when:
Don't use Pact when:
Tested on 5 ICPC World Finals competitive programming problems (212 test cases total) using Claude Opus 4.6.
| Condition | Pass Rate | Cost |
|---|---|---|
| Claude Code single-shot | 167/212 (79%) | $0.60 |
| Claude Code iterative (5 attempts) | 196/212 (92%) | $1.26 |
| Pact (solo, noshape) | 212/212 (100%) | ~$13 |
Pact's contract-first pipeline solves problems that iterative prompting cannot. On Trailing Digits (2020 World Finals), Claude Code scores 31/47 even with 5 retry iterations and full test feedback -- the naive algorithm times out on large inputs. Pact's interview and decomposition phases force upfront mathematical analysis, producing the correct O(log n) approach on the first implementation attempt.
Full results: icpc_official/RESULTS.md in the benchmark directory.
Pact treats contracts as source of truth and implementations as disposable artifacts. The code is cattle, not pets.
When a module fails in production, the response isn't "debug the implementation." It's: add a test that reproduces the failure to the contract, flush the implementation, and let an agent rebuild it. The contract got stricter. The next implementation can't have that bug. Over time, contracts accumulate the scar tissue of every production incident -- they become the real engineering artifact.
This inverts the traditional relationship between code and tests. Code is cheap (agents generate it in minutes). Contracts are expensive (they encode hard-won understanding of what the system actually needs to do). Pact makes that inversion explicit: you spend your time on contracts, agents spend their time on code.
git clone https://github.com/wandercom/pact.git
cd pact
make
source .venv/bin/activate
That's it. Now try:
pact init my-project
# Edit my-project/task.md with your task
# Edit my-project/sops.md with your standards
pact run my-project
Pact defaults to plan-only: it produces the decomposition, contracts, and
tests, then pauses for the active Claude or Codex agent to implement. Use
pact run my-project --implement when Pact should also own implementation and
integration.
v1 migration: pact run no longer implements by default. Existing
automation that expects a full build must add --implement.
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.
Generated from the plugin's indexed repository (wandercom/pact) — no native marketplace selected
npx claudepluginhub p/jmcentire-pactPlugins from other owners that cover similar ground