Skip to main content

🕳️ Rephole

RAG-powered code search via simple REST API

Welcome to the official Rephole documentation. This guide will help you get started with Rephole and integrate intelligent code search into your applications.

Our Sponsor​

Artiforge is proud to sponsor the development of Rephole.

What is Rephole?​

Rephole is an open-source REST API that ingests your codebase and creates a specialized RAG (Retrieval-Augmented Generation) system for intelligent code search and retrieval.

Unlike traditional code search tools, Rephole understands semantic relationships in your code, enabling you to:

  • 🔍 Search code by intent, not just keywords
  • 💬 Ask natural language questions about your codebase
  • 🔗 Integrate AI coding assistants into your own products

Key Features​

FeatureDescription
🚀 Simple REST APIIntegrate in minutes with any tech stack
📦 Multi-Repository SupportIndex and query across multiple codebases
🎨 OpenAI EmbeddingsPowered by text-embedding-3-small model
💾 Local Vector DatabaseChromaDB for fast semantic search
🐳 One-Click DeploymentDocker Compose setup in under 5 minutes
🔒 Self-HostableKeep your code private with on-premise deployment
⚡ Parent-Child RetrievalSmart chunking returns full file context
🏷️ Metadata FilteringTag repositories with custom metadata and filter searches
🌐 37 Languages SupportedTypeScript, Python, Go, Rust, and many more

Quick Navigation​

Getting Help​