tools

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package tools provides readymade, reusable tools for Gojent agents.

Index

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

func StandardExecTools(cfg ...exec.Config) ([]tool.Tool, error)

StandardExecTools returns command execution tools.

func StandardFilesystemTools

func StandardFilesystemTools(cfg ...fs.Config) ([]tool.Tool, error)

StandardFilesystemTools returns the core set of filesystem tools (read, write, edit, list).

func StandardTaskTools

func StandardTaskTools() (*task.Tracker, []tool.Tool, error)

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.

Jump to

Keyboard shortcuts

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