OPEN SOURCE / GENERATIVE WORKFLOW

From ideas to
AI workflows that
evolve and adapt

Your coding agent writes the workflow; FlowX audits, tests, versions, and runs it. Turn natural language into a process you can inspect, reuse, and keep improving

PROMPT FOR YOUR AGENT

Read https://github.com/AIpRoBuilder/FlowX/blob/main/skills/flowx-workflows/SKILL.md and https://github.com/AIpRoBuilder/FlowX#setup; install the FlowX skill for this agent with its native skill install command (see https://www.flow-x.work/manual.html#agent-skill), or the DeepSeek Harness plugin if that is my host; install and verify FlowX in a Python 3.10+ virtual environment; connect local MCP if needed and help me build my first workflow; do not ask for secrets in chat

Open source · Local-first · No model key inside FlowX

BUILT FOR AGENTS / MADE TO EVOLVESCROLL TO EXPLORE

01 / THE STATE OF THE LOOP

Real artifacts.
No black box

A quick read of what FlowX ships and what a build produces: contracts, gates, versions, and evidence you can open

[01] Moments of the loop

SHIPPED IN v1.0.3
22MCP TOOLS
3INTERFACES
0MODEL KEYS REQUIRED
239GITHUB STARS · LIVE

Forks 12 · Releases 5 · License Apache 2.0

[02] The happy path

ALL TOOLS ↗
  1. 01create_workflowALLOCATE
  2. 02begin_buildCONTRACT
  3. 03submit_taskGATE
  4. 04run_serviceRUN
  5. 05begin_evolveREUSE

[03] Core packages

ONE REPOSITORY
  • flowx_coreBuilder, service manager, auditors
  • flowx_mcpLocal stdio server and tool surface
  • flowx_sdkPython client for agents and apps
  • flowx_a2aNon-streaming Agent2Agent adapter
  • flowx-workflowsSkill for coding agents

[04] In the repo's own words

FROM THE DOCS

02 / WHAT YOU GET

More than an answer.
Build the process

FlowX is the execution layer behind your agent: it hands out contracts, gates what comes back, and keeps only what passes

01 / CONTRACTS

Contracts, not prompts

Every build step returns instructions, rules, context, and artifact slots; the host agent writes the code instead of guessing at a result

02 / GATES

Audit and test every node

Auditors and pytest gate each node; failures return findings with line, remediation, and a bounded repair task

03 / VERSIONS

Publish only what passes

Accepted artifacts become versioned nodes; a failing node is not published and its descendants are blocked

04 / EVOLUTION

Evolve without rebuilding

Target a node or the whole graph; unchanged nodes are reused, and the workflow keeps its history

03 / HOW IT WORKS

Nine steps.
One inspectable build

From any harness to a versioned service: every step leaves an artifact, a gate result, or a journal entry you can read

STEP 01

Any harness

Use the FlowX skill or the local MCP server from Claude Code, Codex, Hermes Agent, DeepSeek Harness, or your own Python or A2A agent.

CLAUDE CODECODEXHERMESDEEPSEEK HARNESS
STEP 02

Describe the intent

Tell your agent what the workflow should do. The agent allocates a workflow and opens a build revision; FlowX chooses the stages and opens the first contracts.

NATURAL LANGUAGECREATE_WORKFLOWBEGIN_BUILD
STEP 03

Receive a contract

begin_build returns next_tasks: a contract for each artifact with instructions, rules, schema, context, and the slots to submit. The agent does not have to guess the shape.

CONTRACTSCHEMAARTIFACT SLOTS
STEP 04

Write the artifacts

Your coding agent writes the requirement, then the graph, then one code and test pair per node. Independent nodes are open at the same time.

REQUIREMENTGRAPHCODE + TEST
STEP 05

Audit what came back

FlowX runs its auditors against every artifact. A rejection is specific: rule, message, line, and remediation, so the agent can fix exactly what failed.

DETERMINISTIC RULESFINDINGSREMEDIATION
STEP 06

Test under pytest

Each node's test runs locally. Failures come back as a repair task with the test output; repair attempts are bounded, so a build cannot loop forever.

PYTESTREPAIR TASKMAX_ATTEMPTS
STEP 07

Publish versions

Accepted nodes are published with versions. A node that still fails is not published, and its descendants are marked blocked. get_build_state and the journal show exactly where the build stands.

VERSIONED NODESBUILD STATEJOURNAL
STEP 08

Run the service

run_service renders and starts the FastAPI backend. run_step feeds input, reset_session clears a paused run, and get_evidence returns the journal plus the service log tail.

FASTAPIRUN_STEPEVIDENCE
STEP 09

Evolve and reuse

begin_evolve changes one node with the topology frozen, or the whole graph. Everything whose inputs did not change is reused; published versions stay available.

BEGIN_EVOLVENODE OR GRAPHREUSE

04 / QUICKSTART

Install locally.
Build your first workflow

FlowX runs on Python 3.10+ and needs no model key. Install it, connect over MCP or the SDK, and let your agent write the artifacts

macOS / LINUX · PIP
git clone https://github.com/AIpRoBuilder/FlowX.git
cd FlowX
python3.10 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e .
01 / MCP

Connect your agent

Register the local stdio server in your MCP client; use absolute paths because MCP hosts may not inherit your shell's PATH

