How to search & discover AI Agents and Plans?
With the Payments Library, Subscribers can search for Agents or Plans that are available in the Nevermined ecosystem. Currently we are supporting the search of any Plan or AI Agent by their metadata (description, tags, etc). This is useful when you want to find a Plan that is related to a specific topic or service. More search options will be available in the future.
Searching for other plans or agents is useful when you want that your agent find other agents that can help to solve specific tasks.
Searching a Plan
- Python
- Typescript
# Here we search for a Plan by the text in the DDO
order_result = payments.search_plans(text='Youtube summarizer', page=1, offset=10)
# OUTPUT: searchResult:
# { did: did:nv:123213, metadata: MetaData }
// Here we search for a Plan by the text in the DDO
const orderResult = await payments.searchPlans({text: 'Youtube summarizer', page: 1, offset: 10})
// OUTPUT: searchResult:
// { did: did:nv:123213, metadata: MetaData }
Searching an Agent
- Python
- Typescript
# Here we search for an Agent by the text in the DDO
order_result = payments.search_agents(text='Youtube summarizer', page=1, offset=10)
# OUTPUT: searchResult:
# { did: did:nv:123213, metadata: MetaData }
// Here we search for an Agent by the text in the DDO
const orderResult = await payments.searchAgents({text: 'Youtube summarizer', page: 1, offset: 10})
// OUTPUT: searchResult:
// { did: did:nv:123213, metadata: MetaData }