[ v5.2.2 / open source ]

Your agent. Your project.
Your proof.

Specs, project-native checks, and delivery evidence.
Keep the coding agent and test tools you already use.

~/projectinstall PactKit
pip install 'pactkit==5.2.2'
pactkit init --format classic

$ Keep your agent. Add the full Plan / Act / Check / Done workflow when you need it.

/ the contract

Clear expectations. Verifiable delivery.

Keep the P.A.C.T. contract. Leave planning and implementation decisions with the agent you already use.

P Prompt
Capture the goal, constraints, and acceptance criteria. Instructions are not a record of what happened.
A Agent
Let your coding agent investigate, reason, and choose how to implement and test the change.
C Code
Use the project’s own tools for repeatable checks. Don’t replace working tests with an agent’s opinion.
T Truth
Use actual results to support delivery claims. If a check did not run, record the gap.
/ worked example

One requirement,
from spec to proof.

A workspace request has neither a default nor an override. Reject it, and leave the stored settings unchanged.

Read the docs
WORKSPACE SELECTIONIllustrative
01 / ACCEPTANCE CRITERION
Given
No default and no override
Expect
Request rejected
Verify
Stored settings unchanged

Define what must be observable before writing code.

/ choose your workflow

Match the process to the change.

01 / interactive system map

From intent to evidence

The flow plays once as you scroll here. Select any node to see who owns what.

PDCA · OPTIONAL
Swipe to explore · System map
01 A small, well-understood fix

Keep it light: reproduce the defect, make the smallest fix, and run the relevant regression test. A local change does not need a full workflow by default.

02 A feature with tricky edge cases

Use a Spec to make the decisions testable. For a configuration change, specify what happens when values are absent or conflict, then verify both the returned result and any change to stored state.

03 A migration where recovery matters

Use the full Plan → Act → Check → Done cycle when useful. Write down what must be preserved, exercise the failure and recovery paths, and link the evidence in the handoff.

/ scope

What PactKit doesn't do.

PactKit defines what needs to be true at delivery. Your agent decides how to get there.

  • No agent replacement.Use the coding agent you already have.
  • No new test runner.Keep the project’s own verification commands.
  • No required full ceremony.Use the complete workflow where it earns its cost.
/ documentation

Find the right guide.

Start with installation or browse by the question you need to answer.

Earlier design & compatibility documentation

Read how earlier integrations differ from a fresh install.

/ releases

What’s new.

See what changed or check the exact package before installing.

Earlier releases

Previously published changes that explain the move to native agents.

5.1.0: bundled agent roles were retired; Spec-driven development and PDCA entry points were retained.