Dream · free, open-source AI harness

Every AI. One harness.

Claude, Codex, Grok, Gemini and local models sit side by side in one window, with a chat that shows its work, teams of agents that check each other, persistent bots and a place to test and train models. Nothing is locked to one provider, and a conversation can move from one model to another without starting over.

Claude Codex Grok Gemini Local and any OpenAI-compatible server

The feature that gets the most done

Sandman

Your AIs check each other's work.

Sometimes one model isn't enough. Sandman lets the model you're working with ask your other models for help, the ones you're already signed in to. Stuck? It asks for advice. Think it's done? It asks for a check, and Dream prefers a reviewer from a different maker than the one that did the work, because models catch each other's blind spots.

  1. Stuck? Ask for advice

    The working model asks another of your models what it would try. The helper reads the whole conversation and answers in words.

  2. Done? Ask for a check

    Before calling the work finished, it asks a model from a different maker to review it.

  3. Not yet NOT YET

    The reviewer says what is wrong. The working model fixes it.

  4. Check again PASS

    After the fix it asks for the check again. Pass, and the work is done.

Sandman

Turns it on.

Auto Sandman

Lets it ask without stopping for your approval.

  • The helper has no tools of its own: it reads, thinks and answers in words.
  • Every call is one line in the chat, and usage per account is shown in Settings.
  • Evaluations can run the coding quiz with or without Sandman, so you can compare for yourself.

Good to know: Sandman works in conversations Dream runs itself, not inside a native command-line session.

A Dream chat: the model says tests pass and asks a model from another maker to check. The reviewer says not yet: old forecasts were shown as current and a test stops one short. After the fixes, the second check returns VERDICT: PASS.
Not yet, fix, check again, pass. Sample project with made-up content.
Sandman at work: a model from another maker checks the work, says not yet, and passes it after the fixes.
Sandman at work: a model from another maker checks the work, says not yet, and passes it after the fixes.

01 · Chat

A chat that shows its work

Describe what you want in plain language, then watch. Every thought and every tool call is one line: it reads a file, edits it, runs the tests. Open any line to see exactly what happened. A failed tool opens with its error showing.

You decide how much it may do on its own, and one key, Shift+Tab, switches between the four ways to work:

AskAccept editsAutoPlan
  • Talk while it works: send a message mid-turn and the model reads it when its current step ends.
  • Slash commands for what you do often: /compact, /resume, /build, /goal, /loop, /sandman and your own skills.
  • Grouped by repository: a collapsed repository still tells you when something inside is working or needs you.

Plain truth: Ask and Accept edits ask before every shell command, and Plan runs nothing. Auto runs every shell command without asking, and Dream has no shell sandbox, so use Auto only where that is acceptable.

Chat with a model at work: tool calls as single lines, the answer beneath, a preview on the right.
Chat with a model at work: tool calls as single lines, the answer beneath. Sample project.
02 · Bring your own models

Use the models you already have

Dream doesn't sell you a model. Sign in to Claude, Codex, Grok or Gemini from the sidebar, point Dream at any OpenAI-compatible endpoint, or load a model on your own GPUs. Each conversation picks its own model, and you can switch whenever you like.

Claude

Claude Agent SDK, or sign in from the sidebar

Codex, Grok, Gemini

Their own command-line tools, signed in through each provider's login

Any OpenAI-compatible endpoint

An HTTP address and a key: Ollama, llama.cpp, vLLM, LM Studio and more

Local models

The MachX engine on Intel Arc GPUs

GitHub Copilot is available for bots. Provider software, accounts, subscriptions and API charges are separate from Dream. Models and credentials are not included.

Dream running MiMo-V2.6-Flash locally through the MachX engine while building a whiteboard explainer animation.
Dream running MiMo-V2.6-Flash locally through MachX at 20.7 tok/s while building a whiteboard explainer animation.
03 · Context, managed

See what fills the model's mind

Every model has a limit on how much it can hold in mind at once: its context window. Long sessions fill it up. Dream shows you exactly how full it is, and what's taking the space.

When it gets crowded, Compact or Ctx Rewrite shortens older parts of the conversation so the model keeps its focus on what matters now, without starting over. And it tells you what it saved.

