Processes
A Process is a structured workflow — a directed graph of steps that may include agent runs, human approvals, tool calls, and conditional branches. Processes are designed for reproducibility: the same inputs always produce the same execution path.
Step types
| Type | Description |
|---|---|
agent | Run a specific agent with mapped inputs |
human | Pause for manual input or approval |
branch | Conditional routing based on a previous step's output |
merge | Combine outputs from parallel branches |
loop | Repeat a step until a condition is met |
Event sourcing
FaynOS records every step transition as an event. This means every Process run is fully replayable. If a step fails midway, you can resume from the last successful checkpoint rather than starting over.
HITL (Human-in-the-Loop)
Any step of type human pauses the process and surfaces a form in the FaynOS UI. The process does not proceed until the human submits the form. HITL steps can be used for data entry, document review, approval gates, or any decision that should not be automated.