acp

package
v0.5.1 Latest Latest
Warning

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

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

Documentation

Overview

Package acp drives any agent that speaks the Agent Client Protocol (Gemini CLI, Claude Code and Codex via adapters, Kiro, Goose, Copilot, OpenCode, ...). One agent process is kept per conversation and reused across turns, then stopped after it has been idle for a while.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	// contains filtered or unexported fields
}

func New

func New(cfg config.Agent) *Agent

func (*Agent) Caps

func (a *Agent) Caps() agent.Caps

func (*Agent) Close

func (a *Agent) Close()

func (*Agent) Models

func (a *Agent) Models(conv string) []string

func (*Agent) Run

func (a *Agent) Run(ctx context.Context, req agent.Request, h agent.Handler) (agent.Result, error)

Jump to

Keyboard shortcuts

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