Documentation
Everything you need to install, configure, extend, and deploy Context Harness.
Context Harness is a single Rust binary that ingests documentation, code, and knowledge from any source, stores it in a local SQLite database, and makes it searchable by AI agents through a CLI and MCP-compatible HTTP server. No cloud. No vendor lock-in. One binary.
Getting Started
Install Context Harness and build your first knowledge base in 5 minutes.
Installation
Quick Start
Including Context Harness in Your Nix Flake
Guides
Step-by-step tutorials for building agents, chatbots, and multi-repo knowledge bases.
Agent Integration
Multi-Repo Context
Build a RAG Agent
Build a Knowledge-Base Chatbot
Cursor & IDE Integration
MCP Agents
Connectors & Tools
Ingest data from any source and extend agents with custom Lua-scripted tools.
Built-in Connectors
Lua Connectors
Lua Tools
Rust Traits
Extension Registry
Install community connectors, tools, and agents from Git-backed registries.
Registry Overview
Usage Guide
Available Extensions
Reference
Complete API, CLI, configuration, and deployment reference.
Configuration
MCP Server API
Search & Retrieval
CLI Reference
Deployment