Package com.embabel.agent.spi.validation
Class DefaultAgentValidationManager
-
- All Implemented Interfaces:
-
com.embabel.agent.spi.validation.AgentValidationManager
@Service() public final class DefaultAgentValidationManager implements AgentValidationManager
Default implementation of AgentValidationManager that coordinates multiple AgentValidators.
Runs all configured validators on the provided AgentScope and aggregates their results, collecting and reporting all validation errors or warnings.
Supports both summary validation and detailed per-validator results. Useful for extensible, modular validation pipelines where multiple agent checks (such as structure, method signatures, and path-to-goal validation) are required.
-
-
Constructor Summary
Constructors Constructor Description DefaultAgentValidationManager(List<AgentValidator> validators)
-
Method Summary
Modifier and Type Method Description ValidationResultvalidate(AgentScope agentScope)DetailedValidationResultvalidateWithDetails(AgentScope agentScope)-
-
Constructor Detail
-
DefaultAgentValidationManager
DefaultAgentValidationManager(List<AgentValidator> validators)
-
-
Method Detail
-
validate
ValidationResult validate(AgentScope agentScope)
-
validateWithDetails
DetailedValidationResult validateWithDetails(AgentScope agentScope)
-
-
-
-