Skip to main content

FlowGraph Core

FlowGraph is the GUI-free Python workflow engine. It provides typed workflow composition, validation, persistence, execution, adapters, mesh and image data operations, browser-WASM execution support, and metadata-only catalog export for compatible external clients.

Alpha status: FlowGraph Core 0.1.x is an alpha series for evaluation, development, experimentation, and early adopter feedback. APIs and workflow behavior may change before 1.0.0. See Release Policy.

Incremental workflow execution

WorkflowExecutor remains stateless. Use WorkflowSession for selected targets, dependency-aware cache reuse, forced runs and session lifecycle. See Incremental execution for the Python API, node safety contracts, transport options and resource limits.

Development setup

uv sync --extra dev
uv run pytest
uv run ruff check .

See Contributing for prerequisites, development workflow, testing, documentation, and pull-request expectations.

Headless workflows

The flowgraph command is headless and has no GUI runtime dependency:

uv run flowgraph inspect workflow.json
uv run flowgraph inspect workflow.json --full
uv run flowgraph inspect workflow.json -i name=value --override node-id.parameter=value
uv run flowgraph run workflow.json --input name=value
uv run flowgraph run workflow.json -i name=value
uv run flowgraph run workflow.json --override node-id.parameter=value
uv run flowgraph run workflow.json --json-output results.json

Use --input or its short form -i for each published workflow input; repeat the option to provide multiple inputs. flowgraph inspect displays the resolved default to the right of each published input, or marks it as required or having conflicting saved values. Inspection is compact by default; add --full (or -f) to include the workflow graph. Arbitrary-code warnings remain visible in both modes. Inspection accepts the same --input / -i and --override assignments as execution: overrides update the displayed defaults, and explicit inputs take precedence and are marked (--input). It never executes nodes or saves changes. When an input is omitted, flowgraph run uses its downstream node's saved parameter value and prints a warning to stderr identifying the input, value, and parameter. This also works for directly exported parameters and nested workflow inputs. Explicit inputs take precedence; parameter overrides are applied before resolving defaults. Inputs without usable saved values remain required, and conflicting saved values require an explicit --input. For examples and warning output, see Omitted inputs and saved parameter values.

Workflows use the versioned flowgraph-workflow JSON format. Core validation and execution are UI-independent.

JSON execution boundary

Python clients and browser-hosted Python workers use the same entry point:

from flowgraph.application.workflow_execution import execute_workflow_json

result_json = execute_workflow_json(workflow_json)

The response includes execution order, public outputs, retained node values, display previews, warnings, and structured errors. A process-local node registry is reused, but each call reconstructs its workflow. This API does not provide a server, authentication, cancellation, or filesystem isolation.

Mesh display previews retain scalar values or vector magnitudes in fields and cell_fields. Multi-component fields additionally expose their original tuples in field_components and cell_field_components, indexed by vertex or surface triangle respectively, so viewers can select an individual component without rerunning the workflow. These preview projections do not modify the input mesh.

The former WASM-specific execution module has been removed without a compatibility alias. Browser clients must update their import and rebuild/stage their core wheel together; the workflow file and execution response formats are unchanged.

Experimental local server

The prototype branch includes an authenticated, loopback-only execution API:

uv run flowgraph serve --workspace /absolute/path/to/existing/workspace

Port 8765 and the allowed editor origin https://flowgraph-web.fbw-es.com are defaults; explicit --allow-origin values replace that origin. The editor still requires bearer authentication and browser local-network permission. Click the printed Open editor link to pass the token and port automatically; keep the link private.

It runs one workflow at a time in a cancellable native subprocess and provides runtime metadata, catalog, and workspace file endpoints. Core is API-only and never serves editor assets. Web and desktop clients own their GUI hosting and explicitly allow their origin with --allow-origin. Native workflow code is not sandboxed. See Local server API and limitations for authentication, request/response formats, examples, limits, and shutdown behavior.

Package artifacts

Build the portable, pure-Python source distribution and wheel with:

uv build --out-dir dist/

The resulting wheel is compatible with all supported Python platforms. See packaging/README.md for release details.

The repository also includes a Conda recipe under packaging/conda/. FlowGraph is distributed through the flowgraph Anaconda channel:

conda install -c flowgraph flowgraph

Docker, operating-system package managers, and third-party mirrors are not supported release channels at this time. See Release Channels for the release policy.

FlowGraph Core declares Python 3.11 or newer. CI covers Python 3.11, 3.12, 3.13, and 3.14 on GitHub-hosted Ubuntu, Windows, and macOS runners; a platform/version combination is supported only after its release-candidate job passes. See Support Policy for compatibility, deprecation, maintenance, and unsupported-use policies.

Catalog export

FlowGraph can export non-executable node metadata for tools that need to author or structurally validate workflow JSON:

uv run python -m flowgraph.application.workflow_web_catalog node-catalog.json

The catalog intentionally excludes node executors and other callable runtime behavior.

Documentation and support

Optional integrations

The ml extra enables the PyPlaid adapter and the cosapp extra enables the CoSApp adapter. Neither extra is part of the minimum core support guarantee. Install an extra only when its upstream dependency, license terms, platform requirements, and integration behavior have been reviewed for the target release:

uv sync --extra ml
uv sync --extra cosapp

Optional adapters may execute external tools or user-provided models. Treat their workflows as trusted input and test the exact dependency versions before production use.

License

FlowGraph Core is licensed under the BSD 3-Clause License. Release compliance requires review of the exact dependency lockfile, build artifacts, third-party notices, native dependencies, and applicable license obligations.

Metadata

Release files for flowgraph 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flowgraph 0.1.7
File Size Uploaded Provenance Actions
flowgraph-0.1.7.tar.gz 2.0 MB With provenance Details for flowgraph-0.1.7.tar.gz

Built distribution (wheel)

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

Total release size: 4.0 MB

Release files / flowgraph-0.1.7.tar.gz

Download URL flowgraph-0.1.7.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
f6ab6bfddb73e3eee2340c3d83f362dc02b985da1f6f998afd13705ed58b9aa0
BLAKE2b-256 checksum
How to use checksums
4c5c090781d536d0848a4e296c492036c9568049ce84e65e37f163161859cd97
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 Nov 1, 2026.

Transparency log

Release files / flowgraph-0.1.7-py3-none-any.whl

Download URL flowgraph-0.1.7-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c63dffca19f50c0fa9ba38800198b47981b5608bcea18cd91871513b326a5bbf
BLAKE2b-256 checksum
How to use checksums
abcf678e86f416fc14c133542588830ef035b444dbd929d1be92f4faad98da70
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 Nov 1, 2026.

Transparency log

Security for flowgraph 0.1.7

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for flowgraph-0.1.7.tar.gz

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 Nov 1, 2026.

Transparency log

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