API Builder
Give your AI agent a structured, type-safe way to build REST APIs. Define the spec, generate the code, let the compiler verify correctness.
1 Install
One command. Zero accounts. Instant access.
api init2 Define
Write your API in api.json —
a flat JSON format with no $ref,
no oneOf,
no indentation ambiguity. Every field, type, and relationship is explicit.
See the API Builder API spec for a real-world example.
3 Generate
Produce type-safe clients, server stubs, test mocks, and database schemas. Each generator outputs a single, self-contained file — drop it into the project and go.
api See all generators — Scala, TypeScript, Java, Go, Elm, and more.
4 Verify
Compile. If it builds, it's correct. The generated interfaces enforce the spec — your implementation either matches or the compiler tells you exactly what's wrong.
Get your agent started in 30 seconds.
Getting Started