Documentation Index
Fetch the complete documentation index at: https://astron-bb4261fd.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
System Diagram
Multi-Repo Structure
| Repository | Role | Language |
|---|---|---|
z3rno-core | Shared library — engine, models, graph, temporal, security | Python |
z3rno-server | HTTP API service — imports z3rno-core, exposes REST endpoints | Python (FastAPI) |
z3rno-sdk-python | Client SDK for Python applications | Python |
z3rno-sdk-typescript | Client SDK for TypeScript/Node applications | TypeScript |
z3rno-mcp | MCP server wrapping the Python SDK for Claude/Cursor | Python |
z3rno-helm | Kubernetes Helm chart for production deployments | YAML |
z3rno-docs | This documentation site (Mintlify) | MDX |
Dependency Flow
Database Layer
Z3rno uses PostgreSQL 17 as its single data store, extended with:- pgvector — 1536-dimensional embeddings with HNSW indexing for fast ANN search
- Apache AGE — Cypher-based graph queries for relationship traversal between memories
- pg_cron — Background jobs for TTL expiration, importance decay, and maintenance
Schema Highlights
Key Design Decisions
Row-Level Security for Multi-Tenancy
Every query is scoped to atenant_id via PostgreSQL RLS policies. Tenants cannot access each other’s data even with raw SQL access:
HNSW for Vector Search
Chosen over IVFFlat for its superior recall at low latency. No training step required — indexes update incrementally as memories are stored.SCD Type 2 for Temporal Versioning
Memories are never overwritten. Updates create new versions withvalid_from/valid_to timestamps, enabling point-in-time recall:
Soft Delete + GDPR Hard Delete
Default deletion setsdeleted_at (recoverable). GDPR erasure permanently removes data including embeddings and audit references.