Skip to content

tomiwa-a/hippo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hippo

Status: Development Language: Go License: MIT Open Source

A high-performance, local-first background daemon that gives AI agents semantic understanding of your local environment.

Hippo — named after the hippocampus, the brain's memory center.

What is Hippo?

Hippo is a knowledge engine that runs on your machine. It watches your files, builds a searchable knowledge graph, and exposes it to AI agents via the Model Context Protocol (MCP).

Think of it as semantic RAM for your local machine—your AI assistant can now understand your codebase, documents, and tools without external APIs or cloud storage.

Features

  • Local-first: All processing happens on your machine. No cloud, no API calls.
  • Multimodal ingestion: Indexes code, documents, images, and binaries.
  • Semantic search: Ask "where is the auth logic?" and find related files.
  • Graph awareness: Understands imports, references, and relationships between files.
  • MCP integration: Works with Claude Desktop, Relay, and any MCP-compliant agent.

Getting Started

Prerequisites

  • Go 1.23+
  • SQLite3

Installation

git clone https://github.com/tomiwaAmole/hippo.git
cd hippo
go build -o hippo ./cmd

Basic Usage

# Watch a directory and index files
./hippo watch ~/path/to/project

# Search your local context
./hippo query "authentication logic"

# Start the MCP server
./hippo serve

Architecture

Hippo consists of three layers:

  1. The Watcher: Detects file changes and routes them to the right processor.
  2. The Cortex: Processes content, generates embeddings, and stores the knowledge graph.
  3. The Interface: Exposes search and context via MCP.

See the full technical requirements for details.

Development Roadmap

  • Phase 1 (Current): File discovery and metadata storage.
  • Phase 2: Embedding generation and semantic search.
  • Phase 3: Code analysis with Tree-sitter and graph construction.
  • Phase 4: MCP server and agent integration.
  • Phase 5: "Query-First" SDK development and OS-level integrations.

Target Benchmarks

Hippo aims for industry-leading performance to ensure a seamless, "instant" context experience.

Metric Target Performance Hippo's Edge
Search Latency < 150ms Sub-perceptual retrieval for instant answers.
Embedding Speed > 1,000 docs/min Fast "warm-up" on standard consumer hardware.
Indexing Overhead < 1% Idle CPU Invisible background operation.
Retrieval Accuracy Recall@10 > 90% Precise, reliable knowledge retrieval.

Strategic Focus: OS-Level Semantic Search

We are building Hippo to be the semantic backbone of the operating system. Instead of simple keyword search, Hippo enables:

  • Semantic File Discovery: Querying "that contract about the house" instead of searching for house_final_v2.pdf.
  • Terminal Intelligence: Natural language querying of local files directly from the shell (hippo query "explain auth logic").
  • Universal Context: A unified memory layer that any application can tap into via a simple SDK.

Strategic Focus: Secure Fields (Privacy-as-a-Product)

Hippo is uniquely positioned for sectors where cloud AI is a liability:

  • Medical (HIPAA): Processing patient data locally to ensure zero PHI exposure to cloud providers.
  • Legal (Privilege): Ensuring sensitive case files never leave the firm's physical perimeter, mitigating subpoena and breach risks.
  • Government/Defense: Air-gapped semantic search for highly sensitive or classified repositories.

Future Ideas

  • Temporal context: Query what you were working on yesterday.
  • Active profiling: Automatic detection of frequently-edited file pairs.
  • Screen context: Index error messages and terminal output via OCR.
  • Custom knowledge: Ingest team documentation and external references.

License

MIT License — see LICENSE for details.

Author

Created by @tomiwa_amole


Status: This project is in active development. Expect breaking changes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors