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

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

Built distribution (wheel)

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

Total release size: 6.0 kB

Release files / ethersflow-0.2.8.tar.gz

Download URL ethersflow-0.2.8.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dc165f00e96994496a441e604ef0fc9ea2806a1fe24c0e86ac6a04e492e888c0
BLAKE2b-256 checksum
How to use checksums
282b684989822af7beb6e5922f64dfdac2828ee1573144a581713e0af884e4dc
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.8-py3-none-any.whl

Download URL ethersflow-0.2.8-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb2b877722cb09e3bd19ade7ce20af9c5e4f4f23e0e7c1ac5e765585e7fbbab5
BLAKE2b-256 checksum
How to use checksums
b52d9e51e82f52a9a07c9c26af21c703abb32b34d3e250b316780a174f10394b
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

This release

0.2.8 This release

2 release files

0.2.6

2 release files

0.2.3

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