Skip to content

Installation

Agent to Bricks has three components: a WordPress plugin (required), a Desktop App, and a CLI. You only need the plugin plus whichever client fits your workflow:

  • Desktop App only — If you want a visual interface for managing AI agent sessions (Claude Code, Codex, etc.). No terminal needed.
  • CLI only — If you prefer the terminal for page operations, HTML conversion, search, and templates.
  • Both — Install both for maximum flexibility. They share the same config and connect to the same plugin.
ComponentRequirement
WordPress6.0 or higher
PHP8.0 or higher
Bricks Builder1.9 or higher
Automatic.css3.x recommended (not required)
FramesOptional, for component templates

Download agent-to-bricks-plugin-X.X.X.zip from the latest GitHub release.

In your WordPress admin:

  1. Go to Plugins > Add New > Upload Plugin
  2. Upload the zip file and click Install Now
  3. Activate the plugin

Then generate your API key:

  1. Go to Settings > Agent to Bricks
  2. Click Generate API Key
  3. Copy the key somewhere safe. You’ll need it to connect the CLI

If the sidebar menu item is missing, use one of these instead:

  • On Plugins > Installed Plugins, click the Settings link under Agent to Bricks
  • Open /wp-admin/admin.php?page=agent-bricks-settings directly
  • Follow the short recovery guide: agenttobricks.com/menu-missing

The API key authenticates all requests from the CLI to your site. Keep it private.

The Desktop App is a visual session manager for AI coding tools (Claude Code, Codex, etc.). Download the installer for your platform from the latest release:

PlatformFile
Mac (Apple Silicon)Agent.to.Bricks_X.X.X_aarch64.dmg
Mac (Intel)Agent.to.Bricks_X.X.X_x64.dmg
WindowsAgent.to.Bricks_X.X.X_windows_x64-setup.exe
Windows (MSI)Agent.to.Bricks_X.X.X_windows_x64_en-US.msi
Linux (deb)Agent.to.Bricks_X.X.X_amd64.deb
Linux (AppImage)Agent.to.Bricks_X.X.X_amd64.AppImage
  1. Download the .dmg file for your chip (Apple Silicon = aarch64, Intel = x64)
  2. Open the DMG and drag Agent to Bricks into your Applications folder
  3. On first launch, macOS may show a Gatekeeper warning — right-click the app and choose Open to bypass it
  1. Download the .exe installer (or .msi for enterprise deployment)
  2. Run the installer — it installs to C:\Program Files\Agent to Bricks\
  3. Launch from the Start Menu
Terminal window
# Debian/Ubuntu
sudo dpkg -i Agent.to.Bricks_*.deb
# Or use the AppImage (no install needed)
chmod +x Agent.to.Bricks_*.AppImage
./Agent.to.Bricks_*.AppImage

The app checks for updates automatically. You do not need the CLI installed to use the Desktop App — it connects directly to the plugin REST API.

The CLI is a terminal tool for page operations, search, HTML conversion, and templates. Download the CLI binary for your platform from the latest release:

PlatformFile
Mac (Apple Silicon)agent-to-bricks_X.X.X_darwin_arm64.tar.gz
Mac (Intel)agent-to-bricks_X.X.X_darwin_amd64.tar.gz
Linux (x86_64)agent-to-bricks_X.X.X_linux_amd64.tar.gz
Windows (x86_64)agent-to-bricks_X.X.X_windows_amd64.zip

Extract the archive and move the binary somewhere in your PATH:

Terminal window
tar xzf agent-to-bricks_*.tar.gz
# Apple Silicon (Homebrew default)
mv bricks /opt/homebrew/bin/
# Intel Mac
mv bricks /usr/local/bin/

Verify it works:

Terminal window
bricks version
Terminal window
tar xzf agent-to-bricks_*.tar.gz
mkdir -p ~/.local/bin
mv bricks ~/.local/bin/

Make sure ~/.local/bin is in your PATH. Most distros include it by default, but if not:

Terminal window
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
  1. Unzip agent-to-bricks_X.X.X_windows_amd64.zip (this is the CLI, not the Desktop App)
  2. Move bricks.exe to a directory in your PATH, for example:
Terminal window
# Create a bin folder if it doesn't exist
New-Item -ItemType Directory -Force -Path "$env:LOCALAPPDATA\Programs\bricks"
Move-Item bricks.exe "$env:LOCALAPPDATA\Programs\bricks\"
# Add to PATH (persistent, current user only)
$binDir = "$env:LOCALAPPDATA\Programs\bricks"
$userPath = [Environment]::GetEnvironmentVariable("Path", "User")
if ($userPath -notlike "*$binDir*") {
[Environment]::SetEnvironmentVariable("Path", "$userPath;$binDir", "User")
}

Open a new terminal and run:

Terminal window
bricks version

If you prefer to compile it yourself, you’ll need Go 1.22 or higher.

Mac / Linux:

Terminal window
make build # outputs to bin/bricks
make install # auto-detects best install dir, no sudo needed

Or manually:

Terminal window
cd cli
go build -o bricks .
mv bricks ~/.local/bin/ # Linux
mv bricks /opt/homebrew/bin/ # macOS (Apple Silicon)

Windows (PowerShell):

Terminal window
cd cli
go build -o bricks.exe .
Move-Item bricks.exe "$env:LOCALAPPDATA\Programs\bricks\"

Desktop App: Open the app, click the site switcher in the bottom status bar, then “Add Site”. Enter your site URL and the API key from step 1.

CLI: Run the interactive setup wizard:

Terminal window
bricks config init

It will prompt you for your site URL and the API key you copied from the plugin settings.

Or set values directly:

Terminal window
bricks config set site.url https://your-site.com
bricks config set site.api_key YOUR_API_KEY

Both the Desktop App and CLI write to ~/.agent-to-bricks/config.yaml and share the same site configuration.

Desktop App: The status bar shows a green dot and your site name when connected. Open Settings > About to confirm the plugin version.

CLI:

Terminal window
bricks site info

You should see output like:

Site: https://your-site.com
Bricks: 1.11.1
WordPress: 6.7.2
PHP: 8.2.27
Plugin: 1.8.0

If you get a connection error, double-check the URL (make sure it includes https://) and confirm the API key matches what’s in your plugin settings.

The CLI can update itself and the plugin in one go:

Terminal window
bricks update # update both CLI and plugin
bricks update --check # check for updates without installing
bricks update --cli-only # update just the CLI

With the plugin and CLI installed, head to the Quick start to pull your first page and generate content.