strangeworks-aura-sdk
An async Python SDK for the Strangeworks Aura public API (/api/v1). It embeds Aura in a
Python backend — deployments, projects, conversations, chat, snapshots — with company API-key
auth. The import package is aura_sdk.
pip install strangeworks-aura-sdk
import os
from aura_sdk import AuraClient
async with AuraClient(api_key=os.environ["AURA_API_KEY"]) as aura:
project = await aura.create_project(name="vrp demo", from_deployment="acme/vrp")
reply = await aura.chat(project.id, "Solve this and summarize the result.")
Async-only: every call is a coroutine and there is no synchronous twin, so it drops into an async
service without a thread pool in the middle. A synchronous entry point wraps it once with
asyncio.run(...).
📖 docs.aura.strangeworks.com/python — the full
guide and API reference. Documentation for this package lives there, not here:
clients/docs is its one home, so a change to the public surface updates that site in
the same commit. Method docstrings stay the exception — they are what help() renders, and the
published reference is generated from them, so they document their own args, returns and
exceptions in place.
The TypeScript counterparts are @strangeworks-inc/strangeworks-aura-sdk and, for the terminal,
@strangeworks-inc/strangeworks-aura-cli. There is no Python CLI — the aura command ships from
TypeScript only. Why both SDKs are shaped the way they are is recorded in
ADR-024.
Developing it in this repo
From clients/aura-sdk-python:
uv sync # its own venv — this package never resolves against backend/
uv run pytest
Point a client at a local just dev stack with base_url="http://localhost:3000" (Caddy routes
/api/* to the backend; its own 8080 is container-internal). No minting needed locally: any
sk-aura-… value set as AURA_API_KEY in the repo-root .env is registered by the backend seed
on startup as a valid key for the Strangeworks company, and survives just reset-db since it's
re-seeded from the same env value.
Request and response models under src/aura_sdk/models.py are pydantic models generated from the
backend's OpenAPI spec, filtered to the public /api/v1 surface. api.json alongside them is the
public surface extracted for the docs site. Do not edit either by hand — regenerate from the repo
root with just sync-openapi. CI (api-types-drift) fails if they drift.
No backend coupling
This package is a customer artifact: it has its own pyproject.toml, its own uv.lock and its own
.venv, and it is not installed into the shared backend venv the way packages/aura-compute
is. It must never import from workflows_prototype, modeling_phase or aura_compute, and
tests/test_no_backend_coupling.py asserts that in a clean subprocess rather than trusting
convention.
Release files for strangeworks-aura-sdk 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| strangeworks_aura_sdk-0.1.1.tar.gz | 30.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| strangeworks_aura_sdk-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 63.1 kB
Release files / strangeworks_aura_sdk-0.1.1.tar.gz
| Download URL | strangeworks_aura_sdk-0.1.1.tar.gz |
|---|---|
| Size | 30.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd92f843b2c940a06b4e9c8ff78681e0af2d23ab393b138bebb0f783591c1e66
|
|
BLAKE2b-256 checksum How to use checksums |
c9492c8b7b30810d123f13ee87235b6b479b6ae3c7e37ce0e57927fd96ef55e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency logRelease files / strangeworks_aura_sdk-0.1.1-py3-none-any.whl
| Download URL | strangeworks_aura_sdk-0.1.1-py3-none-any.whl |
|---|---|
| Size | 32.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
526a61481132772f44782bc61da9bf7f58c846a69c58e0d28c878250788dceee
|
|
BLAKE2b-256 checksum How to use checksums |
c403c63e80b663b2d05a9972a457a18f537ff96413ace186456d80dfa3236a83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency log