An open-source, local-first personal alternative to Codex and Claude Cowork.
For coding and text-file work on Windows. Your projects, your conversations, your local model.
Download ·
Quick start ·
Connect a model ·
Architecture ·
Contribute
Meet Buji
Buji brings a familiar project-and-chat workspace to a model running on your own computer. Give it a folder and a task. It can inspect text files, make real edits, propose a PowerShell command, and show the results in an editor and reviewable diff.
The application is MIT-licensed. A hosted AI account or subscription is not required to use Buji with an unauthenticated local model server. You provide the hardware and model.

What V1 does
| Workflow |
Included |
| Project-based conversations |
Open folders, saved chats, search, rename, archive and restore |
| Coding agent |
List, read, search, create and edit UTF-8 project files |
| File work |
Draft Markdown, summarize source/text files, and build small utilities |
| Review |
Before/after diffs and undo with external-change checks |
| Execution evidence |
Saved file paths, actual command results, folder/review actions and explicit incomplete status |
| Editor |
Syntax highlighting, line numbers, and Ctrl+S |
| Commands |
Non-interactive PowerShell, scripted standard input, and command review enabled by default |
| Vision |
Image attachments when the connected model supports them |
| Personal workspace |
Light/dark themes, local settings and local chat history |
| Local model connection |
Configurable localhost OpenAI-compatible chat endpoint |
A real workflow
The walkthrough below uses actual app captures from the integration test: the model creates a Python file, waits for command approval, runs it, and exposes the edit for review. Frame timing is edited for readability.

Get started
Windows download
- Download Buji-V1-Windows-x64.zip from Releases.
- Extract the complete folder and open Start-Buji.cmd or app/Buji.exe.
- Connect a running local model in Settings, or select a PowerShell launcher for it.
- Choose Open project folder. Use Agent mode to work with files, or Chat mode for conversation.
In Agent mode, an ordinary request such as “build a Python Tic Tac Toe game” means work in the selected folder. Recognized build requests require actual file changes and a successful check after the latest edit before being marked complete. If the model still fails to act after bounded retries, Buji reports incomplete work. Commands wait for your review by default; click Run command to allow the shown command and any scripted input.
Model setup is separate. The download includes the desktop application, not multi-gigabyte model weights or an inference runtime. The model guide covers the tested Qwen profile, an existing local API, and an optional backend launcher.
The validated profile is Qwen3 Personal WSP, a custom Qwen3-VL-4B-Instruct Q4_K_M build with an F16 vision projector. Existing installations of that profile are detected automatically. Other model/server combinations need their own configuration and validation.
Run from source
Requires Windows and Node.js 24. Git and Python are useful for project tasks; Python is not required just to open the app.
git clone https://github.com/Devchandrasen/buji.git
cd buji
npm ci
npm run build
npm start
npm test # Core checks, no GPU or model required
npm run test:desktop # Real desktop + local-model checks
npm run package # Build a portable Windows application
See Contributing for development and packaging details.
Why a personal alternative?
Buji focuses on the folder → conversation → action → review workflow. Codex describes a broader agent workspace for software development; Claude Cowork describes multi-step work beyond coding. Buji offers a smaller, inspectable, self-hosted take on a subset of those workflows.
| If you want… |
Buji V1 |
| A desktop interface for your own local model |
Included |
| A visible record of file edits and commands |
Included |
| Source you can inspect and modify |
MIT-licensed |
| Cloud agents, parallel worktrees or remote task continuation |
Outside V1 |
| Browser/computer automation, MCP connectors or app integrations |
Outside V1 |
| Native editing of PDF, DOCX, XLSX or slide decks |
Outside V1 |
| The reasoning capability of a frontier coding model |
Depends on the model you connect; not established by this project |
Buji is an independent project and is not affiliated with OpenAI or Anthropic. “Alternative” describes the personal workflow and deployment choice, not feature parity or a model-quality benchmark.
How it works

- The React renderer talks to a narrow Electron preload bridge.
- The main process handles persistence, the agent loop, workspace file tools and command execution.
- Chat context is sent to a localhost model endpoint; redirects are rejected.
- File tools check project boundaries, including junctions. PowerShell commands run with your Windows account’s permissions after the configured review step.
The command runner is not an OS sandbox. See Architecture, Privacy and Security for the actual boundaries.
Tested configuration and current limits
The original implementation was exercised with an RTX 5060 Laptop GPU (8 GB VRAM), about 16 GB system RAM, and the custom Qwen3-VL-4B profile. Its model plus vision projector occupy about 3.10 GiB; model weights are reused rather than copied into the app.
V1 uses an 8K context configuration in the tested backend and caps a turn at 16 tool rounds. Long model history is shortened while full conversation history stays stored locally. The terminal is a command runner rather than a full interactive PTY. Generated code still needs project-specific tests and review.
Validation details distinguish core checks, real-model desktop checks and model experiments. The optional weight-space editing recipe documents the custom checkpoint without distributing its weights or claiming complete removal of model refusals.
Project
License: MIT for Buji’s application code. Model weights and third-party software retain their own licenses.
评论