Introduction

laight is a lightweight framework for agentic workflows, declared in YAML. A workflow file declares its agents (seats) and its steps, in series or in parallel; coding agents (Claude Code first, Codex next) run it in tmux, unattended, like a CI pipeline for development. Every run is isolated and ends green or red.

Status: early. init, validate, run, attach, abort, inbox and done work. The rest of the inbox (stuck detection, the full terminal UI), channels such as your phone or Slack, and the watch and show views are on the way.

Why

Running an implementer agent and a reviewer agent through implement → review → fix → verify → merge works: issues go from pickup to a merged, independently reviewed PR without anyone typing. Tools like OpenRig proved it. But today that means a daemon to babysit, a CLI with hundreds of commands, and questions that sit unseen in one of many terminal panes until someone looks. Watching every agent doesn't scale.

The four rules

Anything that compromises one of these is wrong, in this order:

  1. Lightweight. One binary, no daemon, no database server. State is plain files. You learn ten commands; an agent learns one.
  2. tmux. Every agent is a real interactive CLI session in a tmux pane that you can attach to, read and type into at any time.
  3. Isolation via rigs. A rig is the group of agents that executes one run of a workflow, with its own tmux session, git worktrees and state folder. Many rigs coexist; they never share a working tree or a terminal.
  4. One channel for human intervention. Permission prompts, questions, approval gates, stuck or failed steps, from every run in every project, are queued in one place and answered from one place.

Concepts

  • Project: a git repo with a .laight/ folder. Holds any number of workflows.
  • Workflow: one self-contained YAML file, .laight/workflows/<id>.yaml, with its seats and steps.
  • Seat: one agent CLI session (runtime, working folder, guidance, permission mode) in one tmux window.
  • Rig / run: one execution of a workflow and its agents. When the run ends, the rig stops.
  • Inbox item: one thing waiting for a human.

Next: Getting started.