Atonom
DocumentationAPI Reference
Atonom ScriptCLI quickstart

Install & connect

Install the binary supplied by the Atonom team and connect to your environment.

Start with the Atonom CLI, your Atonom environment URL, and an account with permission to edit Lua tools. You do not need a compiler or a copy of the CLI source code.

Get the CLI

The current release is v0.1.1 for macOS on Apple Silicon.

Download atonom v0.1.1

macOS Apple Silicon

SHA-256: 119dbd17a4148c813fcedd2bd42988a8eaf405d2e1625cb2405f36eb387084a6

curl -fsSL -o atonom https://storage.googleapis.com/cf-atonom-cli/atonom/v0.1.1/atonom-macos-aarch64
chmod +x atonom
mkdir -p "$HOME/.local/bin"
install -m 755 ./atonom "$HOME/.local/bin/atonom"
export PATH="$HOME/.local/bin:$PATH"
atonom --version
atonom --help

Add export PATH="$HOME/.local/bin:$PATH" to your shell configuration (usually ~/.zshrc on macOS) to make the command available in new terminals. If macOS prevents the binary from opening, contact the Atonom team.

Later releases install with atonom update.

Create a script workspace

Use a separate directory for the Lua tools you are developing. Replace the example URL before running these commands:

mkdir my-atonom-tools
cd my-atonom-tools
atonom config set base_url https://your-atonom-host.example --local
atonom config show

The local setting creates .atonom/config.toml. The nearest ancestor containing .atonom/ becomes the workspace root; scripts default to .atonom/scripts/ inside it. Run subsequent commands from this workspace or a directory beneath it.

Use a different workspace for each platform environment. Tool IDs and manifest hashes belong to the server from which they were obtained; changing base_url does not remap them.

Sign in

atonom login
atonom status --json
atonom list --json

Approve the device code in your browser. For a remote terminal, use atonom login --no-browser and open the printed URL yourself. The CLI stores a rotating refresh token in the OS credential store and keeps access tokens in memory. On macOS, the credential store is Keychain.

status succeeds when the scripts API accepts your credentials. A successful response with zero scripts is valid. If you receive 401, 403, or 404, follow Troubleshooting.

For automation, inject an authorized token as ATONOM_TOKEN using your secret manager. Do not store it in your repository or paste it into an agent prompt. See Configuration & auth.

Connect the sandbox (optional)

The sandbox lets you test local Lua files with eval before saving them to Atonom. If sandbox access is included in your setup, use the sandbox URL and connection instructions supplied by the Atonom team. Replace the example URL below:

atonom config set lua_service_url https://your-sandbox-host.example --local
atonom eval -c 'return { ready = true }' --json

Expect outcome.status to be DONE and outcome.value.ready to be true. Your Atonom URL and sandbox URL are separate settings; signing in does not automatically configure sandbox access.

Without sandbox access, you can still save and test tools through Atonom using push followed by run --no-save.

Next: Build your first Lua tool.

On this page