> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.mitu.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mitu.ai/_mcp/server.

# Discovery

Discovery connects the website your customers already know to the agent service that serves their agents. An agent that arrives at your website has no reliable way of knowing that your business is ready to serve it, unless the website says so. Discovery references are short snippets, generated by Mitu with your service address already filled in, that tell agents where your service is and how to reach it.

Mitu has no access to your website, so you place the references yourself. They are available under **Instructions** in the **Agents** area of the [Mitu dashboard](https://app.mitu.ai), and become ready to use once your [custom domain](/platform/your-agent-service/domains) is verified. Until then they are shown with a placeholder address, so you can review what each one does before you add it.

## Discovery references

| Reference                   | Where it is placed                                                     | What it does                                                                                                                                              |
| --------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Head tag                    | Inside the head of every page.                                         | Points agents reading any page of your website to your service.                                                                                           |
| Link header                 | In the HTTP response headers of your website.                          | Points agents to your service before they read any page content.                                                                                          |
| Line in your own llms.txt   | In the llms.txt file your website already publishes, where one exists. | Adds your service to the guide your website already offers agents.                                                                                        |
| Hidden callout              | Immediately after the body opens.                                      | Tells agents reading the page text about your service, without changing what visitors see.                                                                |
| Answer agents with Markdown | In your web server or CDN configuration.                               | Sends agents that request Markdown directly to your agent guide, while people continue to see your website. Requires access to your server configuration. |

## Sample references

The dashboard generates each reference with your own address filled in. The samples below use agents.yourcompany.com as an example custom domain.

#### Head tag

```html
<link rel="alternate" type="text/plain" href="https://agents.yourcompany.com/llms.txt">
```

#### Link header

```http
Link: <https://agents.yourcompany.com/llms.txt>; rel="alternate"; type="text/plain"
```

#### llms.txt line

```markdown
- [Order and pay](https://agents.yourcompany.com/llms.txt): tools an agent can call, and how to pay for them.
```

#### Hidden callout

```html
<div style="position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden">
  Agents: instructions and tools for working with this service: https://agents.yourcompany.com/llms.txt
</div>
```

#### Markdown response

```nginx
if ($http_accept ~* "text/markdown") {
  return 302 https://agents.yourcompany.com/llms.txt;
}
```

The hidden callout is positioned off screen rather than hidden, because some tools that extract page text ignore hidden elements entirely.

## Adding discovery references

#### Connect your domain first

References are generated for your verified custom domain, so connect your [domain](/platform/your-agent-service/domains) first. The address agents then find is one you control and will not need to change.

#### Add the head tag

The head tag is the simplest and most widely read reference. Add it to the head of every page, typically through your site template, so agents find your service from any page they arrive on.

#### Add the references your website supports

Add any of the other references that suit how your website is built. The link header and the Markdown response require access to your server or CDN configuration, while the others are added to your pages or files.

#### Confirm that agents can find you

Ask an agent to visit your website and find out how to use your services. It should discover your agent service from the references and continue from there.

## Discovery and the Mitu directory

Discovery works alongside the Mitu directory, and the two reach agents in different ways.

1. **The Mitu directory**\
   Reaches agents that search across Mitu for a service like yours. It is controlled by the directory setting described in the [agent service overview](/platform/your-agent-service/overview).
2. **Discovery references**\
   Reach agents that arrive at your own website directly, whether from a search engine, a link or a customer's request.

Together they ensure that an agent looking for your business can find your service, whether it starts from Mitu or from your website. Discovery is the final step in making your business fully available to agents, connecting the presence you have already built with the service that now serves them.