ClatterInstall
Clatter Agent SDK · v1 stable · v2 preview

Autonomous agents,
from the terminal up.

A native agent SDK for building, running and deploying autonomous agents. Same agent, same tools — your terminal, your browser, any cloud.

$ curl -fsSL https://sdk.clatterai.com/install.sh | sh
Agent SDK v1 · one-line install
$ curl -fsSL https://sdk.clatterai.com/agent/install.sh | sh

Native runtime

The Agent SDK ships a batteries-included CLI with a real REPL, real shell tools and real file I/O — no glue required.

Built-in Studio

Studio is a browser TUI that streams from your local port. `clatter studio` mirrors your shell to any device.

Universal runtime

Runs on Node, Bun, Deno, Vercel, AWS Lambda, Cloudflare Workers, Fly, Kubernetes, bare metal — one agent definition.

Git-native memory

Every agent action is committed to a local, diff-able journal. Time-travel, branch, replay or rewind any run.

Sandboxed tools

Filesystem, network and shell tools ship with per-tool allowlists. Nothing escapes the agent's declared scope.

Sub-50ms cold start

Snapshot-based boot means the agent is ready before your prompt hits Enter.

Define

One file. Real agent.

Use the defineAgent primitive to declare tools, memory and guardrails. Launch a full Studio with one command.

native-runtimeweb-studioclatter-cloudsandboxed-toolstime-travel-trace
agent.ts
import { defineAgent, tools } from "@clatter/agent";

export default defineAgent({
  name: "code-reviewer",
  model: "gpt-5",
  tools: [tools.git.diff, tools.fs.read, tools.shell.run],
  guardrails: { network: ["api.github.com"], writes: false },
  handler: async ({ message, agent }) => {
    const diff = await agent.tools.git.diff();
    return agent.think(`Review this diff:\n${diff}\n\nRequest: ${message}`);
  },
});
Studio · Web TUI

Type clatter studio. Get a browser.

Studio boots a dashboard on a local port and streams it to your browser. Works from Codespaces, Cloud Shell, tmux, bare SSH — anywhere your shell runs.

Open Studio demo $ clatter studio --port 7878