SDKs & Frameworks
Write code with official SDKs—swap one baseURL and keep your existing code.
Use the SDK you already know to call Praxis models—keep every line of your existing OpenAI / Anthropic code, change one baseURL.
All SDKs share the same prerequisite: a Praxis API key starting with sk-praxis- (via environment variable, never hardcoded).
OpenAI SDK
Node + Python verified; usage.cost returns the price directly
Anthropic SDK
Node + Python verified; thinking blocks + usage details
Vercel AI SDK
React / Vue / Svelte full-stack; generateText / streamText / useChat
LangChain
JS/TS chains; connect via the nested configuration object
Protocol cheat sheet: OpenAI-compatible uses https://api.deepraxis.com/openai/v1; Anthropic-compatible uses https://api.deepraxis.com/anthropic.
Writing SDK code for the first time? Start with the OpenAI SDK—the largest ecosystem, the most documentation, and three core lines to get running.