Minimal by design. Open source down to the prompt.
A coding agent for macOS and Linux. Keep chatting while it works on several tasks at once.
Download for macOS · Linux (experimental) · Website · Docs · Build from source · Contribute
Free and MIT licensed. Use local models, your own API keys or a ChatGPT sign-in.
wavefunction-hero.mp4
- Less is more. Coding agents are turning into super apps, adding more with every release. Wavefunction goes the other way: simpler is better, and building comes first.
- Free to choose. Pick any model and switch whenever you like. Run models locally or require zero data retention. You're never tied to one provider's plans or limits.
- Open source, on the desktop. Most open-source agents shine in the terminal. Wavefunction is built to be a great desktop app: minimal, considered and fast, and open source down to the prompt.
Keep the conversation going. Give it a task, then another, and another. Wavefunction splits the work across subagents, steers them as your plans change, and brings their work together.
Wavefunction has one built-in coding agent. Each chat is a separate conversation with it, with its own model, folder and history, and chats run side by side. A project is a folder, usually a Git repository, and groups the chats that work in it.
- Worktrees. In a Git repository a new chat starts on its own branch in its own checkout, so chats in one project don't step on each other. Untick New worktree before the first message to work in the project's folder instead.
- Talk to it while it works. A message sent during a task steers that task. Queue follow-up runs it after the task instead. When the agent needs a decision, it asks with a question card.
- Helpers. For bigger tasks the agent starts helpers: child chats that work in parallel and report back. They share the parent's checkout by default, or get an isolated worktree whose changes the parent reviews and brings in. Open one to read its transcript, redirect it or stop it.
- Going back. Fork a chat from any message, or rewind to put the code and the conversation back to how they were at that point.
- Long conversations. The ring in the message box shows how full the context is. Near the limit the conversation is summarised, keeping your requests and the confirmed state of the work. Compact now does it on demand.
- Projects from a chat. Ask a chat to create a project (and clone a repository into it), archive old chats or remove a project.
- Modes. Plan mode reads and explains without changing anything. Full access runs commands outside the sandbox without asking each time; commands that can't be undone still ask.
More in the docs: parallel work. The blog post How parallel helpers work in Wavefunction, and how we optimized them goes deeper.
Other agents take over your mouse, keyboard and screen to get things done. Wavefunction gets a desktop of its own, so you keep working while it clicks. Watch it, or take control at any time.
- Your computer stays yours. It never moves your pointer, types on your keyboard or records your screen. Its desktop runs in a local Docker container that can reach the web, but not your files or keychain.
- Secure sign-ins. When a site needs your login, you sign in privately. The agent pauses and never sees what you type, and the chat stays signed in for next time.
- Files in and out. Downloads come to your computer in the folder you choose, and files you add are ready to upload.
Computer use needs Docker Desktop, or Docker Engine on Linux, and a model that can read images. More in the docs: computer use.
Ask a chat to do something every few minutes, every morning or once next week. Wavefunction turns it into a routine: a chat of its own that gets the same instruction on schedule, while the app is open.
- Set up in plain words. Say "every weekday at 9, review yesterday's merged pull requests." The routine gets the model and access of the chat you asked, and you can change its instruction or schedule in its settings.
- Picks up where it left off. Every run lands in the same chat, so it knows what it found last time.
- Reports where you want. Send each finished run to another chat, which picks it up from there.
More in the docs: scheduled tasks.
Sign in with ChatGPT, use your own API keys, or run models on your own computer. Pick a model for each chat and switch whenever you like.
| Provider | How it connects |
|---|---|
| ChatGPT | Sign in with Plus or Pro |
| Anthropic, Google Gemini, OpenAI, OpenRouter, Vercel AI Gateway | API key |
| Ollama | On your computer or your server |
| LM Studio and other OpenAI-compatible servers | The server's base URL, and its API key if it needs one |
More in the docs: connect a model, sign in with ChatGPT, Ollama and LM Studio.
70+ ready-made connectors, plus any MCP server you add. Wavefunction follows your AGENTS.md and loads SKILL.md skills from the .agents/skills, .claude/skills and .opencode/skills folders in your projects and home folder, and from ~/.codex/skills, so it works with the setup you already use.
More in the docs: connectors and skills.
A design changes how the whole app looks, with CSS, images and fonts; it never runs code. Pick one in Settings › General › Design: the built-in Nostalgia, with a glass title bar and a classic navigation pane, or Retro, a dark terminal room with pixel type and art. Or ask the agent for one. It writes the design with its design skill, checks that it loads, and saves it to your themes folder for you to pick.
Your own designs go in the themes folder Settings shows; frontend/src/themes explains what a design can change. More in the docs: designs.
Settings › Analytics totals what every run used, from the numbers your providers report:
- input tokens, split into cached and uncached, and output tokens;
- runs, failed runs and working time;
- cost in US dollars, where the provider reports one;
- the last 14 days day by day, and totals per model.
When only some runs reported a figure, it says how many ("Reported for 12 of 15 runs") instead of counting the rest as zero.
Zero telemetry: Wavefunction sends no usage data, analytics or crash reports. What leaves your computer goes only to the models, connectors and websites you use, and to GitHub to check for updates.
Use local models or require zero data retention. With Require zero data retention on in Settings → Models, OpenRouter and Vercel AI Gateway send chats only to providers that keep no prompts or responses. Other providers set it on your account with them.
- Your conversations, skills and settings stay on your computer, in
~/Library/Application Support/app.harness.codingon macOS and~/.local/share/app.harness.codingon Linux (the app's identifier from before it was named Wavefunction, kept so existing data stays where it is). Provider and connector keys are local files only your user account can read; they are not encrypted. - Commands run in a sandbox by default, the macOS sandbox or Bubblewrap on Linux, and folders outside your project need your grant. A command that needs to run outside the sandbox asks first, unless you've given that chat full access.
- A fixed check asks before commands it recognizes as irreversible, such as deletes or force pushes. It catches an overeager agent, not every case; see the known issues and SECURITY.md.
More in the docs: privacy and security.
On a Mac, download the DMG from the latest release, open it and drag Wavefunction to Applications. It's signed and notarized by Apple, and it updates itself.
You need a Mac with Apple Silicon (macOS 11 or later). Setup walks you through connecting a provider, choosing models and creating your first project. Model usage is billed by your provider.
On Linux (x86-64), the same release has an AppImage and a .deb: see Linux or the Linux docs. Linux support is experimental.
The app is a Tauri shell in Rust (src-tauri) around a React interface (frontend) and a Python agent engine (backend). The build freezes the engine with PyInstaller and bundles it, with its own Python, into the app.
On macOS you need Node.js 22+, uv (it installs Python 3.12), Rust and the Xcode Command Line Tools.
npm run setup # frontend packages and the Python environment, from their lockfiles
npm run desktop:build # the engine, then the app
open src-tauri/target/release/bundle/macos/Wavefunction.appdesktop:build also writes a ZIP and its checksum to dist/desktop. Its signature is ad hoc, so the app runs on the Mac that built it but warns elsewhere. For a signed, notarized DMG you can hand to others, use npm run release:local, which needs a Developer ID certificate and an App Store Connect API key (releasing).
Linux support is experimental and community-supported. Dictation is macOS-only for now. Commands run in a Bubblewrap sandbox with a seccomp filter, from the same grants as on macOS; without /usr/bin/bwrap the app runs no commands at all.
Each release has x86-64 downloads for Ubuntu 22.04, Debian 12 and later. They aren't signed: compare them with the release's SHA256SUMS-linux (sha256sum -c --ignore-missing SHA256SUMS-linux).
- AppImage: install Bubblewrap (
sudo apt install bubblewrap), thenchmod +x Wavefunction-<version>-linux-x86_64.AppImageand run it. It updates itself, as the Mac app does, from Settings › About, so keep it in a folder you can write to, such as~/Applications. .deb:sudo apt install ./Wavefunction-<version>-linux-x86_64.deb, which also installs Bubblewrap. It doesn't update itself: install each new release's.debthe same way.
To build it yourself, on arm64 among others, follow these steps for Ubuntu 24.04 or later:
-
Install Node.js 22 or later (from nodejs.org or nvm), uv and Rust.
-
Install Bubblewrap and the libraries Tauri needs:
sudo apt install bubblewrap build-essential file git libwebkit2gtk-4.1-dev \ libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev
-
Get the code and build it:
git clone https://github.com/stoyan-stoyanov/wavefunction.git cd wavefunction UV_PYTHON_PREFERENCE=only-managed npm run setup # uv's own Python 3.12, which the build can bundle npm run desktop:build # the engine, then a .deb and an AppImage in dist/desktop
-
Install the
.debwithsudo apt install ./dist/desktop/*.deb, or run the AppImage fromdist/desktopdirectly.
Other distributions need the same libraries under their own names (Tauri lists them in its prerequisites). If Settings › Access says the sandbox is unavailable, your distribution may stop bwrap from making user namespaces: Ubuntu 23.10 and later do unless an AppArmor profile allows it, which sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0 lifts until the next restart. The app keeps its data in ~/.local/share/app.harness.coding. To update a build of your own, pull the latest code and build again.
While working on the interface, npm run dev:fixture runs it in your browser against a disposable synthetic workspace, with no account or model provider. npm run desktop:dev runs the app itself with the interface reloading as you edit. Before a pull request:
npm run checkDevelopment and the architecture explain the rest.
Interested in contributing? We welcome new contributors. Start with CONTRIBUTING.md and the code of conduct, and report security issues privately as described in SECURITY.md.
MIT. Dependencies keep their own licenses; see THIRD_PARTY_NOTICES.md.