Dream's context inspector beside a long conversation, showing the model, provider, context used out of the window, pinned files and memory saving.
The context inspector beside a long conversation. Demo data.
04 · Agents and gated builds

Build your own agents. Then let them build.

Agents are specialists you set up once and call by name. Each has its own instructions, model, access level, skills and tools, and never more access than the conversation that starts it. Dream comes with seven: Planner, Verifier, Software engineer, Adversarial reviewer, Researcher, Designer and General purpose.

Put them together with /build. Give the goal once. A planner splits it into phases with checks each must pass, builders do the work, and a fresh verifier that cannot edit files has to pass each phase before it counts. A failing phase is fixed and checked again; if it keeps failing, another of your models takes the next look. The plan strip shows every gate as it happens.

A gated build in Dream: the verifier failed phase 1 and sent it back; after the fix the plan shows Save format and slots, gate passed, and phase 2 starting.
A gated build: every phase has to pass its verifier. Demo data.
The Agents page: seven ready-made agents and the editor for one of them.
The Agents page: seven ready-made agents and the editor for one of them.
05 · Lucid Dream

Watch a team work

One session seen as a lead agent and the workers it starts. The orchestrator's conversation, goal and plan on one side; on the other, the live feed of the worker you select and every agent's model, state and context use.

  • Pause, resume or stop one worker, or pause them all. Message a single worker and it arrives with its next request.
  • Max agents sets how many run at once; the rest wait their turn.
  • Missions keep a goal, its acceptance criteria, decisions and a task board with dependencies.
Lucid Dream: the orchestrator's conversation and plan on the left, a worker's live feed and the list of every agent on the right.
Lucid Dream: the orchestrator and its plan, a worker's live feed, and every agent. Sample project.
06 · Conversations you own

Never lose a thread

Your conversations are yours, not your provider's.

  • Recover restarts a conversation without resending anything.
  • Continue with another agent… moves the whole conversation to a different model.
  • Bring in from Claude or Codex… copies in a conversation you held in Claude Code or Codex so you can carry on in Dream. The original stays untouched.
Continuing a conversation with another agent: choosing the provider, model and effort that take it over.
Choosing the model that carries a conversation on. Demo data.
07 · Memory

Dream remembers

Facts, preferences and decisions are kept as plain Markdown files you can read and edit, so nothing is hidden in a black box. Dream recalls them by keyword, and with optional semantic search turned on, by meaning: ask about "the payments bug" and it finds the note that never used those words.

The Memories page searching saved Markdown memories, beside the current project's instruction files.
Searching memories. Demo data.
08 · Bots

A team that remembers

Persistent bots you talk to one-to-one or in groups. Each is its own character on its own model: a local model, Claude, Codex, Grok, Gemini or GitHub Copilot.

  • A name, title and picture, plus instructions and memory kept as Markdown with versions and undo.
  • Group chats with shared instructions and files: a researcher, an engineer and a reviewer on three different models can work the same brief.
  • Routines daily, on weekdays, weekly, monthly or every few hours, with Run now.
  • Its own computer: a private Docker desktop with a browser, terminal and files. Watch it work or take control.
A group chat of bots on different models introducing themselves.
A group chat of bots on different models introducing themselves.
09 · Sleepwalk

Work that runs while you sleep

Sleepwalk runs written instructions on a schedule, read-only: every weekday morning, summarize yesterday's changes. Optional Gmail, Google Calendar and Telegram connectors.

Sleepwalk Automation: scheduled instructions and their runs.
Scheduled instructions and their runs. Demo data.
10 · Factory

A board of terminals

For terminal work: a zoomable board of terminal sessions in one window. Run Claude Code, Codex, Grok Build and Antigravity as their own command-line programs, or a Dream workflow terminal on any provider, a local model included.

  • Link terminals Out → In so one hands its work to the next, and post to one or all from the message board.
  • Add steps between them: an agent task, a route by condition, a wait for a person, a delay, a retry limit.
The Factory board: terminal sessions for different coding tools side by side.
The Factory board: terminal sessions for different coding tools side by side. Sample project.
11 · Evaluations and Train

Measure before you trust

Evaluations run real tasks graded by the host, not by the model being tested: harness checks and file tasks, a coding quiz that runs several problems at once on a local model (with or without Sandman, for comparison), and the DeepSWE benchmark with each real repository task in its own container.

