# `Agentic.Subagent.Coordinator`

Per-workspace subagent coordinator.

Manages bounded concurrent subagent execution. Each workspace gets at most
one Coordinator process (started lazily via `CoordinatorSupervisor`).

The Coordinator:
- Limits concurrent subagents (default 5)
- Monitors subagent processes for crash detection
- Delivers results back to the caller via GenServer.reply
- Auto-shuts down when idle

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `ensure_started`

Ensure a coordinator exists for the given workspace.

# `list_subagents`

List active subagents for a workspace.

# `spawn_subagent`

Spawn a subagent task synchronously.

Blocks until the subagent completes. Returns `{:ok, result}` or `{:error, reason}`.

# `start_link`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
