Skip to main content

Module agent_config

Module agent_config 

Source
Expand description

Universal AgentConfig: the unit that Evolve actually evolves.

Each project has a current “champion” config and optionally an active “challenger”. When P(challenger > champion) > 0.95 (Bayesian posterior over session outcomes), the challenger is promoted.

The struct is intentionally narrow at the universal level: only fields that every adapter can usefully consume some interpretation of. Tool-specific knobs (Claude Code hook configs, Cursor file globs, Aider edit-format selection) live in AgentConfig::extensions as opaque per-adapter JSON blobs that the adapter itself knows how to unpack.

Structs§

AgentConfig
The unit Evolve evolves. Each version is stored once in SQLite and referenced by ConfigId.

Enums§

ModelPref
Preferred model. Adapters map this onto their own model catalogs.
ResponseStyle
How verbose / how much narration the agent should produce.