[Canonical HTML page](https://githits.com/the-solution/)

The Solution

# Your agent can read your repo. GitHits lets it inspect the packages behind it.

GitHits is the code context layer for AI coding agents. It gives agents access to public open-source code, documentation, and package data outside their local repository.

A GitHits query identifies a package, repository, version, or ref. For a fixed version, GitHits maps it to a source commit and retrieves the code and documentation attached to that version.

When an agent reaches an unfamiliar API or dependency behavior, it can query GitHits from the coding tool it already uses. It can search for a symbol, read an exact file, inspect release changes, or find prior art in other public projects.

The results include the package version, repository, and source location. The agent can check what the dependency does instead of relying on a remembered API or documentation for another release.

GitHits complements the agent’s access to your local repository. It provides public open-source context without requiring access to your private source.

### AI agents / tools

* ![Codex](/_astro/Codex.BGj1gqAD_Z1C4Wjk.svg)
* ![Claude](/_astro/Claude.CgAyQzuD_Z1C4Wjk.svg)
* ![Cursor](/_astro/Cursor.CLSulx87_Z1C4Wjk.svg)
* ![VS Code](/_astro/VSCode.C0WN5G2Q_Z1C4Wjk.svg)
* ![Copilot](/_astro/Copilot.C_9BQo1f_Z1C4Wjk.svg)
* ![Cline](/_astro/Cline.CscZrAav_Z1C4Wjk.svg)
* ![Windsurf](/_astro/Windsurf.D5dcfBXZ_Z1C4Wjk.svg)
* ![OpenCode](/_astro/OpenCode.D5cLoLbA_Z1C4Wjk.svg)
* ![Antigravity](/_astro/Antigravity.Cex0ufep_Z1C4Wjk.svg)
* ![Pi](/_astro/Pi.C5qyEQwf_Z1C4Wjk.svg)
* ![Hermes](/_astro/Hermes.uHWLTOXE_Z1C4Wjk.svg)

![GitHits](/_astro/GH-Wordmark-Gradient.BivilCLS_Z2jrrXv.svg)

The code context layer for AI coding agents

* #### Code Navigation

  Search, grep, list files, and read exact line ranges across packages and repos.

* #### Documentation Access

  Read hosted and repository documentation for a specific version.

* #### Package Inspection

  Dependencies, versions, vulnerabilities, changelogs, and upgrade changes.

* #### Dependency Graph

  Relationships and transitive dependencies across packages and versions.

* #### Examples

  Prior art and implementation patterns from public repositories, issues, discussions, and pull requests.

GitHits Index(version-aware)

* #### Code

  Files, symbols, AST, imports, exports

* #### Versions

  Version history and changes

* #### Docs

  Markdown, MDX, HTML

* #### Graph

  Dependencies, imports, call relationships

* #### Security

  Vulnerabilities, CVEs, advisories

* #### Changes

  Changelogs, release notes, diffs

### Supported sources & registries

* GitHub
* Docs Sites
* npm
* PyPI
* Hex.pm
* crates.io
* vcpkg
* Zig
* NuGet
* Maven Central
* Packagist
* RubyGems
* Go
* Swift

> Query GitHits > inspect the evidence > make the change

Keep exploring

* [Why GitHits](/why-githits.md)
* [FAQ](/faq.md)
* [Documentation](https://docs.githits.com/)
