Libertai Cli banner
Libertai Libertai

Libertai Cli

Development community

Description

LibertAI CLI — single-binary tool for inference, image generation, and launching agent tools (Claude Code, OpenCode, Aider) with LibertAI as the backend.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

libertai

A single Rust binary for [LibertAI](https://libertai.io). Its main job is **`libertai code`** — LibertAI's own terminal coding agent, running open models on confidential (TEE-backed) inference.

The same binary also ships utility commands (`ask` / `chat` / `search` / `fetch` / `image`), an MCP server, and launchers that point *other* people's coding agents (Claude Code, OpenCode, Aider, …) at LibertAI's backend.

libertai login
libertai code            # start the agent in the current repo

Install

Pick the channel that fits your OS. The one-liner, Debian bootstrap, and Homebrew install the released binary; the Rust commands build the same source.

# One-liner (Linux / macOS / WSL — no sudo, installs to ~/.local/bin)
curl -fsSL https://raw.githubusercontent.com/Libertai/libertai-cli/master/packaging/install.sh | sh

# Debian / Ubuntu (system-wide)
curl -fsSL https://apt.libertai.io/install.sh | sudo bash

# macOS (Homebrew)
brew install Libertai/tap/libertai

# Any platform with a Rust toolchain
cargo install --git https://github.com/Libertai/libertai-cli --branch master --locked

# From source (dev)
git clone https://github.com/Libertai/libertai-cli
cd libertai-cli && cargo install --path .

Windows: grab the latest `libertai-windows-x86_64.exe` from [GitHub Releases](https://github.com/Libertai/libertai-cli/releases/latest). No native package yet.

The released binary is named `libertai`. The one-liner honours `LIBERTAI_VERSION` (pin a tag) and `LIBERTAI_INSTALL_DIR` (override the install dir).

There is a second binary, **`lcode`** — a short alias for `libertai code` covering the most-used flags. It is only installed by the two Cargo routes above (`cargo install` builds every `[[bin]]`); the release archives, the `.deb`, and the brew formula ship `libertai` alone. Everything below that says `libertai code` works as `lcode` too when you have it.

Updates

`libertai` pings GitHub once every 24h in a background thread and prin