Skip to main content

EthersFlow Python SDK

Official Python client and LangChain integration wrapper for the hosted EthersFlow adversarial AI review and runtime agent action verification platform.

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=2
)

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

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.5.0
File Size Uploaded Provenance Actions
ethersflow-0.5.0.tar.gz 2.8 kB Without provenance Details for ethersflow-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 6.0 kB

Release files / ethersflow-0.5.0.tar.gz

Download URL ethersflow-0.5.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
338efcc121f2afd3ba511d21704314177ef563465d2296f5808a018e0c2ff7c7
BLAKE2b-256 checksum
How to use checksums
2b3131e48944bd341e1d27570581a47f78bdc816b71708c446402277b51db35f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / ethersflow-0.5.0-py3-none-any.whl

Download URL ethersflow-0.5.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b08f6dbadc31dc2a2d78c1727f95bad5b934c250ea07bc3ebfb1fe891ef8e8e6
BLAKE2b-256 checksum
How to use checksums
58deb2e50b1cc1d6e20b50dc1afa28d497ce8499bd71b5965af1c7f79673ea8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for ethersflow 0.5.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.

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