useagents CLI searches the live UseAgents registry, fetches implementation context, and searches a tool’s official documentation from a terminal or script.
Install with npm
useagents command and works with npm, pnpm, yarn, or Bun global installs.
Install a standalone binary
On macOS or Linux, the installer detects your operating system and CPU architecture, verifies the SHA-256 checksum, and installs to${XDG_BIN_HOME:-$HOME/.local/bin}:
PATH:
USEAGENTS_VERSION=v1.2.3 to install a specific release. Windows users can install the npm package or download the Windows asset manually from the release page.
Upgrade
Standalone binary installs can self-upgrade by re-running the official install script:upgrade runs curl -fsSL https://useagents.site/cli/install.sh | sh. Pass --release or set USEAGENTS_VERSION to pin a tag. Check the installed version with useagents --version.
If you installed via npm, upgrade with:
Search the registry
-l for --language, -t for --transport, and -c for --category.
Fetch context
Search documentation
Test a snippet in the sandbox
--file is relative to the current directory and may be repeated. --package and --env NAME=value are also repeatable. The CLI POSTs to /tools/test and exits 1 when ok is false. The sandbox allows outbound network so live vendor API calls can run; pass keys with --env. JavaScript and TypeScript (--runtime node) use the Bun runtime to add packages and run files. Reuse a previous sandbox with the sessionId from the last result. The box is paused between runs and has no hard TTL.
Output formats
--format wins over --json and over the pipe default. Structured success uses one envelope per command (command, query, data, meta). Progress output, if enabled, is sent to stderr.
useagents --help, useagents search --help, useagents context --help, useagents docs --help, useagents test --help, or useagents upgrade --help for all flags.