Scan your whole stack
From OX Research Newsroom
Latest version: v3.0.0
Citadel was last scanned on 28 Nov 2026 at version 3.0.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 3.0.0 LATEST | 28 Nov 2026 | No rules fired |
| 2.7.0 | 28 Sep 2026 | No rules fired |
| 2.6.1 | 25 Sep 2026 | No rules fired |
| 2.6.0 | 24 Sep 2026 | Not shown |
| 2.5.0 | 13 Sep 2026 | Not shown |
Findings for v3.0.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 3.0.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
For semantic memory through MCP, install uv and pull the local embedder and optional cross-encoder reranker:
uvx citadeldb-mcp pull e5-large
uvx citadeldb-mcp pull ms-marco-minilm
Set CITADEL_KEY to your vault passphrase (export CITADEL_KEY="your-passphrase"
on macOS/Linux or $env:CITADEL_KEY = "your-passphrase" in PowerShell), then start:
uvx citadeldb-mcp --db memory.cdl --embedder e5-large --reranker ms-marco-minilm
The server communicates over stdio. See MCP for client configuration. Model downloads do not need a vault key; serving does.
Install the published package with pip install citadeldb. It includes KodamaEmbedder
and CrossEncoder for local KodamaEmbed models; see the
Python semantic-memory guide. Custom embedders implement
embed_with_cancel(texts, cancel_token) and check cancellation between bounded batches.
Uses citadeldb and citadeldb-mem with the kodama-embed feature. This example
loads e5-large and a local cross-encoder reranker. Other presets or a custom
Embedder are supported.
use std::sync::Arc;
use citadel::DatabaseBuilder;
use citadel_mem::{AtomInput, CrossEncoder, KodamaEmbedder, MemoryEngine, RecallQuery, RerankStrategy};
// Encrypted store (per-atom keys enable cryptographic forgetting)
let db = DatabaseBuilder::new("memory.db")
.passphrase(b"secret")
.enable_region_keys(true)
.create()?;
let mem = MemoryEngine::open(Arc::new(db))?;
let embedder = Arc::new(KodamaEmbedder::e5_large("/path/to/e5-large")?);
mem.create_encrypted_region("chat", embedder)?;
mem.set_reranker(
Arc::new(CrossEncoder::ms_marco_minilm_l6("/path/to/ms-marco-minilm")?),
RerankStrategy::default(),
);
// Remember raw turns (no LLM)
mem.remember("chat", AtomInput::new("fact", "Alice's cat is named Mochi"))?;
let berlin = mem.remember("chat", AtomInput::new("fact", "Alice lives in Berlin"))?;
// Recall by relevance
for hit in mem.recall("chat", RecallQuery::by_text("where does Alice live?", 5))? {
println!("{:.3} {}", hit.relevance.expect("ranked recall"), hit.text);
}
// Cryptographic forgetting: destroy the atom's key
mem.forget_atom("chat", berlin)?;
Uses the citadeldb and citadeldb-sql crates - or try SQL with no install in the live playground.
use citadel::DatabaseBuilder;
use citadel_sql::Connection;
let db = DatabaseBuilder::new("my.db")
.passphrase(b"secret")
.create()?;
let conn = Connection::open(&db)?;
conn.execute("CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT NOT NULL);")?;
conn.execute("INSERT INTO users (id, name) VALUES (1, 'Alice');")?;
let result = conn.query("SELECT * FROM users;")?;
// Key-value API
let mut wtx = db.begin_write()?;
wtx.insert(b"key", b"value")?;
wtx.commit()?;
let mut rtx = db.begin_read();
assert_eq!(rtx.get(b"key")?.unwrap(), b"value");
// Named tables
let mut wtx = db.begin_write()?;
wtx.create_table(b"sessions")?;
wtx.table_insert(b"sessions", b"token-abc", b"user-42")?;
wtx.commit()?;
// In-memory (no file I/O - useful for testing and WASM)
let mem_db = DatabaseBuilder::new("")
.passphrase(b"secret")
.create_in_memory()?;
citadel --create my.db
citadel> CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT NOT NULL);
citadel> INSERT INTO users (id, name) VALUES (1, 'Alice'), (2, 'Bob');
citadel> SELECT * FROM users;
+----+-------+
| id | name |
+----+-------+
| 1 | Alice |
| 2 | Bob |
+----+-------+
citadel> .backup mydb.bak
citadel> .verify
citadel> .upgrade
citadel> .stats
citadel> .audit verify
citadel> .rekey
citadel> .compact clean.db
citadel> .dump users
# P2P sync
citadel> .keygen
citadel> .listen 4248 <KEY> # Terminal A
citadel> .sync 127.0.0.1:4248 <KEY> # Terminal B
A native desktop client for Windows, macOS, and Linux. Open encrypted vaults, browse tables and memory, run SQL with EXPLAIN and ANALYZE, and inspect vectors and integrity results.
See the Studio guide for screenshots and build instructions. Download Citadel Studio for Windows, macOS, or Linux.
The adapters implement framework-specific storage, session, and retrieval interfaces. Each requires an explicit embedder. See the package README for setup, search behavior, and supported filters.
| Framework | Package | Implements |
|---|---|---|
| LangGraph | citadeldb-langgraph |
BaseStore |
| CrewAI | citadeldb-crewai |
StorageBackend |
| OpenAI Agents SDK | citadeldb-openai-agents |
Session |
| Google ADK | citadeldb-google-adk |
BaseMemoryService |
| LlamaIndex | citadeldb-llamaindex |
BasePydanticVectorStore |
| LangChain | citadeldb-langchain |
VectorStore, BaseChatMessageHistory |
| Haystack | citadeldb-haystack |
DocumentStore |
| Microsoft Agent Framework | citadeldb-ms-agent-framework |
HistoryProvider, ContextProvider |
| Strands Agents | citadeldb-strands-agents |
SessionRepository |
pip install citadeldb-langgraph
One database serves every adapter on the thread that opened it, so a graph's long-term
store and its session transcripts can share one encrypted file. See packaging/ for each
package's own README.
Serve an encrypted memory region to Claude Desktop or any MCP client. citadeldb-mcp is
published to PyPI and listed in the official MCP registry
as dev.citadeldb/mcp. Run it without installing through uvx.
For the recommended semantic-recall setup, pull the embedder and cross-encoder reranker once:
uvx citadeldb-mcp pull e5-large
uvx citadeldb-mcp pull ms-marco-minilm
The pull commands do not need a vault key. Before starting the server, set CITADEL_KEY
to the vault passphrase: use export CITADEL_KEY="your-passphrase" on macOS/Linux or
$env:CITADEL_KEY = "your-passphrase" in PowerShell. Then run:
uvx citadeldb-mcp --db memory.cdl --embedder e5-large --reranker ms-marco-minilm
--db, --embedder, and CITADEL_KEY are required when serving. The reranker is optional,
but e5-large with ms-marco-minilm is the configuration used for the memory benchmarks.
Models run on the processor; --device auto, --device cuda or --device vulkan moves
them to a GPU.
To install the executable instead, run pip install citadeldb-mcp or
cargo install citadeldb-mcp. Pull the same models with citadeldb-mcp pull e5-large and
citadeldb-mcp pull ms-marco-minilm, then add it to claude_desktop_config.json:
{
"mcpServers": {
"citadel": {
"command": "citadeldb-mcp",
"args": [
"--db", "/absolute/path/to/memory.cdl",
"--embedder", "e5-large",
"--reranker", "ms-marco-minilm"
],
"env": { "CITADEL_KEY": "your-passphrase" }
}
}
}
Recorded LoCoMo and LongMemEval results are summarized below; their configurations and limitations predate the current memory-engine changes. SQL comparisons with unencrypted SQLite across 59 cases are under Speed benchmarks.
LoCoMo - gpt-4o-mini reader and judge with the harness's prompts, mean of 3 runs measured August 18, 2026:
| Metric | Score |
|---|---|
| Overall | 87.2% +/- 0.3 |
| Full context, no retrieval (reported in the Mem0 paper, not rerun here) | 72.9% |
Retrieval is identical across the three runs; the spread is reader and judge nondeterminism. A manual audit estimates that ~6.4% of LoCoMo answer keys are erroneous, so raw accuracy should be interpreted with that annotation noise in mind.
Memory is built with no LLM - raw turns enriched with supplied photo captions and image-search text, indexed and recalled deterministically.
LongMemEval_S (arXiv 2410.10813) full-haystack split (~40-50 sessions/question), gpt-4o reader, official CoT prompt and gpt-4o-2024-08-06 judge:
| Metric | Score |
|---|---|
| Overall | 86.2% |
| Task-averaged | 86.8% |
| Abstention | 80.0% |
Full-haystack stresses retrieval against distractors (not the oracle reader ceiling). Protocol and per-type results in citadel-membench.
The same encrypted pages that hold SQL tables also hold memory. Three crates make up the memory engine:
VECTOR(N) SQL type, distance operators (<-> L2, <#> inner, <=> cosine), and a PRISM-backed filtered ANN index that reads through the encrypted page store.citadeldb-mem stores raw conversation content without a summarizer LLM. Recall uses embeddings, BM25 keyword matching, and an optional reranker. Local embedding and reranking backends keep this processing on-device; custom backends determine their own network use and costs. The benchmark readers and judges are separate LLMs - gpt-4o-mini for LoCoMo, gpt-4o for LongMemEval. The protocol and results are in citadel-membench.
.upgradeMeasured on September 13, 20 and 27, 2026 (UTC) on an Intel Core i9-12900HX, Windows 11 Pro, Rust 1.98.0, and SQLite 3.51.3. Runs use one fixed logical processor, with durability disabled and both caches configured for 4,096 pages (about 32 MiB). Most cases use 100K rows; schemas and operations vary as listed below.
Each time is the arithmetic mean of two or four per-run sample medians, with 30 samples per run. Ratios use unrounded SQLite time / Citadel time: above 1 means Citadel is faster, below 1 means Citadel is slower. For example, 0.5x means Citadel takes twice as long as SQLite.
Sixteen comparisons were refreshed on September 27 at 0dbe126c: nine execution cases and seven cached repeat reads. Each refreshed row uses four new runs per engine in Citadel/SQLite/SQLite/Citadel, then SQLite/Citadel/Citadel/SQLite order. Other rows retain their September 13 or 20 measurements and source revisions. This is a combined snapshot, not a full-suite run at the latest revision. Source revisions, run settings, medians, 95% intervals, and drift identify every row.
37 comparisons of writes and reads that execute each iteration, including rotating-parameter queries. Fixture resets are excluded unless the case description says otherwise.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.