Skip to main content
Use agentcompass.run_evaluation(...) when AgentCompass needs to be embedded in another Python workflow.
The return value contains aggregate metrics, output paths, and execution metadata. Per-task details are written to the run directory so large evaluations do not need to keep every artifact in memory.

Multiple Evaluation Requests

run_evaluation() executes one request. Use launch() or async_launch() for an ordered set of explicitly named requests:
Each request has its own outcome, output paths, logs, and progress files while sharing one orchestration-level task limit and timeout. See agentcompass launch for defaults, YAML, scheduling, reuse, and failure-isolation semantics. Earlier batch helpers are not compatibility aliases for this interface.

Common Arguments

Pass network_policy, run_network_policy, and verifier_network_policy inside environment_params, using the same values documented in Network Policy. See agentcompass run for choosing safe values for concurrency, timeouts, retries, and provider limits. Use on_progress to receive structured progress events from long-running evaluations.