Skip to content

Installation

This guide covers detailed installation instructions for all UnboundBytes components.

The TypeScript SDK is the recommended way to interact with the UnboundBytes API from Node.js and browser applications.

  • Node.js 20.x or later
  • TypeScript 5.x (optional, but recommended)
Terminal window
npm install @unboundbytes/sdk

If using TypeScript, ensure your tsconfig.json has the following settings:

{
"compilerOptions": {
"moduleResolution": "bundler",
"module": "ES2022",
"target": "ES2022",
"strict": true
}
}
import { UnboundBytesClient } from '@unboundbytes/sdk';
const client = new UnboundBytesClient({
auth: { type: 'bearer', token: 'test' }
});
console.log('SDK installed successfully!');

The UnboundBytes Agent is a lightweight Rust daemon that runs on your infrastructure.

  • Linux (Debian/Ubuntu, RHEL/CentOS, or compatible)
  • 64-bit architecture (x86_64 or aarch64)
  • Docker or Podman runtime
  • Network connectivity to the orchestrator
Terminal window
curl -sSL https://get.unboundbytes.com/agent | bash
  1. Download the agent binary

    Terminal window
    # For x86_64
    curl -LO https://releases.unboundbytes.com/agent/latest/unboundbytes-agent-linux-x86_64.tar.gz
    # For ARM64
    curl -LO https://releases.unboundbytes.com/agent/latest/unboundbytes-agent-linux-aarch64.tar.gz
  2. Extract and install

    Terminal window
    tar -xzf unboundbytes-agent-*.tar.gz
    sudo mv unboundbytes-agent /usr/local/bin/
    sudo chmod +x /usr/local/bin/unboundbytes-agent
  3. Create configuration directory

    Terminal window
    sudo mkdir -p /etc/unboundbytes
  4. Create systemd service

    Terminal window
    sudo tee /etc/systemd/system/unboundbytes-agent.service << 'EOF'
    [Unit]
    Description=UnboundBytes Agent
    After=network.target docker.service
    Wants=docker.service
    [Service]
    Type=simple
    ExecStart=/usr/local/bin/unboundbytes-agent
    Restart=always
    RestartSec=10
    Environment=RUST_LOG=info
    [Install]
    WantedBy=multi-user.target
    EOF
  5. Start the agent

    Terminal window
    sudo systemctl daemon-reload
    sudo systemctl enable unboundbytes-agent
    sudo systemctl start unboundbytes-agent
Terminal window
sudo systemctl status unboundbytes-agent
sudo journalctl -u unboundbytes-agent -f

For local development and testing, you can run the orchestrator locally.

Terminal window
git clone https://github.com/unboundbytes/unboundbytes-core.git
cd unboundbytes-core
Terminal window
npm install
Terminal window
# Start the orchestrator
npm run dev -- --scope=orchestrator
# In another terminal, start the portal
npm run dev -- --scope=portal

Configure your environment for different deployment scenarios:

VariableDescriptionDefault
UB_API_URLAPI base URLhttps://api.unboundbytes.com
UB_TENANT_IDYour tenant identifier-
UB_API_TOKENAuthentication token-
UB_LOG_LEVELLog verbosityinfo