Documentation
Connect your apps to Worksi AI Control: the quickstart, API keys, plans and limits, the OpenAI‑compatible gateway, providers and routing, the SDKs, MCP, OpenTelemetry, policies, end‑user plans, incidents and the AI Graph.
Get started
- 01QuickstartStart the trial, create an API key, point your OpenAI client at the gateway and open your first trace — in about ten minutes.
- 02API keys & tokensWorkspace API keys for applications and personal access tokens for automation: scopes, environments, rotation and limits.
- 03Plans and limitsWhat an AI trace is, the limits of each plan, the trial and the free plan, and what happens when your organization moves to a plan with lower limits.
Connect
- 04Gateway APIThe OpenAI‑compatible endpoint and Anthropic’s Messages API: endpoints, attribution and response headers, the request pipeline, errors, providers and the simulator.
- 05Providers & routingConnect any of 24 provider presets or your own OpenAI‑compatible server, pick the provider per call with a route prefix, add fallback models and read every cost in USD.
- 06Python SDKTrace runs, steps and tools, record outcomes, request human approvals and honor operator controls from Python.
- 07TypeScript SDKWire the OpenAI and Anthropic Node.js clients to the gateway and trace runs, steps and tools with typed errors and approvals.
- 08MCPConnect Claude Desktop, Cursor, VS Code and your own agents to Worksi over the Model Context Protocol, and govern any MCP server through the MCP gateway.
- 09OpenTelemetrySend OTLP/HTTP traces from existing OpenTelemetry instrumentation. GenAI semantic conventions are mapped automatically.
Govern & operate
- 10Policies & approvalsGovern models, spend, tokens, rates, tools and data capture with policies, roll them out in monitor mode, and keep people in the loop with approvals.
- 11End‑user plans & quotasMeter and limit AI usage per end user of your app according to the plans you sell: free, pro or anything else.
- 12Incidents & alertsHow detectors open incidents, the nine steps each incident is tracked through, how recovery is verified and what is learned, and how alerts reach email, Slack and webhooks.
- 13AI GraphHow the AI Graph maps your workflows, agents, models, tools, MCP servers and data sources: what is failing now, what depends on it, and the governed actions you can take from the map.
Questions
More questions? Email info@worksi.ai.
Do I have to change my code?
Two lines: point your OpenAI client’s base URL at the Worksi gateway and use a Worksi API key instead of your provider key. Code written for the Anthropic SDK changes the same two values. Your provider keys stay with Worksi, encrypted. The Worksi SDKs are optional and add workflow-level tracing, approvals and outcomes.
Which models and providers work?
Any of 24 provider presets: OpenAI, Anthropic, Gemini, Mistral, xAI, Groq, Together AI, OpenRouter and Azure OpenAI; the Chinese providers DeepSeek, Qwen, Kimi, GLM, MiniMax, ERNIE, Hunyuan, Doubao, BytePlus and StepFun; and Ollama and vLLM for models you run yourself. Any other server that speaks the OpenAI API works too. The gateway serves Chat Completions, the Responses API, embeddings and streaming, and Anthropic’s Messages API for Claude. A built‑in simulator gives deterministic, free responses for tests and demos.
Do you charge for model tokens?
No. You bring your own provider key and your provider bills you directly. Worksi never resells or marks up model tokens; our plans cover the control plane only.
What happens to my prompts and responses?
You decide per environment: store previews in full, store them with sensitive values redacted (the default), or store metadata only — hashes, token counts, cost, timings and errors, with no text at all.
How does the free trial work?
Every account starts with a 3‑day trial with Scale features and no credit card. Confirm your email to lift the limits. When the trial ends you stay on the free Developer plan; to choose a paid plan, contact us or use Request upgrade in the console and we activate your plan.
Can AI assistants and agents connect over MCP?
Yes. The Worksi MCP server gives agents tools to trace runs, check policies and request approvals, and gives people tools to work incidents from Claude Desktop, Cursor or VS Code. The MCP gateway governs any MCP server you register.
Start with the quickstart.
Create a key, point your OpenAI client at the gateway and open your first trace, in about ten minutes.
# Governance → API keys (the key is shown once)export OPENAI_API_KEY="aiw_sk_live_…"export OPENAI_BASE_URL="https://gateway.worksi.ai/v1"