Documentation
¶
Overview ¶
Package acp drives any agent that speaks the Agent Client Protocol (https://agentclientprotocol.com). One agent process is kept per conversation and reused across turns, then stopped after it has been idle.
Index ¶
- func New(spec agent.Spec) (agent.Agent, error)
- type Agent
- func (a *Agent) Caps() agent.Caps
- func (a *Agent) Close() error
- func (a *Agent) Models(conv string) []string
- func (a *Agent) Run(ctx context.Context, req agent.Request, h agent.Handler) (agent.Result, error)
- func (a *Agent) Sessions(ctx context.Context, conv, cwd string) ([]agent.SessionInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.