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

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]

Release files for ethersflow 0.2.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.2.0
File Size Uploaded
ethersflow-0.2.0.tar.gz 2.8 kB Details

Built distribution (wheel)

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

Total release size: 6.0 kB

Release files / ethersflow-0.2.0.tar.gz

Download URL ethersflow-0.2.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c6982058f7d2888b76cdb157c33b2725c136bc9e0d324f7dbdf4a3bc266cec81
BLAKE2b-256 checksum
How to use checksums
8579ae906f7f2f7558d1e418446714a91900b45342c77a5929efad43e9801e24
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.2.0-py3-none-any.whl

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

Release history Release notifications | RSS feed

0.2.3

2 release files

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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