Skip to content

@moxxy/tools-builtin ships the six tools every coding agent expects. Core depends on this package directly (it's the only plugin-shaped package core is allowed to import).

Install

sh
pnpm add @moxxy/tools-builtin

Use

ts
import { builtinToolsPlugin } from '@moxxy/tools-builtin';

session.pluginHost.registerStatic(builtinToolsPlugin);

Tools

ToolPurposeCompact render
ReadRead a file (bytes / lines / pages for PDF).✓ Reading N files
WriteCreate or overwrite a file.✓ Writing N files
EditIn-place edit with old/new string matching.✓ Editing N files
BashRun a shell command. Cooperative aborts via ctx.signal.
Grepripgrep-style search across the workspace.✓ Searching for N patterns
GlobGlob-style file listing.✓ Listing N globs

The compact-render column reflects each tool's ToolDef.compact hint (see @moxxy/sdk). Channels MAY use it to group consecutive calls into a single live block; Bash opts out because its output usually matters per-invocation.

Each tool is exported individually (bashTool, editTool, …) so a custom plugin can re-bundle a subset.

Why these six

They are the minimum surface a coding agent needs to do anything useful in a repo. Everything else — running tests, opening URLs, talking to APIs — is up to plugins.

dispatch_agent was moved out of this package into @moxxy/plugin-subagents so subagent support is itself a swappable block. Install that plugin if you want fan-out.

Open source · Self-hosted · Block-based