Skip to main content

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.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for strangeworks-aura-sdk 0.2.0
File Size Uploaded
strangeworks_aura_sdk-0.2.0.tar.gz 34.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for strangeworks-aura-sdk 0.2.0
File Interpreter ABI Platform
strangeworks_aura_sdk-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 71.4 kB

Release files / strangeworks_aura_sdk-0.2.0.tar.gz

Download URL strangeworks_aura_sdk-0.2.0.tar.gz
Size 34.7 kB
Tags Source
SHA-256 checksum
How to use checksums
935bc278a60b5b9fd093b6984c2981133483420a5e9525e7c84f98d23a203940
BLAKE2b-256 checksum
How to use checksums
010c4b8dc763881a283bc5479d0d2cd460b90e24169fcb573410feccff415123
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 Sep 16, 2026.

Transparency log

Release files / strangeworks_aura_sdk-0.2.0-py3-none-any.whl

Download URL strangeworks_aura_sdk-0.2.0-py3-none-any.whl
Size 36.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91ef35862dd9bdf9849d19da7faf5547d691177a550b93226c397d8980514687
BLAKE2b-256 checksum
How to use checksums
8227c5e0c7428c9921e3c3e6e6cca6926545eaf00d90e2f56da13042dc28eca7
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 Sep 16, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.2

2 release files

0.2.1

2 release files

This release

0.2.0 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page