pub struct CustomAgent {
pub id: AgentId,
pub name: String,
pub command: String,
pub args: Vec<String>,
pub env: BTreeMap<String, String>,
pub secret_env_keys: Vec<String>,
pub mcp_stdio: bool,
pub registry: Option<RegistryInstallSpec>,
pub entrypoint_sha256: Option<String>,
}Expand description
A machine-local custom or Registry-installed ACP agent saved in $STATE/chat/agents.json.
Fields§
§id: AgentId§name: String§command: String§args: Vec<String>§env: BTreeMap<String, String>§secret_env_keys: Vec<String>Secret env variable names whose values live in $STATE/chat/secrets.json (never echoed here).
mcp_stdio: bool§registry: Option<RegistryInstallSpec>§entrypoint_sha256: Option<String>Trait Implementations§
Source§impl Clone for CustomAgent
impl Clone for CustomAgent
Source§impl Debug for CustomAgent
impl Debug for CustomAgent
Source§impl<'de> Deserialize<'de> for CustomAgent
impl<'de> Deserialize<'de> for CustomAgent
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
impl Eq for CustomAgent
Source§impl PartialEq for CustomAgent
impl PartialEq for CustomAgent
Source§impl Serialize for CustomAgent
impl Serialize for CustomAgent
impl StructuralPartialEq for CustomAgent
Auto Trait Implementations§
impl Forget for CustomAgent
impl Freeze for CustomAgent
impl Move for CustomAgent
impl RefUnwindSafe for CustomAgent
impl Send for CustomAgent
impl Sync for CustomAgent
impl Unpin for CustomAgent
impl UnsafeUnpin for CustomAgent
impl UnwindSafe for CustomAgent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.