pub struct CustomAgentSpec {
pub id: String,
pub binary: PathBuf,
pub args: Vec<String>,
pub prompt_via_stdin: bool,
pub capabilities: AgentCapabilities,
pub workdir: Option<PathBuf>,
pub alias: Option<String>,
}Expand description
Declarative registration for an agent with no built-in fingerprint.
Custom agents always go through SubprocessAgentDelegate.
Fields§
§id: String§binary: PathBuf§args: Vec<String>§prompt_via_stdin: bool§capabilities: AgentCapabilities§workdir: Option<PathBuf>Working directory the delegate cd’s into before spawning the child.
Task-level workdir (set by the orchestrator on the AgentTask) wins
when present; this is the static default for the binary.
alias: Option<String>Optional alias registered alongside id. Lets one canonical agent
receive routing under a shorthand name too.
Trait Implementations§
Source§impl Clone for CustomAgentSpec
impl Clone for CustomAgentSpec
Source§impl Debug for CustomAgentSpec
impl Debug for CustomAgentSpec
Source§impl<'de> Deserialize<'de> for CustomAgentSpec
impl<'de> Deserialize<'de> for CustomAgentSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CustomAgentSpec
impl RefUnwindSafe for CustomAgentSpec
impl Send for CustomAgentSpec
impl Sync for CustomAgentSpec
impl Unpin for CustomAgentSpec
impl UnsafeUnpin for CustomAgentSpec
impl UnwindSafe for CustomAgentSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more