Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeveloperExample ¶
type DeveloperExample struct {
// contains filtered or unexported fields
}
DeveloperExample is a naive implementation of a developer agent. It is used to demonstrate the capabilities of combining A2A with MCP.
You need to have a running Docker daemon for this to work, as the agent will use a Docker container as a tool to have a working environment.
func NewDeveloperExample ¶
func NewDeveloperExample() *DeveloperExample
NewDeveloperExample creates a new DeveloperExample instance.
func (*DeveloperExample) Initialize ¶
func (example *DeveloperExample) Initialize(v *viper.Viper)
Initialize the DeveloperExample instance, by setting up the agent, and any skills it needs.
Skills are defined in the A2A spec, and are used to describe the capabilities of the agent, which in turn will map to the tools it can use.
To get a better understanding of how skills work, have a look at types/card.go, specifically the Tools() method of the AgentCard type.
func (*DeveloperExample) Run ¶
func (example *DeveloperExample) Run(interactive bool) error