Solwyn Docs
SDK-first control plane for AI agents — hard spending caps, automatic provider failover, and per-agent cost attribution, without ever seeing your prompts.
New here?
Install the SDK
pip install solwyn, then point it at your existing client. → Quickstart
Wrap your client
Three lines wrap OpenAI, Anthropic, Gemini, Bedrock, or Together. → Quickstart
See spend in the dashboard
Your first tracked call shows up as a cost event. → Quickstart
Set a budget
Alert-only by default; hard-deny is one flag. → Budget enforcement
Running coding agents? The CLI gives them pre-flight budget guardrails to call before they spend — reserve, spend, settle. → Agent integration
Works with your provider
Explore the docs
Quickstart
From pip install to a tracked call in your dashboard — about five minutes.
Providers
OpenAI, Anthropic, Google Gemini, Amazon Bedrock, Together AI, and any OpenAI-compatible endpoint.
Budget enforcement
Alert-only vs hard-deny, and what happens when you hit the limit.
Privacy & how it works
The exact wire contract — token counts and metadata, never prompts or responses.
CLI
Budget guardrails for agents, cost monitoring for humans — from the terminal or over MCP.
Dashboard guide
Signing up, where everything lives, and how to recover access.
Cloud & dashboard
Get your API key, watch spend, and receive signed webhooks for budget events.
Reference
Full constructor and method signatures, config fields, and exceptions.