AI_Proxy_United  by unfish

AI server backend for Feishu chatbot, enabling complex tasks via multi-agent orchestration

Created 6 months ago
506 stars

Top 61.6% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a comprehensive backend implementation for FeiShu (Lark) chatbots, enabling users to interact with and control advanced AI agents directly within their chat interface. It aims to offer a natural conversational experience by leveraging FeiShu's unique features like streaming output and integrated user management, making it an ideal solution for users seeking to harness multi-agent AI capabilities through a familiar chat environment.

How It Works

The system acts as a unified AI server, integrating numerous large language models (LLMs) and providing a single API for model interaction. It supports complex agent functionalities, including web scraping, function calling for tools like weather APIs and search engines, image generation with models like Midjourney, and code execution for calculations. Advanced agents can orchestrate multiple LLMs and tools, with specific models like GPT-4o and Claude 3.7 recommended for more complex tasks and features like virtual browser automation.

Quick Start & Requirements

  • Installation: Docker is mandatory. A server with a publicly accessible domain is required.
  • Prerequisites:
    • Docker and Docker Compose.
    • A created FeiShu (Lark) bot with appropriate permissions and subscribed events (im.message.receive_v1, application.bot.menu_v6, card.action.trigger).
    • API keys for desired LLM providers (e.g., OpenAI, MiniMax, Gemini).
    • A MySQL database and Redis instance.
  • Setup: Clone the repository, configure config.json with FeiShu bot credentials and LLM API keys, set up MySQL and Redis (Docker examples provided), build the WebSocket service (sh buildwebsocket.sh), and run the main Docker container (docker run -p 8080:8080 ai_proxy). FeiShu bot event callbacks should be configured for long polling.

Highlighted Details

  • Supports rendering Mermaid diagrams, Markmap mind maps, LaTeX formulas, and HTML code directly within FeiShu cards.
  • Enables interactive charts from data returned by LLMs.
  • Offers advanced agents for automated book summarization, web automation via a virtual browser (requires Claude 3.7), and complex task orchestration.
  • Provides a unified Web API for integration with web, mini-programs, and native apps, including text-to-speech and unified WebSocket interfaces for real-time voice and translation.

Maintenance & Community

The project is actively developed by unfish. Community interaction and discussion are encouraged via a FeiShu group.

Licensing & Compatibility

The repository does not explicitly state a license in the README. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The project is presented as a code-sharing initiative, requiring users to manage their own LLM accounts and API keys. Some advanced features, like virtual browser automation, have specific model dependencies (Claude 3.7). The effectiveness of complex agents is highly dependent on the underlying LLM's capabilities.

Health Check
Last Commit

1 month ago

Responsiveness

Inactive

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

Explore Similar Projects

Starred by Shizhe Diao Shizhe Diao(Author of LMFlow; Research Scientist at NVIDIA), Gregor Zunic Gregor Zunic(Cofounder of Browser Use), and
1 more.

BrowserGym by ServiceNow

0.8%
895
Gym environment for web task automation research
Created 1 year ago
Updated 1 day ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Luis Capelo Luis Capelo(Cofounder of Lightning AI), and
15 more.

stagehand by browserbase

0.5%
17k
AI browser automation framework for production
Created 1 year ago
Updated 1 day ago
Starred by Kevin Hou Kevin Hou(Head of Product Engineering at Windsurf), Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research), and
29 more.

browser-use by browser-use

0.6%
70k
SDK for AI agent browser control
Created 10 months ago
Updated 1 day ago
Feedback? Help us improve.