Dicklesworthstone

Flywheel Gateway — AI skill for Claude Code

AI community

SDK-first orchestration platform for managing AI coding agent fleets: BYOA key rotation, real-time WebSocket dashboard, DCG integration, and cross-agent search.

How to install Flywheel Gateway

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Dicklesworthstone/flywheel_gateway and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Flywheel Gateway does

SDK-first orchestration platform for managing AI coding agent fleets: BYOA key rotation, real-time WebSocket dashboard, DCG integration, and cross-agent search.

Alternatives in AI

  • Axonhub — ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs 3.2k ★
  • Rb Setup — First-time setup 1.3k ★
  • Tokentap — Intercept LLM API traffic and visualize token usage in a real-time terminal dashboard 763 ★

README

Flywheel Gateway

**SDK-first multi-agent orchestration platform** for managing AI coding agents at scale.

[![License: MIT](https://img.shields.io/badge/License-MIT%2BOpenAI%2FAnthropic%20Rider-blue.svg)](LICENSE)

Overview

Flywheel Gateway provides infrastructure for orchestrating multiple AI coding agents (Claude, Codex, Gemini) with:

  • BYOA (Bring Your Own Account) - Use your own API keys with automatic rotation and failover
  • Real-time Dashboard - Monitor agent sessions, outputs, and health via WebSocket
  • DCG (Destructive Command Guard) - Prevent dangerous operations before they execute
  • Fleet Management - Coordinate agents across multiple repositories
  • Cross-Agent Search - Learn from past agent sessions via CASS indexing

Quick Start

Prerequisites

  • Bun 1.3+
  • Node.js 20+ (for some tooling)

Installation

# Clone the repository
git clone https://github.com/Dicklesworthstone/flywheel_gateway.git
cd flywheel_gateway

# Install dependencies
bun install

# Initialize the database
bun db:migrate

# Start development servers
bun dev

The gateway API will be available at `http://localhost:3000` and the web dashboard at `http://localhost:5173`.

Environment Variables

Create a `.env` file in the root directory:

# Database (SQLite for development)
DATABASE_URL="file:./data/gateway.db"

# Authentication
JWT_SECRET="your-secret-key-at-least-32-chars"

# Optional: External services
ANTHROPIC_API_KEY=""
OPENAI_API_KEY=""
GOOGLE_AI_API_KEY=""

Architecture

flywheel_gateway/
├── apps/
│   ├── gateway/          # Hono API server + WebSocket
│   └── web/              # React dashboard
├── packages/
│   ├── shared/           # Shared types and utilities
│   ├── flywheel-clients/ # SDK clients (CASS, CM)
│   └── test-utils/       # Testing utilities
├── tests/
│   ├── e2e/              # Playwright E2E tests
│   ├── contract/         # API schema validation
│   └── load/