What it does
Pikopod builds a sandbox from a provider's spec. You import an OpenAPI, Swagger, Postman or GraphQL spec, or a documentation URL. Pikopod binds failure scenarios to operations declared in that spec. Timeouts, rate limits, malformed responses, connection resets and duplicate webhooks are controlled inputs. You run scenarios with pikopod scenario run. When the spec lacks enough evidence for a scenario, Pikopod refuses the binding and names the missing fact. An observing agent records redacted production failures. The pikopod scenario reproduce command arms that response in the sandbox and replays the recorded request against it. The result is an ordinary scenario file that you can commit as a regression test. Pikopod runs locally as one Go binary. It is open source under Apache-2.0.
Capabilities
- Pikopod says the sandbox is deterministic and that the same seed returns the same bytes.
- Eleven provider-agnostic scenarios cover declines, timeouts, retries, partial failures and webhook delivery.
- Webhooks arrive wrapped and signed the way the provider sends them, and only for events the docs declare.
- The pikopod spec-diff command fails the build on breaking changes, follows $ref across files and annotates the GitHub diff inline.
- The pikopod mcp command exposes spec diff, replay, scenarios, faults and webhooks to an agent over MCP.
When to use it
- You want to rehearse failures such as timeouts, rate limits and duplicate webhooks from a third-party API before you ship.
- You need to replay a production failure, such as a 503, on your laptop and keep it as a regression test.
- You want a CI gate that fails the build when a provider's spec changes shape.