Package akka.javasdk.agent
Interface AgentDelegationWorker
- All Known Implementing Classes:
Agent,AutonomousAgent,HallucinationEvaluator,SummarizationEvaluator,ToxicityEvaluator
@DoNotInherit
public interface AgentDelegationWorker
Marker interface implemented by agent types that can act as delegation workers. Allows
Delegation.to(java.lang.Class<? extends akka.javasdk.agent.AgentDelegationWorker>, java.lang.Class<? extends akka.javasdk.agent.AgentDelegationWorker>...) to accept both Agent and AutonomousAgent subclasses in a single call.
Not for user extension, implementation provided by the SDK.