Skip to main content

What Is a Habitat?

What a habitat is, why your attention is the scarce resource, the standing hierarchy of assistants and workers, real CLIs rather than wrappers, how the work gets checked, how much rope an agent gets, and how Daintree fits together.

Updated
Reviewed

A habitat for your AI agents

A habitat is the set of machines your agents live on: Daintree on this machine, and on any Mac or Linux host you add. Claude Code, Codex, OpenCode, Antigravity and the rest run there as their own CLIs, each task in its own worktree, and you watch and steer them from Daintree on the machine in front of you. This page explains the mental model before you reach the detailed UI docs, so the rest of the documentation lands on something solid.

The model starts from one scarce resource: your attention. Starting agents is cheap. What limits you is the agent that stopped on a question while you were away, the twenty runs of which three need you, and checking what came back. So Daintree puts a standing hierarchy of assistants above the agents doing the work, puts the runs that need you first, and gives an agent a path to you for the calls only you can make. Checking the work is part of that, not the whole of it.

Daintree is not an IDE or a VS Code fork. Its File Viewer provides read-only source, document, image, PDF and media previews. The File Browser finds and opens those files. Use Open in editor when you want to change a file yourself. Markdown is the one exception: a built-in plugin gives Markdown files an Edit mode in the file panel, for correcting the plans and notes your agents write.

Real CLIs, not wrappers

Daintree launches the actual agent binary. Starting Claude Code in a worktree runs claude in a real PTY, reading the configuration it already reads and authenticated against the subscription you already pay for. The same goes for Codex, Antigravity, OpenCode and the rest. Nothing is reimplemented, and nothing is translated through an intermediate protocol on the way.

That decision is why the habitat can host seventeen agents while preserving their native interfaces. When an agent CLI ships something new, you get it the next time you update that CLI, not the next time Daintree ships a release. Your slash commands and agent configuration work as they do in a terminal, because it is a terminal. The one place Daintree adds an interaction layer is Unified Input, which intercepts a few keys deliberately.

There is no first-class tier and degraded generic tier either. State detection uses shared machinery with provider-specific signals and capabilities. A plugin agent joins the same machinery as soon as it declares a detection block in its manifest, and then gets the same status chips, the same notifications and the same place in Pilot that Claude Code gets. Without one it runs as a plain named terminal that Daintree does not track.

A standing hierarchy

The agents doing the work are not the only ones in the habitat. Above them sits a hierarchy that stays put while the workers come and go:

  • The global Assistant sits above every project on this machine and on the hosts you have let it work on. It reads the state of agents across them, can arm a notice for the next one that starts waiting, and steers work wherever it runs.
  • Project assistants are long-lived seats in one project. They plan the work, open worktrees, launch agents into them and watch their terminals.
  • Worker agents each take one task, in a worktree of their own, starting from a clean context. Once the work lands, the worktree can go with them.

Both kinds of assistant are the Daintree Assistant: Claude Code, Codex or Antigravity on your own subscription. A project assistant works through the tool set you choose for it; the global Assistant has a fixed, narrower set that reaches projects through each host, under that host's ownership rules. Within those limits an assistant can answer for you. A confirm-gated action waits for your answer unless your own settings already allow it, and a tool outside what it is allowed is refused, so what reaches you is the part that is yours.

You do not have to use the hierarchy. Launching an agent into a worktree yourself is the same workflow with you in the assistant's seat.

How the work gets checked

An agent reporting “done” is a claim to check, and so is a worker's report to an assistant. How you check it depends on the change. Run it in a Dev Preview, let a reviewing agent and your tests and CI go over it, and read the diff in Review Hub where reading still counts. Review Hub also follows merge readiness and forge status, and lets you send failing checks to an agent you pick.

None of this is an enforced Git approval boundary. Agents are ordinary processes and can run Git themselves, and the Assistant, plugins and recipes can operate repeatable workflows within the permissions you give them. Choose those permissions deliberately; repository permissions and branch protection still matter.

Parallel delegation

The habitat is designed for running several agents at once. Each task gets its own isolated Git worktree on its own branch, so ordinary working-copy edits stay separate. Shared services, databases, Git metadata and files outside those directories still need coordination.

You, or an assistant, launch agents into their worktrees, and one window shows their live state: which agent is working, which is waiting, which is blocked, and which one needs your direction. The work stays cleanly separated until it is merged. No alt-tabbing between terminals, no guessing which window is doing what.

Worktree isolation also keeps each agent's working context intact. Restarting one agent doesn't disturb the others, and the branch each one is on preserves its state independently.

How much rope an agent gets

Isolation is not only about agents colliding with each other. It is also about what one agent can reach when it goes wrong, which is the thing that stops most people turning permission checks off and walking away from the machine.

