A TypeScript library that wraps Vercel AI, OpenAI, and Mastra SDKs to capture telemetry data on latency, token usage, and tool calls without adding latency. It requires minimal code changes and sends telemetry data to Agnost in the background.
From the README
Agnost-AI-Adapter Zero-friction observability wrapper for Vercel AI, OpenAI, Google GenAI, and Mastra agents. Automatic telemetry on every AI call — timing, token usage, tool invocations, and errors — with minimal code changes. --- How It Works Your agent code stays exactly the same. The adapter wraps your existing SDK calls, captures what happened, and sends telemetry to Agnost in the background. The response returns to you untouched. --- Installation The library has a small runtime footprint (agnostai, ai, openai). The AI SDK packages you use with it (e.g. @google/genai, @ai-sdk/google, openai) are installed in your project as normal dependencies — the adapter accepts the clients...
Skills
- TypeScript
- JavaScript