autonomous-handle

command
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Example: drive an autonomous run via the AutonomousHandle API. Demonstrates Pause / Resume / Inject / Stop without LLM credentials by using the echo mock provider as the model.

The "agent" just echoes whatever prompt it sees, so the trace shows: - Initial turn with the goal - Pause + Resume (visible as a gap in the activity log) - Inject() arriving on the post-pause turn as an [Inbox] block - Stop tearing the goroutine down

go run ./examples/autonomous-handle

Jump to

Keyboard shortcuts

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