ov.agents.orchestrator#
The Orchestrator — a pure coordinator over the study pipeline (aw workflow).
The orchestrator plans and delegates; it does not analyze (plan quality degrades
when the planner also does the work — §7). It sequences the study the study-web-app
skill describes — capture → deterministic analysis → (optional) analyst judgment →
report → synopsis — by chaining ``aw.AgenticStep``s through an aw.AgenticWorkflow
with the CaptureRun as the shared SSOT in the workflow context.
Two design properties carry the spec’s intent:
Host-is-the-manager stays the default. With no
llminjected the pipeline is fully deterministic (capture + analyzers + report + synopsis) — the analyst agents are additive and only run when a model is supplied. The cheap path is the default.Everything is injected. Each stage (capture / analyze / report / synopsis) is a swappable callable defaulting to the real
ovfacade, so the coordination logic is unit-testable with fakes — no browser, no model — while the defaults wire the genuine end-to-end study.
Functions
|
Run an end-to-end study of |
Classes
|
Coordinate a full study, delegating each stage (never analyzing itself). |
|
What a study produced: the run, the synopsis, report paths, and step metadata. |
- class ov.agents.orchestrator.Orchestrator(llm=None, lenses=('ux', 'arch'), out_dir=None, store=None, capture_fn=<function _default_capture>, analyze_fn=<function _default_analyze>, report_fn=<function _default_report>, synopsis_fn=<function _default_synopsis>, capture_kwargs=dict())[source]#
Bases:
objectCoordinate a full study, delegating each stage (never analyzing itself).
- Parameters:
llm (
Any) – the injected model for the analyst agents.None→ deterministic-only study (the host-is-manager default; analysts are skipped).lenses (
tuple) – which analysis lenses to run ("ux"and/or"arch").out_dir (
Any) – where reports + synopsis are written (None→ the run’s store).synopsis_fn (
Callable) – stage seams (default to the realovfacade). Inject fakes to unit-test the coordination.capture_kwargs (
dict) – extra kwargs forwarded tocapture_fn(e.g.mode,authorized,crawl_pages,journey).
- run(url)[source]#
Run the full study for
urland return anOrchestratorResult.- Return type:
- class ov.agents.orchestrator.OrchestratorResult(run, synopsis=None, reports=list(), workflow=dict())[source]#
Bases:
objectWhat a study produced: the run, the synopsis, report paths, and step metadata.
- ov.agents.orchestrator.study(url, *, llm=None, lenses=('ux', 'arch'), **kwargs)[source]#
Run an end-to-end study of
url(the in-package twin of thestudy-web-appskill).The pit-of-success one-liner: capture → analyze → (optional analyst judgment) → report → synopsis. With
llm=Noneit is fully deterministic; pass an injected model to add grounded UX/Arch narrative. Forwardsmode/authorized/crawl_pages/out_dir/ stage seams via**kwargs.- Return type: