# software-agent-sdk · Context recovery

> 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: [Context recovery](https://ai-agents-review.com/column/context-recovery.md) (Evidence and memory)
- Mark: 1→2 [exp: conversation_mentions] s
- Default deployment: 1
- Best supported configuration: 2 (exp: conversation_mentions)
- Page: https://ai-agents-review.com/cell/software-agent-sdk/context-recovery

## Rationale

Condensed events kept but unreadable by the agent (L1); experimental opt-in retrieval tool reaches L2

## Rubric criteria for this column

- 0: Evidence that leaves the prompt is gone, or never stored
- 1: Only an in-prompt summary; originals not stored, or stored but unreachable by the agent
- 2: Originals stored, reachable only through generic means (re-reading files, temp-file paths named in the summary) or through a retrieval tool that is off by default
- 3: Default-on retrieval tool or command over stored transcript/memory (search plus read)
- 4: Level 3, plus automatic relevance-based injection of stored evidence **or** stable references (ids/paths) that survive restart and compaction

## Review finding

Optional. `Agent.condenser` defaults to None. The default preset adds an LLM summarizing condenser, whose `Condensation` event hides forgotten events from the view while they stay in the event log. No tool reads them. Cross-conversation tools are experimental and off [E100][E101][E102][E103][E104].

## Evidence cited by the mark

- [E100] software-agent-sdk — https://github.com/OpenHands/software-agent-sdk/blob/cf8158bc25f5552c50ad131a5f0ce2dbc297789b/openhands-sdk/openhands/sdk/agent/base.py#L288-L290 — `Agent.condenser` default None — [S]
- [E102] software-agent-sdk — https://github.com/OpenHands/software-agent-sdk/blob/cf8158bc25f5552c50ad131a5f0ce2dbc297789b/openhands-sdk/openhands/sdk/event/condenser.py#L11-L37 — `Condensation` event (forgotten ids + summary) — [S]
- [E104] software-agent-sdk — https://github.com/OpenHands/software-agent-sdk/blob/cf8158bc25f5552c50ad131a5f0ce2dbc297789b/openhands-agent-server/openhands/agent_server/experimental_features.py#L79-L87 — `conversation_mentions` experimental feature (default off) — [S]

## Evidence also cited by the review finding

- [E101] software-agent-sdk — https://github.com/OpenHands/software-agent-sdk/blob/cf8158bc25f5552c50ad131a5f0ce2dbc297789b/openhands-tools/openhands/tools/preset/default.py#L103-L104 — default preset wires the default condenser — [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): 1 / 1
- Grader B (default / best): 1 / 2
- Adjudication: disagreement. Condensed events kept but unreadable by the agent (L1); experimental opt-in retrieval tool reaches L2
