qmetrics.net

weave

Entity-level semantic Git merge driver for code

weave screenshot

Weave is a Git merge driver that merges functions and classes instead of raw lines. It targets false conflicts when independent edits land in the same file, including multi-agent workflows.

Overview

Weave replaces line-based three-way merge with entity-level merge for supported files. It parses base, ours, and theirs with tree-sitter, matches functions, classes, and similar units by identity, and merges at that granularity so unrelated edits in one file often resolve without manual conflict markers.

When both sides change the same entity incompatibly, or one side deletes what the other modifies, Weave still reports a conflict but labels the entity involved. CLI commands cover setup, explaining conflicts, and checking resolutions after edits. Configuration can be per repository or global via git attributes generated from Weave’s language registry.

Dozens of programming languages and structured formats are supported, with a line-level fallback where no grammar applies. The tool ships as two binaries: weave for user commands and weave-driver for Git invocation during merges. An optional MCP server exposes weave commands to coding agents, and a separate CRDT coordination layer exists for live multi-agent editing before changes reach Git.

Install paths include package managers such as Homebrew and building from Rust sources. After weave setup in a repository, ordinary git merge uses the driver for claimed file types.

Key features

  • Tree-sitter entity-level three-way merge
  • Git merge-driver integration
  • Conflict context by function or class
  • explain and check CLI helpers
  • Global or per-repo setup
  • Wide multi-language format support
  • Optional MCP server for agents
  • Falls back to line merge when needed

Use cases

  • Merging parallel AI agent edits
  • Reducing false Git merge conflicts
  • Multi-developer edits in one file
  • Agent-driven merge workflows via MCP

Tags

Similar software

GitHub MCP Server

Official MCP bridge to GitHub for AI tools

GitHub MCP Server connects compatible AI hosts to GitHub so agents can read repos, manage issues and pull requests, inspect Actions, and run other API-backed workflows via natural language.

★ 34.8k⟳ todayMIT
AI Assisted CodingSelf-hostable

PR-Agent

AI agent for pull request review

PR-Agent describes, reviews, and improves pull requests using configurable LLMs. It runs from PR comments, CI, webhooks, Docker, or the command line.

★ 16.7k⟳ todayMIT
AI Assisted CodingMaintenance modeSelf-hostable
Open Source Alternative to:CodeRabbitGreptile

Gitingest

Git repositories as LLM-friendly text digests

Gitingest turns a GitHub URL or local tree into a formatted text dump suited for LLM prompts. It offers a public site, CLI, Python import, browser extensions, and optional Docker hosting.

★ 16.2k⟳ 1 year agoMIT
AI Assisted CodingDesktop/CLI app

Worktrunk

Git worktree CLI for parallel agent workflows

Worktrunk is a command-line tool that simplifies Git worktrees for parallel AI coding agents, with switch, list, merge, and remove commands plus workflow automation.

★ 12.8k⟳ yesterdayApache-2.0
AI Assisted CodingDesktop/CLI app

Kodus

Self-hosted AI pull request code review platform

Kodus uses your chosen LLM to review pull requests on major Git hosts, with optional self-hosting via Docker and a CLI for local or pipeline runs.

★ 1.7k⟳ todayAGPL-3.0 · open core
AI Assisted CodingSelf-hostable
Open Source Alternative to:CodeRabbit

Superpowers

Agent skills methodology for disciplined coding

Superpowers adds composable skills and bootstrap instructions so coding agents brainstorm specs, plan in small tasks, follow test-driven development, and review work. Plugins install into many agent marketplaces and CLIs.

★ 328.1k⟳ 24 days agoMIT