Skip to main content

Module config

Module config 

Source
Expand description

Agent configuration schema for tcode.

Why: Sub-agents (and the PM itself) are defined declaratively so model, prompt, and LLM parameters can evolve without code changes. As of #2897 Slice D, the on-disk source format is Markdown+frontmatter (.claude/agents/<name>.md) ONLY — the original TOML loader (AgentConfig::from_toml_str/AgentConfig::load) has been retired; see agents::md_loader for the current loader and scripts/migrate-tcode-agents-toml-to-md.py for the one-time converter a project with pre-#2897 .toml agent files should run. What: AgentConfig and all nested config types. These are pure data structs — format-agnostic — that agents::md_loader::project_to_agent_config populates from a composed .md document’s frontmatter + body. Test: agent_config_default_is_empty, runner_kind_defaults_to_in_process; the loading path itself is covered by agents::md_loader::tests::*.

Structs§

AgentConfig
Top-level agent configuration.
AgentInfo
Core identity fields for an agent.
LlmParams
LLM parameters for a single agent.
RunnerConfig
Runner backend selection for an agent.
SystemPrompt
System prompt for an agent.
ToolsConfig
Per-agent tool permissions.

Enums§

RunnerKind
Execution backend for agent invocations.