claw

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Claw

type Claw struct {
	// contains filtered or unexported fields
}

func New

func New(config *Config) *Claw

func (*Claw) AgentDir

func (c *Claw) AgentDir(name string) string

func (*Claw) CreateAgent

func (c *Claw) CreateAgent(name string) error

func (*Claw) DeleteAgent

func (c *Claw) DeleteAgent(name string) error

func (*Claw) GetAgent

func (c *Claw) GetAgent(name string) *agent.Agent

func (*Claw) Init

func (c *Claw) Init() error

Init must be called before Run.

func (*Claw) ListAgents

func (c *Claw) ListAgents() ([]string, error)

func (*Claw) Run

func (c *Claw) Run(ctx context.Context) error

type Config

type Config struct {
	AssistantName string

	AgentConfig *agent.Config

	MCP *mcp.Manager

	Tools        []tool.Tool
	Instructions string

	Memory   *memory.Store
	Channels []channel.Channel
}

func DefaultConfig

func DefaultConfig() (*Config, func(), error)

Directories

Path Synopsis
cli
tool

Jump to

Keyboard shortcuts

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