Interface Moderation
- All Superinterfaces:
AgentCapability
Declares that an agent can moderate turn-taking conversations between participant agents.
Supports patterns like debates, peer reviews, and negotiations.
-
Method Summary
Modifier and TypeMethodDescriptionmaxConcurrentConversations(int max) Maximum number of concurrent conversations for this group.maxIterationsPerTurn(int max) Maximum LLM iterations a participant gets per turn before auto-submitting.maxRounds(int max) Maximum number of conversation rounds.static Moderationof(Class<? extends AutonomousAgent> first, Class<? extends AutonomousAgent>... rest) Create a moderation capability with the given participant agent types.
-
Method Details
-
of
@SafeVarargs static Moderation of(Class<? extends AutonomousAgent> first, Class<? extends AutonomousAgent>... rest) Create a moderation capability with the given participant agent types. -
maxRounds
Maximum number of conversation rounds. Defaults to 5. -
maxIterationsPerTurn
Maximum LLM iterations a participant gets per turn before auto-submitting. Defaults to 10. -
maxConcurrentConversations
Maximum number of concurrent conversations for this group. Defaults to 1.
-