Vercel AI SDK
BetaTypeScript-first toolkit for agentic applications.
Provider-agnostic TypeScript SDK for streaming, tool calling, and multi-step agents. Strong adoption in the Next.js / edge-runtime world. Intramedial attaches at the streamText/generateText layer to capture full agent steps.
- Category
- Developer frameworks
- Runtime
- Node.js / TypeScript
- Pattern
- SDK / Library
- Adapter package
- @intramedial/actor-vercel-ai
Status
Vercel AI SDK is Beta.
The integration path is built and tested. Customers can attach now; expect minor breaking changes until the 1.0 contract freeze.
Ships from the repo as `@intramedial/actor-vercel-ai` — not yet on a package registry.
How to attach
SDK / Library.
Install the adapter
Add @intramedial/actor-vercel-ai to your project.
Issue a workspace API key
Generate a key in the dashboard under Settings → API Keys, scoped to the workspace and environment this agent's data should land in.
Record each run
Construct the adapter once with your token and workspace id where you initialise your Vercel AI SDK agent, then call recordRun(run) when a run finishes. The adapter maps the run to signed receipts and, by default, captures a failed attestation instead of crashing your agent.
Verify
Trigger one agent run. The Witness page shows the record once the agent has emitted it.
What gets recorded
2 event types, captured today.
- agent.invocation
- Every top-level agent run — the input, the resolved output, timing and token usage.
- tool.call
- Each tool or function the agent invokes, with its arguments and returned result.
Same category
Others in Developer frameworks.
The reference library for building agent applications.
- CrewAIBeta
Multi-agent crew orchestration.
- AutoGen / AG2Beta
Microsoft's multi-agent conversation framework.
OpenAI's native agent framework.
- Claude Agent SDKBeta
Anthropic's native agent SDK.
- MastraBeta
TypeScript framework for production agents.
Start recording Vercel AI SDK agents.
Every Vercel AI SDK run lands in the same canonical Witness record as every other framework in the catalogue: signed, replayable, and exportable as evidence.
Agents act when the plane says yes, and the record says why.
Put admission in front of your MCP servers, repositories, SaaS tools and cloud accounts. Every agent gets a lease or a reason – and you keep the lever to stop any of them.
