Lobe chat project

Real-world AI chat application (Next.js) with LLM provider generics, plugin-system typing, and a large internationalized component surface.

tsz unavailable 0 lines 0 KB compile canary tracked in CI; not timed by vs-tsgo benchmarks

Timing

tsz
failed
tsgo
n/a

README

[![][image-banner]][vercel-link]

LobeHub

LobeHub organizes your agents into 7×24 operation.

It hires, schedules, reports on your entire AI team.

You stay in charge — without staying online.

English · 简体中文 · [Official Site][official-site] · [Changelog][changelog] · [Documents][docs] · [Blog][blog] · [Feedback][github-issues-link]

[![][github-release-shield]][github-release-link] [![][docker-release-shield]][docker-release-link] [![][vercel-shield]][vercel-link] [![][discord-shield]][discord-link]
[![][codecov-shield]][codecov-link] [![][github-action-test-shield]][github-action-test-link] [![][github-action-release-shield]][github-action-release-link] [![][github-releasedate-shield]][github-releasedate-link]
[![][github-contributors-shield]][github-contributors-link] [![][github-forks-shield]][github-forks-link] [![][github-stars-shield]][github-stars-link] [![][github-issues-shield]][github-issues-link] [![][github-license-shield]][github-license-link]

Share LobeHub Repository

[![][share-x-shield]][share-x-link] [![][share-telegram-shield]][share-telegram-link] [![][share-whatsapp-shield]][share-whatsapp-link] [![][share-reddit-shield]][share-reddit-link] [![][share-weibo-shield]][share-weibo-link] [![][share-mastodon-shield]][share-mastodon-link] [![][share-linkedin-shield]][share-linkedin-link]

Your Chief Agent Operator

LobeHub - Your Chief Agent Operator for multi-agent work | Product Hunt lobehub%2Flobehub | Trendshift

Table of contents

TOC



https://github.com/user-attachments/assets/0a33365f-b786-48b5-9ed6-f8af7927bccb

👋🏻 Getting Started & Join Our Community

We are a group of e/acc design-engineers, hoping to provide modern design components and tools for AIGC. By adopting the Bootstrapping approach, we aim to provide developers and users with a more open, transparent, and user-friendly product ecosystem.

Whether for users or professional developers, LobeHub will be your AI Agent playground. Please be aware that LobeHub is currently under active development, and feedback is welcome for any [issues][issues-link] encountered.

We are live on Product Hunt! We are thrilled to bring LobeHub to the world. If you believe in a future where humans and agents co-evolve, please support our journey.
[![][discord-shield-badge]][discord-link] Join our Discord community! This is where you can connect with developers and other enthusiastic users of LobeHub.

[!IMPORTANT]

Star Us, You will receive all release notifications from GitHub without any delay ~ ⭐️

[![][image-star]][github-stars-link]

Star History

✨ Features

Today’s agents are one-off, task-driven tools. They lack context, live in isolation, and require manual hand-offs between different windows and models. While some maintain memory, it is often global, shallow, and impersonal. In this mode, users are forced to toggle between fragmented conversations, making it difficult to form structured productivity.

LobeHub changes everything.

LobeHub is a work-and-lifestyle space to find, build, and collaborate with agent teammates that grow with you. In LobeHub, we treat Agents as the unit of work, providing an infrastructure where humans and agents co-evolve.

Operator: Agents as the Unit of Work

Hires, schedules, and reports on your entire AI team.

  • More productivity. Fewer tools: Bring all your agents under one roof.
  • IM Gateway: Agents where you already chat.

![][back-to-top]

![][back-to-top]

Create: Agents as the Unit of Work

Building a personalized AI team starts with the Agent Builder. You can describe what you need once, and the agent setup starts right away, applying auto-configurations so you can use it instantly.

  • Unified Intelligence: Seamlessly access any model and any modality—all under your control.
  • 10,000+ Skills: Connect your agents to the skills you use every day with a library of over 10,000 tools and MCP-compatible plugins.

![][back-to-top]

![][back-to-top]

Collaborate: Scale New Forms of Collaboration Networks

LobeHub introduces Agent Groups, allowing you to work with agents like real teammates. The system assembles the right agents for the task, enabling parallel collaboration and iterative improvement.

  • Pages: Write and refine content with multiple agents in one place with a shared context.
  • Schedule: Schedule runs and let agents do the work at the right time, even while you are away.
  • Project: Organize work by project to keep everything structured and easy to track.
  • Workspace: A shared space for teams to collaborate with agents, ensuring clear ownership and visibility across the organization.

![][back-to-top]

![][back-to-top]

Evolve: Co-evolution of Humans and Agents

The best AI is one that understands you deeply. LobeHub features Personal Memory that builds a clear understanding of your needs.

  • Continual Learning: Your agents learn from how you work, adapting their behavior to act at the right moment.
  • White-Box Memory: We believe in transparency. Your agents use structured, editable memory, giving you full control over what they remember.

![][back-to-top]

✨ more features will be added when LobeHub evolve.

![][back-to-top]

🛳 Self Hosting

LobeHub provides Self-Hosted Version with Vercel, Alibaba Cloud, and [Docker Image][docker-release-link]. This allows you to deploy your own chatbot within a few minutes without any prior knowledge.

[!TIP]

Learn more about [📘 Build your own LobeHub][docs-self-hosting] by checking it out.

A Deploying with Vercel, Zeabur , Sealos or Alibaba Cloud

"If you want to deploy this service yourself on Vercel, Zeabur or Alibaba Cloud, you can follow these steps:

  • Prepare your OpenAI API Key.
  • Click the button below to start deployment: Log in directly with your GitHub account, and remember to fill in the OPENAI_API_KEY(required) on the environment variable section.
  • After deployment, you can start using it.
  • Bind a custom domain (optional): The DNS of the domain assigned by Vercel is polluted in some areas; binding a custom domain can connect directly.
Deploy with Vercel Deploy with Zeabur Deploy with Sealos Deploy with RepoCloud Deploy with Alibaba Cloud
[![][deploy-button-image]][deploy-link] [![][deploy-on-zeabur-button-image]][deploy-on-zeabur-link] [![][deploy-on-sealos-button-image]][deploy-on-sealos-link] [![][deploy-on-repocloud-button-image]][deploy-on-repocloud-link] [![][deploy-on-alibaba-cloud-button-image]][deploy-on-alibaba-cloud-link]

After Fork

After fork, only retain the upstream sync action and disable other actions in your repository on GitHub.

Keep Updated

If you have deployed your own project following the one-click deployment steps in the README, you might encounter constant prompts indicating "updates available." This is because Vercel defaults to creating a new project instead of forking this one, resulting in an inability to detect updates accurately.

[!TIP]

We suggest you redeploy using the following steps, [📘 Auto Sync With Latest][docs-upstream-sync]


B Deploying with Docker

[![][docker-release-shield]][docker-release-link] [![][docker-size-shield]][docker-size-link] [![][docker-pulls-shield]][docker-pulls-link]

We provide a Docker image for deploying the LobeHub service on your own private device. Use the following command to start the LobeHub service:

  1. create a folder to for storage files
$ mkdir lobehub-db && cd lobehub-db
  1. init the LobeHub infrastructure
bash <(curl -fsSL https://lobe.li/setup.sh)
  1. Start the LobeHub service
docker compose up -d

[!NOTE]

For detailed instructions on deploying with Docker, please refer to the [📘 Docker Deployment Guide][docs-docker]


Environment Variable

This project provides some additional configuration items set with environment variables:

Environment Variable Required Description Example
OPENAI_API_KEY Yes This is the API key you apply on the OpenAI account page sk-xxxxxx...xxxxxx
OPENAI_PROXY_URL No If you manually configure the OpenAI interface proxy, you can use this configuration item to override the default OpenAI API request base URL https://api.chatanywhere.cn or https://aihubmix.com/v1
The default value is
https://api.openai.com/v1
OPENAI_MODEL_LIST No Used to control the model list. Use + to add a model, - to hide a model, and model_name=display_name to customize the display name of a model, separated by commas. qwen-7b-chat,+glm-6b,-gpt-3.5-turbo

[!NOTE]

The complete list of environment variables can be found in the [📘 Environment Variables][docs-env-var]

![][back-to-top]

📦 Ecosystem

NPM Repository Description Version
[@lobehub/ui][lobe-ui-link] [lobehub/lobe-ui][lobe-ui-github] Open-source UI component library dedicated to building AIGC web applications. [![][lobe-ui-shield]][lobe-ui-link]
[@lobehub/icons][lobe-icons-link] [lobehub/lobe-icons][lobe-icons-github] Popular AI / LLM Model Brand SVG Logo and Icon Collection. [![][lobe-icons-shield]][lobe-icons-link]
[@lobehub/tts][lobe-tts-link] [lobehub/lobe-tts][lobe-tts-github] High-quality & reliable TTS/STT React Hooks library [![][lobe-tts-shield]][lobe-tts-link]
[@lobehub/lint][lobe-lint-link] [lobehub/lobe-lint][lobe-lint-github] Configurations for ESlint, Stylelint, Commitlint, Prettier, Remark, and Semantic Release for LobeHub. [![][lobe-lint-shield]][lobe-lint-link]

![][back-to-top]

🧩 Plugins

Plugins provide a means to extend the [Function Calling][docs-function-call] capabilities of LobeHub. They can be used to introduce new function calls and even new ways to render message results. If you are interested in plugin development, please refer to our [📘 Plugin Development Guide][docs-plugin-dev] in the Wiki.

  • [lobe-chat-plugins][lobe-chat-plugins]: This is the plugin index for LobeHub. It accesses index.json from this repository to display a list of available plugins for LobeHub to the user.
  • [chat-plugin-template][chat-plugin-template]: This is the plugin template for LobeHub plugin development.
  • [@lobehub/chat-plugin-sdk][chat-plugin-sdk]: The LobeHub Plugin SDK assists you in creating exceptional chat plugins for LobeHub.
  • [@lobehub/chat-plugins-gateway][chat-plugins-gateway]: The LobeHub Plugins Gateway is a backend service that provides a gateway for LobeHub plugins. We deploy this service using Vercel. The primary API POST /api/v1/runner is deployed as an Edge Function.

[!NOTE]

The plugin system is currently undergoing major development. You can learn more in the following issues:

  • Plugin Phase 1: Implement separation of the plugin from the main body, split the plugin into an independent repository for maintenance, and realize dynamic loading of the plugin.
  • Plugin Phase 2: The security and stability of the plugin's use, more accurately presenting abnormal states, the maintainability of the plugin architecture, and developer-friendly.
  • Plugin Phase 3: Higher-level and more comprehensive customization capabilities, support for plugin authentication, and examples.

![][back-to-top]

⌨️ Local Development

You can use GitHub Codespaces for online development:

[![][codespaces-shield]][codespaces-link]

Or clone it for local development:

$ git clone https://github.com/lobehub/lobehub.git
$ cd lobehub
$ pnpm install
$ pnpm de

...