# letta-code · Reusable computation

> 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: [Reusable computation](https://ai-agents-review.com/column/reusable-computation.md) (Programmable capabilities)
- Mark: 3 s
- Default deployment: 3
- Best supported configuration: 3
- Page: https://ai-agents-review.com/cell/letta-code/reusable-computation

## Rationale

Workflow script, args and journal saved, re-run by scriptPath; crons hold prompts, no scheduled workflow or typed params

## Rubric criteria for this column

- 0: Nothing persists between runs except the transcript
- 1: Reuse only as prose instructions (skills or prompts without executable parts) or in-memory state within one session
- 2: Persisted executable artifacts (skills with scripts, saved programs) rediscovered in later sessions, but no way to invoke them as a unit with inputs
- 3: Level 2, plus a supported way to re-run a stored program or workflow as a unit (recipe, scheduled action, saved script by path, granted program)
- 4: Level 3, plus typed parameters and a recorded result or journal per run, **and** scheduled or triggered execution

## Review finding

Built in. Skills persist at four scopes: bundled, global, agent (in MemFS) and project. Each Workflow run saves `script.js`, its args and an append-only journal, and can be re-run by `scriptPath`; the journal is never replayed. Crons persist prompts. [P43][P44][P45][P46]

## Evidence cited by the mark

- [P44] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/tools/workflow/journal.ts#L35-L82 — Workflow executions dir `~/.letta/workflows/executions/wf-<id>/` with script, args, journal — [S]
- [P45] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/tools/impl/workflow.ts#L324-L333 — Workflow re-run via `scriptPath` — [S]
- [P46] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/cron/cron-file.ts#L101-L120 — Cron store `~/.letta/crons.json` with lock dir — [S]

## Evidence also cited by the review finding

- [P43] letta-code — https://github.com/letta-ai/letta-code/blob/52a3bb3bc1999a2fd0f06b1dc2e4b0d94a925c21/src/agent/skills.ts#L139-L240 — Skill sources bundled / global / agent (MemFS) / project, later overriding by id — [S]

## Grading record

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