Help us shape the future of Go! Take the 2026 Go Developer Survey

subagent

command
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Command subagent shows a parent agent delegating to a SubAgent exposed as a tool. The sub-agent shares the parent's Durable store, so the whole tree journals under one unified log (the sub-run ID is agent.SubRunID(parentRunID, toolUseID)): a crash anywhere in the tree resumes precisely.

OPENROUTER_API_KEY=sk-... go run ./examples/subagent

Jump to

Keyboard shortcuts

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