AI 工具AI TOOLS· CHAT-AGENT
huggingface/chat-ui
HuggingChat的开源代码库,让你快速搭建自己的AI聊天界面。Run your own chat interface powered by any OpenAI-compatible model, using your own API key.
根据公开文档整理,未运行实测;费用以项目官网为准。Based on public documentation, without runtime testing. Check the project site for pricing.
能力CAPABILITIES
搭建自己的聊天界面
连接多种聊天模型
自定义应用名称和描述
添加外部搜索功能
自动同步模型配置
Chat with any OpenAI-compatible model using your own interface key
Run the interface locally with Docker or npm
Customize the app name, description, and theme
Add the shared setup tools like web search to your conversations
Sync model metadata from the Hugging Face switching
上手GET STARTED
git clone https://github.com/huggingface/chat-ui选择与你的环境对应的方式。命令来自项目文档,未运行实测。Choose the option for your environment. Commands come from project documentation and have not been run-tested.
使用限制LIMITATIONS
以下要求与风险来自文档静态检查,未执行项目代码;扫描没有命中,不代表使用安全。Risk here is evidence, not an alarm. These findings come from static scanning of the docs; we never execute a project’s code.
限制LIMITS
需检查Needs review
静态扫描STATIC SCAN
01读取 API KeyReads an API keyreadme
Models are discovered from `${OPENAI_BASE_URL}/models`, and you can optionally override their metadata via the `MODELS` env var (JSON5). Leg静态扫描发现一个中等风险:代码会从环境变量中读取 API Key(如 `OPENAI_API_KEY`),如果配置不当或日志泄露,可能导致密钥暴露。The static scan flagged a medium risk: the app reads your API key from environment variables. This is expected for any tool that needs an API key, but you should ensure your .env.local file is not exposed in version control or shared publicly.
项目动态PROJECT ACTIVITY
首次发现FIRST SEEN
03 OCT 202603 OCT 2026
增长GROWTH
+0.6%+0.6%
11k → 11k stars · 48 个快照11k → 11k stars · 48 snapshots
讨论DISCUSSION
1 SOURCES1 SOURCES
5 条外部提及5 external mentions
状态STATUS
持续活跃Active
质量 A-Quality A-
近7天有16次提交,项目维护活跃HuggingChat's own codebase is open source and actively maintained (16 commits in the last week).
HN_STORY · 713 points · 171 comments
HN_STORY · 534 points · 153 comments
HN_STORY · 982 points · 465 comments
依赖:Dependencies:@aws-sdk/credential-providers, @huggingface/hub, @huggingface/inference, @iconify-json/bi, @modelcontextprotocol/client, @modelcontextprotocol/core, @modelcontextprotocol/node, @modelcontextprotocol/server, @polka/compression, @resvg/resvg-js, @slack/bolt, @slack/web-api
{
"agents": [
{
"agent": "claude-code",
"evidence": "tree: .claude/"
}
],
"apiKey": "ps://router.huggingface.co/v1 OPENAI_API_KEY=hf_************************ ``` `OPENA",
"docker": null,
"taxonomy": {
"scores": {
"design": 3,
"ai-tools": 3,
"dev-tools": 1,
"indie-web": 0,
"skill-agent": 0,
"productivity": 0
},
"primary": "ai-tools",
"secondary": "chat-agent"
},
"localRuntime": "t speaks the OpenAI protocol (llama.cpp server, Ollama, OpenRouter, etc.) will",
"skillMdTotal": 1,
"skillMdErrors": [],
"treeTruncated": false,
"categoryScores": {
"data": 1,
"agent": 0,
"media": 0,
"design": 4,
"browser": 0,
"devtool": 1,
"security": 0,
"marketing": 0,
"productivity": 0
},
"classification": [
{
"signal": "1 SKILL.md with name + description",
"weight": 0.95
},
{
"signal": "skills/ directory with 1 markdown files",
"weight": 0.75
}
],
"scannedSources": [
"readme",
".claude/skills/sync-models/SKILL.md"
],
"skillMdFetched": 1
}