Self-Improving Society — executable LOC

Code only · excludes docs/, whitepaper/, data/, node_modules/, graphify-out/ · 2026-06-29
118,045
Executable LOC
461
Code files
19.2%
HTTP services share
2.6%
MCP services share

LOC by architectural layer

118,045LOCHTTP services (19%)Frontend (apps) (12%)Tools & smoke (66%)MCP services (3%)Agents runtime (0%)Infrastructure (0%)

HTTP vs MCP vs frontend vs tools vs runtime · unit: LOC

LOC by language

118,045LOCPython (72%)TS/TSX (9%)Shell (6%)CSS (3%)SQL (0%)HTML (9%)

Python ~72% of executable code · excludes Markdown/config

Language mix (executable)

Python 71.9%118,045 LOC · 461 files

Top packages (LOC)

graph ui13,941telemetry11,358evaluator4,221cli3,920smoke3,393chat3,347fleet manager2,000agents host1,240artifacts777rag754skills577governance530facts337audio280ros2175vision161agents runtime37

Y-axis: package · X-axis: lines · includes apps, tools and services

Density — average LOC per file

Frontend (apps)774Tools & smoke276HTTP services220MCP services77Agents runtime37Infrastructure32

Y-axis: layer · X-axis: average LOC per file · frontend has the densest files

HTTP services (FastAPI containers)

05,67911,35811,358telemetry4,221evaluator3,347chat2,000fleet manager530governance

22,696 LOC · 19.2% of executable

MCP services (stdio via agents-host)

0388777777artifacts754rag577skills337facts280audio175ros2161vision

3,061 LOC · compact packages (<500 LOC each)

Summary

~118k executable LOC across 461 files. graph ui and telemetry account for ~21%. HTTP services total 22k LOC; MCP services 3k across 7 packages. Tools & smoke (77k LOC) are mostly integration scripts.