ARCHITECTURE · SOFT DEPENDENCY CANVAS
One Memory Core, three Runtime Adapters
统一 Agent Memory 架构
Copilot SDK、DeepAgents 和 Pi 通过 Runtime Adapter 接入事件日志、候选记忆提取、Dream Worker、长期 Memory Store 和上下文检索。
REFERENCE ARCHITECTURE · THREE RUNTIMES / ONE MEMORY CORE
One Memory Core, three Runtime Adapters
事件与记忆生命周期统一;框架差异留在 Adapter 层
RUNTIME AND CONTEXT BOUNDARY
Agent Runtimes
Copilot
DeepAgents
Pi
Runtime Adapter
事件归一化 · Scope · Hook
TS SDK / Python SDK / Extension
Recall Planner
Query · Scope · 时间 · Token Budget
hybrid retrieval + rerank
Context Injection
少量、相关、可追溯
startup / before-run
MEMORY CORE · APPEND / DISTILL / PUBLISH / RECALL
Event Log
原始消息、工具调用和结果
append-only · source refs
Candidate Extractor
偏好、事实、决策、经验
typed claims + provenance
Dream Worker
校验、去重、冲突和时效处理
consolidate / supersede
Durable Memory Store
Notes · Wiki / Graph · Search Index
records are canonical; views derived
SQLite / FTS5 first · add vectors or graph only when measured retrieval needs justify them
DEVWEEKLY · 2026