Data Models
Postgres and ClickHouse schemas, trace contracts, and persistence architecture.
Explore data models →Core concepts and architecture of Nexus
This section explains how Nexus works under the hood — the architecture, design decisions, and core concepts that power a secure, auditable AI gateway.
Contributors, security engineers, operators, and technical decision-makers who need to understand Nexus system design, component interactions, and architectural tradeoffs.
Nexus is built as Rust microservices on an open-source data plane (Postgres, ClickHouse, S3-compatible storage, NATS, Redis):
Data Models
Postgres and ClickHouse schemas, trace contracts, and persistence architecture.
Explore data models →Tracing and Auditing
How Nexus separates audit accountability, analytics metadata, and opt-in trace payloads.
Learn tracing →Architecture Decisions
Key technical decisions including Rust microservices, OpenAI-compatible API, tamper-evident audit, and event messaging.
Read the ADRs →Artifact Storage
OpenAI-compatible file and vector-store lifecycle with pgvector and object storage.
See artifact storage →