v0.4.0 — AI-Native Features + Multi-Language SDKs
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_messagestables with full CRUD API (db.conversations()) - Workflow persistence —
_adb_workflows+_adb_workflow_stepsfor durable multi-step agent tasks (db.workflows()) - Reasoning traces —
_adb_traceswith tree-structured chain-of-thought and recursive CTE traversal (db.traces())
Developer Experience
- Transaction API —
db.transaction(|tx| { ... })for ACID closures +db.execute_batch()for atomic multi-statement execution - Interactive CLI shell —
agentdb shell <path>oragentdb -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.AgentDBFull Changelog: v0.3.4...v0.4.0
Full Changelog: v0.3.4...v0.4.0