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

# Overview

> Use search to find past agent work and its context, and to locate relevant code snippets and other text across your repos.

Search supports two kinds of results:

* Semantic search finds related commits and sessions based on meaning and keywords.
* Code search finds literal text in your indexed repositories, such as function names, error messages, and configuration keys.

<div style={{ position: "relative", paddingTop: "100%" }}>
  <iframe
    src="https://customer-0x5hsk8lh27fm00g.cloudflarestream.com/77aca6eccb54fcce3ffc4eb03963cf3d/iframe?muted=true&preload=true&loop=true&autoplay=true&poster=https%3A%2F%2Fcustomer-0x5hsk8lh27fm00g.cloudflarestream.com%2F77aca6eccb54fcce3ffc4eb03963cf3d%2Fthumbnails%2Fthumbnail.jpg%3Ftime%3D%26height%3D600&controls=false"
    loading="lazy"
    style={{
  border: "none",
  position: "absolute",
  top: 0,
  left: 0,
  height: "100%",
  width: "100%",
}}
    allow="accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture;"
    allowFullScreen
  />
</div>

## Search in Entire.io or the CLI

| Surface                                         | Semantic search                                                                                                                | Code search                        |
| ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------- |
| [Entire.io](/guides/search/search-in-entire-io) | Use the [**Commits**](/guides/checkpoints/review-in-entire-io#branch-view) and [**Sessions**](/guides/sessions/overview) tabs. | Use the **Code** tab.              |
| [Entire CLI](/guides/search/search-in-cli)      | Run `entire search "QUERY"`.                                                                                                   | Run `entire search --code "TEXT"`. |

## Continue with

<CardGroup cols={2}>
  <Card title="Search in Entire.io" icon="globe" href="/guides/search/search-in-entire-io">
    Use history and code search from the Search page.
  </Card>

  <Card title="Search in the CLI" icon="terminal" href="/guides/search/search-in-cli">
    Search past work or indexed code from your terminal.
  </Card>

  <Card title="Search from Your Agent" icon="robot" href="/guides/search/search-from-your-agent">
    Let an agent find relevant commits and sessions.
  </Card>

  <Card title="Search Past Work and Code" icon="route" href="/learn/search-past-agent-work">
    Practice both kinds of search with one guided tutorial.
  </Card>

  <Card title="Search Troubleshooting" icon="wrench" href="/guides/search/troubleshooting">
    Fix login, indexing, scope, and query issues.
  </Card>
</CardGroup>
