Fleetlayer: Multi-Machine Control Plane for Distributed AI Agents

Fleetlayer (`fleetlayer.ai`) is an open-source distributed control plane that connects Claude Code, Codex, and Gemini agent sessions running across laptops, home servers, and VPS instances. Using outbound `herdr` node daemons that traverse NAT with zero open inbound ports, Fleetlayer enables cross-machine agent messaging, shared Playwright browser MCP control, Unix-user isolation, and approval-gated security rules.
Fleetlayer: Multi-Machine Control Plane for Distributed AI Agents: Fleetlayer (`fleetlayer.ai`) is an open-source distributed control plane that connects Claude Code, Codex, and Gemini agent sessions running across laptops, home servers, and VPS instances. Using outbound `herdr` node daemons that traverse NAT with zero open inbound ports, Fleetlayer enables cross-machine agent messaging, shared Playwright browser MCP control, Unix-user isolation, and approval-gated security rules. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.
- NAT-Traversal Outbound Nodes: Each machine or Unix user runs a `herdr` node holding a single outbound connection to the control plane—no inbound firewall ports required.
- Cross-Machine Agent Messaging: Send structured messages directly between sessions (`fleetlayer msg send --to api@laptop`) with automatic typo suggestion and sender attribution.
- Shared Signed-In Browser MCP: Remote server agents access your Mac's authenticated Chrome session in background tabs via `fleetlayer mcp browser@laptop` under caller allowlists.
- Unix-User Secret & Blast-Radius Isolation: Run untrusted email-triaging agents under separate Unix accounts with strict messaging policies and human approval gates for risky actions.
import { createAgent } from '@smoke-monkey/harness';const fleetCoordinator = createAgent({agentId: 'fleetlayer-cross-host-coordinator',provider: 'custom',baseUrl: 'http://127.0.0.1:8000/v1',model: 'qwen3.8:27b',workspacePath: process.cwd(),permissions: {read_file: 'allow',write_file: 'allow',run_command: 'ask',},mcpServers: {fleetBrowser: {command: 'fleetlayer',args: ['mcp', 'browser@laptop'],},},});async function routeCIEventToBranchAgent() {const result = await fleetCoordinator.run('Inspect fleetlayer fleet status, forward the failing CI webhook to api@laptop, and verify the staging dashboard via Playwright MCP.');console.log('Fleet Dispatch:', result.summary);}routeCIEventToBranchAgent().catch(console.error);
Watch: Related Video Guides
AI Agent Architecture: Where Does Your Agent Actually Run?
The Agent Control Plane: Managing Thousands of AI Agents | Nishant Gupta at Agent Conf 2026
What Is Fleetlayer? Solving Multi-Host & Multi-Account Agent Sprawl
Fleetlayer is an open-source control layer built around herdr session nodes that unifies coding and operational agents across multiple physical machines and LLM accounts. While a single local coding session works out of the box, multi-machine setups break down when a server agent cannot reach a laptop's browser, CI webhooks spawn contextless agents, or one Claude account hits rate limits mid-task.
Instead of exposing SSH tunnels or public ports on developer laptops, each machine—or isolated Unix user on a shared host—runs a lightweight node that maintains one outbound connection to the Fleetlayer control plane. Every session's live state, account usage quota, terminal attachment, and audit trail appear on one unified CLI and web dashboard.
Fleetlayer Isolation & Cross-Host Capabilities Matrix
Fleetlayer treats machine boundaries, Unix users, and LLM accounts as first-class routing and security primitives.
| Capability | Single-Laptop CLI Agent | Fleetlayer Control Plane |
|---|---|---|
| Network Topology | Local terminal only | Outbound herdr node per host (NAT-friendly, zero open ports) |
| Inter-Agent Messaging | Manual copy-paste | fleetlayer msg send --to <agent>@<host> with sender labels |
| Browser Automation | Localhost only or extension re-login | Background-tab Playwright MCP (fleetlayer mcp browser@laptop) |
| Multi-Account Quotas | Fails mid-task on rate limit | Year-long sealed per-machine tokens with live usage visibility |
| Untrusted Input Sandboxing | Shared user home directory | Separate Unix-user nodes (triage vs infra) + approval gates |
| CI Webhook Routing | Wakes cold agent without context | Routes failures directly to the branch-owning session |
Least-Privilege Isolation for External Inputs
Run agents that parse untrusted emails or web pages under a dedicated Unix user node (such as `triage@mail`) with policy rules restricting them from messaging production `infra` agents or accessing unrelated SSH keys.
Inspecting Fleets, Attaching Terminals & Routing Messages
Engineers manage distributed sessions from any workstation using fleetlayer CLI commands that mirror the web dashboard.
# List all online hosts, agent backends (Claude/Codex), and current task state
fleetlayer fleet
# Send a cross-machine message from VPS CI runner to laptop API session
fleetlayer msg send --to api@laptop "the staging deploy is done"
# Attach interactively to a remote session terminal or expose laptop browser MCP
fleetlayer attach api@laptop
fleetlayer mcp browser@laptopBridging Fleetlayer Nodes with Smoke Monkey Harness & Canvas
Teams using Smoke Monkey Canvas for spatial multi-agent workflows can connect remote VPS workers and local Mac browser tools through Fleetlayer's MCP proxy and herdr session manager, keeping credentials sealed to hardware you own while preserving full action auditability.
Frequently Asked Questions
Q:Does Fleetlayer require opening inbound firewall ports on my laptop or home server?
No. Every `herdr` node establishes a single outbound connection to the Fleetlayer control plane, allowing seamless operation behind home routers and corporate NAT.
Q:How does Fleetlayer share my signed-in Chrome browser with remote server agents?
Fleetlayer exposes a Playwright MCP endpoint (`fleetlayer mcp browser@laptop`) restricted by caller allowlists, running remote agent tasks inside background tabs without stealing focus from your active window.
Q:Which AI coding agents does Fleetlayer support?
Fleetlayer connects Claude Code, OpenAI Codex, and Gemini agent sessions—including Fleetlayer Pages and Apps hosting so Codex and Gemini agents can publish shareable interactive outputs alongside Claude.
Q:How does Fleetlayer protect against prompt injection in email or web triage agents?
You can run each untrusted agent under its own Unix user and `herdr` instance with its own cryptographic key, enforcing access policies that block it from messaging other agents or taking over privileged sessions.
Related Alternatives & Comparisons
Related Architecture Guides
View all guidesBest Open Source Coding Agents in 2026: Free, Local & Fully Hackable Harnesses
MCP Server Security Best Practices: Hardening Model Context Protocol Agents in 2026
Open Source Coding Agent Harness: Build a Forkable, Local AI Engineering Runtime
Build with Smoke Monkey Harness
Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.