SWAL Ecosystem · GitCore 3.8.0 Compliant

High-Performance Cognitive Architecture

The Cognitive Memory Brain for AI Agents

High-performance vector memory runtime written in Rust. Sub-millisecond contextual recall, local-first privacy, and native HTTP, CLI, and MCP interfaces.

< 1msRecall
6+Languages
3Interfaces
xavier@agent-node:~swal/xavier:8006
[0.98]Architecture decision: SQLite-vec + BM25 hybrid engine
[0.94]Hybrid BM25 + semantic search with dynamic 1.5x zone boost
[0.91]Agent context compression reduces 40% active tokens
Status: Active Node ⚡Ed25519 BIP39-24 Key Authenticated

How Xavier Works

From raw unstructured developer context to sub-millisecond agent decision routing.

database
Step 01

Ingest & Store

Add memories, code graphs, and multi-turn session contexts. Xavier embeds everything locally using SQLite-vec — zero cloud leakage, zero network latency.

Local SQLite-vec · MMap IO
manage_search
Step 02

Hybrid Recall

BM25 keyword scoring merged with semantic vector search. Active workspace zones automatically receive a dynamic 1.5x boost for real-time relevance.

BM25 + Cosine Vector Fusion
hub
Step 03

Multi-Interface Serve

Native HTTP REST on :8006, Model Context Protocol (MCP) over SSE/Stdio, and full CLI. Works instantly with Cursor, Claude, and Hermes agents.

MCP SSE/Stdio · REST · CLI

Architected for Autonomy

Six core subsystems engineered in Rust for extreme reliability and zero external bloat.

neurology

🧠 Hybrid Memory Engine

  • › Semantic vector search via SQLite-vec
  • › BM25 full-text keyword scoring
  • › Dynamic 1.5x zone boost for active contexts
account_tree

🕸️ Code Graph Intelligence

  • › AST parsing for Rust, TS, Python, Go, Java, C/C++
  • › Call chain analysis & reverse blast radius
  • › Complexity hotspot & cycle detection
share

🌐 P2P Mesh Network

  • › QUIC / Iroh decentralized sync between nodes
  • › Offline SQLite queue with last-write-wins
  • › Ed25519 BIP39-24 cryptographic node identity
terminal

⚡ MCP Protocol Native

  • › Complete MCP JSON-RPC over Stdio & SSE
  • › Plug-and-play with Cursor and Claude Desktop
  • › 20+ built-in agent memory & search tools
security

🛡️ Local-First Security

  • › Zero external third-party cloud dependencies
  • › Bearer token HTTP auth (X-Xavier-Token)
  • › Ephemeral secret leasing & automatic zeroing
view_in_ar

📊 Maloca Portal

  • › Real-time human-in-the-loop dashboard
  • › Ecosystem alignment score & backlog audit
  • › Hardware sidecar: NVIDIA, ROCm, Metal detection

Try It in Your Terminal

Experience Xavier multi-paradigm command interface across memory, code graph, MCP, and mesh.

xavier-cli (zsh)

Modular. Composable. Extensible.

Layered architecture ensuring sub-millisecond memory performance without blocking Tokio event workers.

Layer 1

Entry Points & Protocols

HTTP REST :8006MCP JSON-RPC (SSE/Stdio)CLI Engine
arrow_downward
Layer 2

Xavier Core Engine (Rust)

Hybrid BM25 + VectorAST Code Graph IndexerContext Compression
arrow_downward
Layer 3

Storage Adapters & P2P Mesh

SQLite-vecBM25 Inverted IndexIroh / QUIC P2P Mesh

20+ Built-in MCP Tools

Plug directly into Cursor, Claude Desktop, or autonomous agent loops with native zero-friction tools.

psychologyMemory Tools

mem_searchmem_addmem_updatemem_deletemem_context

codeCode & Context

xavier_context_savexavier_context_restorexavier_context_searchxavier_token_savingsget_code_graphcodegraph_exploretrace_path

monitor_heartSystem & Mesh

health_checksys_healthlog_scanenv_statusticket_create

Performance That Speaks for Itself

Engineered in bare-metal Rust with zero garbage collection pauses and zero external network overhead.

< 1msRecall Latency
256MBMMap IO Window
8MBSQLite Cache / Conn
6+Native AST Parsers

Deploy in Minutes

Xavier runs as a standalone daemon or background sidecar. Get up and running in your agent environment with four simple commands.

✓1. Install Rust 1.80+ Toolchain
✓2. cargo install --path . --locked
✓3. Set export XAVIER_TOKEN=your-token
✓4. xavier http — You are live on port 8006
build & launch

# Build optimized release binary

$ cargo build --release --features local-gllm

Compiling xavier-core v0.0.1

Compiling xavier v0.0.1

Finished release [optimized] in 38.4s


# Set auth & start unified HTTP/MCP daemon

$ export XAVIER_TOKEN=your-token-here

$ xavier http --port 8006

→ HTTP REST server running on http://127.0.0.1:8006

→ Native MCP server active on /mcp/sse

→ Xavier cognitive brain is ready. 🧠