Interface AgentSetup


public interface AgentSetup
Per-instance configuration applied on top of an agent's static AgentDefinition. Use this to dynamically configure an agent instance at runtime, the instructions override the static instructions, and capabilities extend the static capabilities.

The agent's @Component description is bound to the component class and cannot be overridden per instance.

Each fluent method returns a new immutable instance.

See Also:
  • Method Details

    • create

      static AgentSetup create()
      Create an empty agent setup.
    • instructions

      AgentSetup instructions(String instructions)
      Override the agent's instructions for this instance. If not set, the static instructions from AgentDefinition are used.
    • capability

      AgentSetup capability(AgentCapability capability)
      Add a capability for this instance, extending the static capabilities.