aigne-hub  by AIGNE-io

Unified AI gateway for LLM and AIGC providers

Created 2 years ago
321 stars

Top 84.5% on SourcePulse

GitHubView on GitHub
Project Summary

AIGNE Hub acts as a unified AI gateway, simplifying the management of multiple Large Language Model (LLM) and AI Generated Content (AIGC) providers. It targets developers and service providers within the AIGNE ecosystem, offering centralized API key management, usage tracking, and billing, thereby reducing complexity and enhancing control over AI service integrations.

How It Works

Built as a Blocklet on the AIGNE framework, AIGNE Hub provides a single interface to connect with over eight AI providers, including OpenAI, Anthropic, and Google Gemini. Its core approach centralizes API key storage with encryption and access controls, alongside detailed usage analytics and a flexible credit-based billing system. This architecture streamlines multi-provider AI access for applications built with AIGNE framework, Studio, or CLI.

Quick Start & Requirements

Installation is performed via the Blocklet Server by searching for "AIGNE Hub" in the Blocklet Store and launching it. Post-installation, AI providers are configured through the admin panel by adding API keys. Basic usage is demonstrated with a TypeScript example using the @aigne/aigne-hub package. Key requirements include a Blocklet Server instance and valid API keys for desired AI services.

Highlighted Details

  • Multi-Provider Support: Integrates with 8+ providers including OpenAI, Anthropic, Google Gemini, Ollama (local), and OpenRouter.
  • Self-Hosting: Offers a deployable instance for enhanced data control and privacy.
  • Unified Security: Features encrypted API key storage and role-based access controls.
  • Comprehensive Analytics: Provides detailed usage tracking and cost analysis across providers.
  • Flexible Billing: Supports internal credit systems or external service provision with custom pricing via Payment Kit integration.
  • Technical Stack: Built with AIGNE Framework, Node.js, TypeScript, React 19, and SQLite.

Maintenance & Community

The project welcomes contributions via CONTRIBUTING.md. Support and documentation are available through the ArcBlock Community and dedicated AIGNE Hub Docs, respectively, with issues tracked on GitHub.

Licensing & Compatibility

AIGNE Hub is part of the ArcBlock ecosystem; specific license terms for usage and distribution must be consulted via their official channels, as a precise license type is not detailed in the provided README.

Limitations & Caveats

No specific limitations, alpha status, or known bugs are explicitly mentioned in the provided README.

Health Check
Last Commit

16 hours ago

Responsiveness

Inactive

Pull Requests (30d)
53
Issues (30d)
0
Star History
222 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.