Authorization notice. Openpactprotocol is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA Provider engineer who has built or is building support agents for Brands and needs proof the endpoints match the protocol before going live.
The problemInterop breaks when a Provider reads Agent Cards, signed requests, or consent claims slightly differently from the spec.
The outcomeA pass or fail result from the conformance suite for the target Provider, with failing checks identified.
What you need first
- Node.js and pnpm installed
- Git access to clone openpactprotocol/openpactprotocol
- PostgreSQL for the reference Provider, as named in the README
- Basic familiarity with TypeScript and OAuth concepts
Steps
- Clone the repository and open its folder.
- Run
pnpm install && pnpm gen-keys. - Follow Run the reference stack in docs/running.md to start the reference Provider locally.
- Run the conformance suite in e2e/ with
E2E_PROVIDER=any pnpm testafter setting E2E_PROVIDER to your Provider's base URL. (inferred, check the README) - Read the failing test names and map each one to the matching section of docs/spec.md.
Prompt for your agent
Using the openpactprotocol/openpactprotocol repo, set up the e2e conformance suite and run it against the Provider at <provider-url>. Output a list of passed and failed checks with the spec section for each failure. Verify that the suite ran against <provider-url> and not the reference Provider by checking the target in the test output.
Caveat. The README says the e2e suite runs against any Provider with E2E_PROVIDER=any, but the exact test command is not shown, so confirm it in the e2e folder before relying on it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for openpactprotocol/openpactprotocol and "Run PACT conformance tests against a Provider"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer