Beside Git, compared
The diff is not the change.
Git hosts files and preserves history everywhere software ships. It records code as flat text lines, so architectural relationships stay implicit. Kin runs beside Git to track the actual dependencies, keeping agents and reviewers aligned on reality. Kin is an early alpha, and open source under Apache-2.0.
The core thesis
Why flat diffs limit AI
When an agent receives only a flat diff, it can't determine if a changed parameter broke 3 callers, 10 callers, or none. It has to blindly search files or guess imports. Kin solves this by providing a standing, queryable graph.
Line-based and graph-backed, side by side
Line-based Git
Git parses files byte-by-byte. A diff tells you that line 12 inside utils.go was modified. It has no native concept that this line represents a function ParsePayload(), nor does it know what files call this function. The system relies on developers or agents running global compilation or full-workspace searches to trace connections.
Semantic-graph Kin
Kin indexes abstract syntax trees (ASTs) to preserve codebase topology. When a change occurs, Kin maps it to a named entity ParsePayload() and immediately traces all caller nodes. Your agent doesn't need to read hundreds of irrelevant files to find what broke; Kin packages the exact dependencies and serves them cleanly over MCP.
Architecture Matrix
Kin and Git, axis by axis
Review how line-based Git compares directly with the semantic capabilities of Kin across five core architectural dimensions.
Swipe sideways to compare
| Comparison Axis | Git (Line-Based Diff) | Kin (Semantic Graph) |
|---|---|---|
| Canonical Authority The underlying system of record | Files and commits are the only truth. Relationships are implicit and must be parsed out of the file tree on every run. | The semantic dependency graph is the durable authority. Code files and Git histories are projected as compatible views from this graph. |
| Context Retrieval Finding relevant dependencies | Manual file searching, simple grep, or static LSP indexing. No awareness of semantic consequence or multi-hop dependencies. | Graph-backed trace, locate, and context-pack retrieval. Pulls exact multi-hop dependent entities from the standing graph. |
| Agent Hallucinations Mitigating agent API errors | High risk. Agents lack visibility into downstream impact, prompting blind changes to out-of-context signatures or APIs. | The graph keeps explicit entity boundaries and relationship traces, and agents and reviewers get strict evidence. |
| Multi-Agent Merges Merging concurrent modifications | Textual merge conflicts are common and hard to resolve for agents. No semantic merge verification. | Graph-native branches, transactions, and merges that compose by entity, relation, and artifact identity rather than by line. A conflict is reported against the exact identity that diverged. |
| Tool Coexistence Integration with existing pipelines | Universal standard, but limits developer tools to line-based changes. | Coexists beside Git, CI/CD, and existing dev environments. Exposes local graph tools via MCP for any AI client (Cursor, Claude, Codex). |
Click on any comparison row to expand technical details and architecture breakdowns.