# letta-code · Specialist definition

> 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: [Specialist definition](https://ai-agents-review.com/column/specialist-definition.md) (Specialist collaboration)
- Mark: 3 s
- Default deployment: 3
- Best supported configuration: 3
- Page: https://ai-agents-review.com/cell/letta-code/specialist-definition

## Rationale

Markdown frontmatter sets tools, model, prompt; L4 unmet: child forced --permission-mode unrestricted, widening when parent interactive

## Rubric criteria for this column

- 0: No subagents or specialists
- 1: Subagents exist only as example code, or as ad hoc spawns with task text and no definition
- 2: Built-in subagents configurable by prompt or model, but tool and permission scope cannot be set per specialist
- 3: Declarative definitions (file or config) set prompt, model **and** tool scope per specialist
- 4: Level 3, plus an enforced rule that a child cannot exceed the parent's authority (permissions/sandbox intersect or inherit-only), with no default path that widens it

## Review finding

Built in. Markdown frontmatter (tools, model, skills, fork) from built-ins, `~/.letta/agents` and `.letta/agents`. Each child is a `letta -p` process launched with `--permission-mode unrestricted` plus the parent's deny list [alt: external coding agents with permissive modes] [C48][C49][C51][C63]; Note C-4.

## Evidence cited by the mark

- [C48] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/agent/subagents/index.ts#L66-L133 — Subagent frontmatter (name, description, tools, model, skills, fork, launchProfile) — [S]
- [C49] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/agent/subagents/manager.ts#L165-L210 — Child CLI args: `--permission-mode unrestricted`; allow list = parent + session + definition; parent disallowed tools passed — [S]
- [C51] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/tools/impl/codex-app-server.ts#L715-L719 — External codex child started with `approvalPolicy: "never"`, `dangerFullAccess` — [S]

## Evidence also cited by the review finding

- [C63] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/agent/subagents/ephemeral-subagent.ts#L11-L29 — API mode: fresh child uses ephemeral server conversation by default — [S]

## Grading record

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