Slim SDK for driving a deployed Ezra multi-agent platform over HTTP
Project description
ezra-client
The slim SDK for driving a deployed Ezra
multi-agent platform over HTTP. Dependency-light — httpx + pydantic, with
google-adk optional — and carries no part of the Ezra runtime (no
Mongo/Qdrant/Redis/LLM). For the full platform, install ezra-core.
Install
pip install ezra-client # core client
pip install "ezra-client[adk]" # + the Google ADK toolset
Use
from ezra_client import RemoteEzraService
svc = RemoteEzraService(
"https://ezra.example.com",
session_graph_id="race-weekend",
agent_id="strategist",
permission_scope=["tyres", "strategy"],
bearer_token="…",
)
# Commit a belief — the server runs two-pass contradiction detection +
# reconciliation; a scope violation raises PolicyDeniedError.
result = await svc.commit("Start on softs.", "tyres", turn_index=1)
# Inspect, time-travel, branch — the full scope-bound surface.
snap = await svc.belief_snapshot()
past = await svc.replay(turn=3)
branch = await svc.branch_from(turn=1, branch_id="what-if-wets")
With a Google ADK agent
EzraToolset registers the full Ezra surface (recall · federated query · belief
snapshot/commit · revert/rewind/replay/branch) as managed ADK tools:
from google.adk.agents import Agent
from ezra_client import RemoteEzraService, EzraToolset
agent = Agent(
name="strategist",
model="gemini-2.5-flash",
instruction="You are the race strategist…",
tools=[EzraToolset(svc)],
)
The same agent code drives Ezra in-process (ezra_core's EzraService) or
remote (RemoteEzraService) — they share a method surface.
Surface
RemoteEzraService: recall, query, belief_snapshot, commit, revert,
rewind, replay, branch_from, aclose.
Errors: PolicyDeniedError (HTTP 403 / scope denial), RemoteEzraError (other
4xx/5xx).
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 ezra_client-0.1.0.tar.gz.
File metadata
- Download URL: ezra_client-0.1.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f814dc40993cce14559a8b09d2d26bcf9ea2826d93cc662873b16a5287b6241
|
|
| MD5 |
3fff796f12686fcafe327cb6989f75ea
|
|
| BLAKE2b-256 |
f3c3e4e5f549820eed213005b4a71f5c91eef7ab837bb6c824a6926cc5e09fee
|
Provenance
The following attestation bundles were made for ezra_client-0.1.0.tar.gz:
Publisher:
publish.yml on xavio2495/Ezra
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ezra_client-0.1.0.tar.gz -
Subject digest:
7f814dc40993cce14559a8b09d2d26bcf9ea2826d93cc662873b16a5287b6241 - Sigstore transparency entry: 1746161175
- Sigstore integration time:
-
Permalink:
xavio2495/Ezra@d92dfc65a25d97cd7a30830c3664c287dc87693e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/xavio2495
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d92dfc65a25d97cd7a30830c3664c287dc87693e -
Trigger Event:
push
-
Statement type:
File details
Details for the file ezra_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ezra_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.2 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 |
abdca792adae1c1963beca8380de00f47a9995e7176b1dd763d0fff8134554c2
|
|
| MD5 |
43622f1e9bfa3a1b9a53822e749d5dfc
|
|
| BLAKE2b-256 |
54aac0717a4bdc03a1ec680041744f032ae057c2ef8fd00cc895ba0d1383990f
|
Provenance
The following attestation bundles were made for ezra_client-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on xavio2495/Ezra
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ezra_client-0.1.0-py3-none-any.whl -
Subject digest:
abdca792adae1c1963beca8380de00f47a9995e7176b1dd763d0fff8134554c2 - Sigstore transparency entry: 1746161342
- Sigstore integration time:
-
Permalink:
xavio2495/Ezra@d92dfc65a25d97cd7a30830c3664c287dc87693e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/xavio2495
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d92dfc65a25d97cd7a30830c3664c287dc87693e -
Trigger Event:
push
-
Statement type: