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:
--base-url.REBYTE_BASE_URLwhen--envis absent.--env, otherwiseREBYTE_ENV, otherwiseprod.
| Environment | Base URL |
|---|---|
dev | REBYTE_DEV_BASE_URL, otherwise http://localhost:3332. |
test | REBYTE_TEST_BASE_URL; required. |
prod | https://api.rebyte.ai. |