A deterministic, contract-first execution and replay framework — strict invariants, reproducible runs, and traceable outputs. Build audit-ready agent workflows with stable artifacts and replayable traces.
Non-determinism is explicitly declared, budgeted, classified, governed, and audited. Determinism is a policy decision, not a binary property.
v1 scope covers deterministic execution, replay, and contract verification for offline workflows; it is intended for research engineers and platform teams who need audit-grade runs, and it is not for interactive chat systems, autonomous agents, or low-latency production serving.
This system prioritizes replayability and auditability over convenience and speed.
At a glance: deterministic execution • invariant enforcement • replayable traces • CLI surface • structured telemetry
Quality: coverage floors enforced per module, benchmark regression gate active, docs linted and built in CI, no telemetry.
- Why Agentic Flows?
- Try It in 20 Seconds
- Key Features
- Installation
- Quick Start
- Artifacts & Reproducibility
- API Surface
- Built-in Commands
- Tests & Quality
- Project Tree
- Docs & Resources
- Contributing
- License
Most agent tooling optimizes for velocity. Agentic Flows prioritizes repeatability, traceability, and audit-ready execution:
- Determinism first for reliable experiments and CI validation.
- Invariant enforcement with fail-fast execution semantics.
- Replayable traces for deterministic verification.
- Clear boundaries between execution, retrieval, and verification.
pipx install agentic-flows # Or: pip install agentic-flows
agentic-flows --help
agentic-flows run examples/boring/flow.json --policy examples/boring/policy.json --db-path /tmp/flows.duckdb- Deterministic execution — reproducible runs with explicit budgets.
- Contract-first design — schema and invariants enforced at boundaries.
- Replayable traces — audit-grade execution records.
- Structured telemetry — correlation IDs and traceable events.
Requires Python 3.11+.
# Isolated install (recommended)
pipx install agentic-flows
# Standard
pip install agentic-flowsUpgrade: pipx upgrade agentic-flows or pip install --upgrade agentic-flows.
# Discover commands/flags
agentic-flows --help
# Run a deterministic execution
agentic-flows run examples/boring/flow.json --policy examples/boring/policy.json --db-path /tmp/flows.duckdbArtifacts are immutable and hash-addressed. Replaying a run verifies hashes before returning outputs.
agentic-flows replay examples/boring/flow.json --policy examples/boring/policy.json --run-id <run_id> --tenant-id <tenant> --db-path /tmp/flows.duckdbDocs: Execution Lifecycle · Invariants
HTTP API is experimental and currently unimplemented.
Docs: API Overview · Schema
| Command | Description | Example |
|---|---|---|
run |
Execute a flow | agentic-flows run examples/boring/flow.json --policy examples/boring/policy.json --db-path /tmp/flow.duckdb |
replay |
Replay a stored run | agentic-flows replay examples/boring/flow.json --policy examples/boring/policy.json --run-id <run_id> --tenant-id <tenant> --db-path /tmp/flow.duckdb |
inspect run |
Inspect a stored run | agentic-flows inspect run <run_id> --tenant-id <tenant> --db-path /tmp/flow.duckdb |
Full surface: CLI Surface
- Coverage floors: enforced per module in CI.
- Benchmarks: regression gate on critical path.
- Docs: linted and built in CI.
Quick commands:
make test
make lint
make qualityArtifacts: Generated in CI; see GitHub Actions for logs and reports.
api/ # OpenAPI schemas
config/ # Lint/type/security configs
docs/ # MkDocs site
makefiles/ # Task modules (docs, test, lint, etc.)
scripts/ # Helper scripts
src/agentic_flows/ # Runtime + CLI implementation
tests/ # unit / regression / e2e
- Overview: Why agentic-flows exists · Mental model · Minimal run · Relationship to agentic-proteins · Audience
- Concepts: Concepts index · Determinism · Failures
- Execution: Failure paths
- Site: https://bijux.github.io/agentic-flows/
- Changelog: https://github.com/bijux/agentic-flows/blob/main/CHANGELOG.md
- Repository: https://github.com/bijux/agentic-flows
- Issues: https://github.com/bijux/agentic-flows/issues
- Security (private reports): https://github.com/bijux/agentic-flows/security/advisories/new
- Artifacts: https://bijux.github.io/agentic-flows/artifacts/
Welcome. See CONTRIBUTING.md for setup and test guidance.
Apache-2.0 — see LICENSE. © 2025 Bijan Mousavi.
This system is designed for auditability and replay, not exploratory or interactive use.
- Automatic agent self-improvement or learning
Current maturity: experimental research framework. v0.x carries no backward compatibility guarantees; schema compatibility is the only API guarantee. CLI output formatting and observability summaries may change without notice. Internal execution and verification APIs are not stable. Production usage should gate on strict determinism and explicit contracts.