bma

command
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 39 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 bma is the BMA command line (ADR-0102): one static binary that is both the API client and the BYO executor.

API: `bma login`, then a command per operation of the public API, generated from the OpenAPI document (`bma sessions list`, `bma machines get <id>`, ...), plus `bma sessions events stream`, `bma sessions send`, `bma files upload|download`, `bma skills push`, `bma sessions launch -f` (a session from a YAML file), `bma sessions chat|wait|interrupt`, `bma agents apply -f`. Every command takes --json / --format json|jsonl|yaml|table and --query <jq>.

BYO executor: `bma up` signs this computer in through the dashboard (device authorization, no token is copied), prepares the coding harnesses the owner enables (pinned releases, verified), checks the owner's own harness login, and installs a user service that runs the executor (`bma run`); `bma status`, `bma harness`, `bma disconnect`, `bma upgrade`, `bma uninstall`.

Files: ~/.config/bma/config.yaml (CLI profiles, no secrets), the CLI credentials in the login keychain (macOS) or ~/.config/bma/credentials.json (0600); ~/.bma/config.json (the executor, no secrets), ~/.bma/state.json (written by the service), ~/.bma/harnesses/<id>/<version>/; the machine token in the login keychain (macOS) or ~/.config/bma/machine-token (0600).

Exit codes: 0 success, 1 other failure, 2 usage, 3 not authenticated or not permitted (401/403), 4 not found (404), 5 conflict or precondition (409/412), 6 rate limited, server error or network after retries, 7 the followed turn waits for input (requires_action), 8 the turn failed or the session ended, 124 a --timeout passed, 130 interrupted.

Jump to

Keyboard shortcuts

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