Skip to main content

Hippos

中文文档

Hippos is a code repository indexing, navigation, and structure-analysis toolkit. It turns a repository into LLM-friendly artifacts: source signatures, repository trees, a unified code index, structure prompts, navigation snippets, snapshots, diffs, statistics, and an interactive HTML visualization.

The public identity is hippos end to end. Any remaining hippocampus names in early refactor builds are migration-only details, not stable API names for new integrations.

Features

  • Repository code maps for fast human and LLM onboarding.
  • Source signature extraction across supported languages through tree-sitter.
  • Unified Hippos index with files, modules, tags, and dependency-oriented summaries.
  • Structure prompt rendering in map, deep, or automatic profiles.
  • Incremental refresh that reuses caches and updates only changed work where possible.
  • Search, expand, overview, stats, snapshot, and diff commands for codebase navigation.
  • Interactive HTML visualization generated from the Hippos index.
  • Optional RepoMap-backed ranking and trimming for context selection.
  • Optional architecture metrics and review workflows when paired with architec.
  • MCP navigation tools, including hippos.navigate, for agent integrations.

Requirements

  • Python 3.10 or newer.
  • Git only for source installs.
  • Node.js 18 or newer only when using the npm launcher.
  • LLM provider configuration for commands that run the full index pipeline.

Naming and Migration

The full refactor target is:

  • Python distribution: seemseam-hippos
  • npm package: hippos
  • CLI command: hippos
  • Python import package: hippos
  • Project output directory: .hippos/
  • User config directory: ~/.hippos/
  • Main index filename: hippos-index.json
  • MCP tool namespace: hippos.*

Legacy names such as hippocampus, .hippocampus/, ~/.hippocampus/, and hippocampus-index.json should only be kept as a short migration window. During that window, Hippos may read or migrate old state, but new documentation, examples, and integrations should use the hippos names.

Install

Python package install

Use this after the PyPI package is published:

python3 -m pip install seemseam-hippos
hippos --help

The Python dependency is published on PyPI as seemseam-llmgateway; the import module remains llmgateway.

The PyPI project name may also appear as seemseam_hippos in release tooling; Python packaging normalizes underscores and hyphens to the same project name.

npm global install

npm distribution is deferred. When the npm launcher is published later, it will install the Python package from PyPI and expose the same hippos command:

npm install -g hippos
hippos --help

Useful npm launcher overrides after npm publication:

HIPPOS_NPM_PYTHON=python3.11 hippos --help
HIPPOS_NPM_CACHE_DIR=/tmp/hippos-cache hippos .
HIPPOS_NPM_PIP_SPEC='seemseam-hippos==0.1.9' hippos .
HIPPOS_NPM_LLMGATEWAY_PIP_SPEC='seemseam-llmgateway>=0.1.2' hippos .

Source install

This works for local development and current pre-release testing:

git clone https://github.com/SeemSeam/hippos.git
cd hippos
python3 -m pip install -e '.[dev,repomap]'
hippos --help

./install.sh also installs the Python llmgateway runtime from PyPI. Override the default with LLMGATEWAY_PIP_SPEC='seemseam-llmgateway>=0.1.2' when needed.

For guided local configuration, run:

./install.sh

Quick Start

Generate the standard Hippos artifacts for the current repository:

hippos .

Analyze another repository:

hippos /path/to/repo

Refresh an existing Hippos bundle:

hippos update

Force a full refresh:

hippos refresh .

Generate only the local index phases without LLM calls:

hippos index --no-llm .

Common Commands

# Create project config and output directories
hippos init .

# Extract code signatures
hippos sig-extract .

# Generate repository tree data
hippos tree .

# Build the unified index
hippos index .

# Render structure prompts
hippos structure-prompt --profile map .
hippos structure-prompt --profile deep .
hippos structure-prompt-all .

# Inspect and navigate the index
hippos overview .
hippos search --pattern auth .
hippos search --tags api --tags config .
hippos expand src/your_package/cli .

# Visualize
hippos viz --open .

