Skip to main content

EthersFlow Python SDK

Official Python client and LangChain integration wrapper for EthersFlow — the multi-model trust layer that verifies AI outputs and agent action directives through adversarial consensus before execution.

Installation

pip install ethersflow

Or install directly from git:

pip install git+https://github.com/Ethersflow/EthersFlow.git#subdirectory=sdk/python

Quick Start

import os
from ethersflow import EthersFlowClient

# Get a free sandbox or live key at https://www.ethersflow.com/api-keys.html
client = EthersFlowClient(api_key=os.getenv("ETHERSFLOW_API_KEY", "get_key_at_ethersflow.com/api-keys.html"))

result = client.verify_agent_action(
    agent_action="Transfer 5000 USDC to 0x71C... for auditing services",
    persona_preset="financial_compliance",
    agent_count=3
)

print(f"Verified: {result['verified']}")
print(f"Verdict: {result['verdict_summary']}")

LangChain Integration

from ethersflow import EthersFlowLangChainTool

verifier_tool = EthersFlowLangChainTool(api_key=os.getenv("ETHERSFLOW_API_KEY", "get_key_at_ethersflow.com/api-keys.html"))
tools = [verifier_tool]

Metadata

Release files for ethersflow 0.3.3

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

Source distribution (sdist)

Source distribution for ethersflow 0.3.3
File Size Uploaded Provenance Actions
ethersflow-0.3.3.tar.gz 2.9 kB Without provenance Details for ethersflow-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ethersflow 0.3.3
File Interpreter ABI Platform Actions
ethersflow-0.3.3-py3-none-any.whl Python 3 none any Details for ethersflow-0.3.3-py3-none-any.whl

Total release size: 6.1 kB

Release files / ethersflow-0.3.3.tar.gz

Download URL ethersflow-0.3.3.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f088b21f10fddaef1b2ad29cdfd2b44a4197f665109b3a56a49f03b7f504b1e0
BLAKE2b-256 checksum
How to use checksums
ad5558a4f186e66eaf2d4061ea792630aab984469b0757685f5e0165fde188cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / ethersflow-0.3.3-py3-none-any.whl

Download URL ethersflow-0.3.3-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
faae147a35ab6c295723115b2edd4ffc6d7b508c1770b72e54614233327312bb
BLAKE2b-256 checksum
How to use checksums
d75f818fdfdd6b5f8780beab02dccdeb8f51e2200d7599b21de9f50d48426f97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for ethersflow 0.3.3

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