Warming up

All projects

Beacon

Orders and streams state events from large autonomous-agent swarms.

Year
2026
Status
In progress
Stack
Python, FastAPI, React, Vite, Redpanda, SQLite, Prometheus
PythonFastAPIReactViteRedpandaSQLitePrometheus

Context

Beacon is designed as the telemetry and event pipeline for autonomous AI agent operating systems.

The problem

Large agent swarms emit concurrent, out-of-order state events that can overwhelm databases and hide live system state.

Architecture

HTTP gateways publish events to keyed Kafka partitions, a live broadcaster pushes through WebSockets, an archiver batches SQLite writes, and Watchtower exposes health and Prometheus metrics.

Decisions and trade-offs

Agent ID partition keys
Kafka ordering is preserved per agent at the cost of uneven partition load.
Separate live and archival consumers
The broadcaster serves live dashboard data while the archiver batches database writes, reducing database pressure.

Implementation

Round-robin load balancing, runtime gateway registration, Kafka ingestion, WebSocket delivery, batched SQLite commits, service health polling, metrics, and event simulation.

Outcomes and lessons

6 GitHub stars.