Skip to main content

Module agents

Module agents 

Source
Expand description

Agent definitions for model routing.

Allows tasks to specify which AI harness and model should run them. Agent definitions are loaded from .scud/agents/<name>.toml files.

§Example

# .scud/agents/reviewer.toml
[agent]
name = "reviewer"
description = "Code review agent using smarter model"

[model]
harness = "claude"
model = "opus"

Agent definitions for model routing

Agent definitions specify which harness and model to use for a task, along with an optional custom prompt template.

Structs§

AgentDef
Agent definition loaded from .scud/agents/.toml
AgentMeta
ModelConfig
PromptConfig