/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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install aarondb - After installation, invoke the skill by name or use
/aarondb - Provide required inputs per the skill's parameter spec and get structured output
What is Aarondb?
Distributed Datalog engine for sovereign agents enabling persistent, immutable fact storage, querying, and reasoning with built-in synchronization and time-t... It is an AI Agent Skill for Claude Code / OpenClaw, with 280 downloads so far.
How do I install Aarondb?
Run "/install aarondb" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Aarondb free?
Yes, Aarondb is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Aarondb support?
Aarondb is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Aarondb?
It is built and maintained by Moe (@criticalinsight); the current version is v1.0.3.