Fleetlayer: Orchestrating Multi-Machine AI Agent Workflows

Fleetlayer is a framework designed to manage and coordinate AI agents—such as Claude Code, Codex, and Gemini—across multiple machines, user accounts, and infrastructure environments. By providing a unified control plane, it solves the fragmentation issues that arise when scaling beyond a single agent on a single machine, such as session isolation, authentication hurdles, and restricted access to local tools like browsers or specific file directories.

Solving Agent Fragmentation

As developers scale their AI agent usage, they often encounter significant friction. Fleetlayer addresses these common pain points:

  • Authentication and Access: It manages multiple Claude accounts across different machines, preventing "access denied" errors when agents attempt to interact with artifacts or web-based tools.
  • Cross-Machine Communication: Agents running on a remote VPS or home server can communicate with agents on a local laptop, enabling collaborative workflows.
  • Tool Sharing: It allows agents on remote machines to utilize local resources, such as a signed-in Chrome browser (via Playwright MCP) or specific local folders like Downloads and Screenshots.
  • Session Management: It provides a centralized dashboard to monitor all active agents, their current tasks, and their status, regardless of where they are running.

Architecture and Security

Fleetlayer operates as a lightweight layer that attaches to existing session managers like herdr without requiring a full system takeover. Each machine runs a small node that maintains an outbound connection to the control plane, allowing it to function behind NAT without opening ports.

Security is a core focus, with the framework implementing several protective measures:

  • Access Control: Users can define policies that restrict which agents can message, start, or take over specific sessions.
  • Audit Logs: All agent actions are recorded in a tamper-evident audit log.
  • Secret Management: Sensitive credentials, such as those from 1Password, are encrypted and transmitted only to the specific machine that requires them; the control plane never stores these secrets.
  • Isolation: Agents handling untrusted input (like email triage) can be run within restricted Unix user accounts, preventing them from accessing sensitive system resources.

Community Insights and Discussion

Early discussion on the project highlights the growing interest in multi-agent orchestration. Users have noted that as the number of agents increases, the primary bottleneck shifts from compute resources to coordination and context management.

  • Agent Delegation: Commenters have inquired about the ability for one agent to delegate tasks to another. Fleetlayer supports cross-agent messaging, which serves as a foundation for such delegation patterns.
  • Configuration Consistency: A common challenge mentioned by the community is maintaining consistent skills, MCP tools, and hooks across distributed agents. Fleetlayer addresses this through its synchronization and plugin architecture.
  • Alternative Approaches: Some developers are exploring similar problems using mesh routers or WebRTC to bypass network restrictions, suggesting that the field is rapidly evolving toward decentralized, agent-focused infrastructure.

Getting Started

Fleetlayer is built in public and is currently source-available. It is designed to be modular, allowing users to start with a single-machine setup and scale by moving components to servers or VPS instances as needed. Installation is handled via a shell script, and the system is designed to be compatible with existing tools like herdr, tmux, and various CLI-based agents.

Sources