# software-agent-sdk · Memory maintenance

> 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: [software-agent-sdk](https://ai-agents-review.com/runtime/software-agent-sdk.md)
- Column: [Memory maintenance](https://ai-agents-review.com/column/memory-maintenance.md) (Evidence and memory)
- Mark: 0→1 [opt: load_memory=True] s
- Default deployment: 0
- Best supported configuration: 1 (opt: load_memory=True)
- Page: https://ai-agents-review.com/cell/software-agent-sdk/memory-maintenance

## Rationale

load_memory off; when on, MEMORY.md kept via ordinary file tools per prompt; no dedicated tools (level 2 unmet)

## Rubric criteria for this column

- 0: No learned-memory facility
- 1: Memory is files or notes that the agent edits with ordinary tools, prompted by instructions only
- 2: Dedicated memory tools or store (write, recall, forget), but no consolidation process
- 3: A consolidation process exists (background or idle job that merges, archives or supersedes), on by default **or** opt-in
- 4: Level 3 on by default, plus failure handling (retry or backoff, or a recorded failure state) **and** a correction path (versioning or restore, loss guard)

## Review finding

Optional (`load_memory=False`). User and project MEMORY.md are injected up to 6,000 characters and marked "not verified". Upkeep is a prompt instruction carried out with ordinary file tools. No consolidation job, validator or retry [E105][E106][E103].

## Evidence cited by the mark

- [E105] software-agent-sdk — https://github.com/OpenHands/software-agent-sdk/blob/cf8158bc25f5552c50ad131a5f0ce2dbc297789b/openhands-sdk/openhands/sdk/context/agent_context.py#L137-L152 — `load_memory` default False — [S]
- [E106] software-agent-sdk — https://github.com/OpenHands/software-agent-sdk/blob/cf8158bc25f5552c50ad131a5f0ce2dbc297789b/openhands-sdk/openhands/sdk/context/memory.py#L24 — `MEMORY_CHAR_BUDGET = 6000` (prompt block marked unverified at context/prompts/sections/dynamic.py:80-98) — [S]
- [E103] software-agent-sdk — https://github.com/OpenHands/software-agent-sdk/blob/cf8158bc25f5552c50ad131a5f0ce2dbc297789b/openhands-sdk/openhands/sdk/context/prompts/sections/static.py#L115-L175 — prompt guidance: find prior conversations; memory upkeep rules — [D] (prompt only)

## Grading record

- Grader A (default / best): 0 / 1
- Grader B (default / best): 0 / 1
