examples

package
v0.0.0-...-7b2cef0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: Unlicense Imports: 13 Imported by: 0

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

Jump to

Keyboard shortcuts

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