> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trygroundai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Ground indexes your code and docs and serves fast hybrid and RMH search with citations and agent APIs.

# What is Ground?

Ground is a **retrieval and indexing platform** for coding agents: it ingests repos, documentation, OpenAPI specs, PDFs, and public packages, then serves **hybrid search** (vectors + keywords), **RMH search** (multi-round / neighbor expansion), **streaming chat** with citations, **Rover** (GitHub exploration jobs), and **on-demand package search**.

* **Provenance**: Results carry citations (source, path, lines, version where applicable).
* **Freshness**: Sources have sync metadata; policy controls how stale content is treated.
* **Quality signals**: Evidence counts, staleness summaries, and optional conflict surfacing for divergent definitions.

## Why Ground?

1. **Index your sources** (Git, HTML docs, OpenAPI, npm/PyPI, PDFs).
2. **Query with hybrid + RMH** when you need more than a single top-k list.
3. **Wire agents** through the REST API or **MCP** using your API key.

<CardGroup cols={2}>
  <Card title="Quick Start" icon="rocket" href="/quickstart">
    Create a source and run your first search in minutes
  </Card>

  <Card title="Concepts" icon="book" href="/concepts">
    Sources, jobs, search, citations, freshness
  </Card>

  <Card title="MCP" icon="blocks" href="/guides/mcp">
    Connect Ground to MCP-compatible clients
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/overview">
    Full REST surface (search, chat, Rover, packages, keys)
  </Card>
</CardGroup>

## Key features

<AccordionGroup>
  <Accordion title="Ingestion">
    * **Git**: language-aware chunking
    * **Docs**: sitemap or URL lists
    * **OpenAPI**: operations and schemas
    * **Packages**: npm / PyPI (catalog + on-demand search)
    * **PDF**: upload pipeline with page-aware chunks
  </Accordion>

  <Accordion title="Hybrid & RMH search">
    Standard hybrid retrieval plus **`POST /search/rmh`** for deeper context: neighbor expansion and optional second-pass search.
  </Accordion>

  <Accordion title="Agent interfaces">
    **REST**, **MCP** (`https://api.trygroundai.com/mcp`), and official **TypeScript** / **Python** SDKs.
  </Accordion>

  <Accordion title="Policy & staleness">
    Configure staleness budgets, source weights, and minimum evidence thresholds via **`/policy`**.
  </Accordion>
</AccordionGroup>

## Documentation feedback

Email [ali@trygroundai.com](mailto:ali@trygroundai.com).
