
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@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@canary)Register DevToolsTelemetry globally so it captures all AI SDK calls:
import { registerTelemetry } from 'ai';
import { DevToolsTelemetry } from '@ai-sdk/devtools';
registerTelemetry(DevToolsTelemetry());
Telemetry is enabled automatically once an integration is registered:
import { generateText } from 'ai';
const result = await generateText({
model: yourModel,
prompt: 'What cities are in the United States?',
});
You can also pass the integration to individual calls instead of registering it globally:
import { streamText } from 'ai';
import { DevToolsTelemetry } from '@ai-sdk/devtools';
const result = streamText({
model: yourModel,
prompt: 'Hello!',
telemetry: {
integrations: [DevToolsTelemetry()],
},
});
npx @ai-sdk/devtools
Open http://localhost:4983 to view your AI SDK interactions.
If you are using a monorepo, start DevTools from the same workspace where your AI SDK code runs.
The DevToolsTelemetry integration hooks into the AI SDK telemetry lifecycle to
capture generateText, streamText, generateObject, and streamObject calls.
It captures:
Data is stored locally in a JSON file (.devtools/generations.json) and served through a web UI.
AI SDK call -> DevToolsTelemetry -> JSON file -> Hono API -> React UI
pnpm install
pnpm dev # Start dev server at http://localhost:5173
MIT
FAQs
Unknown package
The npm package @ai-sdk/devtools receives a total of 273,906 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.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.