Skip to content

v0.4.0 — AI-Native Features + Multi-Language SDKs

Choose a tag to compare

@hvrcharon1 hvrcharon1 released this 18 Jun 19:40

AgentDB v0.4.0

AgentDB is now the complete embedded database for AI agents.

One file. Eight layers. Zero servers. Nine language SDKs.


New Features

AI-Native Layers

  • Conversation threading_adb_conversations + _adb_messages tables with full CRUD API (db.conversations())
  • Workflow persistence_adb_workflows + _adb_workflow_steps for durable multi-step agent tasks (db.workflows())
  • Reasoning traces_adb_traces with tree-structured chain-of-thought and recursive CTE traversal (db.traces())

Developer Experience

  • Transaction APIdb.transaction(|tx| { ... }) for ACID closures + db.execute_batch() for atomic multi-statement execution
  • Interactive CLI shellagentdb shell <path> or agentdb -i <path> — readline-style REPL with multi-line SQL, dot-commands (.stats, .collections, .inspect, .help, .quit)

Multi-Language SDKs

  • Go (go/) — cgo wrapper, full FFI surface coverage
  • Java (java/) — JNI wrapper with Maven POM, try-with-resources
  • C# / .NET (dotnet/) — P/Invoke wrapper with NuGet project, IDisposable

Infrastructure

  • Dockerfile — multi-stage build (rust:1.75 builder + debian:bookworm-slim runtime), OCI labels, VOLUME /data, <30MB final image
  • Schema v2 — 7 new tables + 5 indexes (additive, backward-compatible)

10 Attributes — All Verified ✅

# Attribute Status
1 Serverless, embedded architecture
2 Zero-configuration setup
3 Single-file portable database format
4 Cross-platform (Linux, Windows, macOS, Docker, WSL)
5 Simple installation and packaging
6 Standalone CLI with interactive shell
7 ACID transactions, WAL, crash recovery
8 Small footprint, minimal dependencies
9 SDK integration (Rust, Python, JS, Go, Java, C#, C/C++, WASM)
10 AI-native features (memory, conversations, vectors, search, workflows, traces)

Install / Upgrade

# Rust
cargo install datacules-agentdb

# Python
pip install --upgrade datacules-agentdb

# Node.js
npm install @datacules/agentdb@latest

# Docker
docker pull ghcr.io/hvrcharon1/agentdb:v0.4.0
docker run -v $(pwd):/data agentdb shell mydb.agentdb

# Homebrew / Scoop / Chocolatey / Snap / WinGet
brew upgrade agentdb
scoop update agentdb
choco upgrade agentdb
snap refresh agentdb
winget upgrade Datacules.AgentDB

Full Changelog: v0.3.4...v0.4.0

Full Changelog: v0.3.4...v0.4.0