Weave is an entity-level semantic merge driver for Git that resolves conflicts by parsing code with tree-sitter, merging functions and classes instead of lines. It supports 28 languages and offers additional coordination and MCP server features for multi-agent workflows.
# weave — Merge without conflicts
Source: [https://ataraxy-labs.github.io/weave/](https://ataraxy-labs.github.io/weave/)
[weave](https://ataraxy-labs.github.io/weave/index.html)Entity\-level semantic merge driver for Git\. Two agents edit different functions in the same file? Clean merge\. Every time\.
```
# Two agents edited different functions
$ git merge feature-b
CONFLICT (content): Merge conflict in src/lib.ts
Automatic merge failed.
# Git sees overlapping lines.
# The functions don't actually overlap.
```
```
# Same merge, with weave configured
$ git merge feature-b
weave [src/lib.ts]:
2 entities matched, 2 modified, 0 conflicts
Merge made by the 'ort' strategy.
# Different functions = no conflict.
```
copied$brew install weave
## 31 out of 31\.
31 merge scenarios across 7 languages\.[Full breakdown →](https://ataraxy-labs.github.io/weave/benchmarks.html)
83real\-world wins
0regressions on C, Python, Go
4,917file merges tested
1,500\+downloads
## Three layers
Use just the merge driver\. Or add coordination for multi\-agent workflows\.[Full docs →](https://ataraxy-labs.github.io/weave/docs.html)
MERGE
### Merge Driver
Replaces git's line\-level merge\. Parses code with tree\-sitter, merges by function and class\.
COORDINATE
### CRDT State
Agents claim entities before editing\. Detect conflicts before they happen\.
CONNECT
### MCP Server
15 tools via Model Context Protocol\. Claude and other AI agents call them directly\.
## 28 languages
Entity extraction powered by[sem\-core](https://github.com/Ataraxy-Labs/sem)and tree\-sitter\. Plus 5 data formats\.[Full list →](https://ataraxy-labs.github.io/weave/docs.html#languages)
TypeScriptJavaScriptPythonGoRustJavaCC\+\+C\#RubyPHPSwiftKotlinElixirBashHCLFortranDartPerlOCamlScalaZigVueSvelteXMLERBJSONYAMLTOMLCSVMarkdown
## Try it\. 5 seconds\.
```
$ brew install weave
$ cd my-project && weave setup
✓ Merge driver configured
$ git merge feature-branch
Merge made by the 'ort' strategy.
```
ContextWeave is a new longitudinal benchmark that evaluates whether recalled memory improves downstream agent performance in realistic office-work streams, using privacy-preserved multi-month workflows of 14 participants to create 1,005 executable tasks.
Weave of Formal Thought (WoFT) introduces a sound and complete constrained decoder for code generation that guarantees syntactic validity relative to the full Tree-sitter specification, and a fine-tuning method that trains models to interleave grammar symbols using reweighted wake-sleep, improving perplexity on Python code generation.