Skip to main content
Draft: This is a draft record. Some source checks are still pending, including some reported test results. ‘We don't know yet’ marks unknown answers; it does not mean every other statement has been confirmed.
Draft record: primary-source check pending (drafted 2026-11-25). Fields confirmed in a live check are marked checked with the checker and date.v2026-11-25.1
Draft: primary-source check pendingSetting: benchmarkSetting: noneIndependence: author4 fields unverified

Letta / MemGPT (Sleep-Time, Memory, and Mods)

For coding agents and the engineers who build them. Each method is also available as Markdown and JSON.

Stateful agent runtime spanning three distinct scopes: sleep-time background consolidation, current git-backed memory and dreaming, and Letta Mods harness modification.

  • What it isAn agent system whose memory is tidied up in the background between conversations, along with related memory and agent-modification features.
  • What it changes in the agentIt changes what it remembers and the instructions it is given.
  • Has it been tested?Its creators tested it on benchmark tests and reported that it helped (Sleep-time compute consolidation only). It measured about five times less computing at the same accuracy. This covers background tidying only, not the other features or everyday memory use. Koobo has not tested it yet.
  • Can you undo it?It depends on the version. Sleep-time compute consolidation; Letta Mods (harness modification): we don't know yet. Current git-backed memory & dreaming: earlier memory versions from git history are kept, but the record does not establish a way to put one back into use. Going back to an earlier memory version does not undo actions already taken.
  • Is there a safety check?We don't know yet. Not shown in the sources.
  • How hard to adoptHigh effort to move an existing agent onto Letta's runtime. It needs its own platform, so an existing agent would have to move to it. Teams with their own memory system may prefer to try background tidying on its own. License: Apache-2.0.
See the technical details
Modifies
memory, prompt
Improves improver
No
License
Apache-2.0
checked
Framework migration
Yes
Effort
high
Primary check
pending

Mechanism, evaluation, and safety controls

