factory

package
v0.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

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

func New(provider, binary, model string) (agent.Agent, error)

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. An empty provider maps to claude to preserve current default behavior.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL