pub struct AgentDefinition {Show 13 fields
pub id: AgentId,
pub name: String,
pub display_name: Option<String>,
pub description: Option<String>,
pub system_prompt: String,
pub default_model_id: Option<ModelId>,
pub capabilities: Vec<CapabilityRef>,
pub initial_files: Vec<InitialFile>,
pub network_access: Option<NetworkAccessList>,
pub max_iterations: Option<usize>,
pub parallel_tool_calls: Option<bool>,
pub tools: Vec<ToolDefinition>,
pub mcp_servers: ScopedMcpServers,
}Expand description
Portable authored execution configuration for an agent.
Carries exactly what turn execution consumes: the agent’s identity for
correlation plus the authored configuration layer merged between the
harness chain and the session overlay. It is not a persistence record —
stored lifecycle/versioning metadata stays in everruns-platform.
Fields§
§id: AgentIdPublic agent identifier (agent_<32-hex>), used for correlation and
session/agent mismatch validation during snapshot projection.
name: StringAddressable name, unique per org (e.g. “customer-support”).
display_name: Option<String>Human-readable display name; falls back to name when absent.
description: Option<String>Human-readable description of what the agent does.
system_prompt: StringSystem prompt contributed by the agent layer.
default_model_id: Option<ModelId>Default LLM model; overridable at the session layer.
capabilities: Vec<CapabilityRef>Capabilities enabled for this agent with per-agent configuration.
initial_files: Vec<InitialFile>Starter files copied into each new session for this agent.
network_access: Option<NetworkAccessList>Network access list merged with harness and session layers.
max_iterations: Option<usize>Maximum number of LLM iterations per turn for this agent.
parallel_tool_calls: Option<bool>Request-level parallel tool calling preference (EVE-598).
tools: Vec<ToolDefinition>Client-side tools registered for this agent.
mcp_servers: ScopedMcpServersRemote MCP servers scoped to this agent and inherited by its sessions.
Implementations§
Trait Implementations§
Source§impl Clone for AgentDefinition
impl Clone for AgentDefinition
Source§fn clone(&self) -> AgentDefinition
fn clone(&self) -> AgentDefinition
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more