Skip to main content
Use the Brave Search or Exa piece with a developer-provided key when an agent needs current web results.

Choose a provider

Brave Search provides searchWeb and customApiCall for other Brave Search API endpoints, with paths relative to https://api.search.brave.com/res/v1. Exa provides search, getContents, findSimilarPages, and generateAnswer.

Install the packages

Install the FrogBot piece you need. Each package includes its runtime dependencies.

Use a developer key

Pass the provider key when creating the piece, and assign its default tool to the agent.
For Exa, replace the import and factory with createExa, and read EXA_API_KEY. createBraveSearch and createExa accept the same options: Neither piece has an OAuth recipe, so neither factory accepts oauth. See factory options.

Select opt-in Exa actions

Select only the Exa actions the agent needs.
Pass the whole piece, such as tools: [exa], only when the agent should receive all four actions.