Skip to main content
The CLI reaches the same tools your agent does. It is useful when you want data in a shell script, when you need to confirm credentials work, or when you are setting up a client and want the config generated for you.

Install

That one command installs the CLI, walks you through authentication in the browser, and detects which AI clients you have so it can write their config for you. Requires Node 22.12 or newer. The package is hive-intelligence on npm, currently version 1.3.0.

Authenticate

This opens a browser, you approve, and the CLI stores a key locally. Check it worked:
For CI, set HIVE_API_KEY in the environment instead of running an interactive login.

Your first call

Or search for the right tool first:

Check your setup

doctor checks your API key, the endpoint, server health, the tool catalog, and whether a CLI update is available. Run it first whenever something is not working.

Command reference

Every command and what it does.