agm

command
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: AGPL-3.0 Imports: 3 Imported by: ? 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 agm is Agent GM's command-line client (spec section 11).

It speaks the REST API and nothing else: it never touches SQLite or `libgm` directly, so anything the CLI can do an agent can do too, and vice versa (spec section 11). That is why it is a separate binary from `agent-gm`, which is the server: they share a repository and a vocabulary, not a process, and `agm` is routinely run from a machine that is not the server at all -- the headless-pairing flow of section 11.4 depends on it.

Every exit code this program can produce is section 11.2's, mapped from section 7.2's error codes in `internal/apierr` so that the table has one home rather than two.

Jump to

Keyboard shortcuts

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