Skip to content
@fast-gateway-protocol

fast-gateway-protocol

Daemon-based architecture replacing slow MCP stdio servers with persistent UNIX socket daemons. 10-300x faster.

Fast Gateway Protocol (FGP)

292x faster than MCP

Daemon-based architecture replacing slow MCP stdio servers with persistent UNIX socket daemons.

Main RepoDocsQuick Start


Why FGP?

LLM agents make many sequential tool calls. MCP stdio servers spawn a new process for each call (~2.3s overhead). FGP keeps daemons warm and ready.

Browser Benchmark

Overhead Compounds

Ecosystem

Core

Repository Description Status
fgp Monorepo with all daemons and docs ⭐ Start here
daemon Rust SDK for building FGP daemons Stable
daemon-py Python SDK for building FGP daemons Stable
protocol FGP protocol specification Stable
cli CLI for managing FGP daemons Beta

Service Daemons

Repository Integration Speedup vs MCP
browser Chrome DevTools Protocol 292x
gmail Gmail API 69x
calendar Google Calendar API Beta
github GitHub GraphQL + REST 75x
fly Fly.io deployments Alpha
neon Neon Postgres Alpha

Quick Start

# One-liner install
curl -fsSL https://raw.githubusercontent.com/fast-gateway-protocol/fgp/master/install.sh | bash

# Or install specific daemon
cargo install fgp-browser

# Start daemon (stays warm)
browser-gateway start

# Use it (sub-10ms responses)
browser-gateway open "https://example.com"
browser-gateway snapshot  # Get ARIA tree

Architecture

┌─────────────┐     UNIX Socket      ┌──────────────┐
│  AI Agent   │ ◄──────────────────► │  FGP Daemon  │
│ (Claude,    │    NDJSON protocol   │  (browser,   │
│  Cursor,    │    ~10-50ms latency  │   gmail,     │
│  etc.)      │                      │   etc.)      │
└─────────────┘                      └──────────────┘

Key design decisions:

  • UNIX sockets — Zero network overhead, file-based permissions
  • NDJSON protocol — Human-readable, streaming-friendly
  • Per-service daemons — Independent scaling, fault isolation
  • Rust core — Sub-millisecond latency, ~10MB memory per daemon

License

MIT

Popular repositories Loading

  1. browser browser Public

    FGP daemon for browser automation via Chrome DevTools Protocol - 292x faster than Playwright MCP

    Rust 4

  2. fgp fgp Public

    Fast Gateway Protocol - Daemon-based architecture for AI agent tools. 19x faster than MCP stdio.

    Rust 2

  3. fgp-skills fgp-skills Public

    FGP daemon skills for the agent-skills ecosystem. 10-100x faster than MCP.

    Shell 1

  4. notion notion Public

    FGP Notion daemon - Fast Notion pages, databases, and blocks

    Rust 1

  5. protocol protocol Public

    Fast Gateway Protocol - Universal package manager for AI agents

  6. daemon daemon Public

    Rust SDK for building FGP-compliant daemons

    Rust

Repositories

Showing 10 of 23 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…