# Save and compare history
hippos snapshot save -m "baseline" .
hippos snapshot list .
hippos snapshot show latest .
hippos diff latest~1 latest .
hippos stats --history .

Output Files

The target output directory is .hippos/ in the analyzed repository. During the migration window, builds may still read or migrate legacy .hippocampus/ state.

  • hippos-index.json: unified repository index.
  • code-signatures.json: extracted symbols and file signatures.
  • tree.json: normalized repository tree.
  • structure-prompt.md: default structure prompt.
  • structure-prompt-map.md: compact map-oriented structure prompt.
  • structure-prompt-deep.md: deeper implementation-oriented structure prompt.
  • hippos-viz.html: interactive visualization.
  • architect-metrics.json: architecture metrics when architec integration is available.
  • snapshots/: archived index snapshots for snapshot, diff, and stats workflows.

LLM Configuration

Hippos uses llmgateway for provider access. Keep API keys out of the repository and configure them in your user environment or local config files.

Typical config locations:

  • ~/.llmgateway/config.yaml: providers, routing, API keys, concurrency.
  • ~/.hippos/config.yaml: Hippos task-to-model-tier mapping.
  • .hippos/config.yaml: optional project-local override.

Migration builds may read ~/.hippocampus/config.yaml or .hippocampus/config.yaml and should guide users to move them to the new locations.

Minimal example:

# ~/.llmgateway/config.yaml
version: 1
settings:
  strong_model: gpt-4.1
  weak_model: gpt-4.1-mini
  max_concurrent: 30
provider:
  provider_type: openai
  api_key: ${OPENAI_API_KEY}
# ~/.hippos/config.yaml
version: 1
tasks:
  phase_1:
    tier: weak
  phase_2a:
    tier: strong
  phase_3b:
    tier: strong
structure_prompt_profile: map

Python API

The target Python import package is hippos:

from hippos import build_tree, extract_signatures, generate_structure_prompt

extract_signatures("/path/to/repo")
build_tree("/path/to/repo")
generate_structure_prompt("/path/to/repo", profile="map")

Early migration builds may still expose the legacy hippocampus package while the package directory rename is in progress. Do not use that name for new long-lived integrations.

Development

python3 -m pip install -e '.[dev,repomap]'
PYTHONPATH=src pytest -q
npm run test
npm pack --dry-run

Keep these versions synchronized for release work:

  • package.json
  • pyproject.toml
  • src/hippos/__init__.py

PyPI Trusted Publishing is configured for repository SeemSeam/hippos, workflow .github/workflows/release.yml, and environment pypi.

See NPM_RELEASE.md for npm launcher release notes.

License

MIT License. See LICENSE.

Metadata

Release files for seemseam-hippos 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seemseam-hippos 0.1.9
File Size Uploaded Provenance Actions
seemseam_hippos-0.1.9.tar.gz 221.9 kB With provenance Details for seemseam_hippos-0.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for seemseam-hippos 0.1.9
File Interpreter ABI Platform Actions
seemseam_hippos-0.1.9-py3-none-any.whl Python 3 none any Details for seemseam_hippos-0.1.9-py3-none-any.whl

Total release size: 469.0 kB

Release files / seemseam_hippos-0.1.9.tar.gz

Download URL seemseam_hippos-0.1.9.tar.gz
Size 221.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2d608219c8e3d098d5eebe9f1ed4c7cb4d3ad8da8734515ff35dbdfbd9082ab2
BLAKE2b-256 checksum
How to use checksums
54203ba2d2c301661d19f1c0395b07462450c7d85b55158240f0490234836e78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.

Transparency log

Release files / seemseam_hippos-0.1.9-py3-none-any.whl

Download URL seemseam_hippos-0.1.9-py3-none-any.whl
Size 247.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
95fd9b8cd55aa7def7f5b7db0627056371e4195b553949cad5839bdb2ffeaa58
BLAKE2b-256 checksum
How to use checksums
3b74ec209ea703ae00c11a56bd8a6d26ec156d34a8e260b8f56b4153d3350088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.

Transparency log

Security for seemseam-hippos 0.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for seemseam_hippos-0.1.9.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page