Repository navigation
MemoryBear v0.5.0 Community Release Notes — Knowing What Matters
Release Date: September 30, 2026 | Codename: CangMing (沧冥 · The Vast Deep)
Building on v0.4.7, this release focuses on the visibility and efficiency of memory processing: workspace memory capacity now breaks down across all eight memory types, statement extraction hands classification to a dedicated small model to reduce large-model token usage, and memory chunking runs leaner. v0.5.0 also shows model availability states, protects models that are still in use, completes the application service's migration to its own database, and introduces two V1 API adjustments.
⚡ I. Memory Processing & Statistics
- Per-Type Memory Capacity Statistics: Workspaces now show the count and share of each of the eight memory types, along with total memory volume and active user count, all presented as one unified set of statistics.
- Statement Extraction Cost Reduction: Statement extraction now runs as a coordinated process in which a large model performs core extraction and a dedicated small model handles classification, reducing large-model token consumption. A built-in fallback covers failures, and the data format consumed downstream remains compatible.
- Memory Chunking Efficiency Gains: The memory chunking component has been streamlined and its service resource allocation tuned, improving overall operating efficiency.
🔧 II. Platform Configuration & Robustness
- Model Availability Display: Model settings for Agents, knowledge bases, and spaces now show each model's name and availability status, making unavailable models easy to identify and manage.
- In-Use Model Protection: Models used by a space configuration or a published application can no longer be deleted or disabled, so existing business operations are not disrupted.
- Application Service Data Migration: Following the application service's microservice separation, its data has been migrated to a dedicated database, with business data carried over smoothly and services running normally.
🔌 III. API Adjustments & Deprecations
This release includes two V1 API adjustments. Callers are advised to assess the impact and adapt in advance:
1. Knowledge Base V1 API: Added Model ID Validation
To prevent invalid model configurations from affecting knowledge base usage, the V1 Knowledge Base Creation and Update interfaces now validate model IDs.
- Validation Rules: When callers explicitly pass a model ID (such as
embedding_id,reranker_id,llm_id), the system checks if the model exists and is available, whether the caller has access permissions, and if the model type/capabilities meet field requirements. - Failure Handling: If validation fails, the API returns an error, and the creation or update will not take effect.
- Scope: Only non-empty model IDs explicitly passed in requests are validated. The validation process does not invoke actual model calls. Unpassed model fields retain existing behavior (inheriting default configuration on creation; retaining existing configuration on update).
- Affected Endpoints:
POST /v1/knowledges/knowledge(Create Knowledge Base)PUT /v1/knowledges/{knowledge_id}(Update Knowledge Base)
- Migration Advice: Please check configured model IDs in advance to ensure they exist and are available in the system.
2. Memory V1 API: Ontology Management Deprecation Scheduled for v0.5.4
13 V1 interfaces related to ontology management are marked as deprecated as of this release and are planned for full removal 4 versions later in v0.5.4.
- Transition Arrangement: Deprecated interfaces will no longer be maintained during the transition period but remain callable.
- Impact Scope: Corresponding interfaces in the Admin Console and external API Key services will be decommissioned simultaneously.
- Affected Endpoints (External API prefix:
/v1/memory/ontology):- Extraction:
POST /extract - Scene:
POST /scene,PUT /scene/{scene_id},DELETE /scene/{scene_id},GET /scenes,GET /scenes/simple - Ontology Class:
POST /class,PUT /class/{class_id},DELETE /class/{class_id},GET /classes,GET /class/{class_id} - OWL:
POST /import,POST /export
- Extraction:
- Migration Advice: External integrators using these endpoints should complete adaptation before the release of v0.5.4.
If you have any questions, feel free to contact us at any time.
🧭 Looking Ahead
v0.5.0 turns attention to what memory is made of and what it costs to process. Capacity statistics now break a workspace's memory down across all eight memory types, while statement extraction and memory chunking both get lighter: classification moves to a dedicated small model, and the chunking component sheds resource overhead. Per-type capacity reporting and the model configuration guardrails signposted in v0.4.7 land in this release.
These gains compound as usage grows. Lower large-model token consumption per extraction keeps memory processing costs manageable as conversations accumulate, and protection for in-use models means a configuration change in one place won't disrupt a published application elsewhere. Moving the application service onto its own database continues the microservice separation outlined in v0.4.7, laying groundwork for a leaner deployment footprint.
Next, memory types continue to deepen. Emotional memory will expand from six to ten emotion categories, forgotten memory will show how many memories are next in line to be forgotten so the candidate pool is visible in advance, and daily growth trends for total memory volume will support querying by time range. On the platform side, Agent configuration will integrate Skills.
记忆熊 v0.5.0 社区版 发布说明 —— 沧冥识珠
发布日期: 2026年9月30日 | 版本代号: 沧冥(CangMing · The Vast Deep)
在 v0.4.7 的基础上,本版本聚焦记忆处理的可见性与效率:工作空间记忆容量支持按八类记忆分类统计,语句抽取将分类任务交由专用小模型承担以减少大模型 Token 消耗,记忆分块也更加轻量。同时,v0.5.0 新增模型可用状态展示与在用模型保护,完成应用服务的独立数据库迁移,并包含两项 V1 接口调整。
⚡ 一、记忆处理与统计
- 记忆容量分类统计: 支持查看工作空间八类记忆各自的数量与占比,以及记忆总数与活跃用户数,统计结果统一呈现,记忆构成一目了然。
- 语句抽取成本优化: 语句抽取拆分为「大模型核心抽取」与「专用小模型分类」协同完成,由小模型承担分类任务,减少大模型 Token 消耗;同时提供故障兜底机制,下游使用的数据结构保持兼容。
- 记忆分块效率优化: 精简记忆分块组件,优化服务资源配置,提升整体运行效率。
🔧 二、平台配置与稳健性
- 模型可用状态展示: Agent、知识库及空间的模型配置支持展示模型名称与可用状态,便于识别和管理不可用的模型。
- 在用模型下线保护: 空间配置或已发布应用中正在使用的模型不允许删除或禁用,避免影响现有业务运行。
- 应用服务数据迁移: 随应用服务完成微服务化改造,其业务数据已迁移至独立数据库,保障数据平稳迁移、业务正常运行。
🔌 三、接口调整与下线预告
本次涉及以下两项 V1 接口调整,请相关调用方提前评估影响并完成适配:
1. 知识库 V1 接口:新增模型 ID 校验
为避免无效模型配置影响知识库使用,V1 创建、更新知识库接口将增加模型 ID 校验。
- 校验规则: 调用方显式传入模型 ID(如
embedding_id、reranker_id、llm_id等字段)时,系统将检查模型是否存在且可用、调用方是否有权访问,以及模型类型和能力是否符合对应字段要求。 - 失败处理: 校验不通过时,接口将返回错误,本次创建或更新不生效。
- 适用范围: 仅校验请求中显式传入的非空模型 ID,校验过程不会发起真实模型调用;未传模型字段时,原有行为不变(创建时继承默认配置,更新时保留原有配置)。
- 涉及接口:
POST /v1/knowledges/knowledge(创建知识库)PUT /v1/knowledges/{knowledge_id}(更新知识库)
- 适配建议: 请提前检查所传模型 ID,确保使用系统中已配置且可用的模型。
2. 记忆 V1 接口:本体管理接口计划于 v0.5.4 下线
本体管理相关的 13 个 V1 接口自本版本起标记为废弃,计划于 4 个版本后的 v0.5.4 正式移除。
- 过渡安排: 废弃期间接口不再维护,但仍可正常调用。
- 影响范围: 管理台与对外 API Key 服务中的同名接口将同期下线。
- 涉及接口(对外 API 路径前缀为
/v1/memory/ontology):- 提取:
POST /extract - 场景:
POST /scene、PUT /scene/{scene_id}、DELETE /scene/{scene_id}、GET /scenes、GET /scenes/simple - 本体类:
POST /class、PUT /class/{class_id}、DELETE /class/{class_id}、GET /classes、GET /class/{class_id} - OWL:
POST /import、POST /export
- 提取:
- 适配建议: 已接入上述接口的外部集成方,请在 v0.5.4 发布前完成改造。
如有疑问,欢迎随时联系我们。
🧭 未来展望
v0.5.0 将关注点转向记忆的构成与处理成本。记忆容量统计现已覆盖全部八类记忆,语句抽取与记忆分块也更加轻量:分类任务交由专用小模型承担,分块组件进一步精简了资源开销。上一版本预告的按类型记忆容量统计与模型配置防护,均已在本次落地。
这些改进会随使用规模扩大而持续放大收益。单次抽取的大模型 Token 消耗降低,让记忆处理成本在会话不断累积时依然可控;在用模型保护则确保一处配置变更不会影响其他已发布的应用。应用服务迁移至独立数据库,延续了上一版本提到的微服务拆分,为压缩部署体积打下基础。
接下来,各类记忆能力将持续深化:情绪记忆的情绪分类将由 6 类扩展至 10 类,遗忘记忆将呈现下一批待遗忘的记忆数量,让遗忘候选池提前可见,空间总记忆量的日增长趋势也将支持按时间段查询。平台层面,Agent 配置将集成 Skill 能力。