Ideas, meet Intelligence.
ai-sdk.pro gives your ideas the whole stack — tool-enabled agents, real-time streaming, and your own infrastructure — so the moment of inspiration becomes something useful.
pnpm --filter @aisdkpro/web dev$ pnpm agent:smoke
✓ Tool executed getCurrentTime
✓ Agent loop 20-step limitBUILT ON TOOLS YOU KNOW.
TOOL-ENABLED INTELLIGENCE
Create more, configure less.
Give your agent a clear objective and real tools. Let it search your docs, find the facts, and stream an answer — while your server keeps control of every step.
Define your first agenttool: getCurrentTime
input: { timeZone: "Asia/Bangkok" }
output: ISO timestamp + localized time
TYPE-SAFE SDK
Connect your app in minutes.
A small client. A typed stream. Use your own interface, connect it to one endpoint, and build with full autocomplete. Provider keys never leave the server.
Explore the client SDKimport { useAISDKProChat } from '@aisdkpro/client/react';
const { messages, sendMessage, stop } =
useAISDKProChat({ endpoint: '/api/chat' });
sendMessage({ text: 'What can we build?' });data: {"type":"text-delta","delta":"Hello"}REAL-TIME RESPONSES
From thought to conversation.
See the answer as it arrives and the tools as they work. The playground connects to a real agent with stop, retry, and new conversation controls.
Open the playgroundEverything in its right place.
A focused foundation for your agents, with a familiar workflow
from the first prompt to your own production server.
One endpoint to begin
Connect your interface to /api/chat. Send a message and receive a typed AI SDK UI stream.
ExploreAgents that take action
Give your agent real tools, a clear objective, and a bounded loop. Start with searchDocs, fetchUrl, and getCurrentTime.
ExploreEvery token. In real time.
Stream responses and tool activity as they happen. Stop a generation or retry when something goes wrong.
ExploreA clear project structure
Web, docs, UI, and client SDK in one pnpm workspace. Share the pieces without tangling the responsibilities.
ExploreA small, typed client
Use a framework-agnostic client or a lightweight React hook. Bring your own key without storing it.
ExploreChoose your infrastructure
Run the standalone app on your VPS with Docker and Caddy. Build, deploy, and roll back from Git.
ExploreGet started.
Keep creating.
Three steps to your first working agent. Your code is the workspace; your infrastructure is where it lives.
Read the setup guide- 1
Start the workspace
Use Node.js 22 and pnpm 10.18.0. Install the workspace dependencies and open the development server.
terminalpnpm install pnpm dev - 2
Configure your agent
Let visitors choose their provider and bring their own key. Keep agent logic and safe, validated tools on the server.
assistant-agent.tsconst agent = new ToolLoopAgent({ model: provider(process.env.AI_MODEL), instructions: 'Make useful things happen.', tools: { searchDocs, fetchUrl, getCurrentTime }, stopWhen: stepCountIs(20), }); - 3
Connect your interface
Keep your UI yours. Use the typed React hook to send messages, render streaming parts, and cancel a run.
chat.tsximport { useAISDKProChat } from '@aisdkpro/client/react'; const { messages, sendMessage, stop } = useAISDKProChat({ endpoint: '/api/chat' }); sendMessage({ text: 'What can we build?' });
Your agents,
beyond localhost.
Run the same app on your own VPS. Docker packages the runtime, Caddy handles HTTPS and streaming, and Git gives every release a traceable starting point.
Deployment guideBuild and start your standalone application
docker compose -f infra/docker-compose.yml up -d --buildOr deploy from Git after configuring your server
git push origin main
curl https://ai-sdk.pro/api/healthCloudflare can manage your DNS; the application runs on your server.