Open source · early

Build agentic workflows
as code

Describe your agents and their steps in one YAML file. Remove uncertainty and user input during development.

What it is

One file is the whole workflow

Declare the agents, the steps and where each outcome goes, like a CI config. laight run starts those agents, runs the steps and tears everything down when it ends.

Agents learn one command: laight done <exit>.

Read the workflow reference →
version: 1
id: issue-cycle
base: dev
seats:
  impl:     { runtime: claude-code, session: resume, permissions: auto }
  reviewer: { runtime: claude-code, session: fresh,  permissions: auto }
steps:
  - { id: implement, seat: impl,     next_hop: { on: { handoff: review } } }
  - { id: review,    seat: reviewer, next_hop: { on: { handoff: fix } } }
  - { id: fix,       seat: impl,     next_hop: { on: { handoff: verify } } }
  - { id: verify,    seat: reviewer, allowed_exits: [pass, fail],
      next_hop: { on: { pass: approve, fail: fix } } }
  - { id: approve,   type: gate, ask: "Merge the PR?",
      next_hop: { on: { yes: merge, no: end } } }
  - { id: merge,     type: shell, run: gh pr merge --squash }
loop_guards: { max_hops: 11 }

Nobody has to watch it

What a run needs from you is declared up front: what agents may never do, which logins to check, what to do with a question. A run ends green or red, and a red one names the step and why.

human: { mode: assume }   # assume | fail | wait | supervisor
permissions:
  deny: ["Bash(git push --force:*)", "Bash(terraform apply:*)"]
credentials:
  aws-dev: { check: "aws sts get-caller-identity", login: "aws sso login" }