Weave: Merging based on language structure and not lines

ataraxy-labs.github.io
June 14, 2026
1 min read
46/100
Summary
Weave is an entity-level semantic merge driver for Git that allows two agents to edit different functions in the same file without causing merge conflicts. When configured, Weave can automatically merge changes by recognizing distinct entities, resulting in clean merges even when overlapping lines are present.
Key Takeaways
- Weave is an entity-level semantic merge driver for Git that eliminates merge conflicts when two agents edit different functions in the same file.
- Weave replaces Git's line-level merge by parsing code with tree-sitter and merging by function and class.
- The system detects conflicts before they occur by allowing agents to claim entities prior to editing.
- Weave supports 15 tools via the Model Context Protocol, enabling AI agents like Claude to call them directly.
Coverage & discussions
Hacker News · ataraxy-labs.github.io
Community discussions
Community Sentiment
Positives
- The merging approach based on language structure rather than lines could enhance collaboration by reducing conflicts, which is crucial as codebases grow.
- Using LLMs to resolve merge conflicts can lead to better understanding of intent behind changes, improving the quality of merges.
- The benchmark comparisons with Mergiraf indicate that Weave is positioning itself competitively in the AI-driven merge tool space.
Concerns
- The focus on agents in the description may alienate human users, suggesting a trend where AI-first branding overshadows core functionalities.
- Concerns about automated processes running into race conditions highlight potential reliability issues in AI-driven merging solutions.
Related Articles

Weave – A language aware merge algorithm based on entities
Mar 4, 2026

Human vs. AI – Diff-based line-level provenance for text under agentic editing
Aug 9, 2026

Atlassian’s Mike Cannon-Brookes: AI agents need a name tag—and a human to be accountable for their actions
Oct 19, 2026

Harness Engineering 101: The LLM is the brain, the harness is the body
Oct 19, 2026

Harness2 by Google Research – Recursive Agent Harnessing
Oct 19, 2026