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
Start building with our TypeScript client
Python Client
Coming soon
TypeScript Client
The TypeScript client provides a type-safe way to interact with our API.Installation
- npm
- yarn
- pnpm
Quick Setup
Example: Web Search
Perform a web search and get structured results:string
required
The search query string
number
default:"5"
Number of results to return (1-10)
string
default:"google"
Search provider to use (google, bing, duckduckgo)
boolean
default:"false"
Generate an AI summary of the search results
Example: Content Extraction
Extract content from a webpage:string
required
URL to extract content from
boolean
default:"false"
Include images in the response
boolean
default:"false"
Include internal links found on the page
string
default:"basic"
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:Python Client
Our Python client is coming soon! Check back for updates.
Next Steps
API Reference
Explore our API endpoints in detail
Examples
View more code examples