@moguri-dev/tui is the terminal UI and the moguri command-line interface of
Moguri, a model-agnostic AI harness for
engineering work. Both are clients of
@moguri-dev/sdk, which ships the
local control-plane service, the runtime and the workers. The
Moguri desktop app bundles this
package and installs the moguri command.
Note
This is an alpha for macOS on Apple silicon (Node.js 26). The package is published only to GitHub Packages; nothing is on npmjs yet.
The package lives on the GitHub Packages npm registry, which needs a classic
token with read:packages even for public packages. Map the scope and install
it globally:
npm config set @moguri-dev:registry https://npm.pkg.github.com
npm install -g @moguri-dev/tuiPut the token in your user ~/.npmrc as
//npm.pkg.github.com/:_authToken=..., never in a committed file. The value
can be ${NODE_AUTH_TOKEN} to read the token from that environment variable.
The moguri command runs on the current Node.js, which must be
>=26.4.0 <27.
moguri --help # every command
moguri tui --project /absolute/path/to/project # the terminal UI
moguri worker --stdio # on an SSH host: the SDK's remote worker bridgeIn the TUI, /connect signs in, /models selects a model and /help lists
commands. The TUI, the CLI and the desktop app share one local service and the
same sessions. In a new profile, /profile import SOURCE_ID (or
moguri profile import SOURCE_ID --profile NEW_ID) reviews another profile's
model keys, endpoints, skill sources and repositories; repeating it with the
review digest and the chosen items copies only those. Sign-ins are never
copied. While the session disk is on, the status line shows its live usage. moguri desktop works only from a Moguri desktop source
checkout; otherwise open the installed app.
/about and moguri about print the exact TUI, SDK and protocol versions with
their commits. Standalone installs (npm, Homebrew) check GitHub releases for a
newer stable TUI, download and verify it in the background, and show a notice:
press F1 to restart into it, or snooze it for an hour or until tomorrow
(moguri update status|check|apply|snooze). A TUI bundled in the desktop app
follows the app's own updates. Turn this off with the automatic updates setting.
- Development and releasing
- Terminal UI and themes and the command launcher
- Third-party components
- SDK reference
- Product setup, settings and roadmap: the desktop documentation
See CONTRIBUTING.md, SECURITY.md, ACCESSIBILITY.md and the Code of Conduct. Moguri's own code is MIT licensed (LICENSE.md); third-party code keeps its own licenses, listed in third-party components.