Stripe Link for Agents lets AI spend on your behalf. That's powerful — and terrifying. linkgate sits between your agent and your money, enforcing budgets, blocking risky merchants, and requiring human approval before any payment goes through.
"What if my agent buys a $249 Adobe subscription? Or a surprise $500 crypto order? Or keeps creating approval requests until I cave?"
You need a policy firewall between the agent and your money. linkgate is a local-first CLI that enforces spending rules before any payment credential is created.
Per-transaction caps, daily/monthly budgets, and automatic block when limits are hit. No surprises.
Allowlists for trusted merchants. Blocklists for crypto, gambling, gift cards. Pattern matching via regex.
Require human approval for purchases over a threshold. The agent stops and explains why.
Every decision, every agent, every time — logged locally in structured JSONL. Search, filter, export.
Test your entire policy pipeline without a real Stripe Link account. Infinite free testing.
Track which agent made which spend. Per-agent budgets and accountability. No shadow spending.
Edit ~/.linkgate/guard.yaml to match your rules.
linkgate does not store or touch card credentials, PANs, CVVs, or payment tokens. Stripe Link handles all wallet operations. linkgate handles the policy decision.
License keys are delivered via email after purchase. Activate with
linkgate license activate LGPRO-...
| Feature | Free | Pro |
|---|---|---|
| Policy engine | ✓ Unlimited | ✓ Unlimited |
spend check (dry run) | ✓ Unlimited | ✓ Unlimited |
spend create --adapter fake | ✓ Unlimited | ✓ Unlimited |
spend create --adapter link | 1 / day | ✓ Unlimited |
| Audit terminal view | Last 100 | 30 days |
| Audit export (CSV/JSONL) | ✗ | ✓ |
| Output format options | pretty only | JSON, CSV, pretty |
| Per-agent budgets | ✗ | ✓ |
| Category budgets | ✗ | ✓ |
| MPP commands | ✗ | ✓ |
| Multi-machine sync | ✗ | ✓ |
Drop this into your agent's instructions or AGENTS.md:
Integrations:
linkgate exposes a predictable, documented CLI interface. Every command returns structured JSON. The policy engine is deterministic. The audit log is append-only. This is the safest way to give an agent real spending power.
link-cli.Not affiliated with Stripe. Built independently on top of Stripe Link for Agents.
TypeScript · Commander.js · Zod · Ed25519 · Resend
Requires Node.js 18+. Works on macOS, Linux, Windows (WSL).