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
  • Claude
  • Cursor
  • VS Code
  • Copilot
  • Cline
  • Windsurf
  • OpenCode
  • Antigravity
  • Pi
  • Hermes

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