Voight works with any agent stack — coding assistants, autonomous frameworks, and custom runtimes. Pick the install path that fits yours; the dashboard, the privacy model, and the API are identical on every path.Documentation Index
Fetch the complete documentation index at: https://docs.voight.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Step 1 — Install
A · Coding agent (Claude Code, Cursor, Codex…)
A wizard writes the right hooks and env into your IDE’s config. No code changes.B · Autonomous agent (ElizaOS, Solana Agent Kit, custom)
Install the SDK as a library and callvoight.log() from your agent code.
C · Any language over HTTP
For Python, Go, Rust, or anything that speaks JSON — POST events directly, no SDK required.Step 2 — Pick your privacy level
For path A the wizard prompts you. For paths B and C you pass it onvoight.init({ privacy: 'standard' }) or per-request.
- Minimal — metadata only. No prompts, responses, file paths, cwd, or git context leave your machine.
- Standard ★ — full content with local PII scrubbing. Credentials and personal info redacted before transmission.
- Full — everything captured as-is.
Step 3 — Generate your API key
When the wizard asks for a key — or before you initialize the library / send your first request — open voight.xyz/dashboard/settings and click + Generate key. Copy thevk_... secret. You’ll only see it once, so save it to a password manager.
Paste it into the wizard, or set it as VOIGHT_KEY in your runtime environment.
Step 4 — You’re connected
Open voight.xyz/dashboard. Within seconds you should see:- A new agent in the Agents list (auto-named from your install path, renameable)
- Events streaming in Overview and Audit log
- Token counts, cost USD, and model tags on each event
- A per-event privacy chip (
MIN/STD/FULL) confirming which level captured it
Non-TTY install for path A
Ifstdin isn’t an interactive TTY (running the wizard from inside a chat agent, CI, or any non-interactive shell), setup runs in 3-step progressive mode instead of an interactive prompt:
Troubleshooting
Events aren't showing up
Events aren't showing up
- Confirm the SDK version:
npx -y @voightxyz/sdk@latest --version(should be 0.4.2 or higher). - For path A — check your IDE’s settings file (
~/.claude/settings.jsonfor Claude Code):env.VOIGHT_KEYshould be set andhooksshould contain entries callingnpx -y @voightxyz/sdk hook. Restart your IDE afterwards — hooks are read on startup. - For path B / C — confirm your code is actually calling
voight.log()or POSTing, and thatVOIGHT_KEYis set in the runtime environment. - Check the dashboard’s Audit log for the most recent events — they should appear within ~2 seconds of being sent.
npx serves an old SDK version
npx serves an old SDK version
Force the latest with an explicit version:Or clear the npx cache:
The SDK isn't capturing my prompts
The SDK isn't capturing my prompts
You’re probably on Minimal mode, which strips content fields by design. Re-run setup with Standard or Full:Or for path B / C, pass the level on
voight.init({ privacy: 'standard' }).My IDE shows a warning about the package
My IDE shows a warning about the package
Some coding agents flag unfamiliar packages installed with
-y for safety. The two-line copy block in your dashboard onboarding includes a framing line (“Set up Voight observability here:”) that gives the agent the intent it needs to skip the warning.Next steps
Understand the data model
What an event, trace, and session are. How Voight groups them.
Pick the right privacy level
The 3-level model in detail, with examples of what each captures.
Library mode
Deep dive on path B — for autonomous agents you build yourself.
HTTP API
Deep dive on path C — for runtimes that don’t use npm.