# Teams as one definition

> Source: <https://loomcycle.dev/blog/teams-as-one-definition.html>
> Published: 2026-10-09 14:00:00+00:00

**Key takeaway:** A team definition in Loomcycle v1.104+ now carries its own local agents, skills, channels, schedules, webhooks and declared variables, and TeamDef op=verify (v1.105) checks a team before saving, returning refused, unrunnable or advisory with the JSON path at fault.

A multi-agent workflow in loomcycle used to need a half-dozen separate agent definitions registered globally. Plus skills, plus channels, plus a schedule in a different file. The team definition was a state machine that pointed at the agents by name, and the agents were someone else's problem to deploy and keep in sync. v1.103 through v1.108 collapses the pieces into one file. v1.104 made a team definition carry its own local agents, local skills, local channels, local schedules, local webhooks, plus declared variables a start sets. A missing or extra variable errors at start time. Schedules and webhooks can start a team directly. v1.103 added template-and-capture between states: expressions like ${steps.triage.answer} interpolate a prior answer with the sub-agent header stripped; capture {as: priority} names a variable every later state can reference. v1.105 added TeamDef op=verify: check a team before saving it, returns severity refused or unrunnable or advisory with the JSON path at fault. v1.108 opened operator access to a team's own local channels, read-only. Three caveats worth naming: team names with more than one segment cannot declare locals yet (the slash collides with the local-resolution namespace); local names cap at 64 chars matching the pattern [A-Za-z0-9_-]; team walks do not migrate across replicas (a walk is bound to its replica; a restart ends it failed; children spawned by the walk survive, the walk's own state machine does not). What this makes possible: a workflow that used to ship as six separate definitions now ships as one object. A tenant onboarding deploys the whole workflow in one call. The visible payoff lands on the loomboard canvas, which uses the self-contained team file to save, check, download, import and run without pre-registration.
