Blog

Tilde vs AI SDK

The AI SDK by Vercel is an open-source TypeScript toolkit for building AI apps and agents. Tilde's harness SDK is designed to work on top of it. Here's what each covers, and why most teams use them together.

The short answer

The AI SDK and Tilde work at different levels. The AI SDK is a library: it standardises how your code talks to models, runs agent loops and calls tools. Tilde is a platform: it gives those agents authenticated tools, screens what goes in and out, and decides who can use what.

In fact, Tilde's harness SDK is designed to sit on top of the AI SDK. You write your agent with the AI SDK and use Tilde for the parts that need a platform.

At a glance

CapabilityTildeAI SDK
What it isManaged platform for agent tools, security, access, governance and channelsOpen-source TypeScript toolkit for AI apps and agents
ModelsUse the models your agent framework supportsOne API across 30+ official and 50+ community providers
Tool integrationsManaged MCP tool servers from hundreds of providers, upstream MCP proxying and your own APIsTool calling and an MCP client; no integrations catalog
Tool credentialsOAuth, API key and custom auth encrypted, stored and rotated by TildePassed in by your code; storing and refreshing them is up to you
Security middlewareJailbreak prevention and PII redaction on agent inputs and outputsMiddleware you write; the PII example isn't meant for production
Identity and accessWorkspaces and grants for people and agents, OIDC single sign-onNot part of the SDK
GovernancePolicy checks, human approvals and a record of each decisionTool approval for human-in-the-loop
ChannelsAdd WhatsApp, Slack, Discord, Telegram or GitHub in a single clickChat SDK adapters for Slack, Teams, Discord, Telegram, WhatsApp and more, set up in code
Memory and skillsMemory banks, skills registries and wikis shared across agentsMessage handling in your app; storage is up to you
TracingExecution and invocation history for registered agentsOpenTelemetry telemetry for prompts, outputs, tokens and tool calls
DeploymentTilde cloud or on-prem in your own infrastructure, with a Terraform providerA library you run on Node.js or edge runtimes, anywhere
LicenceCommercial platform, free to startApache 2.0

Where AI SDK is strong

The AI SDK is one of the most widely used ways to build AI features in TypeScript. It gives you a single API across dozens of model providers, agent classes including durable workflow agents, an MCP client, tool approval and polished chat UI hooks for React, Vue and Svelte.

It's open source under Apache 2.0, runs anywhere Node.js does, and has built-in OpenTelemetry. Around it, Vercel offers an AI Gateway, sandboxes for running code and a Chat SDK for channel adapters.

Where Tilde is different

The AI SDK leaves integrations, credentials, guardrails and access control to your code. Tilde provides them as a platform, so each new agent doesn't rebuild them.

  • Integrations without the plumbing. Create MCP tool servers from our catalog of SaaS providers, proxy an existing MCP server, or forward requests to your own API.
  • Credentials you don't have to build. Tilde handles OAuth, API keys and custom authentication, including encryption and rotation.
  • Security middleware on every agent. Tilde blocks jailbreak attempts and redacts personal information (PII) in agent inputs and outputs.
  • Access scoped to the work. Workspaces and grants limit which people and agents can reach which resources, with single sign-on through your OIDC provider.
  • Control on sensitive actions. Govern checks policy, asks a person to approve and records the decision before an action runs.
  • Channels in a single click. Add WhatsApp, Slack, Discord, Telegram or GitHub to an agent without writing an adapter. ChatKit adds message history, sessions, webhooks, schedules and agent-to-agent delegation.
  • Secrets kept out of the model. The secure browser signs in to websites with injected credentials the agent never sees.
  • Voice when you need it. Build realtime voice agents on the same tools and permissions.
  • One inventory. The Registry records every agent, who owns it and who can use it, whichever framework built it.
  • Runs where your data lives. Use Tilde cloud, or deploy Tilde on-prem in your own infrastructure. Embedded engineers can help you set it up.

Using AI SDK and Tilde together

This is the setup we recommend. Build the agent with the AI SDK, then add Tilde's harness SDK for tools, credentials, memory and channels. Your AI SDK agent calls Tilde MCP servers as tools, and Tilde applies security middleware and permissions on every call.

Register the deployed agent in the Tilde Registry so it has an owner and an access scope, and connect it to users through Tilde channels.

Mermaid diagram
flowchart TB
  People["People on Slack, WhatsApp or web"] --> Channels
  subgraph App["Your app"]
    SDK["AI SDK agent"]
    Harness["Tilde harness SDK"]
  end
  subgraph Tilde["Tilde"]
    Channels["Channels"]
    Guard["Security middleware"]
    MCP["MCP tools and managed credentials"]
    Registry["Registry and IAM"]
  end
  Channels --> SDK
  SDK --> Harness
  Harness --> Guard
  Guard --> MCP
  MCP --> Systems["SaaS APIs and your systems"]
  Registry -.-> SDK

Which should you choose?

  • Use the AI SDK on its own for AI features and simple agents where you control every integration yourself.
  • Add Tilde when agents need many authenticated integrations, managed credentials, runtime guardrails, workspace-level access, approvals or channels, in Tilde cloud or on-prem.
  • Most production teams use both. Talk to our team if you'd like help planning it.

References

Sources

09
  1. 01AI SDK introductionai-sdk.dev
  2. 02AI SDK agentsai-sdk.dev
  3. 03AI SDK tools and tool callingai-sdk.dev
  4. 04AI SDK MCP toolsai-sdk.dev
  5. 05AI SDK middlewareai-sdk.dev
  6. 06AI SDK telemetryai-sdk.dev
  7. 07Chat SDKchat-sdk.dev
  8. 08Vercel AI Gatewayvercel.com
  9. 09AI SDK licenceraw.githubusercontent.com

Product details for AI SDK come from its public documentation and pricing pages as of 29 September 2026. Vercel, the Vercel design, Next.js and related marks, designs and logos are trademarks or registered trademarks of Vercel, Inc. This page is not affiliated with or endorsed by them. Spotted something out of date? Tell us at [email protected]and we’ll fix it.

Build AI agents, fast.

Access the building blocks of OpenClaw via our cloud API.

Govern deployed agents, audit historical chats and manage tool access in real time.

Build purpose-driven agents for customer service.