Python SDK for the AgentFlow API
Project description
agentflow-client
PyPI distribution name:
agentflow-client. Registry publishing is not complete as of 2026-04-27; until the first greenPublish Python Packagesrun, use the local editable install below. Python import remainsagentflow.
After registry publish:
pip install agentflow-client
Inside the monorepo, the root runtime package is tracked separately as
agentflow-runtime, while the SDK keeps the agentflow import path and CLI.
For a local editable install from this repository (the supported path today):
python -m pip install -e "./sdk"
from agentflow import AgentFlowClient
client = AgentFlowClient("http://localhost:8000", api_key="dev-key")
order = client.get_order("ORD-20260404-1001")
print(order.status, client.get_metric("revenue", "24h").value)
from agentflow import AgentFlowClient
from agentflow.retry import RetryPolicy
client = AgentFlowClient("http://localhost:8000", api_key="dev-key")
client.configure_resilience(retry_policy=RetryPolicy(max_attempts=5))
from agentflow import AsyncAgentFlowClient
async def main() -> None:
async with AsyncAgentFlowClient("http://localhost:8000", api_key="dev-key") as client:
order = await client.get_order("ORD-20260404-1001")
metric = await client.get_metric("revenue", "24h")
print(order.status, metric.value)
The SDK exposes typed methods for v1 read, query, discovery, contract,
lineage, changelog, and batch routes. Admin and operational surfaces are
intentionally not wrapped as public typed methods: /v1/admin/*,
/v1/webhooks, /v1/alerts, /v1/deadletter, /v1/slo, and
/v1/stream/events.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentflow_client-1.1.0.tar.gz.
File metadata
- Download URL: agentflow_client-1.1.0.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d59a37c2956c2a908f2e62dcc5d315b850df407c00e5d6ba2bc868fbf72295e0
|
|
| MD5 |
b37ce32e148028569dbb6177e5bb4a9a
|
|
| BLAKE2b-256 |
4fb3a60502d1600ad72f6398d9ac8455d51f2a12072ef76760bdca29dc029042
|
Provenance
The following attestation bundles were made for agentflow_client-1.1.0.tar.gz:
Publisher:
publish-pypi.yml on brownjuly2003-code/agentflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentflow_client-1.1.0.tar.gz -
Subject digest:
d59a37c2956c2a908f2e62dcc5d315b850df407c00e5d6ba2bc868fbf72295e0 - Sigstore transparency entry: 1399541638
- Sigstore integration time:
-
Permalink:
brownjuly2003-code/agentflow@4cd90d9656679e457575e0dccdd90c27dee2e57a -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/brownjuly2003-code
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@4cd90d9656679e457575e0dccdd90c27dee2e57a -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentflow_client-1.1.0-py3-none-any.whl.
File metadata
- Download URL: agentflow_client-1.1.0-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb0f1f249216996b8cc6ed1462a631046eaca30815471900c9a3a26bc21b53b9
|
|
| MD5 |
0384a891208a9d01494a451cfb6f7eb8
|
|
| BLAKE2b-256 |
023c8e19e98a7440b2844238f227bb4cc06d179f8fb2682c942c4d9a30d16a5b
|
Provenance
The following attestation bundles were made for agentflow_client-1.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on brownjuly2003-code/agentflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentflow_client-1.1.0-py3-none-any.whl -
Subject digest:
fb0f1f249216996b8cc6ed1462a631046eaca30815471900c9a3a26bc21b53b9 - Sigstore transparency entry: 1399541705
- Sigstore integration time:
-
Permalink:
brownjuly2003-code/agentflow@4cd90d9656679e457575e0dccdd90c27dee2e57a -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/brownjuly2003-code
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@4cd90d9656679e457575e0dccdd90c27dee2e57a -
Trigger Event:
push
-
Statement type: