Weave: Merging based on language structure and not lines

Hacker News Top Tools

Summary

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.

No content available
Original Article
View Cached Full Text

Cached at: 06/14/26, 07:37 AM

# 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. ```

Similar Articles

Weavable

Product Hunt

Weavable is a new product launch providing persistent work context for AI agents.

Noteweave

Product Hunt

Noteweave is a newly launched AI-powered productivity tool designed to transform research and insights into actionable production plans rapidly.

@wsl8297: Found an AI programming management tool for teams on GitHub: Trellis. It solves the core pain point of multi-developer AI collaboration—inconsistent project information seen by each developer and AI tool. It takes the long system prompts that were stuffed into CLAUDE.md, AGENTS.md, or .cursorr…

X AI KOLs Timeline

Trellis is an AI programming management tool for teams. It solves the problem of inconsistent project information among AI tools in multi-developer collaboration by structuring spec, task, workflow, and journal. It supports managing multiple AI agents simultaneously and automatically synchronizing project memory.