Agent treasury control plane — policy → authorize → execute → reconcile → evidence.
Operator UI ships as PreBroadcast on Vercel. Backend: Encore API + CDP on Base Sepolia.
Live demo: prebroadcast.vercel.app · API:
https://staging-railguard-s4ii.encr.app
Constitution: v5plan.md · Status: v5execution.md
Agent Payment Failure Lab → conformance + adversarial profiles
@railguard/kernel → FinancialIntent, Authority, Execution, Evidence
x402-guard (adapter) → pre-payment budget + policy
coinbase/ (this repo) → hosted API, console, CDP execution, reconciliation
railguard-new/signgate/ → optional on-chain high-assurance mode (Authority Engine Go)
git clone https://github.com/prasanthkuna/railguard-cdp.git coinbase
cd coinbase
bun install
bun run dev:api # terminal 1 — Encore on :4000
bun run dev:web # terminal 2 — console on :3000GitHub repo name is still
railguard-cdp; local folder is oftencoinbase/. See docs/MONOREPO.md.
| Surface | Command |
|---|---|
| CLI | bun run railguard doctor · bun run railguard verify |
| MCP | bun run railguard:mcp — docs/INTEGRATION.md |
| SDK | @railguard/sdk — authorize(), execute(), verify() |
| Mode | PAYMENT_MODE |
Behavior |
|---|---|---|
| Demo | demo |
Hash-bound settlement simulation |
| Live testnet | live |
Real CDP + Base Sepolia USDC |
| Variable | Purpose |
|---|---|
PAYMENT_MODE |
demo or live |
X402_GUARD_ENABLED |
true for x402 Authority path |
RAILGUARD_ACCESS_TOKEN |
CLI / MCP / SDK auth |
RAILGUARD_BASE_URL |
API base (default http://localhost:4000) |
bun run test:v5
encore check
bun run verify:demo # requires dev:api running| Doc | Purpose |
|---|---|
| INTEGRATION.md | CLI, MCP, SDK |
| MONOREPO.md | Repo layout |
| OSS_CLOUD.md | Open source vs Cloud |
| INVARIANTS.md | INV-001..008 |
| api/endpoints.md | REST surface |
| Repo | Role |
|---|---|
| railguard-new | Protocol, evidence, v5 plans, optional Authority Engine (Go) |
| x402-guard | x402 ExecutionRail adapter |
| agent-payment-failure-lab | Failure / conformance suite |
| grant-ops | Grant applications (private ops) |
Apache-2.0