# Clatter Labs Docs > Guides and API reference for Clatter Labs developer products: the Cosmos Agent API (an AI agent API for coding), Line CLI, the Model API, Code Buckets and the SuperCosmos and Line Code models. Every page is also available as Markdown: add `.md` to its URL (for example https://developers.clatterlabs.com/quickstart.md). The whole site in one file: https://developers.clatterlabs.com/llms-full.txt. API hosts: Cosmos Agent API https://api.agent.clatterlabs.xyz, Model API https://api.gateway.clatterlabs.xyz/v1, Code Buckets API https://api.codebuckets.clatterlabs.xyz. Keys are created in the Console (https://console.clatterlabs.com) and sent with your Account ID in the X-Clatter-Account header. ## Get started - [Introduction](https://developers.clatterlabs.com/index.md): Build with the Cosmos Agent API, an AI agent API for coding, and code in your terminal with Line CLI. - [Quickstart](https://developers.clatterlabs.com/quickstart.md): Create an API key and start your first Cosmos Agent run in about five minutes. - [Core concepts](https://developers.clatterlabs.com/concepts.md): The few ideas behind the Cosmos Agent API and Line CLI, explained once. ## Cosmos Agent - [Cosmos Agent](https://developers.clatterlabs.com/agent/overview.md): An AI coding agent you call over HTTPS. Describe a task; Cosmos does the work on its own cloud computer and returns the result. - [Your first real run](https://developers.clatterlabs.com/agent/first-run.md): Write instructions Cosmos can act on, pick a tier, attach your own metadata, and read the result. - [Streaming events](https://developers.clatterlabs.com/agent/streaming.md): Follow a run live with server-sent events, and reconnect without missing or repeating steps. - [Files and outputs](https://developers.clatterlabs.com/agent/files-and-outputs.md): Get files back from a run, and keep work on the cloud computer between runs. - [Choose a tier](https://developers.clatterlabs.com/agent/tiers.md): When to run on Flash, Max or Heavy, and how each run is billed. - [Limits and best practices](https://developers.clatterlabs.com/agent/limits.md): The numbers that bound a run and a key, and how to work well within them. - [Errors](https://developers.clatterlabs.com/agent/errors.md): Every error the Agent API returns, what it means, and what to do. ## Line CLI - [Line CLI](https://developers.clatterlabs.com/line/overview.md): The fast terminal coding agent by Clatter Labs. Written in Rust, runs on SuperCosmos 1.1, with parallel sub-agents, MCP and native Arabic. - [Install Line CLI](https://developers.clatterlabs.com/line/install.md): One command on macOS, Linux and Windows. Line updates itself. - [Commands](https://developers.clatterlabs.com/line/commands.md): Flags, slash commands and keys in Line CLI. - [Skills](https://developers.clatterlabs.com/line/skills.md): Teach Line repeatable procedures with SKILL.md folders. Install, create and use them with your approval. - [Plugins](https://developers.clatterlabs.com/line/plugins.md): Add tools the agent can call, slash commands, hooks and skills. Off until you enable them. ## Model API - [Model API](https://developers.clatterlabs.com/model-api/overview.md): Call SuperCosmos 1.1 from your own code with any OpenAI SDK. Pay as you go per token, from credits; new accounts get $5 of free credit. - [Model API quickstart](https://developers.clatterlabs.com/model-api/quickstart.md): Create a key with models:invoke, make your first call with cURL, Python or JavaScript, stream, and call tools. ## Code Buckets - [Code Buckets](https://developers.clatterlabs.com/code-buckets/overview.md): Store your code and assets in buckets, organized by project. Every upload is encrypted, every change is recorded, and backups bring a bucket back in one step. - [Quickstart](https://developers.clatterlabs.com/code-buckets/quickstart.md): Create a project and a bucket, upload a zip of your code, and read a file back, in about five minutes. - [Concepts](https://developers.clatterlabs.com/code-buckets/concepts.md): Projects, Project IDs, buckets, objects, the code tree, refs, events and backups. - [Uploads](https://developers.clatterlabs.com/code-buckets/uploads.md): Chunked, resumable uploads for zips and assets up to 10 GB per bucket. - [Public files](https://developers.clatterlabs.com/code-buckets/public-files.md): Share stored files with a public link, or keep them private (the default). Images get their own fast host. - [Preview](https://developers.clatterlabs.com/code-buckets/preview.md): Browse a bucket's code as a file tree, with syntax highlighting, in the Console or over the API. - [Events](https://developers.clatterlabs.com/code-buckets/events.md): An ordered feed of everything that happens in a project or bucket. Code Buckets uses events instead of comments. - [Backups](https://developers.clatterlabs.com/code-buckets/backups.md): Snapshot a bucket's code and stored files, and bring it back in one step. - [Encryption](https://developers.clatterlabs.com/code-buckets/encryption.md): What's encrypted, how, and who holds the keys. - [Pricing](https://developers.clatterlabs.com/code-buckets/pricing.md): Code Buckets is metered in tokens: 1,000,000 a month and 1 backup on every plan, with storage from 10 GB (Free) to 2 TB (Ultra). - [Limits](https://developers.clatterlabs.com/code-buckets/limits.md): The numbers that bound projects, buckets, uploads and requests. ## Console and billing - [Clatter Labs Console](https://developers.clatterlabs.com/console/overview.md): Manage API keys, see usage and logs, and keep an eye on your credits. - [API keys](https://developers.clatterlabs.com/console/api-keys.md): Create, scope, rate-limit and revoke Agent API keys in the Console. - [Plans and credits](https://developers.clatterlabs.com/billing/credits.md): Every plan includes every model and tool, Line CLI, Cosmos Agent (Telegram included), Code Buckets and pay-as-you-go access to the Model API and Agent API. Compare plans, usage resets and credits. - [Rates](https://developers.clatterlabs.com/billing/rates.md): Every price, in one table. The same rates apply to the Agent API, Line CLI and Cosmos Agent. ## Platform - [Cloud IDE](https://developers.clatterlabs.com/platform/cloud-ide.md): A browser-based, full-stack development environment by Clatter Labs, with the Radar AI agent built into the terminal. - [cla.wtf](https://developers.clatterlabs.com/platform/cla-wtf.md): Clatter Labs' official short-link and dynamic-link domain. - [Service status](https://developers.clatterlabs.com/platform/status.md): Live health, incidents and maintenance for every Clatter Labs service. - [Help Center](https://developers.clatterlabs.com/platform/support.md): Answers and guides for every Clatter Labs product. - [Abuse policy](https://developers.clatterlabs.com/policies/abuse.md): Insulting or cursing at the assistant earns a warning, then a 24-hour suspension. API key owners are responsible for their end users' text. ## API reference: Overview - [API reference](https://developers.clatterlabs.com/api-reference/introduction.md): The Clatter Labs Agent API runs Cosmos Agent, with its tools and cloud computer, from any language over HTTPS. - [Authentication](https://developers.clatterlabs.com/api-reference/authentication.md): API keys plus your Account ID on every request. - [Errors](https://developers.clatterlabs.com/api-reference/errors.md): Error format, status codes and error codes. - [Rate limits](https://developers.clatterlabs.com/api-reference/rate-limits.md): Per-key requests per minute, concurrent runs, and the headers that tell you where you stand. ## API reference: Agent - [Describe the API](https://developers.clatterlabs.com/api-reference/agent-config.md): The API's version, endpoints, the agent's tools and limits, and with a key, your key and balance. ## API reference: Runs - [Create a run](https://developers.clatterlabs.com/api-reference/runs/create.md): Start Cosmos Agent on a task. - [List runs](https://developers.clatterlabs.com/api-reference/runs/list.md): Your API runs, newest first. - [Get a run](https://developers.clatterlabs.com/api-reference/runs/get.md): Status, output, files and usage of one run. - [Stream run events](https://developers.clatterlabs.com/api-reference/runs/events.md): Server-sent events while a run works. - [Cancel a run](https://developers.clatterlabs.com/api-reference/runs/cancel.md): Stop a queued or running run. ## API reference: Account - [Get account](https://developers.clatterlabs.com/api-reference/account/get.md): Credit balance and 30 days of usage. ## API reference: Model API - [Model API](https://developers.clatterlabs.com/api-reference/model-api/introduction.md): Base URL, authentication, model ids, errors and rate limits of the OpenAI-compatible Model API. - [List models](https://developers.clatterlabs.com/api-reference/model-api/models/list.md): The model ids you can call, with their prices. - [Retrieve a model](https://developers.clatterlabs.com/api-reference/model-api/models/get.md): One model id with its price. - [Create a chat completion](https://developers.clatterlabs.com/api-reference/model-api/chat-completions.md): Send messages to a SuperCosmos 1.1 model and get a reply, streamed or not, with tool calls and token usage. ## API reference: Code Buckets - [Code Buckets API](https://developers.clatterlabs.com/api-reference/code-buckets/introduction.md): Projects, buckets, chunked uploads, code preview, events and backups over HTTPS. - [Authentication](https://developers.clatterlabs.com/api-reference/code-buckets/authentication.md): API keys plus your Account ID on every request. - [Errors](https://developers.clatterlabs.com/api-reference/code-buckets/errors.md): Error format, status codes and error codes. - [List projects](https://developers.clatterlabs.com/api-reference/code-buckets/projects/list.md): Your projects, newest first. - [Create a project](https://developers.clatterlabs.com/api-reference/code-buckets/projects/create.md): Make a project and get its Project ID. - [Get a project](https://developers.clatterlabs.com/api-reference/code-buckets/projects/get.md): One project by its Project ID. - [Update a project](https://developers.clatterlabs.com/api-reference/code-buckets/projects/update.md): Rename a project or change its description. - [Delete a project](https://developers.clatterlabs.com/api-reference/code-buckets/projects/delete.md): Remove an empty project. - [List project events](https://developers.clatterlabs.com/api-reference/code-buckets/projects/events.md): Everything that happened in a project. - [List buckets](https://developers.clatterlabs.com/api-reference/code-buckets/buckets/list.md): The buckets in a project. - [Create a bucket](https://developers.clatterlabs.com/api-reference/code-buckets/buckets/create.md): Add a bucket to a project. - [Get a bucket](https://developers.clatterlabs.com/api-reference/code-buckets/buckets/get.md): A bucket with its code tree and storage use. - [Update a bucket](https://developers.clatterlabs.com/api-reference/code-buckets/buckets/update.md): Rename a bucket or turn preview on or off. - [Delete a bucket](https://developers.clatterlabs.com/api-reference/code-buckets/buckets/delete.md): Remove a bucket from its project. - [List bucket events](https://developers.clatterlabs.com/api-reference/code-buckets/buckets/events.md): The bucket's change feed. - [Start an upload](https://developers.clatterlabs.com/api-reference/code-buckets/uploads/create.md): Open a resumable upload for a zip or an asset. - [Upload a chunk](https://developers.clatterlabs.com/api-reference/code-buckets/uploads/chunk.md): Send one 16 MiB part of the file. - [Get an upload](https://developers.clatterlabs.com/api-reference/code-buckets/uploads/get.md): Check what's arrived, to resume. - [Complete an upload](https://developers.clatterlabs.com/api-reference/code-buckets/uploads/complete.md): Finish the upload once every chunk is in. - [Abort an upload](https://developers.clatterlabs.com/api-reference/code-buckets/uploads/abort.md): Cancel an unfinished upload. - [List objects](https://developers.clatterlabs.com/api-reference/code-buckets/objects/list.md): The zips and assets stored in a bucket. - [Get an object](https://developers.clatterlabs.com/api-reference/code-buckets/objects/get.md): One stored zip or asset. - [Download an object](https://developers.clatterlabs.com/api-reference/code-buckets/objects/download.md): The whole file, decrypted. - [Download a chunk](https://developers.clatterlabs.com/api-reference/code-buckets/objects/chunk.md): One 16 MiB part of a stored file. - [Delete an object](https://developers.clatterlabs.com/api-reference/code-buckets/objects/delete.md): Remove a stored zip or asset. - [Set file visibility](https://developers.clatterlabs.com/api-reference/code-buckets/visibility/object.md): Make one stored file public or private. - [Set bucket visibility](https://developers.clatterlabs.com/api-reference/code-buckets/visibility/bucket.md): Make a whole bucket public or private. - [Get a public URL](https://developers.clatterlabs.com/api-reference/code-buckets/visibility/public-url.md): A stored file's stable public link, and whether it works right now. - [Get the code tree](https://developers.clatterlabs.com/api-reference/code-buckets/preview/tree.md): Every file and folder in the bucket's code. - [Get a file](https://developers.clatterlabs.com/api-reference/code-buckets/preview/file.md): One file from the code tree, ready to display. - [List backups](https://developers.clatterlabs.com/api-reference/code-buckets/backups/list.md): The backups of a bucket. - [Create a backup](https://developers.clatterlabs.com/api-reference/code-buckets/backups/create.md): Snapshot a bucket's code and stored files. - [Get a backup](https://developers.clatterlabs.com/api-reference/code-buckets/backups/get.md): One backup. - [Restore a backup](https://developers.clatterlabs.com/api-reference/code-buckets/backups/restore.md): Bring a bucket back to a backup. - [Delete a backup](https://developers.clatterlabs.com/api-reference/code-buckets/backups/delete.md): Remove a backup. - [Get usage](https://developers.clatterlabs.com/api-reference/code-buckets/usage.md): Tokens this month and storage. ## Models: Get started - [Models](https://developers.clatterlabs.com/models.md): SuperCosmos 1.1: what it is for, its efforts Flash, Max and Heavy, and the price of every effort per 1M tokens. ## Models: SuperCosmos 1.1 - [SuperCosmos 1.1](https://developers.clatterlabs.com/models/overview.md): SuperCosmos 1.1 by Clatter Labs powers the Agent API, the Model API, Line CLI and Cosmos Agent. Three tiers (efforts in Line CLI) trade speed for depth. - [SuperCosmos Flash](https://developers.clatterlabs.com/models/flash.md): The fast tier. Quick edits, answers and the everyday steps of an agent loop. - [SuperCosmos Max](https://developers.clatterlabs.com/models/max.md): The strong tier. Thinks before acting; built for planning, debugging and multi-file changes. - [SuperCosmos Heavy](https://developers.clatterlabs.com/models/heavy.md): The deliberate tier. Thinks longest and writes the longest answers, for the hardest problems. ## Models: SuperCosmos 1.0 - [SuperCosmos 1.0](https://developers.clatterlabs.com/models/supercosmos-1-0.md): The previous version of SuperCosmos: 550B parameters (55B active), a 1M-token window and three tiers, Flash, Max and Heavy. SuperCosmos 1.1 replaced it on Nov 2, 2026. ## Models: Line Code - [Line Code](https://developers.clatterlabs.com/models/line-code.md): Retired on Nov 1, 2026 and replaced by SuperCosmos 1.1. Line CLI's former coding model: efforts Fast, Ultra and Ultra Fast, about 428B parameters (23B active), 256K-token window. ## Optional - [Changelog](https://developers.clatterlabs.com/changelog.md): New releases and improvements across Clatter Labs developer products.