aio-coding-hub  by dyndynjyxa

Local AI CLI unified gateway and toolkit

Created 4 months ago
535 stars

Top 58.7% on SourcePulse

GitHubView on GitHub
Project Summary

AIO Coding Hub provides a unified local gateway for developers interacting with multiple AI CLIs like Claude Code, Codex, and Gemini. It addresses the pain points of individual API configurations, upstream instability, and lack of usage transparency by offering a single entry point, intelligent failover, and comprehensive observability. This tool streamlines workflows for power users and engineers managing diverse AI-powered command-line projects.

How It Works

The project functions as a local gateway proxy, consolidating requests from various AI CLIs to a single localhost endpoint. It employs smart routing with multi-vendor priority and automatic failover, coupled with a circuit breaker pattern to enhance request reliability. Key architectural choices include a Rust backend (Axum) for the gateway and a React/TypeScript frontend (Tauri) for the desktop application. This separation allows for efficient handling of network requests while providing a rich user interface for configuration and monitoring. The system offers full observability through token usage statistics, cost estimation, request tracing, and real-time logging, alongside project-specific workspace isolation for managing prompts and configurations.

Quick Start & Requirements

Installation is recommended via pre-built releases for Windows (.exe/.msi), macOS (.dmg), and Linux (.deb/.AppImage). Arch Linux users can leverage AUR packages (paru -S aio-coding-hub-bin). Building from source requires Node.js 18+, pnpm, and Rust 1.90+, with additional build tools for Windows (C++ Build Tools) and macOS (xcode-select --install). Linux users may need libwebkit2gtk-4.1-dev, libappindicator3-dev, librsvg2-dev, and patchelf. After installation, users add upstream providers, enable CLI proxying, and initiate requests. A health check is available at http://127.0.0.1:37123/health.

Highlighted Details

  • Unified gateway proxy for Claude Code, Codex, and Gemini CLIs.
  • Intelligent routing with multi-vendor failover and circuit breaker.
  • Comprehensive observability: token usage, cost estimation, tracing, logging, heatmaps.
  • Project-based workspace isolation for prompts and configurations.
  • Skill Market for discovering and installing AI functionalities from Git.
  • Built with Tauri (Rust backend, React/TypeScript frontend).

Maintenance & Community

The project adheres to Conventional Commits for contributions. No specific community channels (like Discord/Slack) or notable contributors/sponsorships are detailed in the README.

Licensing & Compatibility

The project is licensed under the MIT License, which is permissive for commercial use and integration into closed-source projects.

Limitations & Caveats

This tool is strictly designed as a single-machine desktop application and local gateway. It is not suitable for public network deployment, remote access, multi-tenancy, or enterprise-grade RBAC. All data is stored locally. macOS users may encounter security prompts requiring sudo xattr -cr /Applications/"AIO Coding Hub.app". Linux AppImage users might need specific configurations for Wayland environments.

Health Check
Last Commit

14 hours ago

Responsiveness

Inactive

Pull Requests (30d)
22
Issues (30d)
19
Star History
122 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.