[01] Moments of the loop
SHIPPED IN v1.0.3Forks 12 · Releases 5 · License Apache 2.0
OPEN SOURCE / GENERATIVE WORKFLOW
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
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
01 / THE STATE OF THE LOOP
A quick read of what FlowX ships and what a build produces: contracts, gates, versions, and evidence you can open
Forks 12 · Releases 5 · License Apache 2.0
create_workflowALLOCATEbegin_buildCONTRACTsubmit_taskGATErun_serviceRUNbegin_evolveREUSEflowx_coreBuilder, service manager, auditorsflowx_mcpLocal stdio server and tool surfaceflowx_sdkPython client for agents and appsflowx_a2aNon-streaming Agent2Agent adapterflowx-workflowsSkill for coding agentsYour coding agent writes the workflow; FlowX audits, tests, versions, and runs it.
Contracts, not prompts: each build step returns a packet with the contract, rules, context, and artifact slots; the host agent writes the code.
FlowX is two entities behind three agent-facing interfaces.
02 / WHAT YOU GET
FlowX is the execution layer behind your agent: it hands out contracts, gates what comes back, and keeps only what passes
Every build step returns instructions, rules, context, and artifact slots; the host agent writes the code instead of guessing at a result
Auditors and pytest gate each node; failures return findings with line, remediation, and a bounded repair task
Accepted artifacts become versioned nodes; a failing node is not published and its descendants are blocked
Target a node or the whole graph; unchanged nodes are reused, and the workflow keeps its history
03 / HOW IT WORKS
From any harness to a versioned service: every step leaves an artifact, a gate result, or a journal entry you can read
Use the FlowX skill or the local MCP server from Claude Code, Codex, Hermes Agent, DeepSeek Harness, or your own Python or A2A agent.
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.
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.
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.
FlowX runs its auditors against every artifact. A rejection is specific: rule, message, line, and remediation, so the agent can fix exactly what failed.
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.
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.
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.
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.
04 / QUICKSTART
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
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 .
Register the local stdio server in your MCP client; use absolute paths because MCP hosts may not inherit your shell's PATH
{
"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
FlowXClient exposes the same protocol; build() answers every contract task with a function you provide
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
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+.
npx skills add AIpRoBuilder/FlowX \
--skill flowx-workflows \
-a claude-code -gInstalls into ~/.claude/skills/; omit -g for the current project.
npx skills add AIpRoBuilder/FlowX \
--skill flowx-workflows \
-a codex -gInstalls into ~/.agents/skills/; omit -g for the current project.
hermes skills install \
AIpRoBuilder/FlowX/skills/flowx-workflowsInstalls from the public GitHub repository; verify with hermes skills list, then start a new session.
# 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-flowxRequires 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
One shared core, three interfaces; connect the builder and service manager to an agent client, a Python application, or another agent
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 STDIOUse the shared core directly from a Python agent or your own application backend to build, inspect, run, and evolve workflows
PYTHON 3.10+Let other agents delegate workflow building to FlowX through Agent2Agent; the adapter currently supports non-streaming workflow building
NON-STREAMINGYour 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 ↗06 / WHAT YOU CAN BUILD
FlowX is generic enough for any process; these are the shapes that show up most often when teams hand work to an agent
Classify a ticket, set a priority, draft a reply, and return structured output the rest of your stack can use
See the ticket workflow ↗ 02 / DOCUMENTSExtract fields, compare versions, summarize long sources, and keep the intermediate artifacts inspectable
See document patterns ↗ 03 / MEDIAGenerate prompts and images, score variants, then package the winners with FlowX media cards
Open the picture demo ↗ 04 / RESEARCHCollect sources, score evidence, and produce a cited brief while preserving each step's run log
See a research recipe ↗ 05 / INTERNAL TOOLSRender a FastAPI service behind your own UI and drive it step by step through MCP or the SDK
Read the manual ↗ 06 / AGENT BACKENDSLet another agent delegate a build over A2A, or embed the builder in your Python application
Browse the interfaces ↗07 / SHOWCASE
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
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
Open the live demoNo; 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
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
Workflow artifacts live under workspace/workflows/<workflow_id>, including the requirement, workflow graph, versioned node code and tests, the entrypoint, and the build journal
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
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
Clone FlowX, connect your harness, and build the first workflow in one session. FlowX runs locally and needs no model key.
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 .