# letta-code · Capability interface

> Levels are per column and must not be summed, averaged or ranked. A level states which written criterion the runtime's source meets. It is not a measure of quality or task success. Higher is not always preferable.

Source: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. Mark notation: `3` is the level in the default deployment; `1→4 [opt: …]` is level 1 by default and level 4 in the named configuration; `s` source-verified, `d` documented or test only. Service dependencies are classes (E embedded, O on demand, R resident service, X external server required), not levels.

- Runtime: [letta-code](https://ai-agents-review.com/runtime/letta-code.md)
- Column: [Capability interface](https://ai-agents-review.com/column/capability-interface.md) (Programmable capabilities)
- Mark: 3 s
- Default deployment: 3
- Best supported configuration: 3
- Page: https://ai-agents-review.com/cell/letta-code/capability-interface

## Rationale

Mods and host-injected external tools; per-subagent tool lists; MCP not native; no deferral/search (level 4 unmet)

## Rubric criteria for this column

- 0: Fixed built-in tools only. No way to add tools
- 1: Tools can be added only by modifying or recompiling the runtime, or via example code
- 2: One supported extension mechanism (MCP client **or** plugin API **or** host-supplied tools)
- 3: Two or more supported mechanisms (e.g. MCP plus plugins/host tools), with per-agent or per-session filtering of the visible tool set
- 4: Level 3, plus host-supplied tools whose calls are executed by the embedding host through a supported interface, **and** large catalogs can be deferred or searched (e.g. `tool_search`, code mode)

## Review finding

Built in. About 30 static client tools are sent per request as `client_tools` and executed locally, not by the Letta server. Other sources are trusted in-process mods and host-injected external tools. MCP is reached through the `letta mcp` CLI or scripts, not as native model tools. [P37][P38][P39][P40][P41][P42] Note P-3

## Evidence cited by the mark

- [P37] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/tools/tool-definitions.ts#L160-L336 — Static client tool table (~30 tools incl. Skill, Workflow, CodeMode, Task) — [S]
- [P40] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/mods/mod-engine.ts#L1428-L1480 — Mods loaded via dynamic `import()` in-process — [S]
- [P49] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/agent/subagents/manager.ts#L165-L203 — Subagent CLI args: inherited allow/deny lists, `--tools` from definition, `--permission-mode unrestricted` — [S]

## Evidence also cited by the review finding

- [P38] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/agent/message.ts#L301-L316 — Request carries `client_tools` / `client_skills`; server calls back to client for execution — [S]
- [P39] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/cli/subcommands/mcp.ts#L976-L999 — `letta mcp` CLI merging Cloud-managed and local MCP servers — [S]
- [P41] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/mods/README.md#L5-L9 — Mods documented as trusted local code, no sandbox — [D]
- [P42] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/tools/script-tool-scope.ts#L209-L251 — Script scope (CodeMode/Monitor/Workflow) can call builtins (permission-checked) and MCP tools — [S]

## Grading record

- Grader A (default / best): 3 / 3
- Grader B (default / best): 3 / 3
