golder

command
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 36 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command golder is the CLI entry point for the golder agent. It parses flags, overlays config.toml, and dispatches to one of the run modes — interactive REPL, headless print, session listing, or the internal sub-agent RPC server:

golder                                          # interactive REPL (on a TTY)
golder -p "read README and summarize"           # print mode: final text
golder -p "..." --output-format stream-json      # line-delimited JSON events
golder session export|list|resume <id>           # session sharing
golder update                                    # binary self-update

The provider is resolved from --model against the built-in OpenAI-compatible gateways (OpenRouter by default, Ollama for local models), with the API key taken from the environment. The process exit code reflects success (0) or failure (1), so the command composes cleanly in pipelines. All run-assembly, REPL, headless, and config logic lives under internal/cli/*; this file keeps only flag parsing (cliOptions), config overlay (applyFileConfig), and the dispatch seam that wires those subpackages together.

Jump to

Keyboard shortcuts

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