Ideas, meet Intelligence.
ai-sdk.pro เป็นแพลตฟอร์มหน้าร้านและเครื่องมือจริง — agent, streaming chat, starter CLI และ workspace บน platform.ai-sdk.pro — ที่คุณโฮสต์บน VPS ของตัวเอง
npx create-webapp@latest aisdkpro$ npx create-webapp@latest aisdkpro --template streaming-chat
✓ Starter scaffolded
$ cd streaming-chat && npm install && npm run devcreate-webapp แล้วBUILT 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
Scaffold a starter
ใช้ Node.js 22+ และ CLI create-webapp (เผยแพร่จาก monorepo นี้) เพื่อสร้างโปรเจกต์ในเครื่องก่อน deploy
terminalnpx create-webapp@latest aisdkpro --template docs-assistant npm install npm run 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.