karta login / karta auth status|token|logout | - | Authenticate; inspect or remove the stored credential. |
karta create [path] [--name <n>] [--template <key>] [--harness <type>] [--harness-version <version>] | - | Scaffold a brand-new starter agent in a supported harness format (claude-code, opencode, deepagents, goose, or codex-cli): native template files plus a default karta.toml (deploy off). Local only. |
karta setup [path] [--name <n>] [--enable|--disable] [--method git|github|folder] | - | Configure an existing agent project: write karta.toml (name, deploy gate, delivery method). Scans for agent projects. Local only - never deploys. |
karta dev [path] [-m <msg>] [--user <id>] | - | Exercise the agent locally behind the Karta session API: REPL, hot reload. [path] selects the agent in a multi-agent repo. |
karta deploy [slug] [--mode git|folder] [--dir <path>] | write | Deploy the agent: a git repo pushes, a plain folder uploads. Self-provisions the hosted agent and wires the karta remote on first run. |
karta rollback <slug> --to vN | releases:write | Flip to a previous release. |
karta logs <slug> [--tail] [--since <iso>] | read | Stream logs (SSE) or poll. |
karta open [console] | read | Open the hosted chat page, or the dashboard agent page. |
karta agent list|show [slug] | read | List agents, or show one plus its recent releases. |
karta schedules list|create [--run-now]|pause|resume|run|delete | schedules:read / schedules:write | Manage recurring runs. --run-now queues one test run after creation. |
karta status | read | Local agents joined to their deploy status - the “what’s here” view. |
karta keys list / create <name> / rename <id> <name> / revoke <id> | read or keys:write for list; keys:write for mutations | Manage API keys (plaintext shown once on create). |
karta usage | read | Current-period totals and budget. |
karta whoami | read | Show the authenticated principal. |
karta doctor | - | Diagnose PATH shadowing, runtime bootstrap, login state. |