{"repo":"Yuyu123fish/Fish-Agent","free":true,"listed":false,"github":"https://github.com/Yuyu123fish/Fish-Agent","clone":"git clone https://github.com/Yuyu123fish/Fish-Agent.git","description":"基于 Spring AI Alibaba ReAct 的FishAgent全栈智能体应用。具备分层记忆、三路 RAG 检索、知识库闭环、流式对话与多维限流能力。Java + Python + Vue 3 全栈架构。","language":"Java","stars":10,"topics":["agent","dashscope","deepseek","elasticsearch","java","llm","mysql","rag","redis","spring-boot"],"license":null,"category":"ai-agents","readme_excerpt":"Fish-Agent 基于 Spring AI Alibaba ReAct 的全栈智能体应用。具备三层记忆、五级 RAG 管线、知识库闭环、知识卡片系统、流式对话与多维限流能力；工程化方面实现了 MDC 全链路追踪、Resilience4j 熔断保护和 Redis 多级缓存。Java + Python + Vue 3 全栈架构。 Vibecoding 项目 ：从最初的需求分析与架构选型由人工完成，后续所有代码编写、代码审查、Bug 修复均由 AI 驱动。这也是对「AI 辅助全栈开发」的一次实战验证。 读 document/ 目录下的全景文档与模块详解可快速上手此项目，也可将其作为学习以下技术的参考： - ReAct Agent 工具编排与 SPI 插件体系 - Spring AI 多模型路由、Chat/Embedding 独立配置 - RAG 五级管线 LLM 查询扩展 → 四索引双路并发召回 → RRF 分数融合 → Cross-Encoder 精排 → Top-K 注入 - Resilience4j Circuit Breaker 熔断保护（Reactor Flux + 同步双模式） - Spring Cache + Redis 多级缓存、userId 防 key 越权、延迟驱逐 - MDC TraceId 全链路追踪（Servlet / CompletableFuture / Reactor / SSE 四层传播） - Redis Stream 消息队列、Lua 令牌桶限流、会话锁 - Elasticsearch dense vector 向量检索 + ik max word 全文双路召回 - Python 6 种格式文档解析 + 结构感知分块（PDF/TXT/DOCX/HTML/XLSX/PPTX） - Vue 3 + SSE 流式对话前端、知识图谱可视化、翻转复习、暗夜模式 核心能力链 登录鉴权 → Redis 令牌桶 + SSE 并发限流 → 同会话互斥锁 → TraceFilter 注入 traceId → 多轮 SSE 流式对话 → CircuitBreaker 熔断保护 → 三层短期记忆（L1 Redis → L2 快照 → L3 全量）+ 长期事实抽取 → RAG 五级管线（查询扩展 → 四索引双路召回 → RRF 融合 → Cross-Encoder 精排 → Top-K 注入）→ ReAct 工具调用。 对话模型 DashScope / Ollama / DeepSeek 三路可选，嵌入独立配置，切换只需一个环境变量。 知识库闭环：前端上传（直传/分片）→ Java 写入 RustFS + MySQL + Redis Stream → Python Worker 异步消费 → PyMuPDF + Tesseract OCR 解析 PDF → tiktoken 分块 → DashScope embedding → ES 批量写入 → 前端管理页。 技术栈 层级 技术 说明 ------ ------ ------ 运行时 JDK 21 虚拟线程 spring.threads.virtual.enabled=true 框架 Spring Boot 3.5.13 + Spring AI 1.1.4 + Spring AI Alibaba 1.1.2 ReAct Agent + ModelCallLimitHook AI 模型 DeepSeek (Chat) / DashScope (Embedding) / Ollama Cha","default_branch":null,"files":null,"tree":[],"storefront":"/r/Yuyu123fish","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Yuyu123fish/Fish-Agent/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}