Corral
Auth and Stripe billing that AI coding agents can set up
Details
- External ID
- 47053308
- Source
- HN
- Company
- —
- Product
- Corral
- Website domain
- github.com
- Launched
- Feb. 17, 2026
- Cohort
- —
- Upvotes
- 5
- Upvotes percentile
- 0.10512129380053908
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
Hey HN. I built Corral because every time I asked an AI coding agent to "add auth and payments," it hallucinated for an hour and produced broken code. Wrong imports, phantom endpoints, a login page wired to nothing.The problem isn't the agent. It's that auth-to-billing-to-gating is genuinely hard to wire, and there's no machine-readable spec for how to do it.Corral is an open-source CLI (MIT) that gives your agent a spec it can read (llms.txt), then scaffolds auth + Stripe billing into your existing project. It detects your framework (Express, Next.js, Hono, Fastify, and 13+ more), embeds into your existing server (doesn't create a new one), and generates working components: profile page, admin dashboard, plan gating, Stripe checkout, usage metering. One YAML config file controls everything.The agent workflow is 9 commands. Every command supports --json. Errors include a "fix" field. Exit 0 means deploy-ready.I hardened this across 10 framework/DB combos with blind agent tests: 3 AI models, 3 rounds each, then a 10-agent fleet. Found and fixed real edge cases like Express 4 vs 5 route patterns, Vite proxy ordering, and agents creating duplicate servers instead of embedding into existing ones.To try it, paste this into any AI coding agent: Read: https://llama-farm.github.io/corral/llms.txt Add auth and Stripe billing to my app. Built on Better Auth + Stripe. 18 CLI commands, 30+ templates.GitHub: https://github.com/llama-farm/corral npm: npx create-corral init Docs: https://llama-farm.github.io/corral/
Enrichment
- Theme
- payments, billing, and wallet infrastructure
- Vertical
- Horizontal
- Function
- Vertical SaaS
- Audience
- Developer
- AI stance
- AI feature
- Project type
- Commercial product
- Normalized one-liner
- authentication and billing for ai agents
- Manually corrected
- False
Could you build this?
Yes Providing a turnkey abstraction layer or CLI/library that glues standard auth (e.g., JWT, OAuth) and Stripe billing webhooks together is classic web CRUD and API integration.
Discussion
9 comments analyzed.
Competitors mentioned: Better Auth, Stripe
Concerns raised: Webhook setup complexity and common mistakes (raw body parsing, auth middleware ordering), Crypto payment support not yet available, Agent-built auth frequently fails at webhook handling
Feature requests: Support for cryptocurrency payments (BTC, USDC), Additional auth providers beyond current 9 OAuth options, Plugin system for third-party auth services to add support
Competitors
Other products that read as similar to this one — 115 launches clear the similarity bar, closest 8 shown.
Attention rank: #112 of 116 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 108 days after the earliest competitor.
- AgentCash · hn · 2026-03-10 · 6 upvotes · similarity 0.44
- Stripe-no-webhooks · hn · 2026-02-10 · 66 upvotes · similarity 0.44
- Stripe Projects · ph · 2026-03-27 · 173 upvotes · similarity 0.44
- Laravel SaaS Billing Engine · ph · 2026-09-30 · 2 upvotes · similarity 0.41
- My agent started its own online store · hn · 2026-02-13 · 5 upvotes · similarity 0.40
- AgentRaaS · ph · 2026-09-08 · 1 upvotes · similarity 0.40
- AgentBudget · hn · 2026-02-24 · 7 upvotes · similarity 0.39
- AI agents are bad at API integrations · hn · 2026-04-09 · 6 upvotes · similarity 0.39
Other launches for this product
Same idea, different domain
Nobody's really built a vertical saas tool for Insurance yet.