Description
Weave is an entity-level git merge driver. Git merges files line by line, so two changes to different functions in the same file can still be reported as a conflict. Weave parses the base, ours and theirs versions into functions, classes and keys using tree-sitter, matches entities across the versions by name, type and scope, including renames, and merges at that level. Independent changes to different entities merge automatically. When both sides change the same entity, Weave tries an intra-entity merge and reports a conflict only when the edits are truly incompatible. If one side modifies an entity and the other deletes it, that is flagged as a conflict. The project reports about a 95 percent reduction in conflicts compared with line-based merge, and it is aimed at teams where several AI agents edit the same codebase. The weave command line includes a land command that merges code and can integrate and publish the result, with optional verify commands or a sem check on the final tree. An MCP server is included for agent frameworks. The code is public on GitHub.…
Highlights
- Entity-level three-way merge for functions, classes and keys
- Automatic merge when different entities change
- Renames tracked when matching entities across versions
- weave land command with verify and sem checks
- MCP server for agent frameworks
Ratings & Reviews
No ratings yet
Be the first to rate Weave.
People also visit

resolve-merge-conflicts
Resolve Git merge conflicts by extracting only unresolved paths, conflict hunks
Weave FAQ
What problem does Weave solve?
Git reports a conflict when two branches touch the same lines, even if they change different functions. Weave merges at the level of functions, classes and keys, so those changes can merge cleanly.
How is it different from git merge?
Git compares lines. Weave compares the base, ours and theirs versions as entities and matches them by name, type and scope.
What happens with a real conflict?
When one side modifies an entity and the other deletes it, Weave flags a conflict instead of guessing. Edits to the same entity are merged where they are compatible.
How do I start?
Follow the quickstart in the README. Setup can be global or local. Then use weave land, adding --onto to integrate and publish.
Does it work with AI agents?
Yes. It is built for cases where several agents edit one file, and it includes an MCP server for agent frameworks.
Which code formats does it parse?
It parses code with tree-sitter and also handles JSON keys, so it works beyond plain source files.
Is it open source?
The source is on GitHub under the Ataraxy-Labs organization.
What are the best Weave alternatives?
Popular alternatives to Weave include Foremerge, Mainline and GitWand. See all Weave alternatives







