Help us shape the future of Go! Take the 2026 Go Developer Survey

agents

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ID

func ID(name string) string

func Names

func Names() ([]string, error)

func NewExternal added in v0.19.0

func NewExternal(ctx context.Context, ws *code.Workspace, name string) (code.Agent, error)

NewExternal constructs a detected/configured ACP agent. Hosts construct the built-in code agent directly and own its provider resources.

Types

type Constructor

type Constructor func(context.Context, *code.Workspace) (code.Agent, error)

type Registration

type Registration struct {
	ID          string
	Name        string
	Constructor Constructor
}

func Available

func Available() ([]Registration, error)

Available merges automatically detected agents with agents.json entries. An explicitly configured entry replaces a detected entry with the same ID.

Jump to

Keyboard shortcuts

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