# Repository Briefing: u14app/neo-chat
> Source: https://repoforai.com/repo/u14app/neo-chat (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/u14app/neo-chat
- **Official Docs / Website**: https://neo.u14.app
- **Category**: Chat UI & AI Apps (聊天界面与 AI 应用)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (88/100 · Maintenance 26/35 · Adoption 22/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v2.7.0 (2026-10-21) — https://github.com/u14app/neo-chat/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Docker, Self-Hosted, MCP, API
- **Momentum**: 1,882 ★ total (+0 24h / +1 7d) · 625 forks
- **Topics**: `ai`, `ai-chat`, `gemini`, `openai`, `skills`
- **When to Use**: Best for: Individuals and trusted groups that want a self-hosted multi-provider workspace with browser-local history, file retrieval, and configurable agent tools. Skip if: You need managed accounts out of the box, strictly offline inference without a separate model runtime, or research and agent jobs that keep running after the page closes.

## Overview
```text
### Architecture & Core Mechanics
Neo Chat is a TypeScript workspace built with Next.js and React. Conversations and workspace files stay in the browser by default; requests typically pass through the app's API routes to the selected providers and services. The dependency set includes `@google/genai`, `openai`, and `@anthropic-ai/sdk` for provider access, alongside `localforage`, `opfs-tools`, and `@automerge/automerge` in the client data stack. Agent and Deep Research orchestration runs in the foreground, so persistence enables recovery rather than detached background execution.

The extension paths serve different purposes: text Skills provide reusable instructions, OpenAPI plugins expose APIs as tools, and MCP connects external servers. The optional Docker bridge connects allowlisted local stdio servers; it is distinct from the experimental MCP Apps display host, which is off by default and requires a separate sandbox. Agent mode supports tool and Skill discovery, scoped memory, and effect-aware confirmation when actions have side effects.

### Key Capabilities & Differentiators
The provider layer supports Google, OpenAI, Anthropic, and OpenAI-compatible endpoints, with image input and generation where supported. Beyond chat, it combines file attachments, knowledge-base retrieval, local search, reusable assistant presets, memory, and voice. Deep Research provides reviewable plans and cited reports; Agent mode can ask structured questions and operate on workspace files and editable Artifacts.

The output layer renders Markdown, math, diagrams, and charts, with dependencies such as KaTeX, Mermaid, and ECharts. Intelligent UI adds controls that users can interact with in place, including forms, quizzes, calculators, and linked data explorers. Follow-up turns can receive the interface source and reported visible results. A persistent viewer preserves saved progress across inline and expanded views, while sharing includes user-entered values only when selected.

### Trade-offs & Limitations
Compared with managed ChatGPT, Neo Chat offers control over provider selection, extensions, and where conversation history is stored, but shifts endpoint configuration, credentials, and deployment upkeep to the operator. Local-first storage does not mean offline inference: the content needed for a request still goes to the selected provider or service. Switching providers also does not guarantee feature parity, particularly for image input or generation.

ZIP backup and restore and optional end-to-end encrypted WebDAV or S3/MinIO sync help with portability, but they are not full environment snapshots. ZIP backups omit credentials and external service data; custom Research templates and report Q&A stay browser-local and are excluded from both backup and sync. Closing the page interrupts Agent and Research runs, which must be resumed explicitly. The deployment password is a shared access gate, not a multi-user account system.

### Hardware & Deployment Guide
For a source checkout, use Node.js 24 and pnpm 10.30.3 via Corepack, run `corepack pnpm install --frozen-lockfile` and `corepack pnpm dev`, then add a provider and key at `localhost:3000`. The official Docker image is `ghcr.io/u14app/neo-chat:latest`; the supplied Compose configuration builds `neo-chat:local` and binds `127.0.0.1:3000`. The loopback quickstart's `BYOK_ALLOW_EPHEMERAL_KEY=true` is not a production default. For a public multi-instance deployment, configure access protection, stable BYOK encryption keys, and shared runtime stores rather than relying on temporary keys and in-memory rate limiting.

Vercel uses the Next.js preset; Cloudflare Workers uses `corepack pnpm build:worker` and `corepack pnpm deploy:worker`, with `--keep-vars` preserving dashboard variables. The app does not need a GPU for external API inference; size the app host for concurrency and payloads, and any self-operated inference host separately. Release v2.5.0 expanded Agent discovery and recovery, v2.6.0 introduced Intelligent UI, and v2.7.0 added its desktop side panel and narrow-screen dialog, with a save-before-transfer workflow.
```

## Key Capabilities
```text
- Provider integration: Google, OpenAI, Anthropic, and OpenAI-compatible endpoints, with image input and generation where supported.
- Tool extensibility: Text Skills, OpenAPI plugins, remote MCP, and an optional Docker bridge for allowlisted local stdio servers.
- Agent recovery: Persistent execution records and effect-aware confirmations; closing the page interrupts runs, and resumption is manual.
- Data portability: Browser-local storage by default, ZIP backup and restore, and optional end-to-end encrypted WebDAV or S3/MinIO sync.
- Interactive output: v2.7.0 adds a dedicated viewer that saves pending state before moving a live interface between views.
- Production operations: Docker, Vercel, and Cloudflare Workers are supported; public multi-instance deployments should use stable BYOK keys and shared runtime stores.
```

## Quick Start / Clone
```bash
docker run --rm -p 127.0.0.1:3000:3000 \
  -e ACCESS_PASSWORD='replace-with-a-strong-password' \
  -e BYOK_ALLOW_EPHEMERAL_KEY=true \
  ghcr.io/u14app/neo-chat:latest
```
