Show HN: Lain, a structural code graph and agent coordinator for coding agents LAIN, a new structural code intelligence and coordination engine for AI coding agents, launched on Hacker News' Show HN, indexing codebases into an in-memory typed property graph via Tree-sitter, language servers, and Git commit history. LAIN exposes deterministic tools over the Model Context Protocol (MCP) — including get_blast_radius, get_call_chain, trace_dependency, and get_coupling_radar — to agents such as Claude Code, Cursor, Copilot, Codex, Agy, Cline, and Windsurf, and serves them over stdio or HTTP on port 9999 using JSON-RPC and SSE. The engine persists its graph to .lain/graph.bin with UUID v5 identifiers and tracks agent sessions and file claims through advisory presence registries to prevent overlapping edits. Structural Code Intelligence & Multi-Agent Coordination for AI Assistants. Give your coding agents an in-memory graph brain instead of making them guess from flat text. LAIN is a persistent, high-performance code intelligence and coordination engine built specifically for AI coding agents Claude Code, Cursor, Copilot, Codex, Agy, Cline, Windsurf, etc. over the Model Context Protocol MCP . Instead of treating code as unstructured flat text or relying on fuzzy keyword searches, LAIN indexes your codebase into an in-memory, typed structural property graph using Tree-sitter, language servers, and Git commit history . It then exposes a rich suite of deterministic MCP tools that allow AI agents to navigate, reason about, and modify complex codebases without hallucinations, blind edits, or context-window waste. - Instant Answers : Federation overview, repo health, and call graphs answered in milliseconds. - Hot Reload : Edit repos.yaml or workspaces.yaml ; the server updates live without dropping a single active MCP session. - Interactive Tool Console : Exercise any MCP tool directly from the web browser; Copy as cURL gives agents and operators instant reproducibility. Note The demo is kept as a single GIF so it plays inline without storing duplicate video encodings in the repository. flowchart TB subgraph Clients "AI Agents & Developers" A "AI Coding Agent