← Back to Leaderboard
Dalikon-art

alikon-art/DeterminFlow

Self-hosted AI workflow runtime with node-level validation, retries, and recovery

View on GitHub ↗
Engineering Health (Methodology)
B+ · 67/100
Maintenance Activity
● Updated 2mo ago
Latest Release
v1.1.1
Commercial License Check
AGPL-3.0 · Copyleft Warning

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance20/35
Fork Adoption19/25
Release Cadence17/20
License Clarity11/20
DockerSelf-HostedAPI
Total Stars
★ 988
24h Growth
+2
7d Growth
+7
Forks
151

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

alikon-art/DeterminFlow Star History (2026-08-02 - 2026-12-03) ALL-TIME STAR HISTORY (2026-08 – 2026-12) +916 in 123d · avg +7/day 1k 520 0 2026-08-02: ★ 722026-08-15: ★ 4112026-08-29: ★ 6562026-09-12: ★ 7192026-09-26: ★ 7542026-10-10: ★ 8862026-10-24: ★ 9252026-11-02: ★ 9482026-11-10: ★ 9652026-11-18: ★ 9782026-11-26: ★ 9812026-12-03: ★ 988 ★ 988 08-02 10-02 12-03

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

DeterminFlow separates workflow control from model judgment. API, event, or manual input starts a Task that freezes the versioned workflow definition and its inputs. The runtime coordinates four core node types: Agent, Script, Approval, and Subprocess. Agent nodes receive scoped context and tools; Script nodes handle deterministic operations such as file conversion, API calls, and database writes. Attempts, artifacts, and checkpoints are persisted for inspection and recovery.

The Python backend pins langgraph==1.2.8, langchain-openai==1.3.3, langchain-anthropic==1.4.1, and mcp==1.28.1. FastAPI and Uvicorn serve the API, a React console provides the UI, and WebSocket events expose runtime updates. Core runs without business plugins. Plugins can bundle workflows, agents, prompts, skills, and rules with API endpoints, managed background processes, script libraries, or database migrations.

Key Capabilities & Differentiators

The visual editor supports variables, conditions, parallel branches, loops, approval gates, and subflows. Agent nodes have independent sessions and token ledgers, with per-node tooling, workspace, and turn limits. The runtime can detect, parse, and repair JSON, retry model calls, or direct an upstream node to rework an output rejected downstream. Operators can inspect usage by workflow, task, node, attempt, and model call, then retry, skip, or resume from a failed node.

The manifest includes OpenAI and Anthropic integrations, and the source setup shows a DeepSeek API key referenced from model configuration. The bishu-novel plugin is a concrete reference implementation: its public local-file workflows include 7 workflows, 84 nodes, 33 Agent/Prompt combinations, and 15 reusable script modules. In one production writing run, 11 independent model sessions used 176,584 tokens. The 70–89% savings figure compares that measured run with estimated single-agent consumption, not a measured head-to-head benchmark.

Trade-offs & Limitations

Compared with a single agent, explicit workflow nodes take more upfront work: teams have to define inputs, outputs, validation, and failure paths. That work pays off when steps repeat and operators need to recover one step without rerunning the rest. Determinism here applies to orchestration, not model output. Against n8n Cloud, the choice is whether node-scoped model controls and recovery justify running the service yourself. If managed hosting and existing integrations are the priority, evaluate n8n Cloud first.

The supplied Compose topology is one app service with local executors and bind mounts; it does not establish multi-host failover. Test restart recovery and make external writes idempotent rather than assuming checkpoints guarantee exactly-once execution. Tool lists narrow agent access but are not a strong sandbox; stronger workspace isolation is on the roadmap, and plugins can run on the same host with the same permissions. Review plugin code and provenance before installing it. AGPL-3.0-only obligations matter for modified network deployments and for distribution.

Hardware & Deployment Guide

