Discover
get_api_documentLoad the exact API contract needed for the current task.
Expose your product’s core operations as APIs, attach their documentation to a chat, and AgentChat turns them into agent capabilities. No custom tool integration for every feature.
POST/storiesPOST/imagesGET/documents/searchget_api_document()
http_request()
sleep()
view_image()
The core idea
Traditional agents need a custom tool definition for every action. AgentChat uses API documentation plus a universal HTTP executor, so capability expands with your API surface—not your agent code.
get_api_documentLoad the exact API contract needed for the current task.
http_requestCall any documented HTTP endpoint and receive structured results.
sleepPause between asynchronous job creation and status polling.
view_imageInspect image URLs returned by your creative or media APIs.
Integration model
Your APIs are controlled wrappers around the operations your product already performs. The agent calls them; your SaaS reads the same database and renders the result naturally.
Register the APIs that wrap your product database and business actions. They become the agent’s available capabilities.
Attach only the documents that chat needs, select its model, and add headers for the current user or tenant.
The agent operates through your APIs. Your application reads its own database and displays the newly created or updated data as usual.
Real product patterns
Attach one search API document when creating the chat. The agent can retrieve relevant passages, reason over them, and answer with your application’s private knowledge.
GET /documents/search?q=...
→ {
"results": [
{ "text": "...", "source": "..." }
]
} Provide a story-writing API and an image-generation API. The agent writes chapters, generates illustrations from prompts, stores both through your APIs, and your story app displays them from its own database.
Tenant-aware security
Configure host-specific headers on each chat. Your API receives the current user or tenant credential, applies its own authorization rules, and returns only the data that user is allowed to access.
X-Tenant-ID: tenant_aCan search and modify only tenant A data.
X-Tenant-ID: tenant_bUses the same API contract with tenant B permissions.
Developer API
Register API documentation, then create a chat session that references it. Your product can start runs and poll durable messages through the same API.
Open the developer dashboard →AgentChat