Struct Agent Config

View as Markdown

Generated from cargo doc --no-deps -p nemo-fabric-core.

pub struct AgentConfig {
    pub harness: Option<AgentHarnessConfig>,
    pub models: BTreeMap<String, AgentModelConfig>,
    pub instructions: Option<AgentInstructionsConfig>,
    pub runtime: Option<AgentRuntimeConfig>,
    pub skills: Option<AgentSkillConfig>,
    pub mcp: Option<AgentMcpConfig>,
    pub tools: Option<AgentToolsConfig>,
    pub workflow: Option<AgentWorkflowConfig>,
    pub extensions: BTreeMap<String, Value>,
}

Configuration projected southbound to one adapter target.

Fields

harness: Option<AgentHarnessConfig>

Adapter-owned target settings.

models: BTreeMap<String, AgentModelConfig>

Named model roles applied by the adapter target.

instructions: Option<AgentInstructionsConfig>

Normalized instructions applied by the adapter target.

runtime: Option<AgentRuntimeConfig>

Adapter-applied runtime behavior.

skills: Option<AgentSkillConfig>

Skills made available to the adapter target.

mcp: Option<AgentMcpConfig>

MCP servers routed to the adapter target.

tools: Option<AgentToolsConfig>

Named tool definitions and effective tool policy.

workflow: Option<AgentWorkflowConfig>

Custom agent or workflow selection and construction settings.

extensions: BTreeMap<String, Value>

Adapter-owned fields validated against the selected adapter descriptor.

Trait Implementations

impl Clone for AgentConfig

impl Clone for AgentConfig

clone

fn clone(&self) -> AgentConfig

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for AgentConfig

impl Debug for AgentConfig

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for AgentConfig

impl Default for AgentConfig

default

fn default() -> AgentConfig

impl<'de> Deserialize<'de> for AgentConfig

impl<'de> Deserialize<'de> for AgentConfig

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl JsonSchema for AgentConfig

impl JsonSchema for AgentConfig

schema_name

fn schema_name() -> Cow<'static, str>

schema_id

fn schema_id() -> Cow<'static, str>

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

inline_schema

fn inline_schema() -> bool

impl PartialEq for AgentConfig

impl PartialEq for AgentConfig

eq

fn eq(&self, other: &AgentConfig) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for AgentConfig

impl Serialize for AgentConfig

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl StructuralPartialEq for AgentConfig

impl StructuralPartialEq for AgentConfig