SuperAPIAI Directory

osnova

github.com · AI coding

Deterministic code map for AI coding agents: a tree-sitter symbol and call graph with exact file:line callers and callees, the evidence behind each edge, diff impact and test discovery across 20 languages.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

Purpose: To provide AI coding agents with a reliable structured basis before modifying code, indexing the repository into symbols and a call graph, and answering questions such as "who calls this definition" and "which dependencies will be affected by a change."

Main capabilities: Builds a call graph based on tree-sitter, outputs precise file:line callers and callees, and provides evidence for each edge (import bindings, same-file definitions, re-export chains, recognized receivers); calls that cannot be resolved are listed separately with reasons. Supports 20 languages, with deep adaptation for TypeScript, JavaScript, Python, Go, Rust, Java, and C#. Provides diff impact analysis (osnova settle --base-ref) and test discovery. Deterministic results: the same input produces byte-for-byte identical output.

Usage: Requires Node.js 22.13 or later. Global installation: npm install -g @getdomovoi/osnova. Can be integrated with any MCP client, or use CLI subcommands such as osnova build <root>, osnova warp <symbol>, osnova settle --base-ref <ref>, as well as coverage, check, doctor, setup, mcp. osnova setup claude configures Claude Code, osnova setup agents configures clients that read AGENTS.md (Codex, OpenCode, Kilo, Pi, Cursor); adding --apply is required to write and back up. MCP entries can also be added manually; when there is no global installation, use npx -y @getdomovoi/osnova.

Applicable scenarios: When AI coding agents need precise call relationships, impact scope, or test scope before editing code; for teams that want results to be explainable, reproducible, and free of network dependencies.

Limitations: Does not perform type inference or dynamic dispatch; edges come from syntax (direct calls, imports, name references, declared inheritance, framework routing), and resolution is heuristic; does not build a complete routing table; osnova_ground is lexical sorting and does not perform semantic search; an empty caller list does not mean there are no callers; currently, on small tasks, agent correctness is on par with no graph, and benchmarks to distinguish the two are still in progress.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools