WhyOps acts as a drop-in API proxy for LLM providers like OpenAI and Anthropic. You do not need to rewrite your agent logic to start capturing traces.Documentation Index
Fetch the complete documentation index at: https://whyops.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
1. Get your WhyOps API Key
- Log in to the WhyOps Dashboard.
- Create a new Project and Environment.
- Navigate to API Keys and generate a new key.
- Add your provider API keys (OpenAI, Anthropic) in the Providers section of the dashboard.
2. Register your agent
Before sending traffic, register the agent configuration you want WhyOps to track.3. Choose your integration path
TypeScript / JavaScript SDK
Use
@whyops/sdk when you want a single package for agent init, proxy patching, and manual runtime events.Python SDK
Use
whyops for sync and async tracing, plus OpenAI and Anthropic proxy helpers.Go SDK
Use the Go module for manual events and a proxy-aware
http.Client transport.4. Update your Base URL
Configure your existing OpenAI or Anthropic SDKs to point to the WhyOps proxy.- OpenAI (TypeScript)
- Anthropic (TypeScript)
You must provide the
X-Agent-Name header on every request to identify which agent is making the call.If your framework exposes a natural request context, you can also send
X-Trace-ID or X-Thread-ID. If you do not, WhyOps automatically uses invisible signatures to keep the trace stitched together.5. View your Traces
Once your agent makes a request, WhyOps automatically injects Invisible Signatures to tie follow-up tool calls and context windows into a single trace. Navigate to the Traces tab in the WhyOps Dashboard to view the real-time execution graphs.6. Add manual runtime events when needed
The proxy captures LLM traffic automatically, but you can also send manual tool/runtime events towhyops-analyse for richer graphs and better static analysis.
Use this when you want to log:
- custom tool execution
- framework retries
- runtime errors
- internal reasoning or orchestration milestones
Next Steps
- Start with the SDK Packages overview.
- Follow the language section in the sidebar from quickstart to proxy helpers to runtime events.
- Learn how Invisible Signatures work.
- See how to configure Agent Analyses.