Grit

Declarative code search and transformation tool for migrations, linting, and automated fixes.

Visit site

Overview

Grit provides GritQL, a declarative query language for searching and modifying source code. Code snippets can form queries, and patterns can be reused through a module system. The tool supports transformations across languages and formats, with auto-fix rules for migrations, custom linting, dependency upgrades, and code quality work.

Key features

  • Declarative code search with GritQL
  • Source-code transformation
  • Reusable pattern modules
  • Auto-fix rules
  • Support for multiple programming languages
  • Query optimization for large repositories

Use cases

Alternatives

  • CapyCloud coding-agent fleet for issue triage, code review, testing, and parallel engineering workai agent
  • ClineOpen-source coding agent available as an SDK, IDE extension, and command-line assistantai agent
  • ClippyOpen-source programming assistant that plans, writes, debugs, and tests codeai agent
  • Cody by SourcegraphAI coding assistant that uses code search and repository context to write, explain, and fix codeAI tool
  • ContinueOpen-source coding agent and developer tool for editor, terminal, and model workflowsAI tool
  • CursorAI coding agent and editor for writing, editing, and shipping software.ai agentFreemium

Last updated 2026-09-16