Run every coding agent, on every machine, from one place.
Treer is an open, self-hostable control plane for coding agents. Keep Codex, Claude, any other CLI agent, and plain terminals running on the machines that own your code, then connect their Apps and conversations in the same workspace.
Try the canary · Product site · Documentation · Security model
Treer keeps the platform minimal and the workflow configurable. It standardizes only the contracts needed for Agents, humans, machines, and Apps to work together: identity, process ownership, routing, and messages. It does not prescribe one Agent, prompt format, launch command, communication channel, App stack, or deployment model.
Launch profiles are commands you can edit. Apps are ordinary services you can replace. Mail, Telegram, and future channels sit outside the core. Start with a plain terminal, adopt only the pieces you need, and keep the rest of your environment as it is.
| Capability | What it means | |
|---|---|---|
| Agents | Persistent processes and PTYs | Launch any command-based agent, observe it, prompt it, and return after the browser disconnects. |
| Apps | Workspace software with its own UI and data | Run HTTP Apps beside Agents. Treer supplies identity, routing, and a stable workspace address. |
| Communication | Durable Core Messages | Humans and Agents exchange addressed messages with explicit acknowledgement and ordered context. Mail and Telegram remain replaceable channels. |
| Network | Explicit private/public service forwarding | Register a local port, forward it across the workspace, and optionally expose it on a platform-assigned domain or TCP port. |
A saved launch can be restored after machine restart with treer-agent-server restore --workspace WORKSPACE_ID. Treer preserves intended-running Agents and Managed Apps; explicitly stopped workloads stay stopped. It does not restore in-memory Agent conversations.
Treer does not ship another Agent runtime. It coordinates the tools and environments you already use through the browser (desktop and mobile) and CLI.
flowchart LR
Human["Human<br/>Web · CLI"] <--> Proxy
BrowserApps["Browser Apps<br/>Mail · custom UI"] <--> Proxy
Proxy["Treer Proxy<br/>identity · policy · routing · messages"]
Proxy <-->|outbound connection| Controller
subgraph Machine["Enrolled machine"]
Controller["Controller"] <--> Host["Stable Host"]
Host --> Agents["Codex · Claude · any CLI · terminal"]
Agents --> AIS["Agent Interface Server"]
Host --> Apps["Workspace Apps"]
end
AgentChannels["Agent-run channels<br/>Telegram · custom adapters"] <--> Controller
The Host keeps Agent processes and terminal history alive on each machine. The Proxy connects machines into workspaces and provides shared identity, routing, policy, and messages. Machines connect outward, so Treer does not require you to publish SSH or local service ports.
- Open the canary console and create or select a workspace.
- Choose Add machine and run the install and enrollment commands it shows
(
curl -fsSL 'https://proxy.canary.treer.ai/install.sh' | shon macOS and Linux; a PowerShell form for Windows, run as your normal user account). - Choose + → Add agent and a profile such as Claude + UI or Codex + UI (the Agent launcher is installed with Treer), or a terminal profile. Install and sign in to the Agent CLI yourself.
To run your own control plane, use the Compose stack or build the single
container (./scripts/build-single-image.sh); see the
operator guide and
self-hosted deployment.
Important
Agents run with the operating-system authority of the account that starts the Treer Host. Treer is intended for machines you control and collaborators you trust; it is not a mutually untrusted execution sandbox. Use a dedicated account, container, or VM for untrusted code.
Treer currently fits individual developers with several machines, trusted research groups sharing long-running sessions, and internal teams that want an inspectable control plane. Read Product direction for its current scope and non-goals.
- Operator guide: self-hosting, local development, machine enrollment, administration, networking, and CLI examples.
- Product direction: audience, promise, principles, and current boundaries.
- Architecture: components, protocols, state, and information flow.
- Security model: trust assumptions, credentials, isolation, and known gaps.
- Workspace Apps: build services and interfaces for humans and Agents.
- Communication Apps: Mail and Telegram are replaceable examples built on Treer's public contracts.
- Documentation index: every maintained guide and reference.
Copyright 2026 Zijian Zhang.
Treer is licensed under the Apache License 2.0.