Install
openclaw skills install aarondbDistributed Datalog engine for sovereign agents enabling persistent, immutable fact storage, querying, and reasoning with built-in synchronization and time-t...
openclaw skills install aarondbA high-performance, distributed Datalog engine designed for sovereign agents.
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"
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.
To use this skill, ensure the core package is installed in your agent's runtime:
npm install @criticalinsight/aarondb-edge
import { AaronDB } from '@criticalinsight/aarondb-edge';
// Initialize a new database instance
const db = new AaronDB();
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" }
]);
Use Datalog syntax with variable bindings.
const results = db.query({
where: [
["?e", "type", "RichHickey"],
["?e", "principle", "?p"]
]
});
transact flow.