bigRAG Python SDK
Async Python client for the bigRAG API.
pip install bigrag
import asyncio
from bigrag import BigRAG
async def main() -> None:
async with BigRAG(api_key="bigrag_sk_...", base_url="http://localhost:4000") as client:
doc = await client.documents.upload("docs", "/path/to/paper.pdf")
result = await client.queries.query("docs", {"query": "What is RAG?"})
print(doc["id"], result["total"])
asyncio.run(main())
The SDK is fully typed, ships py.typed, and uses CalVer releases like 2026.5.22.
Namespaces
client.collectionsfor collection CRUD, stats, re-embedding, event tokens, and event streams.client.documentsfor uploads, batch operations, file URLs, and status polling.client.queriesfor single, multi-collection, and batch retrieval queries.client.vectorsfor raw vector upsert and delete.client.webhooksfor webhook management and delivery replay.client.authfor session login, setup, preferences, and identity.client.adminfor users, API keys, access logs, audit logs, runtime settings, backups, vector storage overview, admin realtime streams, connector config, embedding presets, and MCP server keys.client.connectors.googlefor Google Drive account, file browsing, sources, and sync jobs.client.evaluationsfor golden-set retrieval evaluations.
Authentication
API-key endpoints accept api_key or the BIGRAG_API_KEY environment variable.
Session-only admin endpoints can be used after calling client.auth.login(...) or
client.auth.setup(...); the client keeps the session cookie in its underlying
httpx.AsyncClient.
Versioning
Published artifacts use CalVer in the form YYYY.M.D.
Metadata
Release files for bigrag 2026.5.22
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bigrag-2026.5.22.tar.gz | 21.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bigrag-2026.5.22-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.1 kB
Release files / bigrag-2026.5.22.tar.gz
| Download URL | bigrag-2026.5.22.tar.gz |
|---|---|
| Size | 21.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b540ff986cbf89de1cd53d96fae73e9bc08926377a394faba8b414b425555e45
|
|
BLAKE2b-256 checksum How to use checksums |
4196b37c9183c3990df62a7cb097c6cfc75e5f21d3e3be6056f4ba5b1e0b42f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / bigrag-2026.5.22-py3-none-any.whl
| Download URL | bigrag-2026.5.22-py3-none-any.whl |
|---|---|
| Size | 38.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac36999dcc07a1a7c029fed98d6dc8b6a58b1ef6a26c247e9607e3380ac0efb4
|
|
BLAKE2b-256 checksum How to use checksums |
4143b99595a685ef4326483cbd121091be1812b6ea2ada4f9953d446efbb24a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|