.NET API
AgentDecoratorPipeline
Tracon.Core.dllApplies every registered IAgentDecorator to an agent, in the same order Tracon.CompositeAgentCatalog uses.
public static class AgentDecoratorPipelineInheritance
Section titled “Inheritance”object ← AgentDecoratorPipeline
Inherited Members
Section titled “Inherited Members”object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”A caller that compiles an agent OUTSIDE the catalog (a parameterized run,
which bypasses CompiledAgentCache and therefore the catalog’s own
ResolveAsync) must still apply this same pipeline by hand - otherwise
the agent runs undecorated: no run recording, no telemetry, no tool-approval
gate.
Methods
Section titled “Methods”Apply(AIAgent, AgentDescriptor, IEnumerable<IAgentDecorator>)
Section titled “ Apply(AIAgent, AgentDescriptor, IEnumerable<IAgentDecorator>)”Applies every decorator, ordered from innermost to outermost.
public static AIAgent Apply(AIAgent agent, AgentDescriptor descriptor, IEnumerable<IAgentDecorator> decorators)Parameters
Section titled “Parameters”agent AIAgent
The compiled agent.
descriptor AgentDescriptor
The catalog summary of the agent.
decorators IEnumerable<IAgentDecorator>
The registered decorators.
Returns
Section titled “Returns”AIAgent
The decorated agent.
Exceptions
Section titled “Exceptions”A parameter is null.
A decorator threw while decorating the agent.