On a host with Docker Compose, run docker compose up --build. Compose serves the Web UI at http://localhost:8020 and API documentation at /docs; GET /api/plugins exposes plugin status. It bind-mounts ./data, ./logs, and ./config into /app. The default detached-task setup uses four local executor processes. Set DETERMINFLOW_WORKFLOW_EXECUTOR_MODE=inline and DETERMINFLOW_WORKFLOW_EXECUTOR_COUNT=1 for single-process execution. The Compose port mapping binds beyond loopback by default, so restrict exposure to the intended network.

Source runs require Python 3.11+, Node.js 22.12+, and npm. Install requirements.lock, copy the environment and model-config templates, and start python run.py. Self-hosting the runtime does not make external model calls offline. The v1.0.10 release added default Windows executor processes with task affinity for retry and rework; v1.1.0 added Apple Silicon installers, and v1.1.1 added a separate community plugin source with an install warning. The Windows x64 and Apple Silicon desktop packages bundle the runtime; Core ships without plugins, Full preinstalls two, and macOS packages are ad-hoc signed rather than notarized.

Execution snapshot: a Task freezes its workflow definition and inputs at startup so in-flight runs are not redefined by subsequent edits.
Node-level model controls: independent sessions and token ledgers, with configurable workspace, turn limits, and tool allowlists or denylists.
Validation and rework: detect, parse, and repair JSON; downstream nodes can reject results and send work back to a specific upstream step.
Recovery and audit: restart-persistent checkpoints, with separate attempt histories for parallel branches, loops, and subprocesses.
Service interfaces: FastAPI, a React console, WebSocket lifecycle events, Cron automation, and health checks.
Plugin delivery: package workflows and reusable assets with APIs or background processes; v1.1.1 separates community and official sources and warns before community or custom installs.
Best For

Teams turning repeatable, multi-step AI pipelines into self-hosted services that need validated outputs, human approvals, observable usage, and recovery at the failed step.

Skip If

Your work is mostly exploratory, a managed integration product already meets your needs, or you require verified multi-host failover or strong isolation for untrusted plugins without adding those controls yourself.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedAPI
docker compose up --build

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
DeterminFlow ★988+7PythonAGPL-3.0Self-hosted AI workflow runtime with node-level validation, retries, and recover
windmill19k+236Rust—PostgreSQL-backed orchestration for code-first workflows, apps, and AI agents
Vibe-Trading39.6k+490PythonMITA self-hosted trading agent for evidence-linked research and inspectable backtes
paperclip119.3k+1.6kTypeScriptMITSelf-hosted control plane for coordinating AI agents, tasks, approvals, and spen

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/alikon-art/DeterminFlow.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

alikon-art/DeterminFlow Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about DeterminFlow

How should a business service integrate with the runtime and handle retries?

Use FastAPI as the integration surface, with interactive API documentation at /docs and WebSocket events for live status. A Task freezes its workflow and inputs at startup, and checkpoints support recovery after a process restart. For Script nodes that write to external systems, use idempotency keys or application-level deduplication: restoring a checkpoint does not by itself guarantee exactly-once delivery.

Does self-hosting require a GPU, and how should I size the server?

For the documented external model API setup, inference runs outside the DeterminFlow host, so a local GPU is not required for that path. The default four local executor processes add CPU and memory overhead; size the host against workflow concurrency, script and plugin workloads, and checkpoint and log growth. Model API rate limits can constrain throughput even when the host has spare capacity. No fixed RAM or VRAM requirement is established here.

Can I run it commercially as an internal or customer-facing service?

Yes. AGPL-3.0 does not prohibit commercial use. If you modify the program and let users interact with the modified version over a network, the license requires offering those users access to its Corresponding Source. Distribution can trigger separate obligations. Review plugin and external service terms separately, and assess whether custom extensions form part of a covered work.

When should I pick DeterminFlow over n8n Cloud or a single-agent framework?

Choose DeterminFlow when an AI pipeline needs explicit handoffs, node-level tool and context configuration, structured validation, directed rework, and recovery without rerunning the entire workflow. Choose n8n Cloud if managed hosting is more important and its integrations and execution behavior meet your requirements. For an exploratory task whose steps are not yet stable, a single agent is generally easier to start with than a versioned workflow.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining alikon-art/DeterminFlow? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature alikon-art/DeterminFlow on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare