dizzy.simulate.agent¶
dizzy.simulate.agent
¶
dizzy.simulate.agent — provider-based agent activation via direct API tool calls.
Supports OpenRouter, Ollama, and Unsloth (all OpenAI-compatible). Tools are synthesized from ToolSpec and executed in-process — no MCP server required.
run_activation(provider, model, system_prompt, user_prompt, tools, event_store, verbose_stream) run_querier(query_name, description, args, event_store, provider, model)
ToolSpec
dataclass
¶
One synthesized tool. kind ∈ emit | dispatch | query | answer | finding.
Source code in dizzy/src/dizzy/simulate/agent.py
59 60 61 62 63 64 65 | |