u14app/neo-chat
Local-first AI workspace for self-hosted multi-model chat, agents, and research
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
Individuals and trusted groups that want a self-hosted multi-provider workspace with browser-local history, file retrieval, and configurable agent tools.
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.
Quick Start & Installation
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
Comparison vs. Top Chat UI & AI Apps Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| neo-chat ★ | 1.9k | +1 | TypeScript | MIT | Local-first AI workspace for self-hosted multi-model chat, agents, and research |
| LibreChat | 47.8k | +232 | TypeScript | MIT | A self-hosted AI chat workspace for multiple model providers and MCP tools |
| NextChat | 89k | +28 | TypeScript | MIT | Self-host a Next.js chat client for cloud and private model APIs |
| openclaw | 395.6k | +570 | TypeScript | MIT | A self-hosted Gateway for one AI assistant across chats and devices |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/u14app/neo-chat.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about neo-chat
How do I connect a model provider and extend it with tools?
Does a self-hosted instance need a GPU, and how should I size it?
Can a company self-host Neo Chat under the MIT license?
When is Neo Chat a better fit than managed ChatGPT?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy