@channel3/agent-toolkit adds Channel3 product search to any Vercel AI SDK agent. It provides the same two tools as the Channel3 MCP: search_products and get_products. It works with AI SDK v6 and v7.
Install
CHANNEL3_API_KEY in your environment. Create a free API key if you don’t have one yet.
Use the tools
streamText. To add both tools at once, use channel3Tools():
Tools
For
search_products, the model receives a compact summary: one line per product with title, brand, best price and ID. The full structured result stays in the tool output, so your UI can render product cards from it.
Offer URLs are Channel3 buy links. Purchases through them earn commission for your account.
Options
Use the factory functions to set the key, the result count, or a conversation ID:Other frameworks
The same tools are available for LangChain. The root export,@channel3/agent-toolkit, has framework-free searchProducts() and getProducts() functions plus the input schemas, for wrapping the tools in any other framework.
Beyond search
For browse, similar products, brands, price tracking and the rest of the API, call the TypeScript SDK from your owntool().