/install aarondb
AaronDB Edge Skill
A high-performance, distributed Datalog engine designed for sovereign agents.
Frontmatter
name: aarondb-edge
description: Distributed Datalog engine for sovereign agents. Enables persistent fact management and reasoning.
version: 1.1.0
author: criticalinsight
repository: https://github.com/criticalinsight/aarondb-edge
npm: https://www.npmjs.com/package/@criticalinsight/aarondb-edge
requirements:
- "@criticalinsight/aarondb-edge"
Description
This skill enables AI agents to utilize a local or distributed Datalog engine for fact storage, retrieval, and reasoning. It follows the "Database as a Value" philosophy, allowing for immutable state management and time-travel debugging.
Installation
To use this skill, ensure the core package is installed in your agent's runtime:
npm install @criticalinsight/aarondb-edge
Usage
1. Initialization
import { AaronDB } from '@criticalinsight/aarondb-edge';
// Initialize a new database instance
const db = new AaronDB();
2. Transacting Facts
Facts are stored as "datoms" (Entity, Attribute, Value).
await db.transact([
{ e: "agent/philosophy", a: "type", v: "RichHickey" },
{ e: "agent/philosophy", a: "principle", v: "Simplicity" }
]);
3. Querying
Use Datalog syntax with variable bindings.
const results = db.query({
where: [
["?e", "type", "RichHickey"],
["?e", "principle", "?p"]
]
});
Architectural Patterns
- Database as a Value: Always treat the database state as an immutable value. Avoid manual state mutations outside of the
transactflow. - Shared Discovery Layer: Facts can be synchronized across agents using a shared D1/KV back-end when running in Cloudflare Worker mode. In library mode, the state is local-first but can be exported/imported as a unified fact log for cross-agent collaboration.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install aarondb - 安装完成后,直接呼叫该 Skill 的名称或使用
/aarondb触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Aarondb 是什么?
Distributed Datalog engine for sovereign agents enabling persistent, immutable fact storage, querying, and reasoning with built-in synchronization and time-t... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 280 次。
如何安装 Aarondb?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install aarondb」即可一键安装,无需额外配置。
Aarondb 是免费的吗?
是的,Aarondb 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Aarondb 支持哪些平台?
Aarondb 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Aarondb?
由 Moe(@criticalinsight)开发并维护,当前版本 v1.0.3。