SDK Overview
The official Vluna SDKs are the default integration path when you want to call Vluna directly from your own backend or application code.
Use the SDKs when you want:
- a typed client for Vluna APIs
- built-in request signing and request-context handling
- a direct integration path without adopting a framework-specific adapter
Available SDKs
- Python:
vlunaai - TypeScript:
@vlunaai/sdk
Install
Python
pip install vlunaai
- Package:
vlunaai - Runtime: Python >= 3.8
- Registry: PyPI
TypeScript
npm install @vlunaai/sdk
- Package:
@vlunaai/sdk - Runtime: modern browsers and Node.js >= 18
- Registry: npm
When to use the SDK directly
The SDK is usually the right choice when:
- your backend calls Vluna as part of normal application flows
- you want a direct
authorize -> commit/cancelintegration - you do not need a framework-specific runtime wrapper
When to use adapters instead
Use the adapter pages when your integration lives inside an LLM or agent runtime such as:
- OpenAI SDK
- OpenAI Agents SDK
- Google ADK
- LangGraph
Those pages focus on runtime-specific wiring patterns. The SDK page is for the base client libraries themselves.
Choose a language
- Python
- Package:
vlunaai - Best for Python backends and Python-based agent systems
- Package:
- TypeScript
- Package:
@vlunaai/sdk - Best for Node.js services, TypeScript backends, and browser-capable integrations
- Package:
What the SDK gives you
- typed request and response models
- service-to-service and bearer-auth integration paths
- request-context handling for Realm, billing account, and principal identity
- a direct client-library path when you do not need a framework-specific adapter
Core concepts
realm_id/realmId- Identifies the Realm and is sent on every request.
billing_account_id/billingAccountId- Required for account-scoped operations.
principal_id/principalId- Your business identifier for the customer, account owner, user, or team you are billing against.
Related guides
- If you are comparing SDK vs runtime-wrapped integration, read: LLM integration guide
- If you already know your runtime, choose one of the framework pages from: Adapters index