zhanghongyu_0626 1ddd44a6cb Add core database support and enhance documentation
- Introduced `MYSQL_CORE_DATABASE` in `.env.example` and `settings.py` for core database configuration.
- Added `CoreReadOnlyRepository` for read-only access to the `jinrong_core` database.
- Updated `AGENTS.md`, `README.md`, and various documentation files to reflect new agent onboarding processes and project structure.
- Revised requirements in `requirements.txt` to include `langgraph` and `langchain-core`.
- Enhanced `FLOW.md` with local bootstrap instructions for setting up the core simulation environment.
- Added new scripts for database creation and seeding for the core simulation library.
- Improved overall documentation for clarity on project architecture and memory management.
- Updated `TODO.md` to reflect current development priorities and tasks.
2026-09-05 17:39:16 +08:00

JinRong · 金融四 Agent 智能管家

四个 Agent(客户财富 / 代理人助手 / 数据分析 / 风控监测)共用统一数据层与合规底座。

文档

目录 内容
docs/memory/MEMORY.md 项目记忆入口(新 Agent 读 §0 交接清单)
docs/需求拆解/ 业务场景、数据矩阵、合规
docs/项目框架设计/ 表设计、技术选型、JWT 手册

后端结构

app/
├── api/          # 路由:chat、knowledge、admin
├── service/      # Agent、RAG、记忆
├── tool/         # 解析、Embedding、Milvus
├── model/        # Pydantic + ORM
├── repository/   # Core 只读 core_ro(已实现)
├── config/       # settings、database
├── utils/
└── main.py

环境要求

  • Python 3.13+、MySQL 8.0、Redis 8、Neo4j Desktop、Ollama(bge-m3)
  • Windows 原生部署(见技术选型文档)

快速启动

cp .env.example .env
pip install -r requirements.txt
# 首次:灌 Core 模拟库与同步 — 见 docs/memory/FLOW.md §0
uvicorn app.main:app --reload

健康检查:GET http://127.0.0.1:8000/health

前端

React 19 + Vite 7 + Ant Design 5(待 init web/ 目录)。

S
Description
金金融融的
Readme
2 MiB
Languages
Python 98.1%
PowerShell 1.9%