Skip to content

escapeboy/fleetq-bridge

Repository files navigation

FleetQ Bridge

Connects FleetQ cloud agents to your local AI compute — LLMs, coding agents, MCP servers, and browser automation. No port-forwarding, no ngrok, no third-party tunnels.

How it works

The bridge opens a persistent outbound WebSocket connection to FleetQ cloud. When your cloud agents need to run something locally, the request travels through this connection — your machine never needs to be publicly reachable.

FleetQ Cloud ──WSS──► FleetQ Bridge (your machine)
                              │
                   ┌──────────┼──────────┐
                   │          │          │
              Ollama/etc   claude -p   MCP servers

Installation

macOS (Homebrew)

brew install escapeboy/tap/fleetq-bridge

macOS / Linux (binary)

curl -sSL https://get.fleetq.net | sh

Windows Download the installer from Releases.

Quick Start

# 1. Authenticate
fleetq-bridge login --api-key flq_team_...

# 2. Install as auto-start service
fleetq-bridge install

# 3. Check status
fleetq-bridge status

Supported Local Compute

Local LLMs (auto-discovered)

Software Default Port
Ollama 11434
LM Studio 1234
Jan.ai 1337
LocalAI 8080
GPT4All 4891

AI Coding Agents

Agent Binary
Claude Code claude
Gemini CLI gemini
OpenCode opencode
Cline CLI cline
Cursor CLI agent
Kiro CLI kiro-cli
Aider aider
Codex CLI codex

MCP Servers

Configure in ~/.config/fleetq/bridge.yaml. Servers start automatically with the daemon:

mcp_servers:
  - name: filesystem
    command: npx
    args: ["-y", "@modelcontextprotocol/server-filesystem", "~/"]
  - name: playwright
    command: npx
    args: ["-y", "@playwright/mcp"]
  - name: git
    command: uvx
    args: ["mcp-server-git"]

MCP requests from FleetQ cloud are routed to the matching server by name. Use fleetq-bridge mcp list to see configured servers.

Commands

fleetq-bridge login --api-key <key>  Authenticate
fleetq-bridge daemon                 Run in foreground
fleetq-bridge tui                    Open interactive terminal dashboard
fleetq-bridge install                Install as system service
fleetq-bridge uninstall              Remove system service
fleetq-bridge status                 Show connection status
fleetq-bridge endpoints list         List discovered endpoints
fleetq-bridge endpoints probe        Re-probe all endpoints
fleetq-bridge mcp list               List configured MCP servers
fleetq-bridge logs                   Show log file path

Terminal Dashboard (TUI)

Run fleetq-bridge tui for a live terminal dashboard with three tabs:

  • Status — relay connection state, LLM count, agent count
  • Endpoints — per-endpoint online status and model list
  • Logs — streaming daemon events

Navigate with Tab/13, scroll with j/k, quit with q.

Configuration

Config file: ~/.config/fleetq/bridge.yaml

relay_url: wss://relay.fleetq.net/bridge/ws

discovery:
  interval_seconds: 30

agents:
  enabled: [claude-code, gemini, opencode, cline, cursor, kiro, aider, codex]
  working_directory: ~/projects
  timeout_seconds: 300

log_level: info

License

MIT

About

Connects FleetQ cloud agents to your local AI compute — LLMs, coding agents, MCP servers.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors