
Security News
Socket Releases Free Certified Patches for Nuxt Security Vulnerabilities
Socket releases free Certified Patches for high-severity Nuxt vulnerabilities, including server-side remote code execution through server island props.
@ai-sdk/devtools
Advanced tools
A local development tool for debugging and inspecting AI SDK applications. View LLM requests, responses, tool calls, and multi-step interactions in a web-based UI.
A local development tool for debugging and inspecting AI SDK applications. View LLM requests, responses, tool calls, and multi-step interactions in a web-based UI.
Note: This package is experimental and intended for local development only. Do not use in production environments.
npm install @ai-sdk/devtools
# or
pnpm add @ai-sdk/devtools
ai@^6.0.0-beta.0)import { wrapLanguageModel } from 'ai';
import { devToolsMiddleware } from '@ai-sdk/devtools';
const model = wrapLanguageModel({
middleware: devToolsMiddleware(),
model: yourModel,
});
npx @ai-sdk/devtools
Open http://localhost:4983 to view your AI SDK interactions.
The middleware intercepts all generateText and streamText calls, capturing:
Data is stored locally in a JSON file (.devtools/generations.json) and served through a web UI.
AI SDK call → devToolsMiddleware → JSON file → Hono API → React UI
pnpm install
pnpm dev # Start dev server at http://localhost:5173
MIT
FAQs
A local development tool for debugging and inspecting AI SDK applications. View LLM requests, responses, tool calls, and multi-step interactions in a web-based UI.
The npm package @ai-sdk/devtools receives a total of 214,000 weekly downloads. As such, @ai-sdk/devtools popularity was classified as popular.
We found that @ai-sdk/devtools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket releases free Certified Patches for high-severity Nuxt vulnerabilities, including server-side remote code execution through server island props.

Security News
An open letter signed by 50 companies, from NVIDIA and Microsoft to Mistral and Hugging Face, urges Washington not to restrict open weight AI.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.