+# MiroFish Neo4j Edition
-

+English | [中文](./README-ZH.md)
-

+This project is a secondary development based on the original open-source repository [666ghj/MiroFish](https://github.com/666ghj/MiroFish).
-简洁通用的群体智能引擎,预测万物
-
-
A Simple and Universal Swarm Intelligence Engine, Predicting Anything
+The main change in this edition is replacing the Zep Cloud graph-memory dependency with a local Neo4j backend, so the project can run with local graph storage and local graph search while keeping the original MiroFish multi-agent simulation workflow.
-

+The project follows the same source license as the original repository: **AGPL-3.0**.
-[](https://github.com/666ghj/MiroFish/stargazers)
-[](https://github.com/666ghj/MiroFish/watchers)
-[](https://github.com/666ghj/MiroFish/network)
-[](https://hub.docker.com/)
-[](https://deepwiki.com/666ghj/MiroFish)
+## What Changed
-[](http://discord.gg/ePf5aPaHnA)
-[](https://x.com/mirofish_ai)
-[](https://www.instagram.com/mirofish_ai/)
+- Replaced Zep Cloud graph storage/search with local Neo4j adapters.
+- Added Neo4j graph builder, entity reader, memory updater, and search service.
+- Added local graph service factory for switching graph backends.
+- Improved report-agent search tool output for:
+ - Deep Insight
+ - Panorama Search
+ - Quick Search
+- Added LLM 429 rate-limit waiting and retry logic.
+- Added deterministic football score probability reporting for football simulation scenarios.
+- Added local Neo4j Docker Compose configuration.
-[English](./README.md) | [中文文档](./README-ZH.md)
+## Features
-
+- Upload seed documents and build a graph from extracted entities and relations.
+- Generate simulation agents and social behavior profiles.
+- Run dual-platform social simulation.
+- Generate prediction reports with graph search tools.
+- Use local Neo4j as the default graph backend.
+- Produce football score probabilities when the scenario contains football/score/Poisson/lambda signals.
-## ⚡ Overview
+## Architecture
-**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](https://666ghj.github.io/mirofish-demo/)
-
-## 📸 Screenshots
-
-