Expand description
Memory and learning system for the agent.
Core types (MemoryStore, MemoryItem, MemoryType, RelevanceConfig,
FileMemoryStore, InMemoryStore) live in a3s-memory.
This module owns MemoryConfig, MemoryStats, AgentMemory (three-tier
session memory), and MemoryContextProvider (context injection bridge).
Structs§
- Agent
Memory - Three-tier agent memory: working, short-term (session), and long-term (persisted).
- Memory
Config - Configuration for the agent memory system (three-tier: working/short-term/long-term)
- Memory
Context Provider - Context provider that surfaces past memories as agent context.
- Memory
Maintenance Close Report - Bounded shutdown evidence for one maintenance runtime.
- Memory
Maintenance Context - Exact runtime context passed to a host-owned maintenance job.
- Memory
Maintenance Health - Non-sensitive snapshot for readiness and operational diagnostics.
- Memory
Maintenance JobHealth - Current health of one scheduled job.
- Memory
Maintenance Options - Typed, session-owned memory maintenance schedules and shutdown policy.
- Memory
Maintenance Outcome - Machine-readable result of one maintenance run.
- Memory
Maintenance Runtime - Owner of every periodic task associated with one
AgentMemory. - Memory
Observation - One durable-memory write as observed by a host integration.
- Memory
Stats - Statistics for the three-tier agent memory system
- Scheduled
Memory Maintenance - A typed job plus its non-overlapping periodic schedule.
- Scheduled
Semantic Refresh - Explicit periodic schedule for verified semantic memory refresh.
- Semantic
Refresh Metrics - Bounded cumulative metrics for one semantic refresh ownership epoch.
- Semantic
Refresh RunMetrics - Non-sensitive work evidence for one settled scheduled semantic refresh attempt.
Enums§
- Memory
Maintenance Error - Invalid configuration or ownership failure when starting maintenance.
- Memory
Maintenance Phase - Lifecycle state of one owned maintenance runtime.
- Semantic
Refresh RunOutcome - Terminal result of one scheduled semantic refresh attempt.
Constants§
- SEMANTIC_
REFRESH_ JOB_ NAME - Reserved health name of Code’s verified semantic refresh worker.
- SEMANTIC_
REFRESH_ RECENT_ RUN_ LIMIT - Maximum number of per-run semantic refresh observations retained per owner.
Traits§
- Memory
Maintenance Job - One policy-owned memory maintenance operation.
- Memory
Observer - Host extension point invoked after a durable memory has been persisted.