agent

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Name      string   `yaml:"name"`
	Schedule  string   `yaml:"schedule"`
	Model     string   `yaml:"model"`
	Mode      string   `yaml:"permission_mode"`
	MaxTurns  int      `yaml:"max_turns"`
	Tools     []string `yaml:"tools"`
	Budget    float64  `yaml:"budget"`
	MCPConfig string   `yaml:"mcp_config"`
	Memory    bool     `yaml:"memory"`
	Gate      bool     `yaml:"gate"`
	Notify    string   `yaml:"notify"`

	// Parsed from file
	Prompt   string `yaml:"-"`
	FilePath string `yaml:"-"`
	Hash     string `yaml:"-"`
}

func Discover

func Discover(dir string) ([]*Agent, error)

func FindByName

func FindByName(agents []*Agent, name string) *Agent

func Load

func Load(path string) (*Agent, error)

Jump to

Keyboard shortcuts

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