AS AgentScopeAPI 手册 / API Reference
包package io.agentscope.harness.agent.memory

io.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.

所属构件Artifacts agentscope-harness

类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.
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.