Asanagi Suite Logo

// Mechanically Sympathetic Graph & Agentic Memory Suite Β· v3.0.1

Connected data for your apps.
Persistent memory for your AI.

One self-hosted native engine that deploys identically on a Raspberry Pi, your developer workstation, or a production serverβ€”with zero runtime bloat.

Path A Β· For App Developers AsanagiDB + Compository + TUI

Build Graph-Enabled Applications

β€œStore nested objects like a document DB. Traverse relationships with stock Gremlin. One mechanically sympathetic binary from a Raspberry Pi to production.”

Stop choosing between awkward relational joins and heavy graph clusters. Use Compository as a simple document store or ORM for everyday CRUDβ€”while AsanagiDB automatically decomposes nested objects into vertices and edges you can traverse with stock Gremlin drivers or inspect live in AsanagiDB TUI.

  • Compository Document/ORM: Go, Python, Rust, TypeScript & Kotlin SDKs
  • Stock Gremlin 3.x: Connect standard TinkerPop clients over WebSocket, TCP, or Unix socket
  • AsanagiDB TUI & asna CLI: Visualize and query live graphs over SSH or tmux
Path B Β· For AI & Agent Workflows AsanagiDB-MCP + Desktop

Persistent Memory & GraphRAG for AI Assistants

β€œStop re-explaining your codebase and decisions every time you switch AI assistants.”

Flat markdown rules bloat your context window and vanish across tools. AsanagiDB-MCP gives Claude, Codex, Gemini, and local agents a shared, persistent knowledge graph with built-in GraphRAG and agentic notesβ€”paired with AsanagiDB Desktop to see and explore your graph visually.

  • Cross-Assistant Continuity: Save a decision in Claude, retrieve it immediately in Codex or Gemini
  • Integrated GraphRAG & Notes: Concept graphs, citations, and structured research notes
  • Shareable Knowledge Topologies: Sync or export subgraphs across machines & teammates

01. Flagship 90-Second Demo & Runnable Quickstart

The Three-Pane Proof:
One Brain Across Every Assistant.

Don't take our word for itβ€”run the exact workflow our engineering team dogfoods every day. Save an architectural decision in one AI assistant, retrieve its full relational neighborhood in a second assistant with zero re-briefing, and verify the stored vertex and edge directly from the asna Gremlin console.

PANE 1 Β· ASSISTANT A (CLAUDE) Write & Relate

Record an architectural decision and connect it to the spec node as a typed graph edgeβ€”not a flat text blob.

// 1. Save entities & link edge
memory_save_batch({
  entities: [
    { name: "threepane_spec", type: "Reference",
      body: "Keep graph decisions visible across assistants." },
    { name: "threepane_decision", type: "Decision",
      body: "Use AsanagiDB-MCP as the shared memory store." }
  ],
  relations: [
    { source: "threepane_decision",
      relation: "implements", target: "threepane_spec" }
  ]
})
PANE 2 Β· ASSISTANT B (CODEX / GEMINI) Zero-Briefing Recall

Start a brand-new session in a different assistant. It queries the graph neighborhood and picks up immediately.

// 2. Fresh session in Assistant B
memory_context({
  name: "threepane_decision"
})

β†’ Entity: threepane_decision (Decision)
  "Use AsanagiDB-MCP as the shared memory store."
β†’ Neighbor [implements]: threepane_spec
  "Keep graph decisions visible across assistants."
PANE 3 Β· ASNA GREMLIN CONSOLE Direct Graph Verification

Query the underlying graph directly from your terminal with asna to verify the stored vertex and edge.

# 3. Verify live graph from terminal
asna --remote tcp://127.0.0.1:8182 --db default \
  "g.V().has('name','threepane_decision')
    .outE('implements').inV().valueMap('name','type')"

[{"name":["threepane_spec"],"type":["Reference"]}]

Verified 3-command local smoke test

Requires asanagidb-mcp and asna on your PATH (protocol-equivalent HTTP JSON-RPC stand-ins for two independent MCP client sessions)

Full Installation & CLI Reference β†’
# 1. Start a fresh local MCP graph store (HTTP MCP on 7474, Gremlin TCP on 8182)
asanagidb-mcp --data-dir ./threepane-data --db default --http-port 7474 --serve-port 8182 >threepane.log 2>&1 &

