GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - auralshin/neleus-db: Content-addressed database in Rust for AI agent memory. Every write is a Merkle-DAG object with an offline proof, so you can show what an agent retrieved and when. Immutable history, a retrieval audit log, and policy checks at write time. Local-first, no async runtime.

BranchesTags
Open more actions menu

Latest commit

 

History

52 Commits
52 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
benches
benches
 
 
console
console
 
 
docs
docs
 
 
examples
examples
 
 
sdk
sdk
 
 
site
site
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
BENCHMARKS.md
BENCHMARKS.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.toml
Cargo.toml
 
 
DESIGN.md
DESIGN.md
 
 
INTEGRATION.md
INTEGRATION.md
 
 
LICENSE-APACHE
LICENSE-APACHE
 
 
LICENSE-MIT
LICENSE-MIT
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
build.rs
build.rs
 
 

Repository files navigation

neleus-db

A local-first, content-addressed database for AI agent memory, written in Rust.

Every search an agent runs is recorded, and any result can be turned into a proof that someone else can check offline. You can show what an agent retrieved, from which version of the data, and that the history was not rewritten afterwards.

Getting started · CLI · HTTP API · Design · Benchmarks

Features

  • Hybrid retrieval: BM25 and HNSW vectors, fused with reciprocal rank fusion, with tenant, doc type, language, ACL, and validity-window filters.
  • Immutable history: blobs, manifests, state, and commits are BLAKE3-addressed objects. Search any past commit with --at.
  • Recorded retrieval: every search appends to a hash-linked audit chain.
  • Offline proofs: state proofs, chunk proofs, and signed audit bundles, checked by the standalone neleus-verify binary.
  • Checkpoint log: signed, append-only checkpoints over a head's history.
  • HTTP server: serve with API keys, reader/writer/admin roles, tenant isolation, and a bundled web console.
  • Policy engine: rules checked at write time, with a tamper-evident event log.
  • Also: session memory with TTL, subject erasure, encryption at rest, replication (db push / db pull).

Install

cargo install neleus-db      # installs neleus-db and neleus-verify

Or build from source with cargo build --release. See getting started for the web console build.

Usage

neleus-db db init ./agent_db
alias ndb='neleus-db --db ./agent_db'

ndb manifest put-doc --source policy.md --file policy.md --chunk-size 512   # prints manifest hash
ndb commit new --head main --author me --message "add policy" --manifest <manifest-hash>
ndb search hybrid --head main --query "password reset"                       # recorded on main

ndb proof chunk --head main --chunk <chunk-hash> --include-content --out hit.proof
ndb proof verify-chunk hit.proof

ndb serve --open     # HTTP API and console at http://127.0.0.1:7117/

From Rust:

use neleus_db::manifest::ChunkingSpec;
use neleus_db::{Engine, SearchFilter, SearchQuery, verify_chunk_proof};

let engine = Engine::open("./agent_db")?;
let spec = ChunkingSpec { method: "fixed".into(), chunk_size: 512, overlap: 64 };
let (_, commit) = engine.put_document("main", "policy.md", &std::fs::read("policy.md")?, spec, None, "me")?;
let q = SearchQuery::Hybrid { text: Some("password reset"), embedding: None };
let hits = engine.search("main", None, q, 5, &SearchFilter::default(), None)?.hits;
verify_chunk_proof(&engine.prove(commit, hits[0].chunk_hash, true)?)?;

SDKs

In sdk/: python-native (embedded, PyO3), python (HTTP, stdlib only), typescript (HTTP), and rust (HTTP). See INTEGRATION.md.

Docs

  • docs/: getting started, concepts, CLI, HTTP API, policy, security
  • DESIGN.md: data model, storage, recovery
  • BENCHMARKS.md: measured numbers
  • CONTRIBUTING.md

License

Dual-licensed under Apache-2.0 or MIT, at your option.

About

Content-addressed database in Rust for AI agent memory. Every write is a Merkle-DAG object with an offline proof, so you can show what an agent retrieved and when. Immutable history, a retrieval audit log, and policy checks at write time. Local-first, no async runtime.

crates.io/crates/neleus-db

Topics

agent-memoryai-agentsai-memoryaudit-trailbacktestingcontent-addressable-storagedata-versioningdatabaseembedded-databaseimmutable-databaselocal-firstmerkle-dagmerkle-treeprovenancequantitative-financeragrusttamper-evidenttransparency-logverifiable

Resources

Readme

Contributing

Contributing

Security policy

Security policy
Activity

Stars

3 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.