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

client = EthersFlowClient(api_key=os.getenv("ETHERSFLOW_API_KEY", "your_api_key"))

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", "your_api_key"))
tools = [verifier_tool]

Metadata

Release files for ethersflow 0.3.0

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.0
File Size Uploaded Provenance Actions
ethersflow-0.3.0.tar.gz 2.8 kB Without provenance Details for ethersflow-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 6.0 kB

Release files / ethersflow-0.3.0.tar.gz

Download URL ethersflow-0.3.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
751075c805aa4e2b601a54daeb1f594c4aeeacf29ff7b1cdc07e271f504e7514
BLAKE2b-256 checksum
How to use checksums
bfe199c1eb850e2a25487df75699d5a4c1f495fdd095dd60ce2f29b20ca36eb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

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

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

Security for ethersflow 0.3.0

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