Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ezra_client-0.1.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ezra_client-0.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

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

Hashes for ezra_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7f814dc40993cce14559a8b09d2d26bcf9ea2826d93cc662873b16a5287b6241
MD5 3fff796f12686fcafe327cb6989f75ea
BLAKE2b-256 f3c3e4e5f549820eed213005b4a71f5c91eef7ab837bb6c824a6926cc5e09fee

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezra_client-0.1.0.tar.gz:

Publisher: publish.yml on xavio2495/Ezra

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for ezra_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abdca792adae1c1963beca8380de00f47a9995e7176b1dd763d0fff8134554c2
MD5 43622f1e9bfa3a1b9a53822e749d5dfc
BLAKE2b-256 54aac0717a4bdc03a1ec680041744f032ae057c2ef8fd00cc895ba0d1383990f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezra_client-0.1.0-py3-none-any.whl:

Publisher: publish.yml on xavio2495/Ezra

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page