Getting Started
Start using the Agent Toolkit API in under 5 minutes
Overview
Agent Toolkit provides powerful APIs for web search, content extraction, and more. This guide will help you integrate your application with our services using our official client libraries.
To obtain an API key, sign up for an account and generate a key from the dashboard.
TypeScript Client
The TypeScript client provides a type-safe way to interact with our API.
Installation
Quick Setup
Example: Web Search
Perform a web search and get structured results:
The search query string
Number of results to return (1-10)
Search provider to use (google, bing, duckduckgo)
Generate an AI summary of the search results
Example: Content Extraction
Extract content from a webpage:
URL to extract content from
Include images in the response
Include internal links found on the page
Depth of extraction (‘basic’ or ‘advanced’)
Chaining Operations
A common use case is to search for information and then extract content from one of the results:
Using the CLI
For testing purposes, you can use our command-line interface: