Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
TypeScript aiai-agentsai-memoryanthropicartificial-intelligencechromadbclaudeclaude-agent-sdkclaude-agentsclaude-codeclaude-code-pluginclaude-skillsembeddingslong-term-memorymem0memory-engineopenmemoryragsqlitesupermemory
// The numbers that make sub focuses (docs/design/focus-areas.md, "Sub focuses"). This is the one definition: the worker's
// check of a router answer (my-focus.mjs, WorkViewRoutes.ts), the refresh that decides which areas to ask
// (request-groups.mjs) and My Work's area page (src/ui/my-work/src/live/area-page.ts) all take them from here. No imports,
// so every bundle, the browser's included, can load it.
/** The fewest requests a sub focus holds: a group of one is not a group. */
export const SUB_FOCUS_MIN_REQUESTS = 2;
/** The fewest sub focuses, each holding SUB_FOCUS_MIN_REQUESTS or more, that open an area into cards: one card would be a
* click that tells nothing, so an area with fewer opens straight to its list. */
export const SUB_FOCUS_MIN_CARDS = 2;