Skip to main content

agenticwf-kb-client

The client of the AgenticWF knowledge service: the Python KBClient and the agenticwf kb command (with agenticwf-auth-client, installed with it).

pip install agenticwf-kb-client            # [hpo] adds the Optuna warm-start helper
agenticwf kb list                          # your knowledge bases
agenticwf kb search "beam energy" --kb ID  # hybrid search
agenticwf kb ask "what changed in run 42?" # agentic search: an answer and its sources
agenticwf kb call GET /knowledge-bases     # any KB API call

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

A standalone KB has its own token instead:

export AGENTICWF_KB_URL=http://127.0.0.1:8766/kb
export AGENTICWF_KB_TOKEN=$(docker exec agenticwf-kb agenticwf-kb token)

From Python (KBClient.from_env() finds the KB and its token as the command does):

from agenticwf.kb.client import KBClient

with KBClient.from_env() as kb:
    for hit in kb.search("beam energy"):
        print(hit["score"], hit["knowledge_title"])

HPO warm start with Optuna: agenticwf.kb.client.hpo (warm_start, upload_study).

Metadata

Release files for agenticwf-kb-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-kb-client 0.0.1
File Size Uploaded Provenance Actions
agenticwf_kb_client-0.0.1.tar.gz 9.5 kB Without provenance Details for agenticwf_kb_client-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 18.1 kB

Release files / agenticwf_kb_client-0.0.1.tar.gz

Download URL agenticwf_kb_client-0.0.1.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
78098280bfcbc955eea370f6c65b697735be7f850d730f4215b598ee39f765d4
BLAKE2b-256 checksum
How to use checksums
2962792b6b0f2fd4463890167ca34962aee42c9779b1893fef3fe0acc0a8cf21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL agenticwf_kb_client-0.0.1-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69efce3110f840e90abc15651f7e885951a0bcb8505a6e43b98746181120adb6
BLAKE2b-256 checksum
How to use checksums
c10583f94e1748eff7641eff1f2495175ed499fbffb91281e82a0081d41928f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for agenticwf-kb-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