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.1

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.1
File Size Uploaded Provenance Actions
ethersflow-0.3.1.tar.gz 2.9 kB Without provenance Details for ethersflow-0.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 6.0 kB

Release files / ethersflow-0.3.1.tar.gz

Download URL ethersflow-0.3.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8223a0ba2754750a360bef56585b853b3a53b0014068fcd0f1daa944c80b5353
BLAKE2b-256 checksum
How to use checksums
4148b5875439ac43db0ccc9e3dfe2b492f728b0363df03faf7a2b482dd05b8cc
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.1-py3-none-any.whl

Download URL ethersflow-0.3.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
efed66632a3bf66744de020e1e9aa3c2d7ef05b38507949e05eef79618db90dc
BLAKE2b-256 checksum
How to use checksums
60cea91b4593ab003ef47b6e28af19e02f8754a5ed441df92de8488aec8f48d2
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.1

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