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.jsonc is an optional file that tunes Karta’s behavior without touching
your agent definitions. It’s JSONC (JSON with comments and trailing commas).
Every key is optional, and the file defaults to ./karta.jsonc (override with
karta dev --config).
Full example
karta.jsonc
cli
Event types the CLI should not render — e.g.
["system", "step_start"]. Useful to quiet noisy harness internals.How the CLI handles
input_required
approval prompts: prompt, deny, approve_once, approve_session, or
error.The auto-decision applied to approval prompts that are hidden (so the user
isn’t asked for events they can’t see).
harness.claude
How long the Claude SDK subprocess may stay idle before it’s shut down.
Optional extended-thinking budget for turns that request reasoning.
Whether Karta intercepts the harness’s approval prompts (vs. letting the
harness handle them).
Enables the agent command surface.
runtime
How a deployed app treats approvals.
interactive prompts (maps to the
prompt policy); autonomous auto-approves for the session (maps to
approve_session). Set this for unattended/headless deployments.profile
The default human participant name for CLI sessions.
A friendly display name for that participant. Falls back to your OS user if
unset.
karta.jsonc governs run-time behavior;
karta.toml governs publish/build. OpenCode’s own
harness config lives separately in .opencode/opencode.jsonc.