iiRecord
Agentic AI Atlas · Babysitter defineTask Subagent
subagent:babysitter-define-taska5c.ai
II.
Subagent overview

subagent:babysitter-define-task

Reference · live

Babysitter defineTask Subagent overview

Generic shape — every babysitter process exports `defineTask` declarations that become dispatchable subagents at run-time. Each invocation spawns a `kind: 'agent'` subtask in its own subprocess (persistent ChildSession). Concrete user-authored Tasks specialize this shape with a specific impl, prompt, workspace policy, and tool allowlist.

SubagentOutgoing · 1Incoming · 1

Attributes

displayName
Babysitter defineTask Subagent
provenance
custom
dispatchPattern
subprocess-task
subjectId
agentVersion:claude:ge-0-0-0
systemPrompt
Generic shape covering any `defineTask(id, impl)` export. Every babysitter process exports defineTask declarations that become dispatchable subagents at run-time. Each invocation spawns a `kind: 'agent'` subtask in its own subprocess — a ChildSession with `lifecyclePolicy: persistent` — and the impl function controls the workspace, tool allowlist, and prompt for that subprocess.
tools
[]
triggers
Invoked via `ctx.task(taskSpec, args)` from a babysitter process function during run iteration. Spawns a subprocess via the subprocess-task dispatch pattern.
description
Generic shape — every babysitter process exports `defineTask` declarations that become dispatchable subagents at run-time. Each invocation spawns a `kind: 'agent'` subtask in its own subprocess (persistent ChildSession). Concrete user-authored Tasks specialize this shape with a specific impl, prompt, workspace policy, and tool allowlist.

Outgoing edges

implements1

Incoming edges

runs_subagent1