Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
基于 Gemini 的可视化多智能体深度推理引擎 | A visual multi-agent deep reasoning engine powered by Gemini, featuring dynamic planning, chain-of-thought visualization, and multi-session management. Built with React 19 + TypeScript + Vite 6.
| Date | Stars |
|---|---|
| 2026-07-31 | 337 |
| 2026-08-02 | 337 |
| 2026-08-06 | 337 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
15.0
growth rate 0.00%/day
# Prisma
<p align="center">
<a href="./README.md">中文</a> | <a href="./README.en.md">English</a>
</p>
<div align="center">
<p>
<strong>面向 Gemini 与 OpenAI 兼容模型的可视化深度多智能体推理引擎</strong>
</p>
<p>
<a href="https://prisma-8yz.pages.dev/" target="_blank">
<img src="https://img.shields.io/badge/Online_Demo-Live-success?style=for-the-badge&logo=cloudflare&logoColor=white" alt="Online Demo">
</a>
<a href="https://ai.studio/apps/drive/1JWPILJ3NT10NR4eOeGiqBi6OZuRaEszO?fullscreenApplet=true" target="_blank">
<img src="https://img.shields.io/badge/AI_Studio-Build-orange?style=for-the-badge&logo=google&logoColor=white" alt="AI Studio Build">
</a>
<a href="./LICENSE" target="_blank">
<img src="https://img.shields.io/badge/license-MIT-blue?style=for-the-badge" alt="License">
</a>
</p>
<p>
<img src="https://img.shields.io/badge/React-19-61DAFB?style=flat-square&logo=react&logoColor=black" alt="React">
<img src="https://img.shields.io/badge/TypeScript-5.8-3178C6?style=flat-square&logo=typescript&logoColor=white" alt="TypeScript">
<img src="https://img.shields.io/badge/Gemini_SDK-1.34+-8E75B2?style=flat-square&logo=google&logoColor=white" alt="Gemini SDK">
<img src="https://img.shields.io/badge/Vite-6.0-646CFF?style=flat-square&logo=vite&logoColor=white" alt="Vite">
</p>
</div>
---
## 📖 项目简介
**Prisma** 是一款探索多模型推理极限的实验性应用。它不仅仅是一个聊天机器人,更是一个**可视化的思维实验室**。
它引入了 **"深度多智能体推理 (Deep Multi-Agent Reasoning)"** 架构,将复杂的用户问题动态分解为子任务,分派给专门的 AI 专家角色并行处理。用户可以实时观看 AI 如何通过 **Manager(规划) -> Experts(执行) -> Synthesis(综合)** 的工作流来解决复杂问题。
## 🔗 在线体验
无需部署,直接体验 Prisma 的强大推理能力:
| 平台 | 入口 | 说明 |
| :------------------- | :------------------------------------------------------------------------------------------------------ | :----------------------------------------------------------------------- |
| **Google AI Studio** | [🚀 **立即运行**](https://ai.studio/apps/drive/1JWPILJ3NT10NR4eOeGiqBi6OZuRaEszO?fullscreenApplet=true) | **推荐**。直接登录 Google 账号即可免费使用,无需配置 API Key,开箱即用。 |
| **Web 演示版** | [🌐 **访问网页**](https://prisma-8yz.pages.dev/) | 纯前端版本,**需要填写您自己的 Google API Key** 才能运行。 |
---
## ✨ 核心特性
### 🧠 深度多智能体架构 (Deep Reasoning)
- **动态规划 (Manager Agent)**:根据用户的问题,智能分析并决定需要哪些领域的“专家”介入。
- **并行专家池 (Expert Pool)**:系统会自动生成专门的 AI 角色(如“逻辑学家”、“代码架构师”、“历史研究员”),它们并行工作,互不干扰。
- **递归优化 (Recursive Refinement)**:
- **自省循环**:Manager 会审查专家的输出。如果发现逻辑漏洞或信息缺失,会自动驳回并启动下一轮修正。**当前实现最多进行 2 轮专家执行(初始轮 + 1 轮复审修正)**。
- **最终综合**:将分散的专家意见汇聚成一篇逻辑严密、内容详实的最终回复。
### 👁️ 全链路可视化
- **思维流 (Process Flow)**:通过动态节点图展示当前的推理状态(Analyzing -> Working -> Reviewing -> Synthesizing)。
- **透明化思考**:你可以点开每一个“专家卡片”,查看其私有的 **Internal Monologue (内部独白)** 和 **Draft Output (草稿)**。
- **实时计时器**:精确追踪每个环节的耗时,了解 AI 的时间分配。
### ⚙️ 精细化控制
- **思考预算 (Thinking Budget)**:
- 支持为 **规划**、**执行**、**综合** 三个阶段分别设置思考深度(Minimal, Low, Medium, High)。
- 这决定了模型在生成 Token 时分配给 "Thinking" 字段的配额。
- **模型管理**:不预置任何模型配置,启动后由用户自行添加 Gemini API 或 OpenAI 兼容 API 模型。
### 🛠️ 现代化工程体验
- **自定义 API 网关**:支持配置 Custom Base URL,方便国内用户通过反向代理连接。
- **Markdown & LaTeX**:完美渲染复杂的数学公式、代码块和图表。
- **本地优先**:聊天会话存储在浏览器 **IndexedDB** 中,轻量偏好设置存储在 `localStorage` 中,保护隐私。
### 📎 附件能力说明
- **Google 模型**:图片、PDF、音视频、文本/代码附件会以内联数据方式发送;对较大的文件,仍可能受上游接口限制。
- **OpenAI 兼容模型**:支持图片和文本/代码附件;**PDF、音频、视频附件会在发送前被拦截**,避免静默丢失。
---
## ⚙️ 快速开始
### 1. 克隆项目
```bash
git clone https://github.com/yeahhe365/Prisma.git
cd Prisma
```
### 2. 安装依赖
```bash
npm install
```
### 3. 启动开发服务器
```bash
npm run dev
```
访问 `http://localhost:3000` 后,先在「设置 -> 模型管理」中添加至少一个 Gemini API 或 OpenAI 兼容 API 模型。
### 4. 运行校验
```bash
npm test
npx tsc --noEmit
npm run lint
npm run build
```
### 5. 使用 Docker 部署
```bash
docker compose up --build
```
默认映射到 `http://localhost:8081`。如果本机端口已Excerpt of 8,152 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:d1816bf0d7921783, topic:multi-agent, desc:multi-agent, desc:multi agent