project-overview

Originally fromlobehub/lobe-chat
Installation
Summary

Complete project architecture guide for LobeHub, an open-source AI Agent Workspace built on Next.js and React.

  • Monorepo structure with @lobechat/ namespace packages covering agent runtime, model providers, database, tools, and platform-specific bridges (Electron, web, mobile)
  • Tech stack includes Next.js 16, React 19, TypeScript, Zustand for state, tRPC for type-safe APIs, Neon PostgreSQL with Drizzle ORM, and antd-style for CSS-in-JS
  • Three deployment targets: web (desktop/mobile), Electron desktop app, and React Native mobile (coming soon)
  • Data flow: React UI → Zustand stores → client services → tRPC routers → server services → Drizzle models → PostgreSQL; SPA routing via react-router-dom inside Next.js
SKILL.md

LobeHub Project Overview

The directory listings below are a curated map of key locations, not an exhaustive tree. packages/, src/store/, route groups etc. grow over time — run ls against the real directory for the current set.

Project Description

Open-source, modern-design AI Agent Workspace: LobeHub (previously LobeChat).

Supported platforms:

  • Web desktop/mobile
  • Desktop (Electron)
  • Mobile app (React Native) — separate repo, already launched (not in this monorepo)

Logo emoji: 🤯

Complete Tech Stack

Related skills

More from lobehub/lobehub

Installs
1.1K
Repository
lobehub/lobehub
GitHub Stars
77.1K
First Seen
Jan 27, 2026