# 2. Session A saves 2 entities + 1 typed 'implements' relation over MCP JSON-RPC
curl -sS -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"memory_save_batch","arguments":{"entities":[{"name":"threepane_spec","type":"Reference","body":"Prototype: keep graph decisions visible across assistants."},{"name":"threepane_decision","type":"Decision","body":"Use AsanagiDB-MCP as the shared memory store for this prototype."}],"relations":[{"source":"threepane_decision","target":"threepane_spec","relation":"implements"}]}}}' http://127.0.0.1:7474/mcp

# 3. Session B retrieves the full decision neighborhood & asna verifies the live edge
curl -sS -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"memory_context","arguments":{"name":"threepane_decision"}}}' http://127.0.0.1:7474/mcp | python3 -m json.tool && asna --remote tcp://127.0.0.1:8182 --db default "g.V().has('name','threepane_decision').outE('implements').inV().valueMap('name','type')"

02. The Core Asanagi Suite

Four Focused Tools. One Cohesive Graph Engine.

Every tool in the Asanagi Suite is built around the same native storage engineβ€”so there is zero impedance mismatch between your application database, your AI assistant's memory, and your visual or terminal inspection tools.

1. ASANAGIDB For Graph-Enabled Apps

AsanagiDB + Compository

β€œStore nested objects like a document DB. Traverse relationships with stock Gremlin. One mechanically sympathetic binary from a Raspberry Pi to production.”

Rapid, low-friction stand up using the exact same binary on desktop and server. Use Compository as a simple document store or ORM to persist nested objects without boilerplate, and connect your app with stock Gremlin 3.x client libraries whenever you need deep graph traversals.

  • Rapid stand up: single native binary, ACID LMDB storage, WAL replication
  • Compository document store & ORM (Go, Python, Rust, TypeScript, Kotlin)
  • Stock Gremlin client libraries over WebSocket, TCP, or Unix domain socket
  • Mechanically sympathetic: deployable on a Raspberry Pi or multi-instance server fleet
2. ASANAGIDB-MCP For Agentic Consistency

AsanagiDB-MCP

β€œStop re-explaining your codebase and decisions every time you switch AI assistants.”

A standalone Model Context Protocol server backed directly by AsanagiDB. Gives your AI assistants persistent long-term and short-term memory (`memory_hottest`, `memory_context`, `memory_relate`), integrated GraphRAG document concept indexing, and structured agentic notes.

  • Standalone native binary: runs locally, on a Raspberry Pi, or over mTLS (`--public`)
  • Integrated GraphRAG tools (`rag_search`, `rag_begin_document`, `rag_submit_concepts`)
  • First-class agentic notes (`note_create`, `note_link`, `note_list`, `note_update`)
  • Shareable knowledge base topologies (`memory_share`, `memory_fetch`, `--central`)
3. ASANAGIDB DESKTOP Early Access Β· In App Store Review

AsanagiDB Desktop

β€œSee your knowledge graph, test queries visually, and turn research into structured memory in one click.”

The all-in-one visual database, agentic memory inspector, and GraphRAG research environment. Author and test Gremlin scripts in a visual editor, watch live graph physics as your assistants traverse memory, and synthesize research documents into connected graph notes.

  • Visual Gremlin script editor with live tabular & subgraph output
  • Interactive force-directed data structure & topology canvas
  • Built-in GraphRAG research workspace writing notes directly into the graph
  • Currently in Mac App Store review (v1.0.0); Admin UI preview available today
4. ASANAGIDB TUI For Terminal & SSH Workflows

AsanagiDB TUI & asna Console

β€œVisualize live graph data without leaving SSH or tmux.”

Built for the system administrator and developer working in a fast-paced terminal environment who still needs to visualize graph structure. Inspect vertex neighborhoods, walk incoming and outgoing edges interactively, and run Gremlin scripts against local sockets or remote servers.

  • Zero-GUI terminal graph explorer & neighborhood visualizer
  • Connects over Unix domain socket, TCP, or mTLS WebSocket (`ws://` / `wss://`)
  • Pairs with `asna` REPL and `asanagidb-admin` for headless ops on VPS or Raspberry Pi
  • Keyboard-driven navigation designed for `tmux`, Alacritty, Kitty, and SSH

// Desktop to Headless Server

Visual on your Mac.
Visual over SSH.

Whether you are exploring a GraphRAG concept topology in AsanagiDB Desktop or SSH'd into a headless Linux server or Raspberry Pi with AsanagiDB TUI, you are talking to the exact same engine and database format.

