Documentation

Installation

Install the public CLI package and select a Rebyte environment.

Install

Node.js 22 or later and pnpm are required.

pnpm add --global https://github.com/ReByteAI/rebyte-agent-sdk/releases/latest/download/rebyte-cli.tgz
rebyte --version

The CLI is a public, token-free GitHub Release asset. It is not installed from an npm registry.

Authenticate

export REBYTE_API_KEY="rbk_..."

--api-key overrides REBYTE_API_KEY for one command.

Select an environment

rebyte agent create -f agent.toml --env dev
rebyte agent create -f agent.toml --env test
rebyte agent create -f agent.toml --env prod
rebyte agent create -f agent.toml --base-url https://example.internal

The CLI resolves the base URL in this order:

  1. --base-url.
  2. REBYTE_BASE_URL when --env is absent.
  3. --env, otherwise REBYTE_ENV, otherwise prod.
EnvironmentBase URL
devREBYTE_DEV_BASE_URL, otherwise http://localhost:3332.
testREBYTE_TEST_BASE_URL; required.
prodhttps://api.rebyte.ai.