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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flowproof-0.6.1.tar.gz.
File metadata
- Download URL: flowproof-0.6.1.tar.gz
- Upload date:
- Size: 545.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7909ebbb67a0cca28b39349470cc694e7b65fc3f6001cade2d9f6a2233b146b1
|
|
| MD5 |
460a1e80d01dc2409b3f28e86192cd9b
|
|
| BLAKE2b-256 |
8fb3e1e33a56eea1104a016d118f0738aad3ced8784599cac8472921a68a3c57
|
Provenance
The following attestation bundles were made for flowproof-0.6.1.tar.gz:
Publisher:
publish.yml on automators-com/flowproof
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flowproof-0.6.1.tar.gz -
Subject digest:
7909ebbb67a0cca28b39349470cc694e7b65fc3f6001cade2d9f6a2233b146b1 - Sigstore transparency entry: 2252971958
- Sigstore integration time:
-
Permalink:
automators-com/flowproof@64490b80fd7dbeee0a0fdcf43255f2b817b694d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/automators-com
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@64490b80fd7dbeee0a0fdcf43255f2b817b694d8 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file flowproof-0.6.1-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: flowproof-0.6.1-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 9.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b84217c8cb3ecd62659a3167b999bf31c92da980ff9ee34b344fdf01248bc07
|
|
| MD5 |
c15c6d92eb210d7e2582d42b22be2688
|
|
| BLAKE2b-256 |
d00fe8d14da8290d6b791e00b0bd44742692ded27df01e701a796277572d1c2a
|
Provenance
The following attestation bundles were made for flowproof-0.6.1-cp39-abi3-win_amd64.whl:
Publisher:
publish.yml on automators-com/flowproof
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flowproof-0.6.1-cp39-abi3-win_amd64.whl -
Subject digest:
1b84217c8cb3ecd62659a3167b999bf31c92da980ff9ee34b344fdf01248bc07 - Sigstore transparency entry: 2252972155
- Sigstore integration time:
-
Permalink:
automators-com/flowproof@64490b80fd7dbeee0a0fdcf43255f2b817b694d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/automators-com
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@64490b80fd7dbeee0a0fdcf43255f2b817b694d8 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file flowproof-0.6.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: flowproof-0.6.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 8.0 MB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81c634f4612aba1bdb1f71106bef3c99e583108479c014c3b22d9eb9ae99cdb8
|
|
| MD5 |
48c306ba4f9d0fa8e065d3b6e6dbaca1
|
|
| BLAKE2b-256 |
a8893f362de4998b93cca92295830e642e3dbe29690aa7f7587a065114705cae
|
Provenance
The following attestation bundles were made for flowproof-0.6.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
publish.yml on automators-com/flowproof
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flowproof-0.6.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
81c634f4612aba1bdb1f71106bef3c99e583108479c014c3b22d9eb9ae99cdb8 - Sigstore transparency entry: 2252972524
- Sigstore integration time:
-
Permalink:
automators-com/flowproof@64490b80fd7dbeee0a0fdcf43255f2b817b694d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/automators-com
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@64490b80fd7dbeee0a0fdcf43255f2b817b694d8 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file flowproof-0.6.1-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: flowproof-0.6.1-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 7.3 MB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd63e5181a4b6b97795a7e39ba1fd37daf1aa6827c00aa4f86a2192ca242f4c5
|
|
| MD5 |
082834cd29806b4e3fd163adaab9012a
|
|
| BLAKE2b-256 |
3299bcd7fb083575e0262d22018797239c55836eaafbe68856f80f74a43c5314
|
Provenance
The following attestation bundles were made for flowproof-0.6.1-cp39-abi3-macosx_11_0_arm64.whl:
Publisher:
publish.yml on automators-com/flowproof
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flowproof-0.6.1-cp39-abi3-macosx_11_0_arm64.whl -
Subject digest:
cd63e5181a4b6b97795a7e39ba1fd37daf1aa6827c00aa4f86a2192ca242f4c5 - Sigstore transparency entry: 2252972350
- Sigstore integration time:
-
Permalink:
automators-com/flowproof@64490b80fd7dbeee0a0fdcf43255f2b817b694d8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/automators-com
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@64490b80fd7dbeee0a0fdcf43255f2b817b694d8 -
Trigger Event:
workflow_dispatch
-
Statement type: