The goal of this page: go from zero to a deployed agent in under 10 minutes. You’ll author a harness application,Documentation Index
Fetch the complete documentation index at: https://docs.karta.sh/llms.txt
Use this file to discover all available pages before exploring further.
git push it to Karta, and watch it come
alive at a hosted URL with a chat widget — no servers to run, no infra to wire.
Preview. The hosted push-to-deploy experience below —
git push karta, a
per-project URL, and the embedded chat widget — is Karta’s north-star UX and
is rolling out. If you hit a gap, the
Develop locally path further down works end-to-end today.
See the deploy loop status for specifics.Deploy to Karta
Create a harness application
A harness application is just a folder. The minimum is a That’s a complete, deployable app. The
CLAUDE.md that
gives your agent its instructions.CLAUDE.md
.claude/ directory (sub-agents,
skills, settings) and an optional karta.toml are
additive — see Project structure.Initialize the project
karta init sets up everything in one step: it signs you in (creating an
account if you don’t have one), creates the project, and adds a karta git
remote pointed at it.Push to deploy
Push your commit to the
karta remote. Karta packages the app, builds an
immutable release, activates it, and assigns the
project a stable URL.Iterate
Deploying again is the samegit push. Edit CLAUDE.md (or add a sub-agent or
skill), commit, and push — Karta builds a new release and flips the project to
it. The URL never changes, and in-flight conversations finish on the
release they started on.
Embed it in your site
The project URL speaks a uniform session API, so your own frontend can drive it. Your backend mints a short-lived, project-scoped session token for each end user, and your widget opens a session with it — your end users never hold an API key.Develop locally
Prefer to iterate before you deploy? Run the harness on your machine with the Python SDK and thekarta CLI — no account needed.
Install the SDK and a harness
Karta runs on top of a harness, so install one alongside the SDK.
Prefer OpenCode? Install it
(
curl -fsSL https://opencode.ai/install | bash) and lay out a
.opencode/ directory — Karta auto-detects the harness from your folder.Stream a response
Point Karta at the same folder. Three lines:Or stream events as they arrive:
app.py
stream.py
Add a session
A singlesend is stateless. Open a session for multi-turn context, tagged
with metadata you can look it up by later.
Serve it over HTTP
Wrap the app in a server and you have the same uniform session API your hosted project speaks:Next steps
Build a support bot
The full walkthrough: operator → developer → end user, with a chat widget.
Define multiple agents
Route between specialists and hand off mid-conversation.
Understand the deploy loop
Ship → serve → consume, releases, and rollback in depth.
Talk to it like OpenAI
Hit your project with the OpenAI or Anthropic SDK, unchanged.