yeahhe365/AMC-WebUI

面向 Gemini 的 Local-First AI 工作流 WebUI,集成多模态聊天、Canvas、文件处理、实时搜索、代码执行与高级推理。

What it solves

AMC WebUI provides a comprehensive, local-first interface for interacting with AI models, primarily focusing on the native capabilities of Google Gemini while maintaining compatibility with OpenAI-standard chat APIs. It eliminates the need for multiple separate interfaces by consolidating deep reasoning, real-time audio/video, and advanced tool integration into a single console.

How it works

Built as a Vite + React SPA, the project follows a "Local-First" principle where chat data is stored in the browser's IndexedDB for privacy and speed. It can be deployed in three ways: as a standard static site, via Docker Compose (combining a frontend and a Node.js API proxy), or as a static frontend on Cloudflare Pages with a separate API backend. The system supports both direct browser-to-API communication (BYOK) and server-side key management for secure proxying.

Who it’s for

Users who want a powerful, privacy-centric UI for Gemini's advanced features (like Live API and Thinking models) and developers who need a unified console to manage multiple AI providers and MCP tools.

Highlights

  • Gemini Native Integration: Full support for Thinking (chain-of-thought visualization), Live API (real-time voice/vision), and Gemini Files API.
  • Local Python Sandbox: A browser-based Python environment using Pyodide (WASM) that automatically loads scientific libraries like numpy and pandas.
  • Model Context Protocol (MCP): Support for MCP via Node API, including human-in-the-loop authorization for tool calls.
  • Live Artifacts: Automatic rendering of code blocks into interactive HTML, SVG, Mermaid diagrams, and Graphviz charts.
  • Enterprise API Management: Dual-mode support for Gemini and OpenAI-compatible APIs with multi-key rotation and configuration isolation.
  • PWA Support: Installable as a desktop or mobile app with offline shell access and picture-in-picture mode.
  • Advanced File Handling: Browser-side audio preprocessing and support for ZIP/folder uploads to map codebase structures.

Related

  • Project
  • Project
  • Project
  • Project
  • Project