tools

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package tools is the agent's default toolset: the standard capable surface a coding agent needs to do real work - run a command, and read, write, edit, glob, and grep files - each exposed as a mission.Tool the model can call.

The tools hold no host access of their own. Every command and file operation goes through a sandbox.Sandbox, which confines it to a working directory and (in stronger tiers) a container or microVM. So the tools are pure logic - the edit single-match rule, the grep binary skip, the bash exit reporting - and the isolation lives in one place beneath them, the same for every tier.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

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

Set is the default toolset over a sandbox. Construct it with New and hand its tools to a mission executor.

func New

func New(sb sandbox.Sandbox) *Set

New builds the default toolset executing through sb.

func (*Set) Tools

func (s *Set) Tools() []mission.Tool

Tools returns the full default toolset as mission.Tools, ready to register with an executor.

Jump to

Keyboard shortcuts

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