SDKs

Official SDKs for the Hubrix API. All SDKs are feature-complete for the flagship endpoints, handle retries and rate limits automatically, and raise typed errors.

๐Ÿ

Python

Async-first with httpx. Typed with Pydantic. Python 3.11+.

Install

pip install hubrix

Quickstart

from hubrix import HubrixClient
import asyncio

async def main():
    async with HubrixClient(api_key="YOUR_API_KEY") as c:
        report = await c.research.create("AI trends 2026")
        result = await c.research.poll(report["id"])
        print(result["content"][:500])

asyncio.run(main())
โšก

JavaScript / TypeScript

Native fetch, ESM + CJS, fully typed. Node 20+, browsers.

Install

npm install @hubrix/sdk

Quickstart

import { HubrixClient } from '@hubrix/sdk';

const client = new HubrixClient({ apiKey: 'YOUR_API_KEY' });

const job = await client.research.create('AI trends 2026');
const report = await client.research.poll(job.id);
console.log(report.content?.slice(0, 500));
๐ŸŽ

Swift

Actor-based async/await. URLSession. iOS 17+, macOS 14+.

Install

// Package.swift
.package(url: "https://github.com/hubrix-ai/sdk-swift", from: "2026.5.4")

Quickstart

import Hubrix

let client = HubrixClient(apiKey: "YOUR_API_KEY")

let job = try await client.research.create(query: "AI trends 2026")
let report = try await client.research.poll(reportId: job.id)
print(String(report.content?.prefix(500) ?? ""))

Community SDKs

Building an SDK for another language? We welcome community contributions. Open a PR at github.com/hubrix-ai/sdks or email api@hubrix.ai.