npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@korveo/voltagent

v1.0.5

Published

Korveo exporter for VoltAgent — local-first observability with zero cloud dependency.

Readme

@korveo/voltagent

Debug your VoltAgent agent locally. No account. No cloud. No telemetry leaving your laptop.

@korveo/voltagent is the Korveo side of VoltAgent's OTel telemetry pipeline. VoltAgent is OTel-native — it sets up an OTel TracerProvider and emits spans for every agent generation, LLM call, tool call, and guardrail. This package provides a drop-in SpanExporter that converts those spans to Korveo's wire format and ships them to a local Korveo instance — visible at http://localhost:3000.

Install

npm install @korveo/voltagent

You also need a running Korveo instance:

docker run -p 3000:3000 -p 8000:8000 zistica/korveo

Usage

Build the processor and pass it to your VoltAgent OTel config (or to any NodeTracerProvider you've already set up):

import { NodeTracerProvider } from '@opentelemetry/sdk-trace-node';
import { korveoProcessor } from '@korveo/voltagent';

const tracerProvider = new NodeTracerProvider({
  resource,
  spanProcessors: [
    korveoProcessor({ serviceName: 'my-voltagent-app' }),
    // …other processors
  ],
});
tracerProvider.register();

That's it. Run your VoltAgent app, open http://localhost:3000, every agent generation, LLM call, and tool call shows up live.

The helper reads KORVEO_HOST, KORVEO_API_KEY, and KORVEO_SERVICE_NAME from the environment, so common deployments need no constructor args:

export KORVEO_HOST=http://korveo.internal:8000
export KORVEO_PROJECT=my-bot
node ./your-voltagent-app.js

What gets captured

  • LLM spans with model, provider, tokens, and per-call cost (OpenAI / Anthropic / fine-tuned / provider-prefixed model names all supported)
  • Tool spans with input args, output, errors — VoltAgent emits bare tool.name + agent.tool.initiated, both recognized
  • Reasoning blocks — Claude / Gemini extended-thinking surfaces under ai.response.reasoning and renders with the brain-emoji subtype
  • Guardrail spans — VoltAgent's guardrail.* namespace lands as custom spans with the policy decision visible
  • Sub-agent runsagent.parent.id is used as a session-grouping fallback so subagent timelines stay nested
  • Live span streaming — new spans appear in the dashboard the moment they end, via WebSocket

Resilience (Korveo Rule 7)

If Korveo is down or returns a 5xx, your VoltAgent process never sees an error. Spans drop silently, the agent keeps running. Verified against DNS failure, 401/500/timeout/hang/garbage-payload, and 1000-span batches — same resilience suite as the other Korveo integrations.

Verified against real upstream emission

The exporter was built against the actual attribute keys @voltagent/core emits at runtime (verified via grep against the package's compiled source), not against the OTel GenAI semconv documentation in isolation. Specifically supported:

  • ai.model.name / ai.model.provider / ai.model.temperature / ai.model.max_tokens (Vercel AI SDK convention)
  • ai.response.reasoning (extended thinking)
  • bare input / output (VoltAgent's content shape on root + LLM + tool spans)
  • voltagent.input / voltagent.output / voltagent.tool.name / voltagent.session_id (explicit namespace)
  • agent.parent.id (sub-agent session grouping)
  • agent.step.text (intermediate step output)
  • agent.tool.initiated (tool-call lifecycle hint)
  • gen_ai.* (any framework using the OTel GenAI semconv)

If your VoltAgent app emits an attribute key the exporter doesn't pick up, open an issue.

License

Apache-2.0.