Train turns a .jsonl file into a new local model in three steps: pick the model, choose the data, say how much. Watch step, loss, speed and time left live. The original model is never changed, and a run keeps going if you close the window.

Training and the coding quiz need the MachX engine and a local model; DeepSWE also needs Docker.

The Evaluations tab with a coding quiz in progress.
A coding quiz in progress.
The Train tab: a fine-tuning run with its loss chart and live feed.
A fine-tuning run with its loss chart.

And the rest of the workspace

Everything around it

Artifacts

Pages, reports, images, media and documents the session produced, with a live preview beside the chat. PDF and Office files preview as pages.

Projects

Saved workspaces with their instructions and documents.

Skills

Read, edit and write reusable skills; presets choose what a new session loads.

Understand

A map of your codebase beside the chat.

Terminal and Browser

A native terminal for the session and a sandboxed browser for local pages.

Computer tools

Let an agent open, observe and act in a controlled browser tab or an X11 window.

Honest by design

You stay in control

Control and your data

  • Ask and Accept edits ask before every shell command. Plan runs nothing and changes nothing.
  • A saved agent never gets more access than the conversation it is started from. Each bot has its own permission setting.
  • The repository ships no memory database, conversations, logs, credentials or model weights; a new installation creates its own.
  • Dream sends prompts, context, files and tool results to the provider you choose. Stored locally does not mean never sent to a model.

Honest limits

  • The desktop app is Linux only today. On a Mac or Windows, the whole interface runs in your browser with Dream running on Linux.
  • Features depend on the provider: not every model takes a message mid-turn, reports its workers or supports vision.
  • Desktop control by an agent needs X11. A bot's private computer needs Docker.
  • Model quality, speed and cost are the provider's, not Dream's.

Get started

Up and running in minutes

Dream needs git, Python 3.12+ and uv, plus at least one model provider you are signed in to on the machine that runs Dream. Dream ships no accounts and no keys.

Linux with a desktop

The desktop app (GTK 3, VTE, WebKitGTK 4.1)

sudo apt install git python3-gi gir1.2-gtk-3.0 gir1.2-vte-2.91 gir1.2-webkit2-4.1
git clone https://github.com/Red-Weasel/Dream-Agent-Harness.git
cd Dream-Agent-Harness
uv sync --locked --extra dev
uv run --locked dream desktop --check   # are the window's libraries installed?
uv run --locked dream desktop           # opens Dream

Its first screens walk you through the setup. python3 scripts/install-desktop.py puts Dream in your applications menu, and uv run --locked dream starts the terminal version.

In a browser: a server, a Mac or Windows

The same interface, with Dream running on Linux

git clone https://github.com/Red-Weasel/Dream-Agent-Harness.git
cd Dream-Agent-Harness
uv sync --locked --extra dev
mkdir -p ~/dream-workspace
DREAM_GUI_PORT=8765 uv run --locked dream --serve --workspace ~/dream-workspace

Dream prints one address like http://127.0.0.1:8765/#token=…. Open the whole address in a browser and keep it to yourself: the key in it is what lets a browser in.

Windows: run these inside Ubuntu under WSL and open the address in your Windows browser. Mac: use a Linux machine or a Linux virtual machine and tunnel to it over SSH. The Mac and Windows steps are the intended way but have not been tested by the project yet. Full setup guide.

Local models with MachX

Linux and an Intel Arc card

cd ~
git clone https://github.com/Red-Weasel/machx-inference-engine.git
cd machx-inference-engine
source scripts/env.sh
cmake -S . -B build -G Ninja && cmake --build build -j

Then press Load model on Dream's Home screen. Dream checks the cards first, starts and stops the engine itself, and Use it in Chat opens the model choice with your local model selected. Model files are not included. More about MachX.

Hand it to your agent

Claude Code, Codex, Gemini CLI or another

Start your coding agent on the machine that will run Dream and paste the ready-made request from the setup guide. It reads the guides, asks you one question, installs Dream and hands you the address to open, without signing in to anything for you.

Dream is free

Bring the models you have. Dream is where they work together.

Free and open source under Apache-2.0. If Dream is useful to you, donations are welcome, one-time or monthly. All donations support the project.