Skip to main content

agenticwf-auth-client

The agenticwf command for AgenticWF: sign-in (OAuth device flow via Logto), access tokens, and calls to the AgenticWF API. Standard library only.

pip install agenticwf-auth-client
agenticwf login                 # opens the browser; works over SSH too
agenticwf token                 # a valid access token, e.g. for curl
agenticwf whoami
agenticwf call GET /api/v1/me

Behind the AgenticWF server (Caddy, Logto) the commands sign in with agenticwf login; set the connection once (an administrator gets the values with docker exec agenticwf cat /var/lib/agenticwf/logto/clients.env):

export AGENTICWF_AUTH_URL=https://host.example.org
export AGENTICWF_API_URL=https://host.example.org/app
export AGENTICWF_CLIENT_ID=<Logto native app id>
export AGENTICWF_RESOURCE=<API resource indicator>
agenticwf login

Scripts and CI use a personal access token instead (AGENTICWF_TOKEN=pat_…), or a machine client (AGENTICWF_CLIENT_ID + AGENTICWF_CLIENT_SECRET).

The service clients add their commands to agenticwf, with the same sign-in:

pip install agenticwf-kb-client       # agenticwf kb …
pip install agenticwf-agent-client    # agenticwf agent …

From Python:

from agenticwf_auth_cli import Client, service_access

api = Client.from_env()
print(api.request("GET", "/api/v1/me"))
base, token = service_access("kb", "/kb")     # a service's URL, and a function giving a valid token

Metadata

Release files for agenticwf-auth-client 0.0.1

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

Source distribution (sdist)

Source distribution for agenticwf-auth-client 0.0.1
File Size Uploaded Provenance Actions
agenticwf_auth_client-0.0.1.tar.gz 10.9 kB Without provenance Details for agenticwf_auth_client-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agenticwf-auth-client 0.0.1
File Interpreter ABI Platform Actions
agenticwf_auth_client-0.0.1-py3-none-any.whl Python 3 none any Details for agenticwf_auth_client-0.0.1-py3-none-any.whl

Total release size: 20.0 kB

Release files / agenticwf_auth_client-0.0.1.tar.gz

Download URL agenticwf_auth_client-0.0.1.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6d192d696a513ce2d5fa33f786358463a2f8c6a243b7f98b116495a3307b8b1b
BLAKE2b-256 checksum
How to use checksums
eb094f6f389c1f1b1d6cf2cbadb13e160198ca1247c2edbbd1647bd5dedd675a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / agenticwf_auth_client-0.0.1-py3-none-any.whl

Download URL agenticwf_auth_client-0.0.1-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15b7b7e77f52bf2792c9e8a1cef1e80f39c0464de6c06b5f99e53f35618deda3
BLAKE2b-256 checksum
How to use checksums
3562ff581b87667f440fe49a8abca95956853ddad732f4294826de6ac8a1842d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for agenticwf-auth-client 0.0.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.

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