必须先在 .env 中填好 LLM_API_KEY 和 ZEP_API_KEY,否则无法运行;LLM 消耗较高,建议先用少于 40 轮的仿真测试;默认占用 3000(前端)和 5001(后端)端口,Docker 部署同样映射这两个端口

MiroFish
666ghjAGPL-3.0活跃维护基于多智能体模拟和知识图谱的群体智能预测引擎,可对舆情、金融走势等复杂社会系统做推演与预测。
A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物
cp .env.example .env
npm run setup:all
npm run devREADME 未说明显存或 GPU 要求;需 Node.js 18+、Python 3.11~3.12 及 uv 包管理器,LLM 通过外部 API 调用
多智能体群体智能预测引擎,上传种子材料即可在数字沙盘中推演未来走向
基于多智能体模拟和知识图谱的群体智能预测引擎,可对舆情、金融走势等复杂社会系统做推演与预测。
核心能力
- 从新闻、政策、金融信号中提取种子信息构建高保真数字世界
- 生成数千个具备独立人格、长期记忆与行为逻辑的智能体自由交互
- 以「上帝视角」动态注入变量,精确推演未来轨迹
- ReportAgent 结合工具集与仿真后环境深度交互生成预测报告
- 支持与仿真世界中任意智能体对话进行深度交互
容易踩的坑
- v0.1.2V0.1.2最新正式版2026-03-07 · 2026-03-07 13:45 UTC
简洁通用的群体智能引擎,预测万物 A Simple and Universal Swarm Intelligence Engine, Predicting Anything
⚡ 项目概述
MiroFish 是一款基于多智能体技术的新一代 AI 预测引擎。通过提取现实世界的种子信息(如突发新闻、政策草案、金融信号),自动构建出高保真的平行数字世界。在此空间内,成千上万个具备独立人格、长期记忆与行为逻辑的智能体进行自由交互与社会演化。你可透过「上帝视角」动态注入变量,精准推演未来走向——让未来在数字沙盘中预演,助决策在百战模拟后胜出。
你只需:上传种子材料(数据分析报告或者有趣的小说故事),并用自然语言描述预测需求 MiroFish 将返回:一份详尽的预测报告,以及一个可深度交互的高保真数字世界
我们的愿景
MiroFish 致力于打造映射现实的群体智能镜像,通过捕捉个体互动引发的群体涌现,突破传统预测的局限:
- 于宏观:我们是决策者的预演实验室,让政策与公关在零风险中试错
- 于微观:我们是个人用户的创意沙盘,无论是推演小说结局还是探索脑洞,皆可有趣、好玩、触手可及
从严肃预测到趣味仿真,我们让每一个如果都能看见结果,让预测万物成为可能。
🌐 在线体验
欢迎访问在线 Demo 演示环境,体验我们为你准备的一次关于热点舆情事件的推演预测:mirofish-live-demo
📸 系统截图
🎬 演示视频
1. 武汉大学舆情推演预测 + MiroFish项目讲解
点击图片查看使用微舆BettaFish生成的《武大舆情报告》进行预测的完整演示视频
2. 《红楼梦》失传结局推演预测
点击图片查看基于《红楼梦》前80回数十万字,MiroFish深度预测失传结局
金融方向推演预测、时政要闻推演预测等示例陆续更新中...
🔄 工作流程
- 图谱构建:现实种子提取 & 个体与群体记忆注入 & GraphRAG构建
- 环境搭建:实体关系抽取 & 人设生成 & 环境配置Agent注入仿真参数
- 开始模拟:双平台并行模拟 & 自动解析预测需求 & 动态更新时序记忆
- 报告生成:ReportAgent拥有丰富的工具集与模拟后环境进行深度交互
- 深度互动:与模拟世界中的任意一位进行对话 & 与ReportAgent进行对话
🚀 快速开始
一、源码部署(推荐)
前置要求
工具 版本要求 说明 安装检查 Node.js 18+ 前端运行环境,包含 npm node -vPython ≥3.11, ≤3.12 后端运行环境 python --versionuv 最新版 Python 包管理器 uv --version1. 配置环境变量
# 复制示例配置文件 cp .env.example .env # 编辑 .env 文件,填入必要的 API 密钥必需的环境变量:
# LLM API配置(支持 OpenAI SDK 格式的任意 LLM API) # 推荐使用阿里百炼平台qwen-plus模型:https://bailian.console.aliyun.com/ # 注意消耗较大,可先进行小于40轮的模拟尝试 LLM_API_KEY=your_api_key LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 LLM_MODEL_NAME=qwen-plus # Zep Cloud 配置 # 每月免费额度即可支撑简单使用:https://app.getzep.com/ ZEP_API_KEY=your_zep_api_key2. 安装依赖
# 一键安装所有依赖(根目录 + 前端 + 后端) npm run setup:all或者分步安装:
# 安装 Node 依赖(根目录 + 前端) npm run setup # 安装 Python 依赖(后端,自动创建虚拟环境) npm run setup:backend3. 启动服务
# 同时启动前后端(在项目根目录执行) npm run dev服务地址:
- 前端:
http://localhost:3000 - 后端 API:
http://localhost:5001
单独启动:
npm run backend # 仅启动后端 npm run frontend # 仅启动前端二、Docker 部署
# 1. 配置环境变量(同源码部署) cp .env.example .env # 2. 拉取镜像并启动 docker compose up -d默认会读取根目录下的
.env,并映射端口3000(前端)/5001(后端)在
docker-compose.yml中已通过注释提供加速镜 - v0.1.1V0.1.12026-01-22 · 2026-01-22 10:47 UTC
查看更新说明
简洁通用的群体智能引擎,预测万物 A Simple and Universal Swarm Intelligence Engine, Predicting Anything
⚡ 项目概述
MiroFish 是一款基于多智能体技术的新一代 AI 预测引擎。通过提取现实世界的种子信息(如突发新闻、政策草案、金融信号),自动构建出高保真的平行数字世界。在此空间内,成千上万个具备独立人格、长期记忆与行为逻辑的智能体进行自由交互与社会演化。你可透过「上帝视角」动态注入变量,精准推演未来走向——让未来在数字沙盘中预演,助决策在百战模拟后胜出。
你只需:上传种子材料(数据分析报告或者有趣的小说故事),并用自然语言描述预测需求 MiroFish 将返回:一份详尽的预测报告,以及一个可深度交互的高保真数字世界
我们的愿景
MiroFish 致力于打造映射现实的群体智能镜像,通过捕捉个体互动引发的群体涌现,突破传统预测的局限:
- 于宏观:我们是决策者的预演实验室,让政策与公关在零风险中试错
- 于微观:我们是个人用户的创意沙盘,无论是推演小说结局还是探索脑洞,皆可有趣、好玩、触手可及
从严肃预测到趣味仿真,我们让每一个如果都能看见结果,让预测万物成为可能。
📸 系统截图
🎬 演示视频
1. 武汉大学舆情推演预测 + MiroFish项目讲解
点击图片查看使用微舆BettaFish生成的《武大舆情报告》进行预测的完整演示视频
2. 《红楼梦》失传结局推演预测
点击图片查看基于《红楼梦》前80回数十万字,MiroFish深度预测失传结局
金融方向推演预测、时政要闻推演预测等示例陆续更新中...
🔄 工作流程
- 图谱构建:现实种子提取 & 个体与群体记忆注入 & GraphRAG构建
- 环境搭建:实体关系抽取 & 人设生成 & 环境配置Agent注入仿真参数
- 开始模拟:双平台并行模拟 & 自动解析预测需求 & 动态更新时序记忆
- 报告生成:ReportAgent拥有丰富的工具集与模拟后环境进行深度交互
- 深度互动:与模拟世界中的任意一位进行对话 & 与ReportAgent进行对话
🚀 快速开始
一、源码部署(推荐)
前置要求
工具 版本要求 说明 安装检查 Node.js 18+ 前端运行环境,包含 npm node -vPython ≥3.11, ≤3.12 后端运行环境 python --versionuv 最新版 Python 包管理器 uv --version1. 配置环境变量
# 复制示例配置文件 cp .env.example .env # 编辑 .env 文件,填入必要的 API 密钥必需的环境变量:
# LLM API配置(支持 OpenAI SDK 格式的任意 LLM API) # 推荐使用阿里百炼平台qwen-plus模型:https://bailian.console.aliyun.com/ # 注意消耗较大,可先进行小于40轮的模拟尝试 LLM_API_KEY=your_api_key LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 LLM_MODEL_NAME=qwen-plus # Zep Cloud 配置 # 每月免费额度即可支撑简单使用:https://app.getzep.com/ ZEP_API_KEY=your_zep_api_key2. 安装依赖
# 一键安装所有依赖(根目录 + 前端 + 后端) npm run setup:all或者分步安装:
# 安装 Node 依赖(根目录 + 前端) npm run setup # 安装 Python 依赖(后端,自动创建虚拟环境) npm run setup:backend3. 启动服务
# 同时启动前后端(在项目根目录执行) npm run dev服务地址:
- 前端:
http://localhost:3000 - 后端 API:
http://localhost:5001
单独启动:
npm run backend # 仅启动后端 npm run frontend # 仅启动前端二、Docker 部署
# 1. 配置环境变量(同源码部署) cp .env.example .env # 2. 拉取镜像并启动 docker compose up -d默认会读取根目录下的 `.e
- v0.1.0V0.1.02025-12-22 · 2025-12-22 11:29 UTC
查看更新说明
简洁通用的群体智能引擎,预测万物 A Simple and Universal Swarm Intelligence Engine, Predicting Anything
⚡ 项目概述
MiroFish 是一款基于多智能体技术的新一代 AI 预测引擎。通过提取现实世界的种子信息(如突发新闻、政策草案、金融信号),自动构建出高保真的平行数字世界。在此空间内,成千上万个具备独立人格、长期记忆与行为逻辑的智能体进行自由交互与社会演化。你可透过「上帝视角」动态注入变量,精准推演未来走向——让未来在数字沙盘中预演,助决策在百战模拟后胜出。
你只需:上传种子材料(数据分析报告或者有趣的小说故事),并用自然语言描述预测需求 MiroFish 将返回:一份详尽的预测报告,以及一个可深度交互的高保真数字世界
我们的愿景
MiroFish 致力于打造映射现实的群体智能镜像,通过捕捉个体互动引发的群体涌现,突破传统预测的局限:
- 于宏观:我们是决策者的预演实验室,让政策与公关在零风险中试错
- 于微观:我们是个人用户的创意沙盘,无论是推演小说结局还是探索脑洞,皆可有趣、好玩、触手可及
从严肃预测到趣味仿真,我们让每一个如果都能看见结果,让预测万物成为可能。
🎬 演示视频
使用微舆BettaFish生成的《武大舆情报告》进行预测的完整演示视频
红楼梦结局模拟推演演示视频、金融方向预测示例演示视频等陆续更新中...
🔄 工作流程
- 图谱构建:现实种子提取 & 个体与群体记忆注入 & GraphRAG构建
- 环境搭建:实体关系抽取 & 人设生成 & 环境配置Agent注入仿真参数
- 开始模拟:双平台并行模拟 & 自动解析预测需求 & 动态更新时序记忆
- 报告生成:ReportAgent拥有丰富的工具集与模拟后环境进行深度交互
- 深度互动:与模拟世界中的任意一位进行对话 & 与ReportAgent进行对话
🚀 快速开始
前置要求
工具 版本要求 说明 安装检查 Node.js 18+ 前端运行环境,包含 npm node -vPython 3.11+ 后端运行环境 python --versionuv 最新版 Python 包管理器 uv --version1. 配置环境变量
# 复制示例配置文件 cp .env.example .env # 编辑 .env 文件,填入必要的 API 密钥必需的环境变量:
# LLM API配置(支持 OpenAI SDK 格式的任意 LLM) # 推荐使用阿里百炼平台qwen-plus模型:https://bailian.console.aliyun.com/ # 注意消耗较大,可先进行小于40轮的模拟尝试 LLM_API_KEY=your_api_key LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 LLM_MODEL_NAME=qwen-plus # Zep Cloud 配置 # 每月免费额度即可支撑简单使用:https://app.getzep.com/ ZEP_API_KEY=your_zep_api_key2. 安装依赖
# 一键安装所有依赖(根目录 + 前端 + 后端) npm run setup:all或者分步安装:
# 安装 Node 依赖(根目录 + 前端) npm run setup # 安装 Python 依赖(自动创建虚拟环境) npm run setup:backend3. 启动服务
# 同时启动前后端(在项目根目录执行) npm run dev服务地址:
- 前端:
http://localhost:3000 - 后端 API:
http://localhost:5001
单独启动:
npm run backend # 仅启动后端 npm run frontend # 仅启动前端📄 致谢
MiroFish 的核心仿真引擎由 OASIS 驱动。OASIS 是由 CAMEL-AI 团队开发的高性能社交媒体模拟框架,支持百万级智能体交互仿真,为 MiroFish 的群体智能涌现提供了坚实的技术基础。我们衷心感谢 CAMEL-AI 团队的开源贡献!
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
简洁通用的群体智能引擎,预测万物 A Simple and Universal Swarm Intelligence Engine, Predicting Anything
⚡ Overview
MiroFish is a next-generation AI prediction engine powered by multi-agent technology. By extracting seed information from the real world (such as breaking news, policy drafts, or financial signals), it automatically constructs a high-fidelity parallel digital world. Within this space, thousands of intelligent agents with independent personalities, long-term memory, and behavioral logic freely interact and undergo social evolution. You can inject variables dynamically from a "God's-eye view" to precisely deduce future trajectories — rehearse the future in a digital sandbox, and win decisions after countless simulations.
You only need to: Upload seed materials (data analysis reports or interesting novel stories) and describe your prediction requirements in natural language MiroFish will return: A detailed prediction report and a deeply interactive high-fidelity digital world
Our Vision
MiroFish is dedicated to creating a swarm intelligence mirror that maps reality. By capturing the collective emergence triggered by individual interactions, we break through the limitations of traditional prediction:
- At the Macro Level: We are a rehearsal laboratory for decision-makers, allowing policies and public relations to be tested at zero risk
- At the Micro Level: We are a creative sandbox for individual users — whether deducing novel endings or exploring imaginative scenarios, everything can be fun, playful, and accessible
From serious predictions to playful simulations, we let every "what if" see its outcome, making it possible to predict anything.
🌐 Live Demo
Welcome to visit our online demo environment and experience a prediction simulation on trending public opinion events we've prepared for you: mirofish-live-demo
📸 Screenshots
🎬 Demo Videos
1. Wuhan University Public Opinion Simulation + MiroFish Project Introduction
Click the image to watch the complete demo video for prediction using BettaFish-generated "Wuhan University Public Opinion Report"
2. Dream of the Red Chamber Lost Ending Simulation
Click the image to watch MiroFish's deep prediction of the lost ending based on hundreds of thousands of words from the first 80 chapters of "Dream of the Red Chamber"
Financial Prediction, Political News Prediction and more examples coming soon...
🔄 Workflow
- Graph Building: Seed extraction & Individual/collective memory injection & GraphRAG construction
- Environment Setup: Entity relationship extraction & Persona generation & Agent configuration injection
- Simulation: Dual-platform parallel simulation & Auto-parse prediction requirements & Dynamic temporal memory updates
- Report Generation: ReportAgent with rich toolset for deep interaction with post-simulation environment
- Deep Interaction: Chat with any agent in the simulated world & Interact with ReportAgent
🚀 Quick Start
Option 1: Source Code Deployment (Recommended)
Prerequisites
| Tool | Version | Description | Check Installation |
|---|---|---|---|
| Node.js | 18+ | Frontend runtime, includes npm | node -v |
| Python | ≥3.11, ≤3.12 | Backend runtime | python --version |
| uv | Latest | Python package manager | uv --version |
1. Configure Environment Variables
# Copy the example configuration file
cp .env.example .env
# Edit the .env file and fill in the required API keys
Required Environment Variables:
# LLM API Configuration (supports any LLM API with OpenAI SDK format)
# Recommended: Alibaba Qwen-plus model via Bailian Platform: https://bailian.console.aliyun.com/
# High consumption, try simulations with fewer than 40 rounds first
LLM_API_KEY=your_api_key
LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
LLM_MODEL_NAME=qwen-plus
# Zep Cloud Configuration
# Free monthly quota is sufficient for simple usage: https://app.getzep.com/
ZEP_API_KEY=your_zep_api_key
2. Install Dependencies
# One-click installation of all dependencies (root + frontend + backend)
npm run setup:all
Or install step by step:
# Install Node dependencies (root + frontend)
npm run setup
# Install Python dependencies (backend, auto-creates virtual environment)
npm run setup:backend
3. Start Services
# Start both frontend and backend (run from project root)
npm run dev
Service URLs:
- Frontend:
http://localhost:3000 - Backend API:
http://localhost:5001
Start Individually:
npm run backend # Start backend only
npm run frontend # Start frontend only
Option 2: Docker Deployment
# 1. Configure environment variables (same as source deployment)
cp .env.example .env
# 2. Pull image and start
docker compose up -d
Reads .env from root directory by default, maps ports 3000 (frontend) / 5001 (backend)
Mirror address for faster pulling is provided as comments in
docker-compose.yml, replace if needed.
📬 Join the Conversation
The MiroFish team is recruiting full-time/internship positions. If you're interested in multi-agent simulation and LLM applications, feel free to send your resume to: [email protected]
📄 Acknowledgments
MiroFish has received strategic support and incubation from Shanda Group!
MiroFish's simulation engine is powered by OASIS (Open Agent Social Interaction Simulations), We sincerely thank the CAMEL-AI team for their open-source contributions!