AsanagiDB Desktop (macOS Canvas)

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ [Gremlin] g.V().hasLabel(..) β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   (Decision)──governs──►(DB) β”‚
β”‚       β”‚                  β–²   β”‚
β”‚    cites              uses   β”‚
β”‚       β–Ό                  β”‚   β”‚
β”‚   (Doc_v3)──────────►(Client)β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

AsanagiDB TUI (SSH / tmux)

β”Œβ”€ asanagidb-tui Β· 127.0.0.1 ──┐
β”‚ RAGConcept: geodesic_rag     β”‚
β”‚ β”œβ”€ out: relates β†’ lmdb_store β”‚
β”‚ └─ out: cites   β†’ section_04 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ > g.V().hasLabel('RAGConcept')β”‚
β”‚ [j/k] Move [Enter] Traverse  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

03. Mechanical Sympathy

Why should a graph database eat 4 GB of RAM before you store your first vertex?

Traditional graph databases require a multi-gigabyte managed runtime, heap tuning, and background garbage collection pauses. AsanagiDB is compiled to native machine code with memory-mapped LMDB storageβ€”letting the OS page cache do what it already does best.

Neo4j Community

  • Runtime dependencyJava 17+ JVM
  • Recommended RAM4 GB+
  • Cold start8 – 15 s
  • GC latency spikesYes
  • Distribution size~450 MB

JanusGraph

  • Runtime dependencyJava 11+ JVM
  • Storage backendCassandra / HBase
  • Processes to manage3+ JVM services
  • Initial setup45+ min
  • Distribution size>1 GB w/ deps
AsanagiDB (Measured on Pi 4)

Raspberry Pi 4 (aarch64-linux)

  • Runtime dependencyNone (native binary)
  • Idle VmRSS (DB / MCP)4.0 MiB / 1.75 MiB
  • Cold start (DB / MCP)7–13 ms / 13–14 ms
  • 256 MiB cgroup smoke~15–16 MiB VmRSS (0 OOM)
  • Binary size (DB / MCP)3.09 MB / 3.17 MB

* Measured on a Raspberry Pi 4 (aarch64-linux, 3.8 GiB RAM, AsanagiDB v3 beedd89 ReleaseSafe): server binary 3,093,912 B (idle VmRSS 4,096 KiB, 7.5–13.3 ms to TCP listen); MCP binary 3,170,608 B (idle VmRSS 1,792 KiB, 12.9–13.8 ms to HTTP listen). Separate x86_64-linux systemd cgroup test (MemoryMax=256 MiB) verified g.V().count() and MCP memory_save_batch + memory_context at 15.3–16.1 MiB VmRSS with oom=0. Smoke-workload measurements on a fresh database, not a capacity guarantee for arbitrary graph sizes.

04. Preview & Labs

SQL Bridges & Local LLM Inference

Companion tools connecting AsanagiDB to legacy SQL/ODBC reporting stacks and local on-device language models.

asanagi-pg Β· PostgreSQL v3 Wire Gateway Preview

Query your graph database with the SQL tools and ORMs you already know.

Speaks the PostgreSQL v3.0 wire protocol (`psql`, ODBC/JDBC, Python `psycopg2`/`asyncpg`, Visual DataFlex) and translates SQL `SELECT`, `WHERE`, `INSERT`, `UPDATE`, `DELETE`, and raw Gremlin pass-through queries into AsanagiDB requests. Written in Meikaku.

Note: Binds to 127.0.0.1:5433 by default in preview trust mode (no password check, no TLS, single client session). Designed for local development and trusted-network BI tools.

Read_PostgreSQL_Gateway_Spec() β†’
AsanagiLIS Β· Local Inference Server Labs Preview

Run local LLMs grounded in your own knowledge graphβ€”not cloud APIs.

Embeds `llama.cpp` (Metal / Vulkan / AVX) and binds directly to AsanagiDB in-process via C FFI. Provides an OpenAI-compatible SSE endpoint and interactive terminal REPL with native geodesic GraphRAG manifold search and mid-generation tool calling.

Explore_AsanagiLIS_Labs() β†’

05. Vertical Solutions Built on AsanagiDB

Production Systems Built with Asanagi

See how we use the Asanagi Suite to power full self-hosted industry platformsβ€”including AsanagiIDX (RESO Web API MLS real estate search & syndication) and AsanagiTOGAF (TOGAF ADM enterprise architecture management on a graph).

View_Built_With_Asanagi() β†’

// 06. Stay_Updated

Get notified on new releases

AsanagiDB updates, AsanagiDB Desktop Mac App Store launch, and vertical releases β€” no spam, just release announcements.