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]

Release files for ethersflow 0.2.3

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.3
File Size Uploaded
ethersflow-0.2.3.tar.gz 2.8 kB Details

Built distribution (wheel)

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

Total release size: 6.0 kB

Release files / ethersflow-0.2.3.tar.gz

Download URL ethersflow-0.2.3.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7002b896cff6aba30215f866497d92f5c43f96e652751676dcd308851e04ee6f
BLAKE2b-256 checksum
How to use checksums
ca491d6470a56029749418754112b9729f939ad4878110d194c601e9bd4bd358
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.3-py3-none-any.whl

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

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.0

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