explaingit

polarityinc/zenith

Analysis updated 2026-05-18

109RustAudience · developerComplexity · 4/5Setup · moderate

TLDR

An open-source database purpose-built for storing and querying the detailed execution logs of AI agents.

Mindmap

mindmap
  root((ZenithDB))
    What it does
      Stores AI agent traces
      Columnar storage engine
      Fast analytical queries
    Tech stack
      Rust
      SQL
      Postgres
      gRPC
    Use cases
      Debug agent runs
      Analyze trace history
      Search trace text
    Audience
      ML engineers
      Backend developers
      Ops teams

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Store and query long, loosely structured AI agent execution traces.

USE CASE 2

Run analytical queries over bursty, large-text agent trace data.

USE CASE 3

Deploy a production trace database backed by Postgres and cloud object storage.

What is it built with?

RustSQLPostgresgRPCHTTP

How does it compare?

polarityinc/zenithyarlabs/hyperspace-dbazw413/ternos
Stars109113103
LanguageRustRustRust
Last pushed2026-03-19
MaintenanceMaintained
Setup difficultymoderatehardmoderate
Complexity4/55/54/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Development mode starts in seconds, production deployment needs Postgres and object storage.

Open source, the explanation does not state a specific license type.

In plain English

ZenithDB is an open-source database built specifically for storing and querying AI agent execution traces, the detailed logs of everything an AI agent does during a task. When an agent runs, it generates long sequences of events: model calls, tool invocations, intermediate results, errors, and metadata. Existing observability databases (designed for tracking web requests and server performance) are not a good fit for this data because AI agent traces are much longer, more loosely structured, and have very different query patterns. ZenithDB addresses this with a columnar storage engine (a database design that stores data column by column rather than row by row, which makes analytical queries much faster) optimized for several specific properties of agent trace data: the traces are long and sparse, they contain large text fields, they often have late-arriving annotations added after the fact, and they arrive in bursts. Key design decisions include grouping all spans (individual events) from one trace into the same storage chunk for efficient retrieval, never loading unused columns during queries, and embedding a full-text search capability directly inside the storage segments. The database accepts data in standard observability formats and can be queried using SQL. It runs as an HTTP and gRPC server, starts in seconds with no external dependencies for development, and supports production deployments backed by Postgres and cloud object storage. A web dashboard is also included. The project is currently in alpha, the engine is feature-complete but the storage format may still change before version 1.0.

Copy-paste prompts

Prompt 1
Help me start ZenithDB locally with no external dependencies for development.
Prompt 2
Explain how ZenithDB's columnar storage speeds up queries over agent trace data.
Prompt 3
Show me how to deploy ZenithDB in production with Postgres and object storage.
Prompt 4
Walk me through querying agent traces stored in ZenithDB using SQL.

Frequently asked questions

What is zenith?

An open-source database purpose-built for storing and querying the detailed execution logs of AI agents.

What language is zenith written in?

Mainly Rust. The stack also includes Rust, SQL, Postgres.

What license does zenith use?

Open source, the explanation does not state a specific license type.

How hard is zenith to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is zenith for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.