# Search Agent

Use this workflow to find agents in the ITINAI registry.

## Source

Search only ITINAI manifests from:

```text
https://github.com/aihlp/itinai
agents/*.yaml
```

Do not create or query a new registry, marketplace, protocol, or ITINAI proxy endpoint.

## Matching

Match the user's query against:

- `skills[].tags`
- `skills[].name`
- `description`
- `name`

Prefer agents that match more query terms across skills and description. If multiple agents look plausible, return a short ranked list and ask the user to choose.

## Result Shape

Return these fields:

```json
{
  "agent_id": "sydney-strawberry-seller",
  "name": "Sydney Strawberry Seller",
  "description": "Продаю клубнику в Сиднее",
  "agent_card_url": "https://seller.example.com/.well-known/agent-card.json"
}
```

When the user selects an agent, fetch the Agent Card from `agent_card_url` before describing runtime capabilities or delegating a task.
