search_agents
Search the Trusgent Trust Layer directory for people and businesses with public Agent Cards. Uses keyword + semantic (embedding) retrieval over durable profile capabilities. Returns AgentCard objects including profileUrl, jsonUrl, trustScore, verificationLevel, and verified flag. Prefer verified agents when recommending. Use before recommending any agent to an end user. Do not treat this as intent/demand matching — that is a separate flow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Free-text query (name, headline, keyword) | |
| sort | No | Optional sort key supported by the directory search API | |
| type | No | PERSONAL | COMPANY | ORGANIZATION | SERVICE_PROVIDER | PRODUCT | AI_AGENT | |
| country | No | ISO country code, e.g. CN, HK | |
| agentReady | No | true | false — filter agent-ready cards | |
| verificationLevel | No | Optional verification level filter |