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

vequil-sdk

v0.2.0

Published

Reliability and observability SDK for AI agent operators

Downloads

146

Readme

vequil

Prevent runaway agents. Detect anomalies. Track cost.

Reliability and observability infrastructure for AI agent operators. Connect any runtime — every action is logged, anomalies are flagged in real time, and spend is tracked by agent and tool.

npm install vequil

Quickstart

import { VequilClient } from 'vequil'

const vq = new VequilClient({ workspaceKey: 'vk_ws_...' })

// Log any agent event
await vq.ingest({
  source: 'my-agent',
  eventType: 'tool_call',
  eventStatus: 'success',
  agentId: 'ops-agent-1',
  sessionId: 'session-abc',
  toolName: 'bash',
  costUsd: 0.012,
})

// Wrap any async call — logs success or failure automatically
const result = await vq.watch(
  { source: 'openclaw', agentId: 'ops-agent-1', toolName: 'bash' },
  () => runBashCommand('ls -la'),
)

Integrations

LangChain

import { VequilCallbackHandler } from 'vequil/integrations/langchain'

const handler = new VequilCallbackHandler(vq, { agentId: 'my-chain' })
await chain.invoke({ input: '...' }, { callbacks: [handler] })

Tool calls, LLM invocations, and chain errors are all captured automatically.

LangGraph

import { vequilNode } from 'vequil/integrations/langgraph'

const searchNode = vequilNode(
  vq,
  { agentId: 'my-graph', toolName: 'search' },
  async (state) => { /* your node logic */ return state },
)
graph.addNode('search', searchNode)

Vercel AI SDK

import { withVequil } from 'vequil/integrations/vercel-ai'
import { generateText } from 'ai'
import { openai } from '@ai-sdk/openai'

const trackedGenerate = withVequil(vq, { agentId: 'my-agent' }, generateText)
const { text } = await trackedGenerate({ model: openai('gpt-4o'), prompt: '...' })

OpenTelemetry (Vercel AI SDK, LangChain JS, any OTel-compatible runtime)

Drop-in span exporter. Works with Vercel AI SDK's experimental_telemetry and any other OTel-instrumented framework.

import { NodeTracerProvider } from '@opentelemetry/sdk-trace-node'
import { SimpleSpanProcessor } from '@opentelemetry/sdk-trace-base'
import { VequilSpanExporter } from 'vequil/integrations/otel'

const provider = new NodeTracerProvider()
provider.addSpanProcessor(new SimpleSpanProcessor(new VequilSpanExporter(vq)))
provider.register()

// Vercel AI SDK spans are now captured automatically
const { text } = await generateText({
  model: openai('gpt-4o'),
  prompt: 'Hello',
  experimental_telemetry: { isEnabled: true, functionId: 'my-agent' },
})

Environment variables

| Variable | Description | |---|---| | VEQUIL_WORKSPACE_KEY | Your workspace ingest key (alternative to passing in constructor) | | VEQUIL_URL | Custom instance URL (default: https://vequil.com) |

Get your workspace key at vequil.com/quickstart.


What gets detected

  • Logic loops and retry storms
  • Runaway spend (cost spikes by agent or tool)
  • Failed tool calls and chain errors
  • Missing auth keys and blocked actions
  • Session-level failure chains (cascade detection)