Get started
Introduction
Build with the Cosmos Agent API, an AI agent API for coding, and code in your terminal with Line CLI.
Clatter Labs builds developer tools around one idea: an agent should do real work, on a real computer, and hand you back something you can check. These docs cover everything you can build on.
Quickstart
Create a key and start your first Cosmos Agent run in about five minutes.
API reference
Every Agent API endpoint, with parameters, examples and a live playground.
Line CLI
The fast terminal coding agent. Install it with one command.
API keys
Create a key in the Console and send it with your Account ID.
What you can build
Cosmos Agent API
An AI coding agent you call over HTTPS. Each run gets its own cloud computer: terminal, files, browser, database and hosting.
SuperCosmos models
Three tiers, Flash, Max and Heavy, behind every Clatter Labs product. Pick one per run, or let Cosmos route.
Errors and limits
Every error code, rate limit and run limit, and what to do about each.
Console and credits
API keys, usage, logs, your plan and your credits.
How the pieces fit
- You sign in to the Console with your Clatter Labs account. Your Account ID (
CL-…) is shown there. - In the Console you create API keys and watch usage against your plan and credits.
- The Agent API starts Cosmos Agent runs. Each run thinks with SuperCosmos and works on its own cloud computer.
- Line CLI brings the same models to your terminal and can hand bigger jobs to Cosmos in the cloud.
Every account has a plan (Free included) covering Line CLI, Cosmos Agent and Code Buckets, and new accounts start with $5 of free credit for the Model API and Agent API, which are pay as you go on every plan. See Plans and credits.