# Albedo CLI The Go client provides the terminal client, command-line workflows, ACP adapter, and local web server for the daemon. Build or install all five executables with `go build -o bin/ ./cmd/albedo...` or `go install ./cmd/albedo...` from this directory. Keep them together. The dispatcher resolves companions beside its executable when needed. A missing companion exits 127 and an unlaunchable companion exits 126. - [`cmd/albedo`](cmd/albedo/main.go) builds the `albedo` executable. [`internal/cli`](internal/cli) parses commands and dispatches application workflows. - `albedo-tui` owns interactive open, new, resume and login. - `albedo-web` serves the browser client and `albedo-acp` serves editor stdio. - `albedo-server` replaces itself with the selected foreground Gleam runtime. `albedo daemon` manages the lifecycle. - [`internal/tui`](internal/tui/app.go) owns the interactive terminal application. [`internal/daemon`](internal/daemon) adapts the daemon HTTP and event protocols. - [`internal/acp`](internal/acp/server.go) runs the line-delimited JSON-RPC editor adapter through `albedo acp`. - [`internal/webui`](internal/webui/server.go) serves the browser client through `albedo web` and forwards authenticated API requests. - [`tools/apigen`](tools/apigen/README.md) generates wire code. [`cmd/tuifixture`](cmd/tuifixture/README.md) captures transcript fixtures for TUI benchmarks. See [the tui reference](../robot-docs/tui.md).