NewAgentRegistry (agents/registry.go)

iota-sdk · pkg/bichat/agents/registry.go · go · Apache-2.0
ai, tag:knn-classified

Package agents provides this package.

// Source: https://github.com/iota-uz/iota-sdk | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
// Package agents provides this package.
package agents

import (
	"fmt"
	"strings"
	"sync"
)

// Agent represents a minimal agent interface for registry operations.
// This interface is embedded by ExtendedAgent (defined in agent.go) which adds
// execution-related methods like Metadata(), Tools(), SystemPrompt(), etc.
//
// The registry only needs Name() and Description() for discovery and
// basic agent management. Extended functionality is provided by ExtendedAgent.
type Agent interface {
	// Name returns the unique agent identifier.
	Name() string

	// Description returns a human-re

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key