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.
System requirements
Section titled “System requirements”| Component | Requirement |
|---|---|
| WordPress | 6.0 or higher |
| PHP | 8.0 or higher |
| Bricks Builder | 1.9 or higher |
| Automatic.css | 3.x recommended (not required) |
| Frames | Optional, for component templates |
1. Install the WordPress plugin
Section titled “1. Install the WordPress plugin”Download agent-to-bricks-plugin-X.X.X.zip from the latest GitHub release.
In your WordPress admin:
- Go to Plugins > Add New > Upload Plugin
- Upload the zip file and click Install Now
- Activate the plugin
Then generate your API key:
- Go to Settings > Agent to Bricks
- Click Generate API Key
- 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-settingsdirectly - Follow the short recovery guide: agenttobricks.com/menu-missing
The API key authenticates all requests from the CLI to your site. Keep it private.
2. Install the Desktop App (optional)
Section titled “2. Install the Desktop App (optional)”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:
| Platform | File |
|---|---|
| Mac (Apple Silicon) | Agent.to.Bricks_X.X.X_aarch64.dmg |
| Mac (Intel) | Agent.to.Bricks_X.X.X_x64.dmg |
| Windows | Agent.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 |
- Download the
.dmgfile for your chip (Apple Silicon =aarch64, Intel =x64) - Open the DMG and drag Agent to Bricks into your Applications folder
- On first launch, macOS may show a Gatekeeper warning — right-click the app and choose Open to bypass it
Windows
Section titled “Windows”- Download the
.exeinstaller (or.msifor enterprise deployment) - Run the installer — it installs to
C:\Program Files\Agent to Bricks\ - Launch from the Start Menu
# Debian/Ubuntusudo dpkg -i Agent.to.Bricks_*.deb
# Or use the AppImage (no install needed)chmod +x Agent.to.Bricks_*.AppImage./Agent.to.Bricks_*.AppImageThe 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.
3. Install the CLI (optional)
Section titled “3. Install the CLI (optional)”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:
| Platform | File |
|---|---|
| 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:
tar xzf agent-to-bricks_*.tar.gz
# Apple Silicon (Homebrew default)mv bricks /opt/homebrew/bin/
# Intel Macmv bricks /usr/local/bin/Verify it works:
bricks versiontar xzf agent-to-bricks_*.tar.gzmkdir -p ~/.local/binmv bricks ~/.local/bin/Make sure ~/.local/bin is in your PATH. Most distros include it by default, but if not:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrcsource ~/.bashrcWindows
Section titled “Windows”- Unzip
agent-to-bricks_X.X.X_windows_amd64.zip(this is the CLI, not the Desktop App) - Move
bricks.exeto a directory in your PATH, for example:
# Create a bin folder if it doesn't existNew-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:
bricks versionBuild from source
Section titled “Build from source”If you prefer to compile it yourself, you’ll need Go 1.22 or higher.
Mac / Linux:
make build # outputs to bin/bricksmake install # auto-detects best install dir, no sudo neededOr manually:
cd cligo build -o bricks .mv bricks ~/.local/bin/ # Linuxmv bricks /opt/homebrew/bin/ # macOS (Apple Silicon)Windows (PowerShell):
cd cligo build -o bricks.exe .Move-Item bricks.exe "$env:LOCALAPPDATA\Programs\bricks\"4. Connect to your site
Section titled “4. Connect to your site”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:
bricks config initIt will prompt you for your site URL and the API key you copied from the plugin settings.
Or set values directly:
bricks config set site.url https://your-site.combricks config set site.api_key YOUR_API_KEYBoth the Desktop App and CLI write to ~/.agent-to-bricks/config.yaml and share the same site configuration.
5. Verify the connection
Section titled “5. Verify the connection”Desktop App: The status bar shows a green dot and your site name when connected. Open Settings > About to confirm the plugin version.
CLI:
bricks site infoYou should see output like:
Site: https://your-site.comBricks: 1.11.1WordPress: 6.7.2PHP: 8.2.27Plugin: 1.8.0If 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.
Updating
Section titled “Updating”The CLI can update itself and the plugin in one go:
bricks update # update both CLI and pluginbricks update --check # check for updates without installingbricks update --cli-only # update just the CLINext steps
Section titled “Next steps”With the plugin and CLI installed, head to the Quick start to pull your first page and generate content.