Agent Configurations¶
akms.orchestrator.agent_configs
¶
agent_configs.py — Per-Role Agent Configurations (§3 of system design).
Defines the configuration and behavior profiles for different agent roles within the AKMS orchestrator pipeline.
Three primary roles: - Implementer: Standard tools + AKMS loadout for task execution - Code Reviewer: Phase diffs + search_mirror.qmd access for code review - Physics Reviewer: contradicts edges, domain-focused loadout for physics validation
AgentConfig
dataclass
¶
AgentConfig(
role: AgentRole,
name: str,
description: str,
model_tier: str = "sonnet",
tools: list[str] = list(),
system_prompt_additions: str = "",
loadout_required: bool = True,
receives_phase_diffs: bool = False,
parallel_capable: bool = True,
)
Configuration for an agent role.
SpecialAgentConfig
dataclass
¶
SpecialAgentConfig(
name: str,
description: str,
model_tier: str = "sonnet",
tools: list[str] = list(),
system_prompt_additions: str = "",
)
Configuration for non-role-based agents (planner, scaffolder, etc.).
resolve_runtime_tools
¶
Translate a list of logical tool names into concrete runtime names.
Grep is never introduced. Unknown logical names produce a warning and are skipped. The result is deterministically ordered and deduplicated.
Source code in packages/akms/src/akms/orchestrator/agent_configs.py
get_agent_config
¶
Get the agent configuration for a role.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
role
|
AgentRole | str
|
Agent role (enum or string). |
required |
Returns:
| Type | Description |
|---|---|
AgentConfig
|
AgentConfig for the role. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If role is unknown. |
Source code in packages/akms/src/akms/orchestrator/agent_configs.py
get_special_agent_config
¶
Get a special (non-role-based) agent configuration.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Agent name (planner, task_decomposer, scaffolder, phase_agent). |
required |
Returns:
| Type | Description |
|---|---|
SpecialAgentConfig
|
SpecialAgentConfig. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If agent name is unknown. |