闲社服务运行正常AI智能体自动化平台
a

艾欧尼斯记忆循环

技能标识:aionis_memory_policy_loop

Connect OpenClaw to Aionis using write/context/policy/feedback memory loop APIs.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

艾欧尼斯记忆循环

Aionis 记忆策略循环技能

当用户请求长期记忆、带引用的检索、基于记忆规则的工具路由或反馈驱动的策略调整时,使用此技能。

要求(本地独立运行)

环境变量:

  1. 1. AIONISBASEURL:
- 主机运行:http://127.0.0.1:3001 - 容器到主机运行:http://host.docker.internal:3001
  1. 2. 一种认证方式:
- AIONISAPIKEY - 或 AIONISAUTHBEARER
  1. 3. 可选:
- AIONISTENANTID(默认值:default) - AIONISSCOPEPREFIX(默认值:clawbot)

安全规则

  1. 1. 切勿在响应中打印完整的机密信息。
  2. 保持每个项目的作用域固定:clawbot:。
  3. 不要将原始工具输出转储写入记忆;存储简洁的摘要。
  4. 保持请求有界:为召回和上下文组装设置限制。
  5. 如果 /v1/memory/context/assemble 不可用,回退到 /v1/memory/recall_text 并继续执行。

连接预检查

在运行记忆循环之前,确保 Aionis 独立实例可访问:

  1. 1. GET /health 返回 200。
  2. 使用 x-api-key 的 POST /v1/memory/write 返回 200。
  3. 如果检查失败,停止并返回明确的连接/认证错误。

自动引导命令

如果本地独立实例未运行,执行:

bash
bash ./bootstrap-local-standalone.sh

然后加载运行时环境:

bash
source ./.runtime/clawbot.env

默认工作流程

  1. 1. 摄入关键事实/结果:
- POST /v1/memory/write
  1. 2. 在规划前构建分层上下文:
- POST /v1/memory/context/assemble - 如果组装端点不可用,回退到 POST /v1/memory/recall_text
  1. 3. 使用策略路由工具:
- POST /v1/memory/tools/select
  1. 4. 执行后关闭循环:
- POST /v1/memory/tools/feedback

请求模板

使用以下模板(替换占位符):

写入

json
{
tenant_id: default,
scope: clawbot:demo-project,
input_text: 客户偏好邮件跟进,
auto_embed: true,
nodes: [
{
clientid: evt001,
type: event,
text_summary: 客户偏好邮件跟进,
memory_lane: shared,
slots: {
integration: openclaw,
kind: event,
project: demo-project
}
}
],
edges: []
}

上下文组装

json
{
tenant_id: default,
scope: clawbot:demo-project,
query_text: 我应该如何跟进这位客户?,
include_rules: true,
include_shadow: false,
rules_limit: 50,
tool_strict: false,
returnlayeredcontext: true,
context_layers: {
enabled: [facts, episodes, rules, decisions, tools, citations],
charbudgettotal: 3200,
includemergetrace: true
},
limit: 30,
neighborhood_hops: 2,
max_nodes: 50,
max_edges: 100
}

工具选择

json
{
tenant_id: default,
scope: clawbot:demo-project,
runid: run001,
context: {
intent: follow_up,
customer: {
prefers: email
}
},
candidates: [sendemail, callcrm, search_docs],
include_shadow: false,
rules_limit: 50,
strict: false
}

工具反馈

json
{
tenant_id: default,
scope: clawbot:demo-project,
runid: run001,
outcome: positive,
context: {
intent: follow_up,
customer: {
prefers: email
}
},
candidates: [sendemail, callcrm, search_docs],
selectedtool: sendemail,
include_shadow: false,
rules_limit: 50,
target: tool,
inputtext: openclaw feedback accepted tool sendemail
}

输出预期

使用此技能时,如果存在以下ID,请在响应中包含:

  1. 1. requestid
  2. commitid 或 commituri
  3. decisionid 或 decisionuri
  4. runid

同时包含:

  1. 5. 本次运行使用的 base_url
  2. 本次运行使用的 scope

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 aionis-1776270944 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 aionis-1776270944 技能

通过命令行安装

skillhub install aionis-1776270944

下载

⬇ 下载 aionis_memory_policy_loop v1.0.0(免费)

文件大小: 5.18 KB | 发布时间: 2026-4-16 16:54

v1.0.0 最新 2026-4-16 16:54
Aionis Memory Policy Loop Skill 1.0.0

- Initial release: Connects OpenClaw to Aionis using memory loop APIs (write, context, policy, feedback).
- Provides configuration via environment variables for standalone/local use.
- Includes safety rules for secret handling, scope, and memory usage.
- Features connectivity checks and auto-bootstrap for local Aionis instances.
- Documents default workflow and request templates for writing, context assembly, tool selection, and feedback.
- Specifies required response fields (e.g., IDs, base_url, scope) for output consistency.
返回顶部