Alethia Labs

alethia CLI

Go command-line tool for managing multi-cloud infrastructure via the Alethia platform.

alethia CLI

alethia is the command-line interface for the platform. It provides terminal-based access to all infrastructure operations — creating zones, planning and deploying Specs, monitoring jobs, and managing Runners.

Overview

PropertyValue
LanguageGo
FrameworkCobra (commands) + Charmbracelet (TUI)
VersionManaged by release-please (alethia-v* tags)
DistributionHomebrew tap + GitHub Releases (darwin/linux, amd64/arm64)

How It Works

alethia is a thin client that communicates with the Alethia API over HTTPS. It does not run Terraform directly — instead, it queues jobs that Runners execute. The CLI handles:

  1. AuthenticationDevice code flow with tokens stored locally
  2. Configuration — Creating and inspecting zones and Specs
  3. Job submission — Queuing Plan / Deploy / Destroy jobs
  4. Monitoring — Streaming logs, checking job status, waiting for completion
  5. Management — Listing clusters, managing Runners

Command Groups

Quick Start

# Install
brew install bobikenobi12/bb-thesis-2026/alethia

# Authenticate
alethia login

# List zones
alethia zone list

# Plan infrastructure
alethia plan --spec-id <id>

# Stream logs
alethia jobs logs --id <job-id> --follow

# Deploy
alethia apply --spec-id <id> --plan-job-id <plan-job-id>

On this page