ov.agents.realize#
The mechanical lift — turn ov’s skills into agent definitions and realize them.
This is the thin ov-specific facade over coact’s two transforms (D4): COMPLETE
(a .claude/skills/ skill → an coact.AgentDefinition, reading the extras
from the skill’s coact: block) and REALIZE (a definition → a running agent on
a chosen backend). Nothing here re-implements an agent loop or a persona; coact does
the lift, ov just points it at the right skills and surfaces the cost gate.
The cheapest backend is the default (host): materialize() writes
.claude/agents/*.md and links the skills so Claude Code runs ov’s agents as
subagents — no new runtime, no fan-out. Standing up an in-process fleet (sdk) or
a foreign-host tool server (mcp) is opt-in; call estimate() first to see the
~15× fan-out premium before you spawn one (the §3.5 cost gate).
Functions
|
|
|
|
|
The cost gate — coact's fan-out estimate over the selected ov agents. |
|
Realize ov's agents on the host backend: write |
|
Realize a single ov agent on |
- ov.agents.realize.complete_agent(role_or_name, *, skills_dir=None, policy=None, llm=None)[source]#
COMPLETEone ov skill into acoact.AgentDefinition(the lift).Mechanical by default (no LLM): model, tools, return contract and MCP wiring come from the skill’s
coact:block. Passllm=only to let coact draft a persona — the deterministic template path is used otherwise.- Return type:
- ov.agents.realize.complete_all(*, roles=None, skills_dir=None, policy=None)[source]#
COMPLETEevery ov agent (orroles) →{role: AgentDefinition}.
- ov.agents.realize.estimate(roles=None, *, skills_dir=None)[source]#
The cost gate — coact’s fan-out estimate over the selected ov agents.
Realizing an in-package fleet costs roughly an order of magnitude more tokens than the host path, and the premium is worst on interdependent work (ov’s analysts share the evidence bundle). Render this before spawning:
from ov.agents import estimate print(estimate(["ux-analyst", "arch-analyst"]).render())
- Return type:
- ov.agents.realize.materialize(*, roles=None, dest=None, scope='project', project_dir=None, link=True, skills_dir=None, force=False, policy=None)[source]#
Realize ov’s agents on the host backend: write
.claude/agents/+ link skills.This is the cheap pit-of-success — it stands up no runtime. It emits one
<name>.mdper agent intodest(default: the project’s.claude/agents/) and symlinks each referenced skill into the sibling.claude/skills/so Claude Code discovers both, then verifies discovery. Returns coact’sRealizedHost(.agents,.skills,.warnings).- Return type:
- ov.agents.realize.realize_agent(role_or_name, *, backend='host', skills_dir=None, policy=None, **kwargs)[source]#
Realize a single ov agent on
backend("host"|"sdk"|"mcp").sdkreturns acoact.RunnableAgent(anaw.AgenticStep) for text-shaped agents;mcpexposes the skill’s declaredcoact: mcp:tools as a FastMCP server (foreign hosts). For ov’s live-browser / multimodal runtimes useOperatorAgent/AnalystAgentinstead — coact’s text-promptsdkagent can’t drive a page or send images.- Return type: