Skip to main content

Prerequisites

The following example requires the openai library and a Brandfetch API key.

Example

The following agent can search for brand information and retrieve brand data:

Toolkit Params

Toolkit Functions

Async versions of both functions run automatically when you call agent.arun() or agent.aprint_response().

Developer Resources