cd /news/ai-agents/a-workflow-builder-that-never-calls-… · home › topics › ai-agents › article
[ARTICLE · art-180909] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

A workflow builder that never calls an LLM: contract tasks, audits, and tests

A developer built FlowX, an open-source workflow builder that never calls an LLM itself, instead delegating code and test writing to external coding agents such as Claude Code, Codex, WorkBuddy or DeepSeek Harness. Each build is a sequence of contract tasks carrying their own instructions, rules and schema; submitted nodes are audited and run under pytest, with rejected nodes returned with rule IDs, line numbers, remediation and test logs, and only passing nodes versioned and published. Passing workflows render as a FastAPI service, and the workflow folder is treated as read-only for agents, with SHA-256 digest checks that halt tooling on mismatch.

key takeaway

FlowX keeps agents out of the workflow folder and verifies SHA-256 digests on files it owns, so behavior changes go through scoped 'evolve' edits (node or graph) that re-validate downstream nodes instead of letting agents patch files directly.

by read2 min views3 publishedDec 3, 2026

Most "AI workflow builders" put a model call inside every step. We went the other way with FlowX: the workflow builder itself writes no code and never calls an LLM. Your coding agent (Claude Code, Codex, WorkBuddy or DeepSeek Harness) does the writing; FlowX defines the contract, checks the result, and runs it.

A build is a sequence of contract tasks:

code and test. Every task carries its own contract (instructions, rules, schema) and context (the requirement, the graph, upstream node sources, previous findings). The agent never has to remember the rules from an earlier build; they travel with the task.

When a node is submitted, FlowX audits it and runs its test under pytest. A rejected node comes back with findings (rule id, message, line, remediation) plus the test log, and a repair task. Only nodes that pass are versioned and published. When all nodes pass, FlowX renders the entrypoint as a FastAPI service.

The generated nodes are plain Python: fetch, select, validate, gate. Where a workflow needs human-quality text, it s at an input step and lets the agent (or you) answer, then validates that answer. This keeps runs reproducible, cheap, and testable with fixtures, and side effects such as publishing stay behind explicit review steps with a dry-run default.

Agents love to "just patch the file". FlowX treats the workflow folder as read-only for the agent and verifies SHA-256 digests on the files it owns. To change behavior you open an evolve: scope: node edits one node body and re-validates compatible downstream nodes; scope: graph changes topology and re-runs the affected tasks. If a digest check fails, the tooling stops instead of guessing.

Contract design is the hard part: too strict and good code gets rejected, too loose and tests prove little. Media steps run in dry-run mode during node tests, so a passing test does not prove provider behavior. We are still learning where those lines should be.

The code, the skill, and the contract definitions are on GitHub: https://github.com/AIpRoBuilder/FlowX, and the manual is at https://www.flow-x.work. If you have opinions on how an agent-facing build contract should look, issues and pull requests are where that discussion happens.

── more in #ai-agents 4 stories · sorted by recency
── more on @flowx 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/a-workflow-builder-t…] indexed:0 read:2min 2026-12-03 · —