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.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ethersflow-0.2.6.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ethersflow-0.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / ethersflow-0.2.6.tar.gz
| Download URL | ethersflow-0.2.6.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b8f026eddd23bad2458333889efea2b0b7d7db1c147418c50ab09b5b5af9c8c
|
|
BLAKE2b-256 checksum How to use checksums |
d73e6eda65c71f342c7807ce60bde1cbed7b6fd96853cdb78c88f15490929dec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / ethersflow-0.2.6-py3-none-any.whl
| Download URL | ethersflow-0.2.6-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5cd2c404b19b0667bcfb757bcc05f585c0a4a2122c047adbe15dd2f38db3f17c
|
|
BLAKE2b-256 checksum How to use checksums |
90f4010a4a74c804c441e199e63486623d3d45faf4bd0cefae866025c120da05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|