Skip to content
Dashboard

Build knowledge agents without embeddings

Deploy an agent with Vercel Sandbox, Chat SDK, and AI SDK

Link to headingWhat the template does

Link to headingFile-based search with Vercel Sandbox

Link to headingChat SDK: one agent, every platform

import { Chat } from "chat";
import { createSlackAdapter } from "@chat-adapter/slack";
import { createDiscordAdapter } from "@chat-adapter/discord";
import { createRedisState } from "@chat-adapter/state-redis";
const bot = new Chat({
userName: "knowledge-agent",
adapters: {
slack: createSlackAdapter(),
discord: createDiscordAdapter(),
},
state: createRedisState(),
});
bot.onNewMention(async (thread, message) => {
await thread.subscribe();
const result = await agent.stream({ prompt: message.text });
await thread.post(result);
});

The Complete Guide to Chat SDK

Learn how Chat SDK works end-to-end: from core concepts to building your first bot to deploying it across Slack, Teams, and more.

Read the guide

Link to headingDeep integration with AI SDK

import { generateText } from 'ai'
import { createSavoir } from '@savoir/sdk'
const savoir = createSavoir({
apiUrl: process.env.SAVOIR_API_URL!,
apiKey: process.env.SAVOIR_API_KEY,
})
const { text } = await generateText({
model: yourModel, // any AI SDK compatible model
tools: savoir.tools, // bash and bash_batch tools
maxSteps: 10,
prompt: 'How do I configure authentication?',
})
console.log(text)

AI Gateway: Track top AI models by usage

The AI Gateway model leaderboard tracks the most popular models over time, ranking them by the total volume of tokens processed across all Gateway traffic.

View the leaderboard

Link to headingBuilt-in admin tools

Link to headingGet started

Knowledge Agent Template

Deploy the template to your Vercel team in a single click.

Deploy