A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物
Go to file
666ghj 593f7050f2 Update README files to clarify the description of the Python package manager by removing the reference to pip as an alternative. 2025-12-19 16:03:44 +08:00
backend Refactor project structure by removing Docker support and updating environment configuration 2025-12-19 13:58:35 +08:00
frontend Update Home.vue to remove trailing punctuation in hero description for improved readability 2025-12-19 16:02:25 +08:00
static/image Add MiroFish logo images 2025-12-10 14:00:22 +08:00
.env.example Refactor project structure by removing Docker support and updating environment configuration 2025-12-19 13:58:35 +08:00
.gitignore Update project configuration and structure with Docker support and environment variable adjustments 2025-12-17 18:17:40 +08:00
LICENSE Add GNU AGPL v3 License 2025-12-19 15:24:16 +08:00
README-EN.md Update README files to clarify the description of the Python package manager by removing the reference to pip as an alternative. 2025-12-19 16:03:44 +08:00
README.md Update README files to clarify the description of the Python package manager by removing the reference to pip as an alternative. 2025-12-19 16:03:44 +08:00
package-lock.json Initialize project with version 0.1.0 and update package configurations 2025-12-18 18:30:29 +08:00
package.json Initialize project with version 0.1.0 and update package configurations 2025-12-18 18:30:29 +08:00

README.md

MiroFish Logo

简洁通用的群体智能引擎,预测万物
A Simple and Universal Swarm Intelligence Engine, Predicting Anything

English | 中文文档

项目概述

MiroFish 是一款基于多智能体技术的新一代 AI 预测引擎。通过提取现实世界的种子信息(如突发新闻、政策草案、金融信号),自动构建出高保真的平行数字世界。在此空间内,成千上万个具备独立人格、长期记忆与行为逻辑的智能体进行自由交互与社会演化。你可透过「上帝视角」动态注入变量,精准推演未来走向——让未来在数字沙盘中预演,助决策在百战模拟后胜出

你只需:上传种子材料(数据分析报告或者有趣的小说故事),并用自然语言描述预测需求
MiroFish 将返回:一份详尽的预测报告,以及一个可深度交互的高保真数字世界

我们的愿景

MiroFish 致力于打造映射现实的群体智能镜像,通过捕捉个体互动引发的「群体涌现」,突破传统预测的局限:

  • 于宏观:我们是决策者的预演实验室,让政策与公关在零风险中试错
  • 于微观:我们是个人用户的创意沙盘,无论是推演小说结局还是探索脑洞,皆可有趣、好玩、触手可及

从严肃预测到趣味仿真,我们让每一个如果都能看见结果,让预测万物成为可能。

🎬 演示视频-待上传

  1. 针对微舆BettaFish生成的武大舆情报告进行预测的完整演示视频
  2. 红楼梦结局预测完整演示视频
  3. 金融方向的预测完整演示视频

🚀 快速开始

前置要求

工具 版本要求 说明 安装检查
Node.js 18+ 前端运行环境,包含 npm node -v
Python 3.11+ 后端运行环境 python --version
uv 最新版 Python 包管理器 uv --version

1. 配置环境变量

# 复制示例配置文件
cp .env.example .env

# 编辑 .env 文件,填入必要的 API 密钥

必需的环境变量:

# LLM API配置支持 OpenAI SDK 格式的任意 LLM
# 推荐使用阿里百炼平台qwen-plus模型https://bailian.console.aliyun.com/
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_key

2. 安装依赖

# 一键安装所有依赖(根目录 + 前端 + 后端)
npm run setup:all

或者分步安装:

# 安装 Node 依赖(根目录 + 前端)
npm run setup

# 安装 Python 依赖(自动创建虚拟环境)
npm run setup:backend

3. 启动服务

# 同时启动前后端(在项目根目录执行)
npm run dev

服务地址:

  • 前端:http://localhost:3000
  • 后端 APIhttp://localhost:5001

单独启动:

npm run backend   # 仅启动后端
npm run frontend  # 仅启动前端

📄 致谢

MiroFish 的核心仿真引擎由 OASIS 驱动。OASIS 是由 CAMEL-AI 团队开发的高性能社交媒体模拟框架,支持百万级智能体交互仿真,为 MiroFish 的群体智能涌现提供了坚实的技术基础。我们衷心感谢 CAMEL-AI 团队的开源贡献!