Documentation
¶
Overview ¶
Package factory constructs agent.Agent implementations from a provider name. It lives in its own package because internal/agent cannot import the provider packages (claude, opencode) without an import cycle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New constructs an agent.Agent for the given provider. binary may be empty (each provider falls back to its default binary name); model may be empty. codexReasoningEffort and codexSandbox are passed through to the codex provider only — codexReasoningEffort applies a "medium" default when empty; codexSandbox empty preserves the Codex default sandbox (workspace-write). An empty provider maps to claude to preserve current default behavior.
Types ¶
This section is empty.