Skip to main content

Deterministic tests for AI agents: record a run once, replay it with zero LLM calls. Assert which tools an agent called, with which arguments, in which order.

Project description

flowproof

Run your AI agent once, keep the recording, and assert against it from then on. flowproof captures the run at the model boundary - every request and every tool-call decision - and serves it back on later runs, so replay makes zero LLM calls. You assert which tools were called, with which arguments, in which order, and which were not. The same engine drives web, desktop and Citrix.

Agents author, a deterministic engine executes. A flow is described in YAML with natural-language steps, recorded once against the live app, and replayed deterministically in CI with zero LLM calls. Built agent-native: every operation returns structured results a program can reason over, and agents can drive record/run/get_trace/heal over MCP (pip install flowproof[mcp], run flowproof-mcp).

# calc.flow.yaml
name: Add two numbers
app: calc
steps:
  - Type 5
  - Press plus
  - Type 3
  - Press equals
  - assert: display shows 8
from flowproof import Flow

flow = Flow("calc.flow.yaml")
flow.record()            # performs the flow live, writes the trace
result = flow.run()      # deterministic replay -> RunResult
assert result.passed

Or from the shell: flowproof record calc.flow.yaml, then flowproof run calc.flow.yaml (add --json for the structured report).

The wheel bundles the Rust engine; no separate install. Targets: web (headless Chromium, any OS), Windows desktop via UI Automation, sap (SAP GUI Scripting), vision (pixels-only for Citrix/RDP), and api (no UI — HTTP/SQL assertion flows, any OS).

Status: early, in active development (v0.2). Record→replay, model-grounded authoring, healing with reviewable diffs, suites, run recordings, and the MCP server all work and are tested in CI.

Docs and source: github.com/automators-com/flowproof

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flowproof-0.9.0.tar.gz (574.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

flowproof-0.9.0-cp39-abi3-win_amd64.whl (9.3 MB view details)

Uploaded CPython 3.9+Windows x86-64

flowproof-0.9.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

flowproof-0.9.0-cp39-abi3-macosx_11_0_arm64.whl (7.3 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file flowproof-0.9.0.tar.gz.

File metadata

  • Download URL: flowproof-0.9.0.tar.gz
  • Upload date:
  • Size: 574.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for flowproof-0.9.0.tar.gz
Algorithm Hash digest
SHA256 9e3d0c6750f40d4b9e97893b1cce069fede7a16ba40f143e7d1ec3520203d488
MD5 56a1f7109eefac0c8277f15ba63a7161
BLAKE2b-256 c38470c46281bb48a3b6b111e2967e981a98bf3e0e8bddc361f9627650724ed0

See more details on using hashes here.

Provenance

The following attestation bundles were made for flowproof-0.9.0.tar.gz:

Publisher: publish.yml on automators-com/flowproof

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flowproof-0.9.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: flowproof-0.9.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 9.3 MB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for flowproof-0.9.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 efa578f13fb8f3e4a57f63f4728fb310a84b2532ed8bf96be73b756dc6453464
MD5 3221e2d44eabf7e048b0954413a188eb
BLAKE2b-256 0a3d0c715d91afb1420f2e73cbd654746190fcc6de79490b0adaf3af8696a974

See more details on using hashes here.

Provenance

The following attestation bundles were made for flowproof-0.9.0-cp39-abi3-win_amd64.whl:

Publisher: publish.yml on automators-com/flowproof

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flowproof-0.9.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for flowproof-0.9.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 35b367e075f7a1621fa6708d55fcd97de52db1e1e8544e5e758d6c97c188240c
MD5 c7f42d70cae41117c3b4ea150a301f9f
BLAKE2b-256 77e94868afe0b1ffe682e6053e817df8742275c32abb73014ab4a2a4af6565e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for flowproof-0.9.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on automators-com/flowproof

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flowproof-0.9.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for flowproof-0.9.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6f964237dffe74f7ee244ba92f9291c1a9366e721da7483ab448e08b3bfb1aa6
MD5 a5675eacae019b3c1e56ef046ef47998
BLAKE2b-256 555f5d3cd93c446fc6a98fbc5b1e27be43f28abb1d752a766bb95da393530661

See more details on using hashes here.

Provenance

The following attestation bundles were made for flowproof-0.9.0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: publish.yml on automators-com/flowproof

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page