Your coding agent, built in Rust. Fast to open, light on your machine, yours to configure.
Tour · Why Bricks · Features · Getting started · Settings · CLI · Rust SDK · Development · Documentation · License
Bricks is a desktop coding agent that works inside your project folder. Ask it to explore a codebase, fix a bug, write a feature, run the tests or research a library: it reads, edits, runs commands and searches the web, and shows you every step along the way.
It runs natively, without Electron, so it opens in a blink and stays light on memory and disk. The desktop app, the command line and the Rust SDK all share one engine, so what you learn in one works the same in the others.
The same conversation in light and dark mode: a readable answer, a table, and the context panel on the right.
Start from a suggestion, and watch a page the agent wrote come alive in a sandboxed preview.
Everything is set from the app, and every token is counted on your machine.
- Bring your own models. Plug in any provider that speaks Chat Completions, Responses or Anthropic Messages. OpenCode Go and OpenCode Zen are built in: paste a key and you are ready.
- You stay in control. Every session has its own permission policy. Review diffs before a change lands, approve one call at a time, or let the agent run freely when you trust the task.
- You see what happens. Runs fold into a readable timeline with a live timer, changed files and the commands that ran. Nothing happens behind your back.
- Your data stays local. Sessions, usage records and memory notes live on your machine.
- Checked releases. Every official build is tested, scanned for secrets and malware, and published with SHA-256 checksums and build provenance.
- Projects and conversations. A project is simply a folder. Search titles and messages, pin, rename, fork or delete conversations, and pick up any session later. If a project moves, Bricks asks you where it went.
- A composer that keeps up. Attach files, folders and images, mention files with
@, run/commands, recall earlier requests, and choose the model and thinking level for each conversation. - Runs you can follow. Tool activity folds under each run, with a timer while it works. The plan stays in sight, the agent can ask you questions (with an optional countdown), and you can edit a message and run it again.
- Reader, changes and terminal. Open project files in tabs, see what a conversation changed, browse Git status, commits and diffs, and keep several terminals open in the project folder.
- Code that looks right. Every block is highlighted by Shiki, with numbered lines, word wrap, copy and download. Long files open in their own frame, and files open whole in the reader.
- Live HTML previews. When the agent writes a page, it opens in a sandboxed preview with its own console, reload and full-size view. The page never reaches the app.
- Figures, offline. Mermaid diagrams, SVG drawings and Vega-Lite charts render locally. Zoom, pan, go full screen, view the source or export to SVG and PNG.
- Rich Markdown. Diffs, math, footnotes, GitHub-style alerts, link previews and clickable file paths.
- Settings › Models lists your providers on the left and edits the selected one in place: URL, protocol, key, and each model with its context size, vision support, a test button and an on/off switch.
- Limits that make sense. Models imported from the catalog use their full context window as their input limit.
- Settings › Usage records every response locally and shows totals, cost, streaks, a year of activity, tokens per day and per model, and the OpenCode Go limits. With OpenCode, the cost shown is what the gateway actually charged.
-
Built-in tools. Every session starts with:
Area Tools Files Read(text and images),Write,Edit,ApplyPatchSearch and code Glob,Grep,CodeSearch,CodeScout,CodeStatsCommands Bash,PowerShell,JobWeb WebFetch,WebSearchPlanning and skills TodoWrite,Skill,Ask(interactive sessions)Sub-agents Agent,Managent,Messagent -
Parallel and safe. Independent tool calls run side by side. File edits are checked again before an atomic write, and long commands continue as background jobs.
-
Sub-agents. Hand missions to the built-in
generalandexploreagents, or to your own profiles. Parallel writers work in isolated Git worktrees, and their changes come back for you to inspect before they are applied. On the desktop, each sub-agent opens as a read-only branch of the conversation. -
Code understanding. Lexical search, Tree-sitter context for Rust, TypeScript, JavaScript, Python and Go, and optional language servers.
-
Context management. Track usage by source, compact or clear a conversation, and shrink long tool outputs while keeping the originals one click away.
-
Memory. Optional long-term notes (280 characters each), global or per project, kept as plain Markdown files you can read, edit and delete.
-
Skills. Install Agent Skills in Bricks' own store. Project skills run only once you trust them.
-
Web. Search with DuckDuckGo, Brave, Tavily or Exa, with retries, caching and time and domain filters, and read pages as clean Markdown.
-
Computer Use. Optional desktop and screen control through Cua Driver, on macOS and Windows, turned on in Settings.
- English or French interface, independent of the language you chat in.
- Light, dark or system theme, and a choice of light or dark app icon.
- An option to keep the computer awake during long runs.
- Built-in updates from official GitHub Releases only.
Grab the latest version from GitHub Releases:
| System | Installer | Portable |
|---|---|---|
| macOS Apple Silicon | .dmg |
.zip |
| Windows x64 | .setup.exe |
.zip |
The portable .zip needs no installation and no admin rights: unzip it, double-click, and you are running. To uninstall, delete the folder. Linux is not yet covered by release builds.
- Open Settings › Models and add a provider. For OpenCode, choose it from the list and paste your key.
- Pick the models you want and test them with one click.
- Open a project folder and start a conversation.
You need a recent stable Rust toolchain, Node.js and npm, the native build dependencies for Tauri, and a C++17 toolchain for the vector index. From the repository root:
cd apps/bricks-desktop
npm ci
npm run tauri devEverything is set up from the app:
| Section | What you set |
|---|---|
| General | Interface language, permissions for new conversations, keeping the computer awake, diagrams and the question timer |
| Appearance | Theme and app icon |
| Models | Providers, keys, models, limits, reasoning profiles and tool execution |
| Application | Version, platform and Bricks' folders |
| Memory | Turn long-term memory on and manage notes, globally or per project |
| Skills | Import, inspect and remove skills |
| Extensions | Computer Use and its permissions |
| Usage | Tokens, cost and provider limits |
Each conversation keeps its own permission policy, and running work can be stopped from the conversation at any time.
Prefer the terminal? Install the command-line frontend from the repository root:
cargo install --locked --path crates/bricks-cli# Run one task.
bricks run "Explain the failing test in src/parser.rs"
# Stream JSONL events for scripts and CI.
bricks run --json --non-interactive "Analyse the build errors"
# List and continue stored sessions.
bricks sessions
bricks run --session <id> "Continue where we stopped"Use --permissions ask or --permissions execute to choose a profile, --file and --image to attach content, and --skill to activate a skill. The CLI reference covers configuration, events and exit codes.
Want to build your own agent? The engine behind Bricks is available through the bricks facade and the bricks-* crates: the same model connections, tools, context management, sessions and permission engine as the desktop app. Add tools with the Tool trait and its derive macro, connect MCP servers over stdio or Streamable HTTP, and hook into the agent lifecycle.
Further crates cover workflows (bricks-workflows), sandboxes (bricks-vms), embeddings (bricks-embeddings), an agent template language (bricks-agentlang) and self-evolving orchestration (bricks-agentrl).
Start with the agent API, the architecture and the crate map.
Rust tests use Nextest:
cargo nextest run --workspace --lockedFor the full workspace validation, including every target:
./scripts/run_tests.shDesktop checks, from apps/bricks-desktop:
npm run check
npm run test:types
npm run test:unitModel-facing tests use scripted providers and local servers, and live API tests are opt-in. Builds and test runs fill target, so keep an eye on its size.
| Guide | Contents |
|---|---|
| CLI and desktop | Sessions, permissions, commands and events |
| Providers | Models, protocols, limits and reasoning profiles |
| Context | Usage accounting and compaction |
| Compression | Tool-output reduction and originals |
| Built-in tools | Every tool of the SDK |
| Shell and files | Commands, edits and background jobs |
| Sub-agents | Profiles, delegation and worktrees |
| Code understanding | CodeScout, syntax and optional LSP |
| Memory | Markdown notes, scopes and tools |
| Skills | Skill installation and activation |
| MCP | The SDK's MCP client |
| Web | Search and page reading |
| Maintenance | Builds, publishing and dependencies |
| Migration | Removed APIs and configuration changes |
| Changelog | Every change, commit by commit |
The documentation website lives in docs/.
New contributions to Bricks are licensed under the Mozilla Public License 2.0, file by file. Copyright © 2026 AinsiParlaitZarathoustra.
Code inherited from Cersei, up to commit fa7af2b8, stays under the MIT license: Copyright (c) 2025 Adib Mohsin and contributors. Its notices must be kept when that code is reused or modified.





