hello.py

Every agent ships with this interface. Text, tables, code, files and tool steps stream as the model produces them.
The four layers
Each primitive is an immutable builder, so every method returns a new object and
one base configuration can be branched without side effects.
Three decorators
Decorators accept exactly the primitives they need. Each one extends the layer below it, so anything a function can do, an app can do, and anything an app can do, an agent can do.Function
Run Python in a container locally, in the cloud, or on a schedule. Freeze it
as a named endpoint anyone with your key can call.
App
Return a FastAPI application and get a URL, sign-in and per-user storage.
Agent
A chat product with a managed model loop, tools, memory, files and a web
interface.
What an agent includes
Interface
Streaming chat in light and dark, English and Arabic, a file canvas, voice
input, share links and generated social previews.
Managed loop
Tool calling, retries, context compaction, cost accounting, and background
runs that survive a dropped connection.
Tools
Sandboxed bash, file editing, web search, a real browser, a key-value store,
a canvas, app building, and your own Python handlers.
State
Per-user files and chats on a volume you own, team workspaces, trash and
restore, and shareable conversations.
Identity
Clerk out of the box or any OIDC provider. Organizations, roles, plans and
feature flags arrive as
context.user.Connectors
OAuth and API-key grants a user makes once, with per-tool approvals, an audit
trail, and remote MCP servers on any provider.
Model support
One builder covers Anthropic natively and every OpenAI-compatible endpoint through a base URL.Start here
Quickstart
Install, run locally, deploy. About five minutes.
Core concepts
Layers, builders, and the difference between run, remote and deploy.
Build your first agent
A guided build with tools, branding and a quota check.
CLI reference
Every command, flag and default.