Beagle SCM: A Source Code Management System That Stores AST Trees

What Beagle SCM Does
Beagle is a source code management system that stores AST (abstract syntax tree) structures rather than binary blobs. The system functions as a database hub for code-related activities, storing not just source files but also related data like tickets and CI results.
Technical Implementation
The system uses BASON (binary JSON) as its data format, which is described as "CRDT-ish" for conflict-free merging. For storage, Beagle supports virtually any key-value database, with RocksDB being the current implementation.
Current Status and Usage
Beagle is in early experimental stage and hosts itself. The documentation explicitly states: "The rest is not guaranteed. Use at your own risk."
Practical Usage Examples
From the README, here are specific commands and workflows:
- Initial project posting:
$ be post //replicated.live/@gritzko/librdx - Local storage location:
$HOME/.bewhen no protocol specified - Inspecting RocksDB:
$ ls $HOME/.be/replicated.live/ - Checking repository state:
$ cat .beshows details like//replicated.live/@gritzko/librdx - Getting a repository:
$ be get //replicated.live/@gritzko/librdx
The be repo command displays structured information including:
- Repository:
replicated.live - Project path:
/@gritzko/librdx - Branches:
*main - Base files count:
574 - Waypoints:
0
File Structure and Components
The codebase includes multiple C files for different components:
BE.c,BE.h- Core functionalityBE.cli.c- Command-line interfaceBE.http.c- HTTP serverBESRV.c,BESRV.h- Server componentsBESYNC.c,BESYNC.h- SynchronizationGREP.c,IGNO.c,VER.c- Additional utilities
The project includes documentation files covering CLI usage, HTTP interface, storage model, and design rationale.
📖 Read the full source: HN LLM Tools
👀 See Also

Benchmark Shows CLI Tool Reduces Claude Code Token Costs by 32% Through Structural Navigation
A developer built a Rust CLI tool that gives Claude Code agents structural navigation commands like 'show me a 180-token summary of this 6,000-token class.' Benchmarking on Sonnet 4.6 across 54 automated runs showed 32% lower cost per task and 67% more code edits per session.

RepoLens: Interactive Local Codebase Packer and Token Optimizer (TUI/CLI) in Go
RepoLens is a zero-dependency Go tool that packs repos into LLM context with a TUI file explorer, live token counter, comment stripping, secret scanner, and token-based file splitting.

Claude Code Skill Converts Stitch Designs to Next.js with Zero Pixel Drift
A Claude Code skill converts Google Stitch AI designs to Next.js components with mandatory verification checkpoints to prevent pixel drift, preserving exact values and handling assets.

Managing Multiple AI Agent Tasks with Kanban Boards
A developer shares their experience running multiple Claude AI agents in terminal tabs and identifies three key workflow challenges: lack of progress visibility, context loss when switching between tasks, and rate limit interruptions. Their solution involves treating AI tasks like work items on a Kanban board.