SuperAPI AI Directory

kin

Graph-native code repository that shows what a code change might affect before you make it.

Open website

About this tool

Purpose: Kin is a graph-native code repository, aimed at AI coding agents and their developers. It stores source code, recorded code relationships, and versioned history as repository state; the graph itself is the repository model, rather than building a separate search index.

Main capabilities: Functions, types, and their interrelationships are data that can be committed, branched, and merged; source code is preserved byte-exactly, and a filesystem projection is provided so that supported tools can continue to work with ordinary files. The CLI and MCP server query the same graph, so humans and agents work from the same record. Refs can be used to query recorded references, trace brings in nearby context, and impact explores potential effects through the graph; kin overview, kin status, and kin graph status respectively show imported entities, accepted content and working tree status, and the daemon's live query graph and coverage. kin agent run is also provided for local or hosted OpenAI-compatible model endpoints.

Usage: Node.js 20 or higher is required. On macOS, Linux, and WSL2, a single command installs it and connects the AI coding tools it discovers; machines without Node can run the install script, with get.kinlab.ai and get.kinlab.dev providing the same script; after installation, the shell must be reloaded with a separate command, because kin is placed in ~/.kin/bin and written to the shell configuration. Native Windows x64 can be installed with PowerShell, but it will not connect AI tools, and WSL2 remains the recommended path on Windows; no native Windows ARM64 build has been released. Then run kin init in a fresh full clone familiar with the project; it reads Git history but does not modify history or tracked files, storage is placed in ~/.kin/stores, and nothing is written to the repository; by default it first accepts the checked-out commit, then imports every commit reachable from branches and tags in the background at low priority, --history full imports all history in advance, and --history none never imports.

Applicable scenarios and limitations: It is suitable for viewing recorded callers and related code before changing a shared function, and it also supports comparing a specified commit SHA with main, returning advisory reports of PASS, NEEDS ATTENTION, or WOULD BLOCKreports, does not block merges or change graph state, and authorship is a declaration rather than independent verification. Kin has its own commits, branches, merges, diffs, and history, can also be used for repositories without Git, and supports importing existing Git repositories and exporting new Git repositories. Limitations include: language coverage is incomplete, and empty results cannot prove that there are no callers or dependencies; shallow clones only accept the checked-out commit, submodules and Git LFS are not supported, and Git hooks, sparse checkouts, or unfinished merges/rebases will also prevent import; release archives do not include the deprecated kin-vfs filesystem projection; Kin-only state must first be backed up with kin backup create, and kin store prune deletes only when --yes is passed; native Windows support is early, transparent filesystem projection has not been released, and the review workflow has not yet been tested. Kin is not published on crates.io; the kin crate there is an unrelated project. Kin and its local stack (including kin-db) are Apache-2.0, and KinLab is a separate proprietary hosted product. It is currently a public beta, and the official notice says there may be rough edges.