Copy-paste setups for using OpenPike with coding agents, SDKs and frameworks, plus recipes for budgets, loop protection, fallbacks and separate environments. Every example sends x-openpike-tags (or has you tag the key) so spend shows per agent.
You need an OpenPike virtual key (opk_live_...) and a provider key added to your workspace. Each folder has a README with its env vars and exact command, and a .env.example. Docs: https://openpike.dev/docs/
| Example | Docs page |
|---|---|
| Claude Code | integration |
| Cursor | integration |
| opencode | integration |
| Cline | integration |
| Aider | integration |
| Codex CLI | coming with /v1/responses support in these examples |
| Example | Docs page |
|---|---|
| A budget per developer | recipe |
| Stop a runaway agent | recipe |
| A cheap fallback chain | recipe |
| Staging and production | recipe |
CI lints and typechecks every TypeScript and Python example on each pull request. A live job runs the SDK examples against https://api.openpike.dev when the repo secret OPENPIKE_API_KEY is set (use a dedicated virtual key with a small hard budget).
Licensed under MIT. Security reports: see SECURITY.md.