Skip to main content

Install with AI

Copy the Voker setup prompt into your coding agent.
This guide walks you through installing Voker, configuring your API key, and making your first tracked LLM call. By the end, you’ll have a working integration that captures every request your agent makes - no extra code required beyond swapping the import.
the SDK does not currently support Audio, Video or Image modalities.
1

Install the package

Install voker using your preferred package manager.
2

Set your API key

Create a .env file:
You can find your API key in the Voker dashboard. Setting it as an environment variable keeps it out of your source code.
3

Swap your LLM import

Replace the standard LLM provider import with the Voker-wrapped version. No other changes to your code are needed.
Pass voker_agent to identify which agent handled the event, and voker_session to group events by session.

Next steps

Once you’re tracking calls, explore provider-specific features and configuration options:

OpenAI

Chat Completions and Responses API support

Anthropic

Messages API support with Claude models

Gemini

Gemini Generate Content and Interactions API support

AI SDK

Vercel AI SDK integration with wrapAiSdk()