Skip to content

How it works ​

Seqlane adapter selectionAn actor runs Seqlane, which selects either the OpenCode or Codex adapter.ActorSeqlaneOpenCodeCodex

The diagram shows agent adapter selection. Classifier tasks use a separate classifier connection.

  1. Author a workflow as a typed graph of tasks.
  2. Bind inputs. Declare dependencies, sessions, workspaces, and models.
  3. Start one workflow run.
  4. Seqlane validates the Plan before it starts tasks.
  5. Seqlane runs deterministic work locally, sends agent work to the selected adapter, and calls the configured endpoint for classifier tasks.
  6. Seqlane validates task outputs and returns the workflow result.

Independent tasks can run in parallel. Session and workspace policy determines which tasks wait.

Effect v4 owns execution and resource cleanup. Workflow source uses Seqlane authoring contracts and Zod schemas; runtime implementation types stay private.

Read Authoring workflows for the workflow DSL. Read Plan for the detailed execution model. Read Adapters to connect an agent runtime.