Documentation
¶
Overview ¶
Package tools provides readymade, reusable tools for Gojent agents.
Index ¶
- func NewExecTools(cfg exec.ManagerConfig) (*exec.Tools, error)
- func StandardExecTools(cfg ...exec.Config) ([]tool.Tool, error)
- func StandardFilesystemTools(cfg ...fs.Config) ([]tool.Tool, error)
- func StandardTaskTools() (*task.Tracker, []tool.Tool, error)
- func StandardWebTools(cfg ...web.FetchConfig) ([]tool.Tool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecTools ¶ added in v0.2.0
func NewExecTools(cfg exec.ManagerConfig) (*exec.Tools, error)
NewExecTools returns the managed command execution and process tools. The caller owns the returned set and must close it to stop background processes.
func StandardExecTools ¶
StandardExecTools returns command execution tools.
func StandardFilesystemTools ¶
StandardFilesystemTools returns the core set of filesystem tools (read, write, edit, list).
func StandardTaskTools ¶
StandardTaskTools returns an in-memory task tracker and its associated tools.
func StandardWebTools ¶
func StandardWebTools(cfg ...web.FetchConfig) ([]tool.Tool, error)
StandardWebTools returns standard web fetching tools.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package exec provides readymade tools for executing commands and shell scripts, including managed background processes.
|
Package exec provides readymade tools for executing commands and shell scripts, including managed background processes. |
|
Package fs provides readymade filesystem tools for reading, writing, editing, and listing files.
|
Package fs provides readymade filesystem tools for reading, writing, editing, and listing files. |
|
Package task provides readymade planning and task-tracking tools for multi-step agent reasoning.
|
Package task provides readymade planning and task-tracking tools for multi-step agent reasoning. |
|
Package web provides readymade tools for fetching web content and searching the web.
|
Package web provides readymade tools for fetching web content and searching the web. |