Konig
Product · Developer tool by Zep
The high-scale graph data plane for enterprise agent context.
Konig is Zep's proprietary graph database service architected to serve millions of independent, temporal context graphs for AI agents. It provides sub-200ms retrieval latency and native data-layer governance for enterprise-scale agent memory and knowledge workloads.
Category: Database
- License
- Proprietary
- Retrieval Latency (p95)
- Sub-200ms
- Storage Tiers
- Hot (RAM), Warm (NVMe), Cold (Object Store)
- Graph Count Scale
- Millions of graphs
- Edge Timestamps
- 4 per edge
- Search Methods
- BFS, PageRank, Semantic, BM25, Pattern Matching
- Millions of governed graphs served in sub-200ms
- Tiered storage from microsecond RAM to object store
- Native ABAC and bi-temporal edges in the data layer
- Constant-time scaling from 1K to 10M+ graphs
Overview
Konig is Zep's proprietary graph database service designed as the data plane for high-scale AI agent context workloads. It is specifically architected to manage millions of small, independent, and temporal context graphs rather than the single large graph structure used by traditional databases. Konig utilizes a tiered storage system that ranges from microsecond-latency RAM for hot graphs to cost-optimized object storage for cold data. It provides native governance, including attribute-based access control (ABAC) and multi-tenant isolation, directly within the data layer. The system maintains near-constant retrieval latency as graph counts grow, sustaining thousands of mutations and queries per second. Konig powers Zep's Context Lake, enabling agents to retrieve up-to-date facts with full provenance and temporal history.
Architecture and Scale
- Multi-Graph Architecture: Konig is architected to manage millions of small, independent context graphs rather than one large graph.
- Tiered Storage Layer: The system utilizes a tiered storage layer including microsecond-latency RAM for hot graphs, local NVMe for warm graphs, and object storage for cold graphs.
- Constant-Time Scaling: Retrieval latency remains near-constant as the graph count grows, with p50 latency unchanged from a thousand graphs to a million.
- Graph Rehydration: Inactive graphs are evicted to NVMe and object storage and can be rehydrated in milliseconds.
Data Operations and Retrieval
- Typed API: The system provides a typed surface for mutations, traversals, graph algorithms, and lookups.
- Unified Retrieval: Konig supports unified retrieval across vector similarity, BM25, graph traversal, and pattern matching in one ranked answer.
- In-Memory Primitives: Graph algorithms such as BFS, PageRank, and path analysis run over compact in-memory structures.
- Bi-Temporal Edges: Every edge carries four timestamps to support point-in-time queries and automatic fact invalidation.
Governance and Durability
- Native ABAC: Attribute-based access control (ABAC) is native to the data layer, policy-gating every read and write.
- Durable WAL: Mutations are durably appended to a replicated, ordered write-ahead log (WAL) before acknowledgment.
- Multi-AZ Durability: Snapshots, indexes, and content persist on multi-AZ durable object and document stores.
Use cases
- Developers use Konig to serve millions of individual user memory graphs with microsecond-latency in-memory access.
- Enterprise teams deploy Konig to maintain bi-temporal facts that track how business decisions and user preferences change over time.
- Data engineers use Konig's tiered storage to manage costs by keeping only active agent context in expensive RAM.
- Security teams utilize Konig's native ABAC to enforce data access policies directly at the database level for AI agents.
Specifications
- License
- Proprietary
- Deployment
- Zep Cloud, Zep Cloud with BYOK, or VPC deployment (BYOC) on AWS, GCP, or Azure
- Retrieval Latency (p95)
- Sub-200ms
- Storage Tiers
- Hot (RAM), Warm (NVMe), Cold (Object Store)
- Graph Count Scale
- Millions of graphs
- Edge Timestamps
- 4 per edge
- Search Methods
- BFS, PageRank, Semantic, BM25, Pattern Matching
- Durability Architecture
- Replicated Write-Ahead Log (WAL) and Multi-AZ Object Store
- Access Control Type
- Native Attribute-Based Access Control (ABAC)
How it works
- Durable Write-Ahead Log: Mutations are durably appended to a replicated, ordered write-ahead log before acknowledgment.
- In-Memory Processing: Hot graphs are held as adjacency lists and CSR matrices in RAM for microsecond-latency operations.
- Tiered Eviction and Rehydration: Inactive graphs are evicted to NVMe or object storage and rehydrated in milliseconds when queried.
- Policy-Gated Access: Every read and write is policy-gated by native ABAC and multi-tenant isolation controls.
FAQ
How does Konig manage storage costs for millions of graphs?
Konig uses a tiered storage model where hot graphs live in RAM, warm graphs on local NVMe, and cold graphs on object storage. Cost tracks active graphs rather than total graphs.
How does Konig handle temporal data?
Every edge in Konig carries four timestamps (valid from/to, observed, and recorded), allowing for point-in-time queries and automatic invalidation of outdated facts.
What kind of workload is Konig optimized for?
Konig is designed for high aggregate throughput across millions of small graphs with sparse activity, maintaining near-constant retrieval latency as the graph count grows.
Does Konig support hybrid search?
Konig supports unified retrieval that combines vector similarity, BM25, graph traversal, and pattern matching into one ranked answer without a separate retrieval stack.
Added by AntSpace from public sources (getzep.com).