# long-ai-agent **Repository Path**: wellsxia/long-ai-agent ## Basic Information - **Project Name**: long-ai-agent - **Description**: 基于 Spring Boot 3 + Spring AI 构建的企业级 AI 智能体平台,支持多轮对话、RAG 知识库检索、Tool Calling 工具调用、MCP 集成,采用 ReAct 模式实现自主规划。 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2026-03-11 - **Last Updated**: 2026-03-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Long AI Agent 基于 Spring Boot + Vue3 的 AI 智能助手应用平台。 ## 项目结构 ``` long-ai-agent/ ├── src/ # Spring Boot 后端 │ └── main/ │ ├── java/com/xlongma/aiagent/ │ │ ├── controller/ # API 接口 │ │ ├── agent/ # AI Agent 实现 │ │ ├── app/ # 应用层 │ │ ├── tools/ # Agent 工具 │ │ └── rag/ # RAG 相关 │ └── resources/ │ └── application.yml └── long-ai-agent-frontend/ # Vue3 前端 └── src/ ├── views/ │ ├── Home.vue # 主页 │ ├── GeneralApp.vue # AI 应用 │ └── Agent.vue # AI 超级智能体 └── router/index.js ``` ## 技术栈 **后端:** Spring Boot 3、Spring AI、PostgreSQL、pgvector **前端:** Vue 3、Vue Router、Vite、SSE ## 快速开始 ### 后端 1. 配置环境变量: ```bash PG_USERNAME=your_username PG_PASSWORD=your_password AI_DASHSCOPE_API_KEY=your_api_key ``` 2. 启动后端: ```bash ./mvnw spring-boot:run ``` 后端运行在 `http://localhost:8123` ### 前端 ```bash cd long-ai-agent-web npm install npm run dev ``` 前端运行在 `http://localhost:3000`,自动打开浏览器。 ## API 接口 | 接口 | 方法 | 参数 | 说明 | |-----|-----|-----|-----| | `/api/ai/general_app/chat/sse/emitter` | GET | message, chatId | AI 应用对话 (SSE) | | `/api/ai/agent/chat` | GET | message | AI 超级智能体对话 (SSE) | ## License MIT