Skip to main content
Jobs orchestrate your agents. Each job is a finite state machine (FSM) — you define the states it moves through, what agents execute at each state, and how it transitions forward.

Anatomy of a job

workspace.yml

The trigger contract

When a signal fires, the runtime resets the FSM to initial and sends { type: <signal-name>, data: <payload> }. The initial state’s on map must have a key that exactly matches the signal name — or the event is silently ignored and no session starts.

Action types

Each entry array in a state takes one or more actions: Agent action — invoke an agent and optionally capture its output:
Emit action — advance the FSM after the agent finishes:
Agents do not auto-advance the FSM. Every action state needs an explicit type: emit to trigger the transition. The event name must exactly match a key in the on map.

Passing data between steps

Use outputTo and inputFrom to chain steps:
A step can take multiple prior outputs by passing inputFrom as an array — the engine concatenates them:

Running jobs

  • Signals — external events like webhooks or cron schedules
  • Studio UI — click Run on any job card in the Studio
  • APIPOST /api/workspaces/:id/signals/:signalId
  • CLIfriday signal trigger -n <signal> -w <space>

Memory

Jobs can read and write space memory through agents. Memory persists across sessions — agents can recall what happened in previous runs. See Memory.

Inspecting jobs

Use the Job Inspector to visualize the FSM as a , run jobs with custom inputs, and debug executions with the waterfall timeline.

Common gotchas

  • type: atlas agents ignore the tools array. Built-in agents are self-contained. If you need MCP tools called, use type: llm with an explicit tools array instead.
  • Missing type: emit — if a state has no emit action, the FSM never transitions and the session hangs.
  • Emit name mismatchevent: DONE in the emit must match the on: DONE key exactly.
  • outputTo missing between chained steps — the next step’s inputFrom receives nothing. Always pair them.