包package
io.agentscope.harness.agent.memoryio.agentscope.harness.agent.memory
package io.agentscope.harness.agent.memory
io.agentscope.harness.agent.memory 属于状态·记忆·会话,跨调用持久化与多租户隔离。 该包共收录 7 个公开类型。
io.agentscope.harness.agent.memory belongs to the State, memory & sessions layer and contains 7 public types.
类Classes
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
MemoryBackgroundTasks | 类class | 记忆 Background 任务,在多次调用之间保存和恢复会话与记忆数据。 Tracks in-flight fire-and-forget memory background tasks (flush, maintenance) so
`HarnessAgent.close()` can wait for them to quiesce before releasing resources. |
MemoryConfig | 类class | 记忆配置,保存相关配置项。 Unified configuration for the long-term memory pipeline (flush + consolidation +
maintenance). |
MemoryConsolidator | 类class | 记忆 Consolidator,在多次调用之间保存和恢复会话与记忆数据。 LLM-based consolidation of daily memory ledgers into the curated `MEMORY.md`. |
MemoryFlushManager | 类class | 记忆刷新管理器,在多次调用之间保存和恢复会话与记忆数据。 Manages memory flush operations: extracting long-term memories from a conversation
window and appending them to today's daily memory ledger. |