Platform workspace · Self-hosted

Ideas, meet Intelligence.

ai-sdk.pro เป็นแพลตฟอร์มหน้าร้านและเครื่องมือจริง — agent, streaming chat, starter CLI และ workspace บน platform.ai-sdk.pro — ที่คุณโฮสต์บน VPS ของตัวเอง

$npx create-webapp@latest aisdkpro
terminal
$ npx create-webapp@latest aisdkpro --template streaming-chat
✓ Starter scaffolded
$ cd streaming-chat && npm install && npm run dev
หลังคุณ publish แพ็กเก็จ npm create-webapp แล้ว

BUILT ON TOOLS YOU KNOW.

AI SDKNext.jsTypeScriptReactFumadocsDockerCaddyNode.js

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 agent
AI SDK 6TypeScript

tool: getCurrentTime

input: { timeZone: "Asia/Bangkok" }

output: ISO timestamp + localized time

Tool input / output examples20-step maximum

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 SDK
@aisdkpro/client
chat.tsx
import { useAISDKProChat } from '@aisdkpro/client/react';

const { messages, sendMessage, stop } =
  useAISDKProChat({ endpoint: '/api/chat' });

sendMessage({ text: 'What can we build?' });
UI message stream · exampledata: {"type":"text-delta","delta":"Hello"}
Typed eventsAbortSignalNo browser keys

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 playground
ai-sdk.proUI preview
What can my agent do?

Your agent can search the docs, read approved documentation, and use tools.

searchDocs Tool-enabled streaming
FROM PROMPT TO PRODUCTION

Get 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. 1

    Scaffold a starter

    ใช้ Node.js 22+ และ CLI create-webapp (เผยแพร่จาก monorepo นี้) เพื่อสร้างโปรเจกต์ในเครื่องก่อน deploy

    terminal
    npx create-webapp@latest aisdkpro --template docs-assistant
    npm install
    npm run dev
  2. 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.ts
    const agent = new ToolLoopAgent({
      model: provider(process.env.AI_MODEL),
      instructions: 'Make useful things happen.',
      tools: { searchDocs, fetchUrl, getCurrentTime },
      stopWhen: stepCountIs(20),
    });
  3. 3

    Connect your interface

    Keep your UI yours. Use the typed React hook to send messages, render streaming parts, and cancel a run.

    chat.tsx
    import { useAISDKProChat } from '@aisdkpro/client/react';
    
    const { messages, sendMessage, stop } =
      useAISDKProChat({ endpoint: '/api/chat' });
    
    sendMessage({ text: 'What can we build?' });
BUILT HERE. HOSTED ANYWHERE.

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 guide

Build and start your standalone application

terminal
docker compose -f infra/docker-compose.yml up -d --build

Or deploy from Git after configuring your server

terminal
git push origin main
curl https://ai-sdk.pro/api/health
Configure your VPS and DNS. Visitors bring their own AI key.
Cloudflare can manage your DNS; the application runs on your server.
FAQ