
llmcord
把 Discord 变成你的 AI 聊天前端,一个指令切换所有大模型
项目预览
项目数据
项目介绍
Star 增长趋势
本站每日记录该项目 GitHub 星标变化,观测越久曲线越完整
数据来源:GitHub API 逐日快照 · 收录于 2026-08-09 · 当前星标 ★ 839
技术标签
使用教程
环境要求
- Python 3.10+
- Discord bot token
- 模型 API Key
安装与启动步骤
-
1克隆
Discord 上的多人共用 LLM 机器人。
git clone https://github.com/jakobdylanc/llmcord cd llmcord -
2装依赖
Python 依赖一装即可。
python -m pip install -U -r requirements.txt -
3配 Token
Discord bot token 与模型 Key 写进 config。
cp config-example.json config.json # 填 bot_token 与 api_key -
4启动
跑主脚本,bot 上线后拉进服务器。
python llmcord.py
如何确认成功
在频道里 @bot 提问能收到回复,且支持图片输入。
注意事项
- 它按频道维护独立上下文,适合小群共用。
- 多模型切换在 config 的 providers 里配。
- 注意服务器配额与费用分摊。
核心亮点
- 兼容所有 OpenAI 格式 API,一次配置即可使用 OpenRouter、Ollama、vLLM 等多家服务
- 支持流式回复和上下文记忆,对话体验接近原生 ChatGPT
- 内置模型切换和用量查询指令,方便在 Discord 中灵活管理
不足之处
- 文档/社区待观察
- 依赖 Discord 平台,无法用于其他聊天工具
适用场景
- 在 Discord 服务器中为成员提供 AI 问答助手
- 个人或团队通过 Discord 快速体验不同 LLM 模型效果
- 将本地 Ollama 模型接入 Discord,实现私有化 AI 聊天
替代项目
discord.py、LangChain、OpenAI Discord Bot
上一篇:chatty
下一篇:aws-lex-web-ui
同类项目推荐
aurora
开源
免费白嫖 GPT API,一行部署接入聊天
free chatgpt api
bing-chat
开源
用 Node.js 调 Bing AI,轻松做出对话机器人
Node.js client for Bing's new AI-powered search. It's like ChatGPT on steroids
seq2seq-chatbot
开源
用TensorFlow快速搭建自己的seq2seq聊天机器人
A sequence2sequence chatbot implementation with TensorFlow.
txtchat
开源
本地文件秒变 AI 知识库,离线问答更私密
⚡ Local chat assistants with AI superpowers
AnywhereGPT-Android
开源
悬浮窗随时唤起,不切屏就能用 GPT
Anywhere GPT, the ultimate mobile app with seamless AI assistance at your fingertip···
unsaged
开源
一个工具包,无缝对接所有主流 AI 模型,聊天更自由。
Open source chat kit engineered for seamless interaction with AI models.
xiaogpt
开源
让小米音箱秒变 ChatGPT 语音入口,动口就能聊
Play ChatGPT and other LLM with Xiaomi AI Speaker
MiniCPM-V-Apps
开源
把多模态大模型装进手机,断网也能看图聊天
MiniCPM-V apps — fully offline multimodal chat on iOS / Android / HarmonyOS
macai
开源
一个原生 Mac 应用,聊遍所有主流 AI 模型
All-in-one native macOS AI chat application for virtually any AI provider