Skip to main content
The Belvedir Node SDK auto-instruments the major LLM providers with a single initialize() call.

Install

Initialize

The SDK patches your LLM client the moment initialize() runs, so it must run before the LLM SDK is imported. In Next.js use instrumentation.ts at the project root — see the Next.js guide. In a plain Node process, call it at the top of your entry file:
For bundled or ESM environments, pass your LLM SDKs to instrumentModules so they’re patched directly — see Configuration.

Next steps

  • Configuration — every option accepted by initialize().
  • Providers — every LLM provider we auto-instrument.
  • Python SDK — same concepts, snake_case, context managers.