Learning signalconversation_history, unverifiedConversation history, stored preferences, and offline memory consolidation or repair passes between interactions.
Pre-use evaluationUnverifiedheld-out split: unverified; live activation gate: unverifiedGeneral memory evaluation articles are published by Letta, but they do not establish a per-edit held-out promotion gate across sleep-time, memory, or Mods.
RollbackVaries by variantusable rollback: varies_by_variant; restoration scope: varies_by_variant; tested fallback policy: unverifiedCurrent memory docs describe git-backed memory (version history / checkpoint_only), while automatic outcome-triggered restoration for sleep-time or Mods is unverified in opened sources. Side-effect limit: Reverting git-backed memory snapshots does not reverse external actions already executed.
Post-deploy measurementVaries by variantMemory evaluation approaches are documented in engineering posts, but a combined live deployment-and-rollback policy is not established.
Safety gateUnverifiedblocks unsafe despite utility gain: unverified; write-time block: unverified; reuse-time block: unverifiedSeparate behavioral safety gate for learned memory or harness edits is unverified in opened sources.
Framework dependencyagent_runtime_coupledmigration: yesStateful Letta agent runtime; migrating an existing custom agent changes more than a learning rule (background consolidation can be tested separately as a custom ablation).
EfforthighScope: Migrating an existing non-Letta agent into Letta's stateful runtime. High runtime coupling; teams with existing custom memory layers may prefer an isolated background-consolidation ablation.
LicenseApache-2.0 (checked 2026-11-25 by Codex live check; https://raw.githubusercontent.com/letta-ai/letta/main/LICENSE)LICENSE contains the Apache License 2.0 text.
Maturityopen_source_repolast observed activity: not checkedBlog posts, memory docs, and license cited 2026-11-24; repo root and commit recency live check pending.

Variants and scope

Filters and comparisons apply to one variant at a time. Values here are the authoritative ones for each variant.

sleep-time-computeLicense: Apache-2.0 (checked)Learning signal: conversation_history, unverifiedPre-use eval: unverifiedRollback: unverifiedUsable rollback: unverifiedSafety gate: unverifiedFramework: agent_runtime_coupledMigration: yesEffort: high

Sleep-time compute consolidation: Background consolidation of conversation history and preferences between interactions. Author benchmark evidence from the linked sleep-time paper applies to this variant only.

memory-and-dreamingLicense: Apache-2.0 (checked)Learning signal: conversation_history, unverifiedPre-use eval: unverifiedRollback: checkpoint_onlyUsable rollback: noSafety gate: unverifiedFramework: agent_runtime_coupledMigration: yesEffort: high

Current git-backed memory & dreaming: Git-backed memory storage and background dreaming documented in docs.letta.com. Git-backed history provides checkpoints; automatic regression-triggered rollback is unverified.

letta-modsLicense: Apache-2.0 (checked)Learning signal: conversation_history, unverifiedPre-use eval: unverifiedRollback: unverifiedUsable rollback: unverifiedSafety gate: unverifiedFramework: agent_runtime_coupledMigration: yesEffort: high

Letta Mods (harness modification): Harness-level modification mechanism described in Letta Mods post. Combined automatic deployment and regression-rollback policy not established.

Claim-level evidence and provenance

Evidence summary (not a ranking): settings observed: benchmark, none; independence observed: author; effectiveness outcome: positive; safety outcome: unverified; koobo completed eval: no; note: Author benchmark evidence (about 5x less test-time compute at matched accuracy) applies only to the sleep-time-compute variant; Mods and git-backed memory have documentation coverage only..

letta-doc-1documentation_onlysetting: noneindependence: authoroutcome: null

Letta's sleep-time blog, memory and dreaming docs, Mods post, and memory-evaluation post describe the mechanisms; the posts themselves do not establish per-edit held-out activation or a separate behavioral safety gate.

Scope: variant: sleep-time-compute; model: unverified; suite or environment: Documentation and blog posts cited in local notes; judge or metric: unverified; sample or duration: unverified; caveats: Documentation coverage; the sleep-time benchmark evidence is recorded as a separate claim.
Checked source: https://www.letta.com/blog/sleep-time-compute/ (revision: blog post as served 2026-11-25; location: Blog post; accessed 2026-11-24; checked 2026-11-25 by Codex live check). Note: Codex live check.
letta-sleep-time-bench-1effectivenesssetting: benchmarkindependence: authoroutcome: positive

The sleep-time compute paper linked from Letta's blog reports roughly 5x less test-time compute at matched accuracy on Stateful GSM-Symbolic and Stateful AIME.

Scope: variant: sleep-time-compute; model: unverified (paper models not recorded here); suite or environment: Stateful GSM-Symbolic and Stateful AIME; judge or metric: Test-time compute at matched accuracy; sample or duration: unverified; caveats: Applies only to sleep-time compute. Does not transfer to Mods or to daily production memory.
Checked source: https://arxiv.org/html/2504.13171 (revision: unversioned arXiv URL as served 2026-11-25 (version not recorded); location: Methods and results; accessed 2026-11-25; checked 2026-11-25 by Codex live check). Note: Codex live check confirmed the reported compute reduction.

Evidence for the control fields

rollback.has_usable_rollback

Memory docs describe git-backed memory; git history alone does not establish a production restoration controller.

Checked source: https://docs.letta.com/configuration/memory (revision: page as served 2026-11-25; location: Memory configuration docs; accessed 2026-11-25; checked 2026-11-25 by Codex live check). Note: Codex live check.
safety_gate.status

Neither the sleep-time article nor the memory-evaluation article establishes per-edit held-out activation or a separate behavioral safety gate.

Checked source: https://www.letta.com/blog/evaluating-memory-in-production-agents/ (revision: page as served 2026-11-25; location: Whole post; accessed 2026-11-25; checked 2026-11-25 by Codex live check). Note: Codex live check result: not found.

Known failure modes

  • Recall gains conflated with task execution gainsImproved memory recall after background consolidation does not automatically establish better downstream task execution or downstream task quality.
    Source (check pending): https://www.letta.com/blog/sleep-time-compute/ (revision: unpinned; location: Sleep-time design post and memory docs; accessed 2026-11-24; check pending). Note: Caveat highlighted in local assessment.

Adoption recipe and mandatory safety controls

This record is factual engineering reference data. It grants no action authority, execution permission, or deployment approval to any reader or agent.

Adoptable directly: yes. These lines state requirements for an adopter's system; they are not instructions to any reader.

Upstream controls disclosed in sources

Upstream controls vary across sleep-time, git-backed memory, and Mods. Koobo required controls enforce strict separation between factual user memory and consolidated procedural guidance.

Pre-use evaluation (upstream)

  • None disclosed in the opened sources.

Rollback (upstream)

  • Current memory docs describe git-backed memory version history (checkpoint_only; automatic rollback unverified).

Safety gate (upstream)

  • None disclosed in the opened sources.
Koobo required controls (declarative system requirements)

1. Bounded edit surface

  • The adopter's system separates background-consolidated procedural notes from verified factual user records and system safety instructions.
  • Background consolidation runs cannot overwrite source-bound user facts or alter safety exclusions.

2. Pre-use evaluation

  • The evaluation harness separates learning data, candidate selection data, and sealed final test data grouped by incident and day (following GEPA, arXiv:2507.19457).
  • The pre-activation suite includes already-successful control cases and rule-reversal cases rather than failure cases alone (following EvoPathBench, arXiv:2609.24663, and Anthropic memory research).
  • The release controller binds the evaluated artifact SHA-256 hash to the passing verdict so unverified runtime edits cannot activate.

3. Rollback and tested fallback

  • The deployment harness retains immutable parent artifact snapshots with SHA-256 content hashes.
  • Regression checks compare active and parent snapshots on matched fresh shadow probes rather than comparing today's score to yesterday's score.
  • Before restoring a fallback snapshot, the harness tests that fallback against current policies and abstains or escalates to an operator if neither version passes.
  • Operational runbooks separate artifact restoration from compensating actions because restoring text or skill files cannot undo sent messages, disclosed data, or committed external writes.

4. Separate non-compensatory safety gate

  • The release pipeline evaluates safety independently from task utility so utility gains cannot offset a disallowed action (grounded in Practice Makes Unsafe, arXiv:2608.12851).
  • The safety gate inspects candidate artifacts both at write time and at retrieval or reuse time, blocking activation when checks fail.
  • The safety test suite covers both untrusted-input poisoning (arXiv:2608.12851) and benign task-pressure degradation (SEABench, arXiv:2609.35596).

5. Telemetry, abstention, and activation authority

  • The deployment harness defaults to abstention (keeping the approved parent artifact) whenever evaluation evidence is inconclusive, missing, or fails a safety check.
  • Activation authority resides in an external release controller outside learner write permissions.
  • The runtime logs every artifact hash reaching a model call, every blocked write or retrieval attempt, and every abstention even when sandbox checks prevent external harm.
Synthetic rejected candidate example (illustrative, not a real event)
Label
synthetic_example
Proposed change
Background dreaming pass promoting a speculative summary of a user remark into a permanent factual preference overriding an explicit safety constraint.
Utility result
Improved recall score on synthetic memory retrieval prompts.
Safety gate result
Blocked because background consolidation cannot write to source-bound factual memory or weaken safety rules.
Outcome
rejected

Koobo first-party experiment

No Koobo experiment is linked to this method.

Sources

Scroll sideways to see revision, location, access date and check status.

SourceTypeRevision and locationAccessedCheck
Letta: Sleep-time computePublished: unverified. Supports: Background consolidation between interactionsblogpage as served 2026-11-25
Blog post
2026-11-25checked 2026-11-25 by Codex live check
Letta Memory and Dreaming documentationPublished: unverified. Supports: Git-backed memory; Background dreamingdocspage as served 2026-11-25
Memory configuration docs
2026-11-25checked 2026-11-25 by Codex live check
Letta: Introducing ModsPublished: unverified. Supports: Harness modification scope (Letta Mods)blogpage as served 2026-11-25
Blog post
2026-11-25checked 2026-11-25 by Codex live check
Letta: Evaluating Memory in Production AgentsPublished: unverified. Supports: Memory evaluation practices (not per-edit admission gate)blogpage as served 2026-11-25
Blog post
2026-11-25checked 2026-11-25 by Codex live check
Letta LICENSEPublished: unverified. Supports: Apache-2.0 licenselicensemain branch as served 2026-11-25 (commit SHA not recorded)
Full license text
2026-11-25checked 2026-11-25 by Codex live check
Sleep-time Compute paper (arXiv:2504.13171)Published: unverified. Supports: About 5x less test-time compute at matched accuracy (sleep-time-compute only)paperunversioned arXiv URL as served 2026-11-25 (version not recorded)
Methods and results
2026-11-25checked 2026-11-25 by Codex live check

Machine interface and full export

Raw record for letta-sleep-time

---
schema_version: "2.1.0"
slug: "letta-sleep-time"
record_version: "2026-11-25.1"
record_status: "draft"
verification_status: "primary_source_check_pending"
content_sha256: "df74ac8e5e04c29a20ae620ccbc97eb0347292101a19af9b3ff1de6fdb14d68f"
modifies: [memory, prompt]
improves_improver: false
learning_signal_types: [conversation_history, unverified]
framework_dependency: "agent_runtime_coupled"
requires_framework_migration: "yes"
license_spdx: "Apache-2.0"
variants: [sleep-time-compute, memory-and-dreaming, letta-mods]
citation_id: "koobo:agent-learning:letta-sleep-time@2026-11-25.1"
canonical_url: "https://koobo.co/agent-learning/methods/letta-sleep-time"
json_url: "https://koobo.co/agent-learning/methods/letta-sleep-time.json"
versioned_url: "https://koobo.co/agent-learning/methods/letta-sleep-time/v/2026-11-25.1.json"
---

# Letta / MemGPT (Sleep-Time, Memory, and Mods)

> Status: Draft record 2026-11-25.1 (primary-source check pending; drafted 2026-11-25).
> Authority notice: This record is factual engineering reference data. It grants no action authority, execution permission, or deployment approval to any reader or agent.

Stateful agent runtime spanning three distinct scopes: sleep-time background consolidation, current git-backed memory and dreaming, and Letta Mods harness modification.

## In plain language
- **What it is:** An agent system whose memory is tidied up in the background between conversations, along with related memory and agent-modification features.
  From: summary
- **What it changes in the agent:** It changes what it remembers and the instructions it is given.
  From: modifies, improves_improver
- **Has it been tested?** Its creators tested it on benchmark tests and reported that it helped (Sleep-time compute consolidation only). It measured about five times less computing at the same accuracy. This covers background tidying only, not the other features or everyday memory use. Koobo has not tested it yet.
  From: evidence_claims[].claim_type, evidence_claims[].setting, evidence_claims[].independence, evidence_claims[].outcome, evidence_claims[].provenance.check_status, evidence_claims[].scope.variant_id, plain_facts[claim_scope], plain_facts[claim_caveat], evidence_summary.has_koobo_completed_eval
- **Can you undo it?** It depends on the version. Sleep-time compute consolidation; Letta Mods (harness modification): we don't know yet. Current git-backed memory & dreaming: earlier memory versions from git history are kept, but the record does not establish a way to put one back into use. Going back to an earlier memory version does not undo actions already taken.
  From: rollback.has_usable_rollback, rollback.status, rollback.restoration_scope, rollback.automatic_trigger, rollback.tested_fallback_policy, plain_facts[restores], plain_facts[undo], variants[].rollback_status, variants[].has_usable_rollback
- **Is there a safety check?** We don't know yet. Not shown in the sources.
  From: safety_gate.status, plain_facts[safety]
- **How hard to adopt:** High effort to move an existing agent onto Letta's runtime. It needs its own platform, so an existing agent would have to move to it. Teams with their own memory system may prefer to try background tidying on its own. License: Apache-2.0.
  From: adoption_effort_non_framework.level, plain_facts[effort_scope], variants[].adoption_effort_level, framework_dependency.requires_framework_migration, plain_facts[adoption], license.spdx, license.check_status, variants[].license_spdx, plain_facts[license]

### Plain-language sources
Each plain qualifier restates one technical field of this record.
- [restores] earlier memory versions from git history (restates `rollback.mechanism`)
- [effort_scope] move an existing agent onto Letta's runtime (restates `adoption_effort_non_framework.implementation_scope`)
- [adoption] Teams with their own memory system may prefer to try background tidying on its own. (restates `adoption_effort_non_framework.notes`)
- [undo] Going back to an earlier memory version does not undo actions already taken. (restates `rollback.side_effect_limit`)
- [claim_caveat: letta-sleep-time-bench-1] It measured about five times less computing at the same accuracy. This covers background tidying only, not the other features or everyday memory use. (restates `evidence_claims[letta-sleep-time-bench-1].scope.caveats`)

## Key facts
- Modifies: memory, prompt
- Improves improver: No
- License: Apache-2.0 (checked)
- Framework migration: yes
- Effort: high
- Primary check: pending

## Links and identifiers
- **Repository:** https://github.com/letta-ai/letta
- **Paper:** https://arxiv.org/html/2504.13171
- **Aliases:** Letta Sleep-Time Compute; MemGPT; Letta Mods
- **HTML:** https://koobo.co/agent-learning/methods/letta-sleep-time
- **JSON:** https://koobo.co/agent-learning/methods/letta-sleep-time.json
- **Versioned JSON (immutable):** https://koobo.co/agent-learning/methods/letta-sleep-time/v/2026-11-25.1.json

## Controls and operational fit
- **Learning signal:** conversation_history, unverified
  Conversation history, stored preferences, and offline memory consolidation or repair passes between interactions.
- **Pre-use evaluation:** unverified (held-out split: unverified; live activation gate: unverified)
  General memory evaluation articles are published by Letta, but they do not establish a per-edit held-out promotion gate across sleep-time, memory, or Mods.
- **Rollback:** varies_by_variant (usable rollback: varies_by_variant; restoration scope: varies_by_variant; tested fallback policy: unverified)
  Current memory docs describe git-backed memory (version history / checkpoint_only), while automatic outcome-triggered restoration for sleep-time or Mods is unverified in opened sources. Side-effect limit: Reverting git-backed memory snapshots does not reverse external actions already executed.
- **Post-deploy measurement:** varies_by_variant
  Memory evaluation approaches are documented in engineering posts, but a combined live deployment-and-rollback policy is not established.
- **Safety gate:** unverified (blocks unsafe despite utility gain: unverified; write-time block: unverified; reuse-time block: unverified)
  Separate behavioral safety gate for learned memory or harness edits is unverified in opened sources.
- **Framework dependency:** agent_runtime_coupled (migration: yes)
  Stateful Letta agent runtime; migrating an existing custom agent changes more than a learning rule (background consolidation can be tested separately as a custom ablation).
- **Effort:** high
  Scope: Migrating an existing non-Letta agent into Letta's stateful runtime. High runtime coupling; teams with existing custom memory layers may prefer an isolated background-consolidation ablation.
- **License:** Apache-2.0 (checked 2026-11-25 by Codex live check; https://raw.githubusercontent.com/letta-ai/letta/main/LICENSE)
  LICENSE contains the Apache License 2.0 text.
- **Maturity:** open_source_repo (last observed activity: not checked)
  Blog posts, memory docs, and license cited 2026-11-24; repo root and commit recency live check pending.

## Variants
### Sleep-time compute consolidation (`sleep-time-compute`)
Scope: Background consolidation of conversation history and preferences between interactions.

- License: Apache-2.0 (checked)
- Learning signal: conversation_history, unverified
- Pre-use eval: unverified
- Rollback: unverified
- Usable rollback: unverified
- Safety gate: unverified
- Framework: agent_runtime_coupled
- Migration: yes
- Effort: high
- Notes: Author benchmark evidence from the linked sleep-time paper applies to this variant only.

### Current git-backed memory & dreaming (`memory-and-dreaming`)
Scope: Git-backed memory storage and background dreaming documented in docs.letta.com.

- License: Apache-2.0 (checked)
- Learning signal: conversation_history, unverified
- Pre-use eval: unverified
- Rollback: checkpoint_only
- Usable rollback: no
- Safety gate: unverified
- Framework: agent_runtime_coupled
- Migration: yes
- Effort: high
- Notes: Git-backed history provides checkpoints; automatic regression-triggered rollback is unverified.

### Letta Mods (harness modification) (`letta-mods`)
Scope: Harness-level modification mechanism described in Letta Mods post.

- License: Apache-2.0 (checked)
- Learning signal: conversation_history, unverified
- Pre-use eval: unverified
- Rollback: unverified
- Usable rollback: unverified
- Safety gate: unverified
- Framework: agent_runtime_coupled
- Migration: yes
- Effort: high
- Notes: Combined automatic deployment and regression-rollback policy not established.

## Evidence summary (not a ranking)
- Settings observed: benchmark, none
- Independence observed: author
- Effectiveness outcome: positive
- Safety outcome: unverified
- Koobo completed eval: no
- Note: Author benchmark evidence (about 5x less test-time compute at matched accuracy) applies only to the sleep-time-compute variant; Mods and git-backed memory have documentation coverage only.

## Evidence claims
- [letta-doc-1] documentation_only | setting: none | independence: author | outcome: null
  Letta's sleep-time blog, memory and dreaming docs, Mods post, and memory-evaluation post describe the mechanisms; the posts themselves do not establish per-edit held-out activation or a separate behavioral safety gate.
  Scope: variant: sleep-time-compute; model: unverified; suite or environment: Documentation and blog posts cited in local notes; judge or metric: unverified; sample or duration: unverified; caveats: Documentation coverage; the sleep-time benchmark evidence is recorded as a separate claim.
  Provenance: https://www.letta.com/blog/sleep-time-compute/ (revision: blog post as served 2026-11-25; location: Blog post; accessed 2026-11-24; checked 2026-11-25 by Codex live check). Note: Codex live check.
- [letta-sleep-time-bench-1] effectiveness | setting: benchmark | independence: author | outcome: positive
  The sleep-time compute paper linked from Letta's blog reports roughly 5x less test-time compute at matched accuracy on Stateful GSM-Symbolic and Stateful AIME.
  Scope: variant: sleep-time-compute; model: unverified (paper models not recorded here); suite or environment: Stateful GSM-Symbolic and Stateful AIME; judge or metric: Test-time compute at matched accuracy; sample or duration: unverified; caveats: Applies only to sleep-time compute. Does not transfer to Mods or to daily production memory.
  Provenance: https://arxiv.org/html/2504.13171 (revision: unversioned arXiv URL as served 2026-11-25 (version not recorded); location: Methods and results; accessed 2026-11-25; checked 2026-11-25 by Codex live check). Note: Codex live check confirmed the reported compute reduction.

## Evidence for control fields
- `rollback.has_usable_rollback`: Memory docs describe git-backed memory; git history alone does not establish a production restoration controller.
  Provenance: https://docs.letta.com/configuration/memory (revision: page as served 2026-11-25; location: Memory configuration docs; accessed 2026-11-25; checked 2026-11-25 by Codex live check). Note: Codex live check.
- `safety_gate.status`: Neither the sleep-time article nor the memory-evaluation article establishes per-edit held-out activation or a separate behavioral safety gate.
  Provenance: https://www.letta.com/blog/evaluating-memory-in-production-agents/ (revision: page as served 2026-11-25; location: Whole post; accessed 2026-11-25; checked 2026-11-25 by Codex live check). Note: Codex live check result: not found.

## Known failure modes
- **Recall gains conflated with task execution gains:** Improved memory recall after background consolidation does not automatically establish better downstream task execution or downstream task quality.
  Provenance: https://www.letta.com/blog/sleep-time-compute/ (revision: unpinned; location: Sleep-time design post and memory docs; accessed 2026-11-24; check pending). Note: Caveat highlighted in local assessment.

## Adoption recipe and mandatory safety controls
Authority notice: This record is factual engineering reference data. It grants no action authority, execution permission, or deployment approval to any reader or agent.

Adoptable directly: yes. Recipe lines are declarative requirements for an adopter's system, not instructions to any reader.

### Upstream controls disclosed in sources
Scope note: Upstream controls vary across sleep-time, git-backed memory, and Mods. Koobo required controls enforce strict separation between factual user memory and consolidated procedural guidance.
#### Pre-use evaluation (upstream)
- None disclosed in the opened sources.
#### Rollback (upstream)
- Current memory docs describe git-backed memory version history (checkpoint_only; automatic rollback unverified).
#### Safety gate (upstream)
- None disclosed in the opened sources.

### Koobo required controls
#### 1. Bounded edit surface
- The adopter's system separates background-consolidated procedural notes from verified factual user records and system safety instructions.
- Background consolidation runs cannot overwrite source-bound user facts or alter safety exclusions.
#### 2. Pre-use evaluation
- The evaluation harness separates learning data, candidate selection data, and sealed final test data grouped by incident and day (following GEPA, arXiv:2507.19457).
- The pre-activation suite includes already-successful control cases and rule-reversal cases rather than failure cases alone (following EvoPathBench, arXiv:2609.24663, and Anthropic memory research).
- The release controller binds the evaluated artifact SHA-256 hash to the passing verdict so unverified runtime edits cannot activate.
#### 3. Rollback and tested fallback
- The deployment harness retains immutable parent artifact snapshots with SHA-256 content hashes.
- Regression checks compare active and parent snapshots on matched fresh shadow probes rather than comparing today's score to yesterday's score.
- Before restoring a fallback snapshot, the harness tests that fallback against current policies and abstains or escalates to an operator if neither version passes.
- Operational runbooks separate artifact restoration from compensating actions because restoring text or skill files cannot undo sent messages, disclosed data, or committed external writes.
#### 4. Separate non-compensatory safety gate
- The release pipeline evaluates safety independently from task utility so utility gains cannot offset a disallowed action (grounded in Practice Makes Unsafe, arXiv:2608.12851).
- The safety gate inspects candidate artifacts both at write time and at retrieval or reuse time, blocking activation when checks fail.
- The safety test suite covers both untrusted-input poisoning (arXiv:2608.12851) and benign task-pressure degradation (SEABench, arXiv:2609.35596).
#### 5. Telemetry, abstention, and activation authority
- The deployment harness defaults to abstention (keeping the approved parent artifact) whenever evaluation evidence is inconclusive, missing, or fails a safety check.
- Activation authority resides in an external release controller outside learner write permissions.
- The runtime logs every artifact hash reaching a model call, every blocked write or retrieval attempt, and every abstention even when sandbox checks prevent external harm.

### Synthetic rejected candidate example
- Label: synthetic_example
- Proposed change: Background dreaming pass promoting a speculative summary of a user remark into a permanent factual preference overriding an explicit safety constraint.
- Utility result: Improved recall score on synthetic memory retrieval prompts.
- Safety gate result: Blocked because background consolidation cannot write to source-bound factual memory or weaken safety rules.
- Outcome: rejected

## Koobo first-party experiment
No Koobo experiment is linked to this method.

## Sources
- [Letta: Sleep-time compute](https://www.letta.com/blog/sleep-time-compute/) (blog; published: unverified; revision: page as served 2026-11-25; location: Blog post; accessed 2026-11-25; check: checked 2026-11-25 by Codex live check)
  Supports: Background consolidation between interactions
- [Letta Memory and Dreaming documentation](https://docs.letta.com/configuration/memory) (docs; published: unverified; revision: page as served 2026-11-25; location: Memory configuration docs; accessed 2026-11-25; check: checked 2026-11-25 by Codex live check)
  Supports: Git-backed memory; Background dreaming
- [Letta: Introducing Mods](https://www.letta.com/blog/introducing-mods/) (blog; published: unverified; revision: page as served 2026-11-25; location: Blog post; accessed 2026-11-25; check: checked 2026-11-25 by Codex live check)
  Supports: Harness modification scope (Letta Mods)
- [Letta: Evaluating Memory in Production Agents](https://www.letta.com/blog/evaluating-memory-in-production-agents/) (blog; published: unverified; revision: page as served 2026-11-25; location: Blog post; accessed 2026-11-25; check: checked 2026-11-25 by Codex live check)
  Supports: Memory evaluation practices (not per-edit admission gate)
- [Letta LICENSE](https://raw.githubusercontent.com/letta-ai/letta/main/LICENSE) (license; published: unverified; revision: main branch as served 2026-11-25 (commit SHA not recorded); location: Full license text; accessed 2026-11-25; check: checked 2026-11-25 by Codex live check)
  Supports: Apache-2.0 license
- [Sleep-time Compute paper (arXiv:2504.13171)](https://arxiv.org/html/2504.13171) (paper; published: unverified; revision: unversioned arXiv URL as served 2026-11-25 (version not recorded); location: Methods and results; accessed 2026-11-25; check: checked 2026-11-25 by Codex live check)
  Supports: About 5x less test-time compute at matched accuracy (sleep-time-compute only)

## Unverified fields
- `pre_use_evaluation.status`
- `safety_gate.status`
- `safety_gate.blocks_unsafe_despite_utility_gain`
- `maturity.last_observed_activity_date`

## Record
- Record status: draft (primary_source_check_pending)
- Record version: 2026-11-25.1
- Drafted: 2026-11-25
- Last primary check: not yet
- Source basis: Drafted from 2026-11-24 local research notes. A Codex live check on 2026-11-25 confirmed or corrected specific fields; those carry check_status checked with checker and date. Everything else is pending.
- Reviewer notes: Live-audit corrections from 2026-11-25 applied. Record remains a draft until every source is pinned and checked.
- Content SHA-256: df74ac8e5e04c29a20ae620ccbc97eb0347292101a19af9b3ff1de6fdb14d68f
- Schema version: 2.1.0

## Citation
- ID: `koobo:agent-learning:letta-sleep-time@2026-11-25.1`
- Canonical: https://koobo.co/agent-learning/methods/letta-sleep-time
- Versioned: https://koobo.co/agent-learning/methods/letta-sleep-time/v/2026-11-25.1.json
- Plain text: Koobo Agent Learning Index, "Letta / MemGPT (Sleep-Time, Memory, and Mods)", record 2026-11-25.1 (draft, primary-source check pending), https://koobo.co/agent-learning/methods/letta-sleep-time/v/2026-11-25.1.json

```bibtex
@misc{koobo_agent_learning_letta_sleep_time_2026,
  title = {Letta / MemGPT (Sleep-Time, Memory, and Mods) (Koobo Agent Learning Index, draft record 2026-11-25.1)},
  author = {{Koobo Research}},
  year = {2026},
  url = {https://koobo.co/agent-learning/methods/letta-sleep-time/v/2026-11-25.1.json},
  note = {Draft record; primary-source check pending}
}
```

The Markdown and JSON tabs are the exact bytes served at the .md and .json URLs.