Debug UI for flow-forge-ai workflows.
Project description
flow-forge-ai-ui
Web UI for browsing and replaying flow-forge-ai workflow runs.
What It Does
- Connects to the runtime listener started by
flow-forge-ai - Displays a list of recorded runs and their steps/events
- Lets you trigger and monitor workflow replays from the browser
Requirements
flow-forge-aiinstalled and configured with[runtime].enable = true- The runtime listener must be reachable at the configured
listener_host:listener_port
Installation
Install the package and its dependencies:
pip install flow-forge-ai[ui]
For development
cd ui
pip install -e .
Or install via the ui extra from the core package:
cd core
pip install -e ".[ui]"
Starting the UI
flow-forge-ai-ui
By default the server listens on http://127.0.0.1:8080.
Options
flow-forge-ai-ui --host 0.0.0.0 --port 9090
| Flag | Default | Description |
|---|---|---|
-H / --host |
127.0.0.1 |
Bind address |
-p / --port |
8080 |
Port |
Configuration
The UI reads config.toml from the current working directory (the same file used by the core runtime). It uses the [runtime] section to locate the listener:
[runtime]
enable = true
listener_host = "127.0.0.1"
listener_port = 7070
Make sure the runtime listener is started before opening the UI. The core package starts the listener automatically when a workflow run begins inside an instrumented process.
Usage
-
Start your workflow in another terminal (the core runtime listener starts automatically):
cd core/examples/02_ollama_workflow_decorator python example.py
-
Start the UI from the directory containing
config.toml:flow-forge-ai-ui
-
Open
http://127.0.0.1:8080in your browser.
The UI shows all recorded runs. Select a run to inspect its steps and events, or trigger a replay.
API Routes
The UI itself is a thin FastAPI app that proxies requests to the core runtime listener. It exposes the following routes:
| Method | Path | Description |
|---|---|---|
GET |
/ |
Main UI page (HTML) |
GET |
/api/runs |
Proxy: list runs |
GET |
/api/steps |
Proxy: list steps for a run |
POST |
/api/runs/{run_id}/replay |
Proxy: start replay |
GET |
/api/runs/{run_id}/replay |
Proxy: get replay status |
DELETE |
/api/runs/{run_id}/replay |
Proxy: stop replay |
Package Layout
ui/
├── src/flow_forge_ai_ui/
│ ├── app.py # FastAPI app factory and CLI entry point
│ ├── routes.py # Route handlers and runtime proxy client
│ ├── templates/ # Jinja2 HTML templates
│ └── static/ # JS and static assets
└── tests/
Development
# Install dev dependencies (from core package which includes UI dev deps)
cd core
pip install -e ".[dev]"
# Run UI tests
cd ui
pytest
# Run tests with coverage
pytest --cov=flow_forge_ai_ui --cov-report=term-missing
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 Distribution
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 flow_forge_ai_sdk_ui-0.1.1.tar.gz.
File metadata
- Download URL: flow_forge_ai_sdk_ui-0.1.1.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79b2d8cf0381b45a6ce0c01a163aee96ada47c275702267ea21cbb5afa1df95e
|
|
| MD5 |
aa77fd12baa49ff2ad703f320c0a5a2a
|
|
| BLAKE2b-256 |
fc18cda0d768f533cf452aa7209b459ca9993e27d85fe9a60ec82c1806a2d361
|
Provenance
The following attestation bundles were made for flow_forge_ai_sdk_ui-0.1.1.tar.gz:
Publisher:
publish.yml on alonzo86/flow-forge-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flow_forge_ai_sdk_ui-0.1.1.tar.gz -
Subject digest:
79b2d8cf0381b45a6ce0c01a163aee96ada47c275702267ea21cbb5afa1df95e - Sigstore transparency entry: 2020755676
- Sigstore integration time:
-
Permalink:
alonzo86/flow-forge-ai@eca3ea9077b9a84853c04ae8655a8a194b780224 -
Branch / Tag:
refs/tags/ui-v0.1.1 - Owner: https://github.com/alonzo86
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@eca3ea9077b9a84853c04ae8655a8a194b780224 -
Trigger Event:
push
-
Statement type:
File details
Details for the file flow_forge_ai_sdk_ui-0.1.1-py3-none-any.whl.
File metadata
- Download URL: flow_forge_ai_sdk_ui-0.1.1-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d75b6fefafec900c64190e714bd7d54662b58fc0bcc2e1a57e8f1706d1d259a
|
|
| MD5 |
0b2c2ff5c40b20dec66f948a169e0f9c
|
|
| BLAKE2b-256 |
9eadf5d3f730ffdc6f131ec7a63eb6532bf631e5d2228a35b7c773eba2f231d1
|
Provenance
The following attestation bundles were made for flow_forge_ai_sdk_ui-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on alonzo86/flow-forge-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flow_forge_ai_sdk_ui-0.1.1-py3-none-any.whl -
Subject digest:
8d75b6fefafec900c64190e714bd7d54662b58fc0bcc2e1a57e8f1706d1d259a - Sigstore transparency entry: 2020755965
- Sigstore integration time:
-
Permalink:
alonzo86/flow-forge-ai@eca3ea9077b9a84853c04ae8655a8a194b780224 -
Branch / Tag:
refs/tags/ui-v0.1.1 - Owner: https://github.com/alonzo86
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@eca3ea9077b9a84853c04ae8655a8a194b780224 -
Trigger Event:
push
-
Statement type: