Build Agents • AI Agents Framework
build_agents: Build the agent objects from the YAML spec *without running them*.
build_agents
Method
</div>
This is a method of the AgentsGenerator class in the agents_generator module.
Build the agent objects from the YAML spec without running them.
This is the “build only” counterpart to :meth:generate_crew_and_kickoff and exists for callers that need the constructed :class:~praisonaiagents.Agent instances rather than a run result — e.g. the `praisonai eval evaluators, which drive an agent themselves. It reuses the same :meth:_prepare_for_run` normalisation so the agents are identical to what a real run would build.
Signature
def build_agents() -> AnyReturns
ResponseField
AnyThe constructed agent instances (empty list if none defined).
Uses
callableNotImplementedErrorbuilder
Source
View on GitHubpraisonai/agents_generator.py at line 1677