CallableAgentInfo
AgentPrism.Core.dllThe summary of a callable sub-agent, reported to the model.
public readonly struct CallableAgentInfo : IEquatable<CallableAgentInfo>Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”CallableAgentInfo(string, string?, int)
Section titled “ CallableAgentInfo(string, string?, int)”The summary of a callable sub-agent, reported to the model.
public CallableAgentInfo(string Name, string? Description, int Version)Parameters
Section titled “Parameters”Name string
Agent name.
Description string?
Description of what it does.
Version int
Version of the sub-agent’s definition. 0 when not found in the catalog. Enters the cache key of the calling agent’s compiled copy: a sub-agent’s description is embedded in the text sent to the model, so the caller must be recompiled when the sub-agent is updated.
Properties
Section titled “Properties”Description
Section titled “ Description”Description of what it does.
public string? Description { get; init; }Property Value
Section titled “Property Value”Agent name.
public string Name { get; init; }Property Value
Section titled “Property Value”Version
Section titled “ Version”Version of the sub-agent’s definition. 0 when not found in the catalog. Enters the cache key of the calling agent’s compiled copy: a sub-agent’s description is embedded in the text sent to the model, so the caller must be recompiled when the sub-agent is updated.
public int Version { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Deconstruct(out string, out string?, out int)
Section titled “ Deconstruct(out string, out string?, out int)”public void Deconstruct(out string Name, out string? Description, out int Version)Parameters
Section titled “Parameters”Name string
Description string?
Version int
Equals(object)
Section titled “ Equals(object)”public override bool Equals(object obj)Parameters
Section titled “Parameters”obj object
Returns
Section titled “Returns”Equals(CallableAgentInfo)
Section titled “ Equals(CallableAgentInfo)”public bool Equals(CallableAgentInfo other)Parameters
Section titled “Parameters”other CallableAgentInfo
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(CallableAgentInfo, CallableAgentInfo)
Section titled “ operator ==(CallableAgentInfo, CallableAgentInfo)”public static bool operator ==(CallableAgentInfo left, CallableAgentInfo right)Parameters
Section titled “Parameters”left CallableAgentInfo
right CallableAgentInfo
Returns
Section titled “Returns”operator !=(CallableAgentInfo, CallableAgentInfo)
Section titled “ operator !=(CallableAgentInfo, CallableAgentInfo)”public static bool operator !=(CallableAgentInfo left, CallableAgentInfo right)Parameters
Section titled “Parameters”left CallableAgentInfo
right CallableAgentInfo