LlamaAgents Client
Async HTTP client for interacting with deployed llama-agents-server instances.
Installation
pip install llama-agents-client
Quick Start
import asyncio
from llama_agents.client import WorkflowClient
async def main():
client = WorkflowClient(base_url="http://localhost:8080")
# Run a workflow asynchronously
handler = await client.run_workflow_nowait("my_workflow")
# Stream events as they are produced
async for event in client.get_workflow_events(handler.handler_id):
print(f"Event: {event.type} -> {event.value}")
# Get the final result
result = await client.get_handler(handler.handler_id)
print(f"Result: {result.result} (status: {result.status})")
asyncio.run(main())
Features
- Run workflows synchronously or asynchronously
- Stream events in real-time as a workflow executes
- Human-in-the-loop support via
send_eventfor injecting events into running workflows - Bring your own
httpx.AsyncClientfor custom auth, headers, or transport
Documentation
See the full deployment guide for detailed usage and API reference.
Metadata
Release files for llama-agents-client 0.4.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 | Provenance | Actions |
|---|---|---|---|---|
| llama_agents_client-0.4.1.tar.gz | 9.9 kB | Without provenance | Details for llama_agents_client-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_agents_client-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for llama_agents_client-0.4.1-py3-none-any.whl |
Total release size: 21.5 kB
Release files / llama_agents_client-0.4.1.tar.gz
| Download URL | llama_agents_client-0.4.1.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7de078f5b6e3ff095712b1869ab0f826280f666db173a5e24fa86e3fc6ce6a47
|
|
BLAKE2b-256 checksum How to use checksums |
b197002875e12c6ef0c328825eb29f7e1b587a7fcc71a27571c2c8c91b15e810
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / llama_agents_client-0.4.1-py3-none-any.whl
| Download URL | llama_agents_client-0.4.1-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
572a9e8bc4c0e3680b2fbba120e8ac185da45738e9db47eacdfac6da10c1bdd5
|
|
BLAKE2b-256 checksum How to use checksums |
8a9ad20a2668afaf4ae12e88d99fbbe880cd3942bfe033df99842d0ce450d141
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.4 {"installer":{"name":"uv","version":"0.13.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for llama-agents-client 0.4.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.