What do you want to do?
4 use cases
-
Run PACT conformance tests against a Provider
Check that a Provider's endpoints follow the PACT spec using the bundled e2e suite.
- Openpactprotocol
- Software and DevOps
- Advanced
View prompt
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.
-
Build a personal agent that calls business agents
Create a personal agent that signs requests and fetches a Brand's Agent Card.
- Openpactprotocol
- Software and DevOps
- Advanced
View prompt
Using the openpactprotocol/openpactprotocol repo, write a personal agent client that fetches the Agent Card at <agent-card-url> with fetchAgentCard and sends one message with A2AClient. Output the source file and the Agent Card name returned. Verify that each outgoing request carries a signature produced by the signer.
-
Validate PACT messages with protocol schemas
Check Agent Cards, messages, errors, and JWT claims against the Zod schemas.
- Openpactprotocol
- Software and DevOps
- Intermediate
View prompt
In the openpactprotocol/openpactprotocol repo, use the Zod schemas in packages/protocol to validate the sample payload at <payload-path>. Output whether it is an Agent Card, a message, an error, or JWT claims, and list any validation errors. Verify the result by running the schema against one valid and one invalid sample.
-
Run the demo personal agent chat UI locally
Start the demo personal agent with its JWKS server and chat UI on your machine.
- Openpactprotocol
- Software and DevOps
- Intermediate
View prompt
Using the openpactprotocol/openpactprotocol repo, start the demo personal agent in reference/personal-agent/ and report the local URL of its chat UI and of its JWKS endpoint. Verify that the JWKS endpoint returns a JSON key set before you report success.
How to use Openpactprotocol
- Check you have what it needs: Node.js and pnpm installed; Git access to clone openpactprotocol/openpactprotocol; PostgreSQL for the reference Provider, as named in the README.
- Open openpactprotocol/openpactprotocol on GitHub and read the README and license.
- 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)
These steps come from our top use case, Run PACT conformance tests against a Provider, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeOpenpactprotocol alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forDevelopers building a personal agent or a Provider that hosts support agents for many Brands, and coding agents that will implement or test against the PACT spec.
- Why it is hot
- LanguageTypeScript
- Sourcegithub.com/openpactprotocol/openpactprotocol · Back to Hot repos
Requirements
- 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
Maintain Openpactprotocol? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/openpactprotocol-openpactprotocol/?ref=badge)
Questions about Openpactprotocol
What is Openpactprotocol?
PACT is an open TypeScript protocol, with schemas, a client library, and reference code, that lets personal agents call businesses' agents with signed identity and customer-granted permissions. It is an open-source project on GitHub: https://github.com/openpactprotocol/openpactprotocol.
Who is Openpactprotocol for?
Developers building a personal agent or a Provider that hosts support agents for many Brands, and coding agents that will implement or test against the PACT spec.
What can I do with Openpactprotocol?
4 use cases so far, for example: Run PACT conformance tests against a Provider; Build a personal agent that calls business agents; Validate PACT messages with protocol schemas. Each has steps and a copy-paste agent prompt.
What do I need to run Openpactprotocol?
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.
What are alternatives to Openpactprotocol?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Openpactprotocol safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.