← 返回
开发者工具 中文

Aarondb

Distributed Datalog engine for sovereign agents enabling persistent, immutable fact storage, querying, and reasoning with built-in synchronization and time-t...
分布式Datalog引擎,为主权代理提供持久化不可变事实存储、查询和推理能力,支持内置同步和时间追溯功能。
criticalinsight
开发者工具 clawhub v1.0.3 1 版本 100000 Key: 无需
★ 0
Stars
📥 561
下载
💾 7
安装
1
版本
#latest

概述

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 transact flow.
  • 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.

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-03-29 20:26 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,260
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,294
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 670 📥 324,286