# Providers A **runtime** is the agent engine that runs Spire's text (Claude Code, Codex). A **host** is the app around it that may add session tools (Claude Desktop, T3 Code). Paths below are relative to this file. Under Codex, `${CLAUDE_PLUGIN_ROOT}` is not substituted: the plugin root is the parent of the `skills/` root Codex shows for a skill (a skill's SKILL.md is `/skills//SKILL.md`). Do not search elsewhere. - [`runtimes/claude-code/spawning.md`](runtimes/claude-code/spawning.md): dispatch, resume, models, Rules of thumb (owner) - [`runtimes/codex/spawning.md`](runtimes/codex/spawning.md): dispatching into Codex - [`hosts/claude-desktop/spawning.md`](hosts/claude-desktop/spawning.md): Desktop session layer - [`hosts/t3-code/spawning.md`](hosts/t3-code/spawning.md): T3 threads and delegates - `hosts/codex-desktop/`: planned, nothing known ## Detection (reading, not calling) Igor reads its tool names, deferred ones included. Spire's agents load only in Claude Code, so the runtime is claude-code. Spire also ships a Codex manifest exposing `skills/`; whether Codex loads them and expands the plugin-root path variable is unknown, and Igor under Codex is unsupported in 0.4.0. | Tool names present | Host | Read | |---|---|---| | any `mcp__ccd_session__*` or `mcp__ccd_session_mgmt__*` | claude-desktop | runtime + `hosts/claude-desktop/` | | any `mcp__t3-code__*`, or a tool ending in `orchestrator_capabilities` or `delegate_task` | t3-code | runtime + `hosts/t3-code/` | | neither, no other session-layer server | none | runtime only | | both, or an unlisted session-layer server | unclear | runtime only | - A session-layer server has tools that create, start, launch, send to or hand off sessions, threads, tasks or agents (e.g. `mcp__claude-code-remote__*`). Other MCP servers do not affect detection. - **Unclear: do not guess.** Use runtime primitives only, tell the user once which signals you saw, ask which host this is. Never call a host spawn tool on a guess. - Journal once: `Harness: runtime claude-code, host (signal: )`. - Re-detect after a resume on another machine, when a host tool fails as absent, and when a session-layer tool first appears in the tool or deferred-tool list. While the pair is `none`, re-read the tool list once before the first background `Agent` dispatch (hosts load tools late). - Env vars are not a signal. ## Who reads what Igor reads the runtime file and the detected host file, plus the Codex runtime file when delegating to Codex. Zathras follows Igor's rule by reference. The Athanor reads the runtime file only and never calls host spawn tools (Desktop `mcp__ccd_session*__*`, T3 `delegate_task`, threads, any `mcp__t3-code__*`); Igor owns them. Leaf agents read nothing here; their briefs carry what they need. ## Status legend Each claim carries a status and a date. - **verified**: read from tool schema text, host system-prompt text or vendor docs that date; not runtime-tested unless the row says so. - **observed**: seen in real runs, source given; mechanism may be assumed. - **assumed**: inferred, unchecked. - **unknown**: open; check before relying on it. Host files open with "Versions seen"; a row that depends on a version names it. A claim fails: fix the row with a new date. ## Path rule Skill and agent bodies point here as `${CLAUDE_PLUGIN_ROOT}/providers///.md`. Files read with `Read` use relative links; other reference files write `providers/...` plus "(plugin root)".