Agent setup
Let your coding agent integrate Knox.
Starting fresh, moving from Stripe, or using another processor? Paste a prompt into Claude Code, Codex, Cursor or another coding agent. It inspects the app, makes the changes on a branch and verifies the sandbox integration.
Setup prompts
Onboard your agent to Knox
Payments: a new integration or a migration.
Set up Knox payments in this repository. Fetch and read https://docs.knoxapi.com/agent-setup/prompt.md, then follow its sandbox integration workflow. Detect whether this is a fresh app, an existing Stripe integration, or another processor; perform the corresponding integration or migration yourself. Keep credentials out of chat and source code, preserve existing payment flows, and verify the integration before reporting success.Onboard your agent to Meta Knox
Routing: gateways, routing rules and traffic.
Set up Meta Knox routing in this repository. Fetch and read https://docs.knoxapi.com/agent-setup/prompt.md?product=meta, then follow its sandbox integration workflow. Inspect the app first, Keep credentials out of chat and source code, preserve existing payment flows, and verify the integration before reporting success.Project skills
The setup instructions tell your agent to install a skill in your repository: Claude Code reads
.claude/skills/<name>/SKILL.md and Codex reads .agents/skills/<name>/SKILL.md.
Other agents follow the skill during the session.
There is no Knox agent CLI or hosted MCP server in this release. Agents use the HTTPS API directly.
Workflows and tools
Each workflow is plain Markdown your agent fetches when the setup instructions call for it.
Test keys for agents
An agent can request a restricted test key (rk_test_...). You approve it in the dashboard by typing the code
the agent shows you. The key never passes through the chat. llms.txt describes the flow.
Workflows
prompt.mdThe complete payments setup instructions the prompt points at.prompt.md?product=metaThe Meta Knox routing setup instructions.stripe-to-knox.mdMigrate an existing Stripe integration, keeping it as the incumbent.processor-to-contract.mdMove from another processor through a Stripe-shaped contract.
Tools
preflight.pyReports file and line signals for the payment providers in a repository.knox-switch.pyPython helper for switching traffic between the incumbent and Knox.knox-switch.mjsNode helper for the same switch.knox-mcp.pyLocal stdio MCP server: test keys, integration spec, preflight, test payment, integration status.