mcp.json
{
  "mcpServers": {
    "flowx": {
      "command": "/absolute/path/to/venv/bin/flowx-mcp",
      "env": {
        "FLOWX_DEFAULT_WORKSPACE": "/absolute/path/to/flowx_workspaces"
      }
    }
  }
}

FLOWX_CONFIG_ROOT lets an installed flowx-mcp find a .env outside the checkout. Keep workflow credentials in the process environment or the service's own .env; never commit secrets

02 / PYTHON SDK

Build a workflow in code

FlowXClient exposes the same protocol; build() answers every contract task with a function you provide

build_workflow.py
from flowx_sdk import FlowXClient

def solve(task: dict) -> dict:
    return my_agent.write(task)

with FlowXClient(workspace="./workflows") as flowx:
    workflow_id = flowx.create_workflow("ticket-triage")
    state = flowx.build(
        workflow_id,
        "Categorize and prioritize support tickets.",
        solve,
    )
    assert state["status"] == "completed", state["errors"]
    print(flowx.run_service(workflow_id))

Node tests execute locally while you build, so review the generated code before running the service. Keep the client open while using a started service

03 / AGENT SKILL & PLUGIN

Install FlowX in your agent

The FlowX skill teaches Claude Code, Codex, and Hermes Agent to build, inspect, and run workflows; DeepSeek Harness also gets a read-only workflow viewer plugin. The npx commands require Node.js 22.20+.

SKILL + PLUGIN
Claude CodeSKILL
bash
npx skills add AIpRoBuilder/FlowX \
  --skill flowx-workflows \
  -a claude-code -g

Installs into ~/.claude/skills/; omit -g for the current project.

CodexSKILL
bash
npx skills add AIpRoBuilder/FlowX \
  --skill flowx-workflows \
  -a codex -g

Installs into ~/.agents/skills/; omit -g for the current project.

Hermes AgentSKILL
bash
hermes skills install \
  AIpRoBuilder/FlowX/skills/flowx-workflows

Installs from the public GitHub repository; verify with hermes skills list, then start a new session.

DeepSeek HarnessSKILL + PLUGIN
bash
# Skill + viewer plugin (run from a FlowX checkout)
mkdir -p ~/.dsh/skills/flowx-workflows
cp -R skills/flowx-workflows/. \
  ~/.dsh/skills/flowx-workflows/
dsh plugin --profile web add \
  ./plugins/deepseek-harness-flowx

Requires Harness 0.2.2-rc.1; use --profile desktop for Desktop, which installs separately from Web. Build, evolve, and run workflows with the skill.

05 / ONE CORE, THREE INTERFACES

Connect to FlowX
your way

One shared core, three interfaces; connect the builder and service manager to an agent client, a Python application, or another agent

01 / AGENT CLIENT

MCP

Connect an MCP-capable agent over local stdio to create, inspect, run, and evolve workflows; contract tasks, build state, and the journal stay queryable

LOCAL STDIO
02 / YOUR APPLICATION

Python SDK

Use the shared core directly from a Python agent or your own application backend to build, inspect, run, and evolve workflows

PYTHON 3.10+
03 / AGENT TO AGENT

A2A

Let other agents delegate workflow building to FlowX through Agent2Agent; the adapter currently supports non-streaming workflow building

NON-STREAMING
✦

Your interface, your choice — FlowX is model- and UI-agnostic: your frontend renders interactions and events, while FlowX provides the workflow layer behind them

Explore the architecture ↗

07 / SHOWCASE

Watch a workflow
build itself

A recorded DeepSeek Harness session: FlowX turns a text-to-image brief into a tested five-node workflow, renders four variants, and packages the winners

TEXT-TO-IMAGE / DEEPSEEK HARNESS

Picture workflow demo

Start from a RunningHub reference; FlowX plans the graph, audits and dry-runs every node, then renders, scores, and packages the images in the FlowX canvas

  • 5 NODES
  • DRY-RUN TESTS
  • INTERACTIVE RECORDING
Open the live demo

08 / GOOD TO KNOW

Questions

Want to know more about FlowX?

Read the full manual ↗
Is FlowX a visual workflow editor?

No; FlowX is a workflow builder and service manager without a built-in interface. Your agent or application handles interaction and presentation, while FlowX builds, gates, versions, and runs the process behind it

Does FlowX call a model?

No. FlowX has no LLM inside. It hands your coding agent a contract for each artifact and audits what comes back; provider keys are only needed by workflows you generate that call a model or media service

Where are generated workflows stored?

Workflow artifacts live under workspace/workflows/<workflow_id>, including the requirement, workflow graph, versioned node code and tests, the entrypoint, and the build journal

What happens when a node fails its test?

Auditors and pytest return findings with line, remediation, and a repair task; repair attempts are bounded. A node that still fails is not published, and its descendants are blocked

How can I connect to FlowX?

FlowX supports local stdio MCP, a Python SDK, an A2A adapter, and an agent skill for Claude Code, Codex, and Hermes Agent; DeepSeek Harness also has a read-only viewer plugin. The A2A adapter currently supports non-streaming workflow building.

09 / IT'S TIME TO BUILD

Give your agent
a process to keep

Clone FlowX, connect your harness, and build the first workflow in one session. FlowX runs locally and needs no model key.

macOS / LINUX
git clone https://github.com/AIpRoBuilder/FlowX.git
cd FlowX
python3.10 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e .
FlowX WeChat contact QR code
Connect on WeChat