Building Multi-Agent Chat: When Multiple AI Minds Collaborate

Why Multi-Agent? 传统的 AI 对话都是一对一的 — 你问,它答。但现实中的问题往往需要多角度思考。一个技术决策,理性的分析师和创造性的探索者会给出截然不同的建议;一个创意方案,批评者和实用主义者会看到完全不同的盲点。 这个项目的核心问题是:如果我们让多个具有不同人格和专长的 AI 智能体一起讨论,能不能得到比单一 AI 更全面、更有洞见的答案? 这就是 Pluralistic AI Reasoning — 多元化 AI 推理。 Architecture Decisions Flutter for Everything 选择 Flutter 不是因为它是最流行的,而是因为我们需要真正的跨平台 — Web、iOS、Android、桌面端全覆盖。Multi-Agent Chat 作为一个协作讨论工具,用户可能在手机上快速发起讨论,在桌面上深度参与辩论,或者通过 Web 端分享给没有安装 App 的朋友。 Material 3 的设计语言给了我们统一且现代的 UI 基础,dark/light 主题切换也变得自然。 Firebase as the Invisible Backend 我们选择了 Serverless 架构 — Firebase 提供认证、数据库、实时同步,不需要自己维护任何服务器。Firestore 的 snapshot listener 让多用户实时协作变得简单: // 毫秒级的实时同步就这么简单 firestore.collection('messages').snapshots().listen((snapshot) { // 所有群组成员同时看到新消息 }); Unified SSE Engine 一个关键的技术决策:用一个统一的方法处理所有 LLM 提供商。Kimi、DeepSeek、Qwen、Doubao 都支持 OpenAI 兼容的接口,所以我们的 SSE 流式引擎只需要一个核心方法: ...

April 9, 2026 · 1 min · 190 words · FallField

The problems when I was delopying Hugo

My Journey with Hugo Deployment Introduction Hugo is a Common Challenges 1. Theme Installation One of the first hurdles I faced was properly installing and configuring a Hugo theme. The process requires careful attention to: Theme compatibility with your Hugo version Correct placement of theme files Proper configuration in config.toml or config.yaml 2. Content Organization Organizing content in Hugo can be tricky, especially when dealing with: Post front matter Image assets Custom layouts Content types 3. Build Process The build process itself presented several challenges: ...

September 15, 2025 · 2 min · 244 words · Me