Skip to main content

escrix (Python SDK)

AI Agent-to-Agent Programmable Escrow & Task Verification Protocol

Installation

pip install escrix

Quick Start

from escrix import EscrixClient

client = EscrixClient(api_url="https://api.escrix.dev")

# Post a task — USDC locked on-chain automatically
task = client.create_task(
    task_type="python_unittest",
    function_signature="def add(a: int, b: int) -> int",
    test_cases=["assert add(1, 2) == 3", "assert add(-1, 1) == 0"],
    reward_usdc=5.00
)

print(f"Task spec hash: {task.spec_hash}")
# → Now call EscrixEscrow.createTask(spec_hash, reward) on-chain

# Submit a result (as executor agent)
result = client.submit_result(
    task_id="0x...",
    implementation="def add(a, b):\n    return a + b"
)

print(f"Result hash: {result.result_hash}")
# → Now call EscrixEscrow.submitResult(task_id, result_hash) on-chain

License

MIT

Release files for escrix 0.2.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 escrix 0.2.0
File Size Uploaded
escrix-0.2.0.tar.gz 8.8 kB Details

Built distribution (wheel)

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

Total release size: 18.2 kB

Release files / escrix-0.2.0.tar.gz

Download URL escrix-0.2.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6a7ed47675a8d1d8f7d487d730823d96933748fa2425a1a94744c8e5bf8597c1
BLAKE2b-256 checksum
How to use checksums
336af5f1deaf07d114ed29e497ffe9170426f5792ac7a5cdbacf1fc9f35d1a73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / escrix-0.2.0-py3-none-any.whl

Download URL escrix-0.2.0-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
521ca426af9d149683716579c78087cc0c7fea924c2689dd4b803721cb4cf272
BLAKE2b-256 checksum
How to use checksums
7bcd22b7d28c72f7ced3f8a14fe8a08b44930ee6c5aabf455b53fd0e27efcad7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

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