The habitat gives you three places to draw that line, and each one is a separate decision.

  • The work. An agent works on one branch in one checkout, which separates ordinary working-copy edits from your other checkouts. Be precise about what this is, though: a worktree isolates the changes, not the process. The agent still runs as your user account and can reach the rest of your filesystem like any other program you start.
  • The machine. A worktree can carry its own resource environment, so the work happens in a Docker stack, a cloud VM or a remote sandbox instead of on your laptop. You describe how to provision, pause and tear it down, and Daintree runs those commands as part of the worktree lifecycle. Isolation depends on the environment and commands you provide; merely attaching a resource does not move a locally launched agent into it. Remote Hosts moves something different: a window's backend, with its projects, terminals and agents, onto Daintree on another Mac or Linux machine you reach over your own ssh, while the window stays on your laptop and the agents run on a Mac Studio or a server. That changes where they run, not what they can reach. On a host they run as your user there, and another machine is not a sandbox.
  • Daintree itself. The MCP server ships disabled. Turned on, it binds to localhost only, behind three authorization tiers with host-side confirmation, time-bounded grants and an audit log. Plugins declare their capabilities in a manifest and prompt on first use of high-risk host APIs. Their main entry runs in a utility worker; optional React views run in the app renderer. That page also states plainly what the model does not guarantee, including that plugin code itself is not sandboxed.

How the pieces fit together

There are six pieces, and each has a clear role. Together they form one workflow.

  • Project: a folder you open in Daintree. It's the top-level container for everything else. Whether it's a Git repository is a property of the folder, not a condition of opening it.
  • Worktrees: isolated branches where the work happens, once the project is a repository. Each one is a separate checkout, so tasks run in parallel without stepping on each other.
  • Agents: the CLI coding tools that do the work. Each runs as a process in its own panel, with live state detection so you can see what it's up to.
  • Assistants: the global Assistant and each project's assistants, which plan the work, launch agents and watch them inside the authority you give them.
  • Pilot: the read across all of it. The project switcher picks one project; Pilot shows every agent run across every project at once, with the ones blocked on you first.
  • Review Hub: one way to check the work. Read a worktree's diff, stage, commit and push, and follow its pull request's checks.

So the flow is:

  1. Open a folder. Point Daintree at a directory on this machine or on a host.
  2. Create worktrees. Each task gets its own isolated branch.
  3. Launch agents. Run them in parallel across your worktrees, yourself or through an assistant.
  4. Answer what needs you. Go to the runs that are waiting on you, not the ones that are fine.
  5. Check the result. Run it, let your tests, CI or a reviewing agent check it, and read the diff where it counts.
  6. Merge what is ready. You decide what ships.

A project can have its own tools

Project-level plugins travel with the repository under .daintree/plugins/. They can add a project home, panels, commands and integrations for a team’s own workflow: a release console, customer support workspace, data-quality dashboard or internal operations app. This is the mini SaaS idea: a focused platform inside a project. Hosting, accounts, billing and remote infrastructure must still come from your implementation. Cloning code does not automatically authorize it to run.

What a project needs

A project used to have to be a Git repository. It doesn't any more. Open a folder with no repository in it and Daintree asks a two-option question rather than blocking you: Initialize repository, or Open without git. Opening without Git leaves repository setup untouched; choosing initialization proceeds to a dialog that can create Git metadata, a gitignore and an initial commit.

That split is now part of the mental model, because it decides which of the pieces above you get:

  • Any folder gets terminals, agents, recipes, and the file browser. That is enough to delegate work and watch it run.
  • A Git repository adds worktrees, Review Hub and diffs: the isolation, and a change you can check. Without a repository there are no branches to isolate onto and no diff to read, so those surfaces stay unavailable rather than pretending.

git init is therefore an upgrade you choose, offered up front and available later from the sidebar. There is also a shape with no project at all: a scratch workspace, a throwaway directory for a one-off task that you name, use, and delete. See Projects for both.

When you're delegating across projects

Everything above describes one project. Parallel delegation doesn't stay inside one for long. Once you have agents running in four repositories, the question stops being "what is this agent doing" and becomes "which of the twenty things I started needs me now". No amount of switching between projects answers it, because the answer is never in the project you're looking at.

Pilot (Option-Command-O Control-Alt-O Control-Alt-O ) is the read across all of them: every agent run you have open, grouped by project, with how long each has been waiting. Option-Command-I Control-Alt-I Control-Alt-I gives the same read scoped to one project and grouped by worktree, which is the view for a morning spent inside a single repository with six branches in flight. It's a monitoring surface, not a control surface. You use it to find the one that needs a decision and jump straight to it.

Pilot reads the projects on the host this window is using. Two more surfaces carry the same idea further. Canopy ranks agents by what they need from you, quoting the screen it read, and can show every host it can reach. Once Decisions is set up with your phone paired, a supported agent that reaches a call it shouldn't make alone can ask you on your phone and carry on until it needs the answer. Daintree types your answer in when it finds the asking session at its prompt.

Where to go next

That's the model: agents running in parallel on the machines you choose, a hierarchy keeping track of them, and your attention kept for the calls that need you. The rest of the documentation fills in the mechanics.

  • Run your first parallel task: the whole model, once, in about fifteen minutes. Two worktrees, two agents, one review.
  • Installation & Setup: install Daintree, set up your agents, and open your first folder.
  • Projects: opening folders, the git-optional tier, cloning, and scratch workspaces.
  • Worktrees: creating and managing the isolated branches agents work in.
  • AI Agents: launching, monitoring, and configuring the agents themselves.
  • Daintree Assistant: the assistants that launch and watch agents for you.
  • Decisions: answering an agent's question from your phone.
  • Review Hub: reading diffs and getting agent changes committed and merged.
  • Pilot: every agent run across every project, in one list.
  • Remote Hosts: the same habitat, running on another Mac or Linux machine.