Skip to main content
Blazing Agents logo

Blazing Agents Python SDK

Build production agents in Python with a typed client for the Blazing Agents API.

Documentation · PyPI

The official Python SDK provides synchronous and asynchronous clients for the Blazing Agents /v1 API. It supports CPython 3.11 and newer.

Features

  • Typed Pydantic request and response models.
  • Matching synchronous and asynchronous APIs.
  • Agent, Workspace, Skill, Provider, Prompt, Memory, Session, Artifact, Task, Chat Connection and delivery, usage, and Tenant management.
  • Chat with ordered message batches, live steering, and one-call tool approvals.
  • Text and structured-object generation streams.
  • Lazy pagination and binary transfers.
  • Request correlation with configurable timeouts and observability.

Installation

pip install blazing-agents

Quick start

Create a Tenant API key in the Blazing Agents dashboard, then pass it to the client or set BLAZING_AGENTS_API_KEY.

from blazing_agents import BlazingAgents


with BlazingAgents(api_key="ba_...") as client:
    result = client.completion(
        agent_id="ag_...",
        prompt="Write a friendly welcome message.",
    )
    print(str(result))

Use AsyncBlazingAgents for asynchronous applications; it exposes the same resources and generation methods.

Documentation

Read the Python SDK documentation for authentication, resource guides, generation and streaming, error handling, and the complete API reference.

Development

uv sync --locked
uv run ruff check .
uv run ruff format --check .
uv run python scripts/run_typechecks.py
uv run python scripts/run_tests.py

License

MIT

Metadata

Release files for blazing-agents 0.21.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 blazing-agents 0.21.0
File Size Uploaded Provenance
blazing_agents-0.21.0.tar.gz 179.9 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for blazing-agents 0.21.0
File Interpreter ABI Platform
blazing_agents-0.21.0-py3-none-any.whl Python 3 none any Details

Total release size: 253.7 kB

Release files / blazing_agents-0.21.0.tar.gz

Download URL blazing_agents-0.21.0.tar.gz
Size 179.9 kB
Tags Source
SHA-256 checksum
How to use checksums
55837e891be71566d64f31e421f68d1d2cacf52285311cf24cede18aa36bc939
BLAKE2b-256 checksum
How to use checksums
62be69d2f2782dc6d836acacf08e3330c41121dca091a55fa4d5a4842369d1a5
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 Oct 12, 2026.

Transparency log

Release files / blazing_agents-0.21.0-py3-none-any.whl

Download URL blazing_agents-0.21.0-py3-none-any.whl
Size 73.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05dbcdf1426114e403b6cd9e886be574249e6bcba9bf419acdfb17a5640475d3
BLAKE2b-256 checksum
How to use checksums
ce2ea31429b3e1ede6c5bcaee99b8e6b3f5c62b63c5753cd214c23a3279bdffd
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 Oct 12, 2026.

Transparency log

Security for blazing-agents 0.21.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for blazing_agents-0.21.0.tar.gz

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 Oct 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.21.0 This release

2 release files Full provenance

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