• Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools

Why GitHits

Let your agents use open source with confidence

Coding agents can inspect the code in your repository. But application behavior also comes from open-source frameworks, SDKs, libraries, and packages outside that repository.

GitHits gives software factories and individual coding agents one toolkit to discover packages, understand their code and documentation, learn from real-world usage, and evaluate dependencies and upgrades.

The tools answer different questions. When the agent needs to understand an API, it can search for a symbol or read the source. When it is evaluating a package, it can inspect its dependencies, license, and known vulnerabilities. When it is planning an upgrade, it can review what changed between releases. When it needs an implementation pattern, it can look at how open-source projects solved similar problems.

GitHits also keeps the version straight. When the agent specifies a package version or repository ref, GitHits searches the code and documentation for that target.

The agent keeps working in the same coding tool and keeps its view of your local repository. GitHits adds visibility into the open-source dependencies behind it. Together, they let the agent inspect the code it is changing and the code that change relies on.

Without GitHits

The agent sees your repository, but not the open-source code behind it.

The agent can inspect your application code. Dependency source, documentation, package data, vulnerabilities, and release history remain outside its view, so it has to search elsewhere or guess.

30%local repository visible

With GitHits

The agent can inspect the whole open-source code stack.

GitHits adds tools for dependency source, documentation, package data, vulnerabilities, changes, dependency graphs, upgrades, and prior art.

100%local repository + open-source dependencies visible

What developers say