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

steerloop

command
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Command steerloop runs an agent loop from the terminal: run, chat, replay, tools validate, version and help. It is built interface-first and nested: each interface is declared in the file that uses it.

Read in this order:

internal/cmds/run/run.go    one turn: what happens, what it needs, and
                            (NewRun) what fills each need
internal/cmds/chat/chat.go  a session of turns at a terminal
internal/bootstrap          what both share: flags, loops, tools, recording
then any package under internal/ that NewRun or NewChat names

Directories

Path Synopsis
internal
bootstrap
Package bootstrap is what `steerloop run` and `steerloop chat` share: the flags they both take, the loop each turn runs, its tools and the recording.
Package bootstrap is what `steerloop run` and `steerloop chat` share: the flags they both take, the loop each turn runs, its tools and the recording.
cli
Package cli is the leaf of steerloop: command dispatch, the environment contract and exit codes.
Package cli is the leaf of steerloop: command dispatch, the environment contract and exit codes.
cmds/chat
Package chatcmd is `steerloop chat`.
Package chatcmd is `steerloop chat`.
cmds/help
Package helpcmd is `steerloop help`.
Package helpcmd is `steerloop help`.
cmds/run
Package runcmd is `steerloop run`.
Package runcmd is `steerloop run`.
cmds/version
Package versioncmd is `steerloop version`.
Package versioncmd is `steerloop version`.
interrupt
Package interrupt maps Ctrl-C onto a session.
Package interrupt maps Ctrl-C onto a session.
osenv
Package osenv is the real cli.Environment: the process's own env and streams.
Package osenv is the real cli.Environment: the process's own env and streams.
prompt
Package prompt asks for the next turn once an answer is in.
Package prompt asks for the next turn once an answer is in.
render
Package render prints a run for a person at a terminal.
Package render prints a run for a person at a terminal.
stdin
Package stdin reads the terminal once for a whole run or chat.
Package stdin reads the terminal once for a whole run or chat.
steering
Package steering feeds a person's input into a running loop.
Package steering feeds a person's input into a running loop.

Jump to

Keyboard shortcuts

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