Skip to content

Onboard an agent to Tilebox

You are setting up Tilebox for a coding agent that can run terminal commands and edit code, such as Amp, Codex, Claude Code, or Cursor.

If you are using ChatGPT or claude.ai, stop. Tell the user to switch to Codex or Claude Code. Do not suggest MCP.

Get the agent ready to use Tilebox from the terminal:

  1. Install the Tilebox CLI and Agent Skills.
  2. Help the user create an API key.
  3. Give the user the exact shell command to set TILEBOX_API_KEY and reload their current environment.
  4. Verify read-only setup. Do not change Tilebox resources.

Step 1: install the Tilebox CLI and Agent Skills

Section titled “Step 1: install the Tilebox CLI and Agent Skills”

Run:

Terminal window
curl -fsSL https://install.tilebox.com/wizard.sh | sh

Then verify:

Terminal window
tilebox --help
tilebox agent-context

If tilebox is not on PATH, use the default installed path directly:

Terminal window
$HOME/.local/bin/tilebox --help

Confirm the Tilebox skills are present in the user’s skills directory.

Send the user here:

https://console.tilebox.com/settings/api-keys

Ask them to create a key with the smallest permissions needed for their task.

Do not ask them to paste the key into chat unless there is no safer option. Prefer that they run a command in their own terminal.

Step 3: give the exact command for their shell

Section titled “Step 3: give the exact command for their shell”

Detect the user’s shell with:

Terminal window
basename "$SHELL"

Then give them one of these commands, replacing YOUR_TILEBOX_API_KEY with their key.

Terminal window
echo 'export TILEBOX_API_KEY="YOUR_TILEBOX_API_KEY"' >> ~/.zshrc && source ~/.zshrc
Terminal window
echo 'export TILEBOX_API_KEY="YOUR_TILEBOX_API_KEY"' >> ~/.bashrc && source ~/.bashrc

If they use macOS bash login shells, use:

Terminal window
echo 'export TILEBOX_API_KEY="YOUR_TILEBOX_API_KEY"' >> ~/.bash_profile && source ~/.bash_profile
Terminal window
set -Ux TILEBOX_API_KEY "YOUR_TILEBOX_API_KEY"

Fish universal variables apply to new shells automatically. For the current shell, also run:

Terminal window
set -gx TILEBOX_API_KEY "YOUR_TILEBOX_API_KEY"

Run read-only checks only:

Terminal window
tilebox agent-context
tilebox dataset list --json

Confirm:

  • CLI installed
  • skills installed
  • TILEBOX_API_KEY is available without printing it
  • tilebox agent-context works
  • datasets can be listed

Do not create, update, delete, submit, retry, cancel, deploy, or undeploy anything unless the user explicitly asks.

Keep the response short. Tell the user what is done, what they need to do next, and the one command they should run.