@ai-sdk-tools/devtools weekly downloads statistics
By ai-sdk-tools (5 listings) · npm · AI SDKs
AI development tools for debugging and monitoring AI SDKs streams
@ai-sdk-tools/devtools has 16,841 recorded weekly downloads on npm, a decrease of 2.5% over the past 30 days, ranking #1096 of 3,247 tracked listings.
About @ai-sdk-tools/devtools

AI SDK Devtools
A powerful debugging and monitoring tool for AI SDKs that provides real-time insights into AI streaming events, tool calls, and performance metrics.
What it does
AI SDK Devtools helps you debug and monitor AI applications by:
- Real-time event monitoring - Track all AI streaming events as they happen
- Tool call debugging - See tool calls, parameters, results, and execution times
- Performance metrics - Monitor streaming speed (tokens/second, characters/second)
- Event filtering - Filter events by type, tool name, or search queries
- Context insights - Visualize token usage and context window utilization
- Stream interception - Automatically capture events from AI SDK streams
- State management - Optional integration with @ai-sdk-tools/store for state debugging
Installation
npm install @ai-sdk-tools/devtools
Optional Store Integration
For enhanced state debugging capabilities, you can optionally install the store package:
npm install @ai-sdk-tools/store
The devtools will automatically detect and integrate with the store if available, but it works perfectly fine without it for basic event monitoring.
Note: The store package is an optional peer dependency. If you don't install it, the devtools will work normally but without the State tab for debugging Zustand stores.
Quick Start
Basic Usage
import { AIDevtools } from '@ai-sdk-tools/devtools';
function App() {
return (
<div>
{/* Your AI app components */}
{/* Add the devtools component - only in development */}
{process.env.NODE_ENV === "development" && <AIDevtools />}
</div>
);
}
With useChat Integration
import { useChat } from 'ai/react';
import { AIDevtools } from '@ai-sdk-tools/devtools';
import { DefaultChatTransport } from 'ai';
function ChatComponent() {
const { messages, input, handleInputChange, handleSubmit } = useChat({
transport: new DefaultChatTransport({
api: '/api/chat'
}),
...
});
return (
<div>
{/* Your chat UI */}
{process.env.NODE_ENV === "development" && <AIDevtools />}
</div>
);
}
Features
Event Monitoring
- Tool calls - Start, result, and error events
- Message streaming - Text chunks, completions, and deltas
- Step tracking - Multi-step AI processes
- Error handling - Capture and debug errors
Advanced Filtering
- Filter by event type (tool calls, text events, errors, etc.)
- Filter by tool name
- Search through event data and metadata
- Quick filter presets
Performance Metrics
- Real-time streaming speed (tokens/second)
- Character streaming rate
- Context window utilization
- Event timing and duration
Visual Interface
- Resizable panel (drag to resize)
- Live event indicators
- Color-coded event types
- Context circle visualization
Configuration
<AIDevtools
enabled={true}
maxEvents={1000}
modelId="gpt-4o" // For context insights
config={{
position: "bottom", // or "right", "overlay"
height: 400,
streamCapture: {
enabled: true,
endpoint: "/api/chat",
autoConnect: true
},
throttle: {
enabled: true,
interval: 100, // ms
includeTypes: ["text-delta"] // Only throttle high-frequency events
}
}}
debug={false} // Enable debug logging
/>
Advanced Usage
Manual Event Integration
import { useAIDevtools } from '@ai-sdk-tools/devtools';
function MyComponent() {
const {
events,
clearEvents,
toggleCapturing
} = useAIDevtools({
maxEvents: 500,
onEvent: (event) => {
console.log('New event:', event);
}
});
return (
<div>
<button onClick={clearEvents}>Clear Events</button>
<button onClick={toggleCapturing}>Toggle Capture</button>
<div>Events: {events.length}</div>
</div>
);
}
Event Filtering
const { filterEvents, getUniqueToolNames, getEventStats } = useAIDevtools();
// Filter events
const toolCallEvents = filterEvents(['tool-call-start', 'tool-call-result']);
const errorEvents = filterEvents(['error']);
const searchResults = filterEvents(undefined, 'search query');
// Get statistics
const stats = getEventStats();
const toolNames = getUniqueToolNames();
Event Types
The devtools capture these event types:
tool-call-start- Tool call initiatedtool-call-result- Tool call completed successfullytool-call-error- Tool call failedmessage-start- Message streaming startedmessage-chunk- Message chunk receivedmessage-complete- Message completedtext-start- Text streaming startedtext-delta- Text delta receivedtext-end- Text streaming endedfinish- Stream finishederror- Error occurred
Development
Debug Mode
Enable debug logging to see detailed event information:
<AIDevtools debug={true} />
Or enable globally:
window.__AI_DEVTOOLS_DEBUG = true;
Requirements
- React 16.8+
- AI SDK React package
- Modern browser with fetch API support
Contributing
Contributions are welcome! See the contributing guide for details.
License
MIT
Description from the npm listing.
- ai
- devtools
- debugging
- chat
- streaming
- development
- ai-sdk
- react
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm AI SDKs plugins
All 20 @ai-sdk-tools/devtools alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@ai-sdk-tools/devtools. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.