LobeHub AI Agent Framework

repository·canary·Indexed Aug 11, 2026

https://github.com/lobehub/lobehub

An open-source AI Agent orchestration platform and framework supporting speech synthesis, multimodal capabilities, and an extensible Function Call plugin system. It enables the deployment of private ChatGPT/LLM web applications and includes a cross-platform Electron desktop application with secure remote sync and native integration.

Tokens
688K
Snippets
1.8K
Records
3.4K
Agent score
96%

What's inside LobeHub

  1. Introduction to LobeHub

    canary

    LobeHub is an agent harness designed for building and collaborating with long-term AI agent teammates. It treats Agents as the unit of work, providing infrastructure for human-agent co-evolution through personalized memory, skill integration, and collaborative workspaces.

    Key pillars of the platform include:

    • Create: Use the Agent Builder to create personalized agents with unified intelligence and access to 10,000+ skills.
    • Collaborate: Use Agent Groups to work with multiple agents in parallel, via Pages (shared context), Schedule (automated runs), and Projects (structured work).
    • Evolve: Utilize Personal Memory (structured, editable, and transparent) to allow agents to learn from your workflows.
  2. Overview of Lobe AI

    canary

    Lobe AI is the built-in assistant in LobeHub that works out-of-the-box without any API key configuration or setup. It is designed to be an immediately available teammate for various tasks including programming, research, writing, data analysis, and creative work.

    Key Capabilities:

    • Programming: Explaining error logs, debugging code, and providing step-by-step fixes.
    • Research: Performing real-time web searches to generate comparative analyses with cited sources.
    • Writing: Drafting emails, blog outlines, and professional documents based on target audience and tone.
    • Analysis: Processing data and rendering visualizations (charts, tables) directly in the chat using Artifacts.
    • Creation: Generating images, audio, and rich visual Artifacts within the conversation.
  3. Overview of Page Module E2E Tests

    canary

    The Page module is LobeHub's document management feature, enabling users to create, edit, and manage document pages. It uses the following routes:

    • /page
    • /page/[id]

    End-to-end (E2E) tests for this module cover sidebar management, editor metadata, rich text editing, and the Copilot sidebar.

  4. Overview of LobeHub Messenger

    canary

    Messenger allows you to interact with your LobeHub Agents directly through official LobeHub bots on Telegram, Slack, and Discord. It is designed for personal use, enabling you to use your own AI assistants in your preferred chat tools without building your own bots.

    Key Concepts

    • Messenger vs. Channels: Messenger uses the official @LobeHub bot managed by LobeHub for personal use. Channels are for public use, where you create your own bot with your own tokens to expose an Agent to a community.
    • Configuration: All settings are managed in the LobeHub web interface under Settings → Messenger.
    • Routing: Once linked, messages sent to the bot are routed to a selected Default Agent.
  5. Overview of LobeHub Desktop

    canary

    LobeHub Desktop is a cross-platform desktop application built with Electron. It provides a native experience for LobeHub with features including:

    • Cross-platform Support: macOS (Intel/Apple Silicon), Windows, and Linux.
    • Auto Updates: Built-in mechanism for seamless updates.
    • Native Integration: Native menus, shortcuts, and notifications.
    • Security: macOS notarization, encrypted token storage, and secure OAuth flows.
    • Advanced Window Management: Multi-window architecture with theme synchronization.
    • Remote Sync: Secure data synchronization with remote LobeHub instances.
  6. Overview of Supported Model Provider Categories

    canary

    LobeHub supports over 70 AI model providers, categorized by their service type and deployment model:

    • Major commercial providers: Includes OpenAI (GPT-5, o3), Anthropic (Claude), Google (Gemini), Microsoft Azure OpenAI, and AWS Bedrock.
    • Inference platforms: Aggregators and high-speed inference services like OpenRouter, Together AI, Groq, Fireworks AI, and SambaNova.
    • Chinese providers: Specialized services including Zhipu, Moonshot, DeepSeek, Baichuan, Qwen (Alibaba), Wenxin (Baidu), and Spark (iFlytek).
    • Local models: For complete privacy and zero API costs, you can use local runners like Ollama or LM Studio.
    • Image generation: Specialized models for visual tasks such as GPT Image, Flux, Seedream, Imagen, and ComfyUI.
  7. Overview of the CommandMenu feature

    canary

    The CommandMenu is a keyboard-driven command palette (similar to Raycast or VS Code's Command Palette) that provides unified navigation, searching, and actions. It is built on top of the cmdk library and features:

    • Context-Awareness: Automatically detects the current page to show relevant commands.
    • Modal Navigation: Uses a hierarchical page stack (e.g., Main → Theme).
    • Multi-Mode: Supports Default, Search, and AI Chat modes.
    • Global Integration: Managed via a Zustand store and renders as a portal to document.body for correct layering.
  8. Overview of @lobechat/web-crawler

    canary

    @lobechat/web-crawler is LobeHub's built-in web crawling module. It is designed to intelligently extract content from web pages and convert it into structured Markdown format.

    Key capabilities include:

    • Intelligent Content Extraction: Uses the Mozilla Readability algorithm to identify and extract primary content while filtering out noise.
    • Multi-level Crawling Strategies: Supports multiple implementation methods including naive, jina, search1api, and browserless (for rendered crawling).
    • Custom URL Rules: A flexible system to handle specific website logic via pattern matching and transformations.
  9. Overview of LobeHub

    canary

    LobeHub is an AI Agent orchestration platform designed to organize specialized Agents into efficient, 24/7 working teams. It treats Agents as the unit of work, providing infrastructure for humans and Agents to co-evolve.

    Key capabilities include:

    • Agent Operations: Centralized management of AI teams, task scheduling, and reporting.
    • Agent Creation: Using the Agent Builder to create personalized AI teammates with access to various models and modalities.
    • Collaboration: Utilizing Agent Groups, Pages (shared context), Schedule (automated execution), Projects (structured work), and Workspaces (shared team environments).
    • Evolution: Implementing Personal Memory with a 'white-box' approach, allowing users to see and edit the structured memory Agents use to learn from user behavior.
  10. Feishu / Lark API Base URLs and Rate Limits

    canary

    Feishu (China) and Lark (International) provide RESTful APIs for interacting with the IM system via Custom Apps.

    Base URLs

    • Feishu: https://open.feishu.cn/open-apis
    • Lark International: https://open.larksuite.com/open-apis

    All API paths are relative to these base URLs (e.g., /im/v1/messages).

    Rate Limits

    Unless otherwise specified, IM APIs follow these limits:

    • Global: 1000 requests/min, 50 requests/sec
    • Per User: 5 QPS
    • Per Group: 5 QPS (shared by all bots in the group)
  11. Explore LobeHub Ecosystem Products

    canary

    LobeHub provides several specialized tools and themes within its ecosystem:

    • Lobe SD Theme: A modern, highly customizable UI theme for Stable Diffusion WebUI.
    • Lobe Midjourney WebUI: A web interface for Midjourney that uses AI to generate images from text prompts.
    • Lobe i18n: An automation tool for internationalization (i18n) powered by ChatGPT. It supports automatic splitting of large files, incremental updates, and customizable OpenAI model settings.
    • Lobe Commit: A CLI tool that uses Langchain/ChatGPT to generate Gitmoji-based commit messages.
  12. Use @lobechat/agent-mock for agent conversation replay

    canary

    @lobechat/agent-mock is a dev-only tooling package designed to replay Agent conversation streams within the Single Page Application (SPA). It is used to simulate and inspect agent interactions during development.

    For detailed design specifications and implementation details, refer to the design document: docs/superpowers/specs/2026-05-01-agent-mock-devtools-design.md.