Product·Nov 05, 2025·5 min read

Command Line Power: Introducing the BotHive CLI

Manage your swarms, view logs, and deploy updates directly from your terminal.

DevRel Team
Engineering team at Bothive. Building the future of AI agent orchestration.

Introducing the BotHive CLI

For power users, the Graphical User Interface (GUI) can sometimes be a bottleneck. You want to script deployments, pipe logs to grep, and manage environment variables in bulk.

Meet bothive-cli.

Installation

bash
npm install -g bothive-cli bothive login

Key Commands

  • Deploy: Push your local Hivelang files to production.
    bash
    bothive deploy ./src/bots/my-bot.hive
  • Logs: Stream live logs from your agents.
    bash
    bothive logs --follow --bot my-bot
  • Secrets: Manage API keys securely.
    bash
    bothive secrets set OPENAI_API_KEY=sk-...

CI/CD Integration

The CLI is designed to run in CI/CD pipelines. Authenticte using a service token and deploy your bots automatically whenever you merge to main.

Check out the GitHub Action to get started.

How to apply this inside Bothive

The practical move is to turn the idea into an agent contract: what the agent can see, what it can do, where it should ask for approval, and how the team will inspect the result. A good Bothive workflow is not just a prompt. It has memory, tools, channels, traces, and a clear boundary between autonomous work and human judgment.

Define the boundary

For product work, decide which decisions the agent can make alone and which actions need a teammate in the loop.

Attach real context

Connect docs, customer data, repositories, tickets, calendars, or APIs so the agent works from grounded information.

Ship through a channel

Expose the agent through web chat, API, Slack, WhatsApp, schedules, or internal workflows depending on where the work starts.

Watch the run

Use traces, tool-call history, usage, and failure logs to improve the agent after it meets real users.

01

Build

Turn the idea into a readable agent contract, workflow, or builder graph.

02

Deploy

Run it through Bothive channels, schedules, integrations, and API calls.

03

Observe

Use traces, usage, memory, and tool logs to improve the system over time.

Subscribe to our newsletter

Get the latest updates on AI agent orchestration, product releases, and engineering insights delivered to your inbox.

Command Line Power: Introducing the BotHive CLI