Skip to content

darkf

Deterministic automation with LLM agents. The engine for your dark factory.

darkf runs your automation as a workflow: a simple description of steps and what happens next.

Some steps ask an AI agent to do the work. Some steps are plain code. You decide which is which.

Everything the run does is written to a file as it happens. Finished, failed, or stuck — the answer is on disk, not in a terminal you forgot to watch. You can check yesterday’s run the same way as today’s.

When a step fails, the run stops right there. You see which step and why. The engine handles the boring parts of failure: trying again, waiting out rate limits, stopping before a loop runs away. You never write that code.

Writing a workflow needs no setup. Describe the steps in plain words, and a skill writes the workflow for you — best practices included. Every workflow shows as a diagram, so the whole path stays visible and you stay in control.

Start with one workflow. Grow it into your dark factory.

Install

bun install -g @psimona/darkf. See Install.

Quickstart

One real agent call, a rendered mermaid graph, a finished run. See Quickstart.

Two node types

Every leaf is agent or script; the engine dispatches both the same way. See Node types.

The journal

Every step lands on disk. Replay, inspect, and audit after the fact. See The journal.

Failure modes

What happens when an agent fails, times out, or hits a usage limit. See Failure modes.

CLI + tooling

setup, render, run, start, status, monitor, doctor, validate, report. See CLI commands.