{
"name":"Letta Code",
"repo":"https://github.com/letta-ai/letta-code",
"docs":"https://docs.letta.com/letta-code",
"headless":{"finding":"`letta -p \"<prompt>\"` runs one prompt non-interactively; with no prompt argument -p reads piped stdin. --output-format text|json|stream-json; bidirectional mode via --input-format stream-json. Approvals auto-answered with --yolo (permission mode unrestricted) or --permission-mode acceptEdits; explicit deny rules still apply. No working-directory flag documented (agent resolved from current directory; docs' cron examples `cd /path/to/project &&`). Exit codes not documented.","quote":"letta -p \"Look around this repo and write a README.md documenting it\" ... echo \"Explain this error\" | letta -p ... Use `--yolo` to set permission mode to `unrestricted`.","url":"https://docs.letta.com/letta-code/headless","third_party":false},
"confinement":{"finding":"Tool-level permission system only: modes unrestricted(yolo)/standard/acceptEdits/strict; allow/deny rules such as Bash(npm run lint), Bash(rm -rf:*), Read(src/**) in .letta/settings.json or via --allowedTools/--disallowedTools; --tools limits loaded tools. No OS-level sandbox (Docker/seatbelt/bubblewrap) and no network switch documented on the permissions page. README mentions a Letta Cloud 'Managed Sandbox' / `--computer cloud` remote sandbox, not a local confinement.","quote":"strict: Ask before every tool call, including reads, skills, and normally safe shell commands ... \"Bash(rm -rf:*)\", \"Bash(git push --force:*)\"","url":"https://docs.letta.com/letta-code/permissions","third_party":false},
"token_reporting":{"finding":"Yes. --output-format json returns a `usage` object with prompt_tokens and completion_tokens (plus agent_id, conversation_id); stream-json emits a usage_statistics event with the same fields. No cached, reasoning or cost fields documented.","quote":"Returns a structured JSON response with metadata.","url":"https://docs.letta.com/letta-code/headless","third_party":false},
"parallelism":{"finding":"Yes. Main agent launches subagents (built-in general-purpose, forked, recall, or custom Markdown+YAML in .letta/agents/ or ~/.letta/agents/), each in its own process; can run in background mode with completion notifications injected. Agents can call other agents as subagents. Running many separate headless sessions at once is not explicitly documented.","quote":"Call built-in subagents (general-purpose, forked, recall) in the background. Agents can call any other agent (including themselves) as subagents","url":"https://github.com/letta-ai/letta-code/blob/main/README.md","third_party":false},
"providers":{"finding":"Anthropic API, OpenAI API, Google Gemini, Groq, Mistral, Amazon Bedrock, OpenRouter, Z.ai coding plan, Letta Cloud models, plus local endpoints Ollama, LM Studio, llama.cpp (local agents only) and OpenAI-compatible endpoints.","quote":"The Letta CLI and web app support a wide variety of LLM providers and coding subscription plans.","url":"https://docs.letta.com/letta-code/models","third_party":false},
"subscription_login":{"finding":"Yes: ChatGPT Plus/Pro via device-code login ('ChatGPT/Codex Sub'); GitHub Copilot subscription (local setup); OpenRouter OAuth; Letta account via /login. No Claude Pro/Max subscription login documented (Anthropic by API key only).","quote":"For ChatGPT Plus or Pro, choose ChatGPT/Codex Sub, select Get device code, and complete the login.","url":"https://docs.letta.com/letta-code/models","third_party":false},
"license":{"finding":"Apache-2.0 (LICENSE file: Apache License Version 2.0; GitHub API spdx_id Apache-2.0)","quote":"Apache License Version 2.0, January 2004","url":"https://raw.githubusercontent.com/letta-ai/letta-code/main/LICENSE","third_party":false},
"latest_stable":{"finding":"v0.34.24, published 2026-10-25T05:39:26Z (GitHub releases API). npm registry @letta-ai/letta-code latest is 0.34.25 (newer than the latest GitHub release).","quote":"\"tag_name\": \"v0.34.24\", \"published_at\": \"2026-10-25T05:39:26Z\"","url":"https://api.github.com/repos/letta-ai/letta-code/releases","third_party":false},
"latest_prerelease":{"finding":"not found: no release with prerelease=true among the 30 most recent entries of the releases API","quote":"","url":"https://api.github.com/repos/letta-ai/letta-code/releases?per_page=30","third_party":false},
"last_commit":{"finding":"2026-10-27T00:28:39Z on main","quote":"\"date\": \"2026-10-27T00:28:39Z\"","url":"https://api.github.com/repos/letta-ai/letta-code/commits?per_page=1","third_party":false},
"fork_of":{"finding":"Not a fork (GitHub API fork:false); built on the Letta (MemGPT) agent platform by the same organization.","quote":"\"fork\": false","url":"https://api.github.com/repos/letta-ai/letta-code","third_party":false},
"maintenance":{"finding":"Active; not archived (archived:false), commit on 2026-10-27, frequent releases.","quote":"\"archived\": false","url":"https://api.github.com/repos/letta-ai/letta-code","third_party":false},
"gaps":["Exit codes: not documented on https://docs.letta.com/letta-code/headless or README","Working-directory flag: none documented (headless page, README)","Prompt-file flag: not documented (only argument or stdin)","OS-level sandbox and network disable: not documented on https://docs.letta.com/letta-code/permissions or README","Cached/reasoning tokens and cost fields: not documented on headless page","Prerelease: none in releases API","Docs quotes were obtained through a page-summarizing fetch of the rendered docs; wording is close to verbatim but should be rechecked against the pages"],
"sources":["https://github.com/letta-ai/letta-code","https://github.com/letta-ai/letta-code/blob/main/README.md","https://raw.githubusercontent.com/letta-ai/letta-code/main/LICENSE","https://docs.letta.com/letta-code/headless","https://docs.letta.com/letta-code/permissions","https://docs.letta.com/letta-code/subagents","https://docs.letta.com/letta-code/models","https://api.github.com/repos/letta-ai/letta-code","https://api.github.com/repos/letta-ai/letta-code/releases?per_page=30","https://api.github.com/repos/letta-ai/letta-code/commits?per_page=1","https://registry.npmjs.org/@letta-ai/letta-code/latest"]
}
