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.
karta-python is the data plane as a library. It’s how you embed a harness
application in your own Python process, stand up the HTTP server, and run the
karta CLI.
Install
npm install -g @anthropic-ai/claude-code) or OpenCode.
The three entry points
Karta
The orchestrator. Detects your harness, discovers agents, and sends/streams
turns.
Session
A multi-turn handle with participants and agent handoff.
KartaHub
Multi-tenant orchestrator — one isolated Karta per
(tenant, user).Three lines to a response
.claude//CLAUDE.md
→ Claude Code, .opencode/ → OpenCode.
Sync and async, send and stream
Every send has four shapes — sync/async × accumulated/streamed:Serve over HTTP
Where to go
Karta reference
Constructor, properties, and every method.
Hooks & policies
React to lifecycle events; gate messages with policies.