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.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ethersflow-0.4.0.tar.gz | 2.9 kB | Without provenance | Details for ethersflow-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ethersflow-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for ethersflow-0.4.0-py3-none-any.whl |
Total release size: 6.2 kB
Release files / ethersflow-0.4.0.tar.gz
| Download URL | ethersflow-0.4.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17f36955f6886d5193ed5eb542e486026025cb5ce24e12782084608420a4c1a6
|
|
BLAKE2b-256 checksum How to use checksums |
e22d062bb75e459d687a0f6d4b557037b21ff09903bc263f2f1435ea79efd844
|
| 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.4.0-py3-none-any.whl
| Download URL | ethersflow-0.4.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71b84b570467d12dfea56cabb8f79260399ae33d07e753eafd9cb164911022b5
|
|
BLAKE2b-256 checksum How to use checksums |
40082667e96989404f23f44db2b5ccd981f86972d648fca1245cf29fe2473e60
|
| 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.4.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.