The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
/**
* Swarm v3 has no Team accounts (anh Dee, 2026-11-07; #4221). A Mac, Linux or Windows computer set up before keeps the
* Team account's daemon, which its system starts at every boot. Its files are root's, and removing them needs an
* administrator prompt nobody asked for, so the daemon stops itself for good instead: after a pass over its agents finds
* none running, so the agents still there finish what they hold first (#4120). At the next boot it starts, finds none and
* stops again. `harness team remove` deletes the account, its home and its daemon when its owner chooses.
*/
export const TEAM_RETIRED = 'retired'
/** What runs after each pass over this daemon's agents. Only a Team account's daemon (team/config.ts `isTeamAccount`)
* ever stops; a computer signed in with `harness team on` is the owner's own daemon and is not one. */
export function teamRetirement(deps: { teamAccount: boolean; live: () => number; stop: (reason: string) => void; log: (line: string) => void }): () => void {
let stopped = !deps.teamAccount
return () => {
if (stopped || deps.live() > 0) return
stopped = true
deps.log('[team] Swarm v3 has no Team accounts: no agent runs here, stopping for good')
deps.stop(TEAM_RETIRED)
}
}