agentic_runner
agentic_runner
¶
AgenticRunner — multi-turn agent execution with energy telemetry correlation.
Orchestrates agentic workloads where a single query may involve multiple LLM turns and tool calls, capturing per-turn traces with energy attribution.
Classes¶
AgenticRunner
¶
AgenticRunner(agent: Any, dataset: Any, telemetry_session: Any = None, config: Optional[dict[str, Any]] = None, event_recorder: Optional[EventRecorder] = None, run_dir: Optional[Path] = None, concurrency: int = 1, agent_factory: Optional[Callable[[], Any]] = None, query_timeout: Optional[float] = None)
Orchestrate multi-turn agent runs with energy telemetry correlation.
Designed for agentic workloads where a single query may involve multiple
LLM turns and tool calls. Captures per-turn TurnTrace objects with
energy attribution and builds QueryTrace aggregates.
Source code in src/openjarvis/evals/core/agentic_runner.py
Attributes¶
Functions¶
run
async
¶
run(max_queries: Optional[int] = None) -> list[QueryTrace]
Run the agent over the dataset, collecting traces and telemetry.
Args: max_queries: Maximum number of queries to process. None means all.
Returns:
List of QueryTrace objects with energy-correlated telemetry.