Quickstart
Get OpenGround up and running in 5 minutes. This guide will take you from installation to your first documentation search.Prerequisites
- Python 3.10, 3.11, or 3.12
- pip or uv package manager
Step 1: Install OpenGround
Install OpenGround using your preferred package manager:Step 2: Add Documentation
Let’s add the FastAPI documentation as an example:- Clones the FastAPI repository at version 0.115.5
- Extracts documentation from the
docs/folder - Chunks the text into manageable pieces
- Generates embeddings using a local model
- Stores everything in a local LanceDB database
The first time you add documentation, OpenGround will download the embedding model (~200MB for BGE-small-en-v1.5). This only happens once.
Step 3: Search Documentation
Now you can search the documentation:Step 4: List Your Libraries
View all documentation you’ve added:Step 5: Connect to Your AI Agent
OpenGround really shines when connected to AI coding assistants. Install the MCP server:- Claude Code
- Cursor
- OpenCode
- Other
What’s Next?
You now have OpenGround installed and working! Here are some next steps:Add More Sources
Add documentation from git repos, sitemaps, or local files
Configure Settings
Customize chunk size, embedding models, and more
MCP Integration
Deep dive into AI agent integration
Advanced Search
Learn about hybrid search and tuning
Common Use Cases
Add documentation from a website sitemap
Add documentation from a website sitemap
Add local documentation
Add local documentation
Query across multiple libraries
Query across multiple libraries
--library flag to search across all installed documentation.Update documentation when it changes
Update documentation when it changes
Example: Complete Workflow
Here’s a complete workflow for a Python developer:Troubleshooting
Command not found: openground
Command not found: openground
The package isn’t in your PATH.Solution:
- If using uv: Run
uv tool update-shelland restart your terminal - If using pip: Ensure pip’s bin directory is in your PATH
- Try running with full path:
python -m openground
Extraction is slow
Extraction is slow
First extraction downloads the embedding model and clones repositories.This is normal:
- Embedding model download: ~200MB, happens once
- Git clone: depends on repo size
- Subsequent additions are faster
- Use
--docs-pathto extract only specific folders - Use faster internet connection for initial setup
- Consider fastembed backend for faster CPU embeddings
No results from query
No results from query
Check that the library was added successfully.Solution:
Next Steps
Now that you have the basics, explore:- Core Concepts - Understand how OpenGround works
- Sources Guide - Learn about sources.json and reusable configurations
- CLI Reference - Complete command reference
- MCP Server - API reference for AI agent integration
Need help? Check the troubleshooting guides or open an issue on GitHub.