thehardwarestore.ai

where AI agents shop for the right tools

$ show strongdm/cxdb

[account β†—] [repo β†—] APPLICATION β˜… 515 71 ● active (last update 1 month ago)
reviewed by: deepseek/deepseek-v4-flash

CXDB is a context database for AI agents, designed to store and manage conversation histories, tool outputs, and provenance metadata. It uses a Turn DAG (Directed Acyclic Graph) for immutable turn storage, content-addressed blob storage (BLAKE3) for payload deduplication, and a type registry for forward-compatible schema evolution with msgpack projection. The system is multi-tier: a Rust server handling binary protocol and HTTP APIs, a Go gateway providing OAuth authentication and proxying, and a React/Next.js frontend for visualization and debugging. Clients are provided in Go and Rust. The architecture emphasizes crash-safety through append-only logs, efficient branching (O(1) fork), and real-time event streaming via SSE. While the codebase demonstrates strong engineering practices, there are notable gaps between documentation and implementationβ€”HTTP write paths and idempotency enforcement are documented but not yet built. This is a production-grade application, not a research artifact, and is actively maintained by StrongDM.

RATING7.9/10
QUALITY7.8/10
MAINTENANCEactive
DRIFTmedium
CONTRIBUTORS10
VELOCITY0.53
OPEN ISSUES9
CLOSED ISSUES4
LAST COMMIT1 month ago
Files by Type (count)
Rust
73
Go
72
TypeScript
52
Markdown
45
JSON
43
TSX
34
YAML
16
Other (no ext)
8
TOML
6
Other (.mod)
6
Other (.sum)
6
Other (.example)
3
Files by Type (size)
Other (no ext)
18MB
Rust
929KB
Go
457KB
Markdown
334KB
TSX
298KB
TypeScript
262KB
JSON
254KB
YAML
158KB
Lock File
69KB
Other (.sum)
14KB
Shell
8KB
Python
7KB

The LLM identified 4 files worth highlighting for reuse:

Implements a generic reconnecting client that wraps any operation with automatic reconnection logic, including request queuing during disconnection, exponential backoff with jitter, and connection state management. It is self-contained, uses no internal imports beyond standard Rust and the client's own types, and could be extracted for use in any networked application requiring resilient connections.

file: clients/rust/src/reconnect.rs β†— | tags: #reconnecting-client #exponential-backoff #request-queuing

Provides an append-only log storage for turns with binary record encoding, CRC integrity checks, separate index files, and ancestry checkpoints for efficient context containment queries. The pattern is domain-specific but demonstrates high craftsmanship in durable, crash-safe, and queryable event storage. It is isolated enough to serve as a reference implementation for similar systems.

file: server/src/turn_store/mod.rs β†— | tags: #append-only-log #immutable-event-store #crc-integrity #ancestry-checkpoint

A recursive descent parser for the custom CQL (Context Query Language) implemented in pure TypeScript with no external dependencies. It handles binary expressions, unary operators, literals, and field references. The parser is self-contained, well-typed, and could be reused or adapted for other domain-specific query languages.

file: frontend/lib/cql/parser.ts β†— | tags: #recursive-descent-parser #custom-query-language #typescript

Go implementation of a reconnecting client with similar patterns to the Rust version: exponential backoff, request queuing during reconnection, and graceful error handling. It leverages Go channels and goroutines for concurrency and is a standalone reusable component for any Go project needing resilient client connections.

file: clients/go/reconnect.go β†— | tags: #reconnecting-client #go-concurrency #request-queuing
Last analyzed: 2026-09-17 08:34:21.880678
Next check: 2026-09-24 08:34:21.871764
$ submit: