{
  "markdown": "# HR-Agent\n\n> 智能人力资源管理平台 — AI 驱动的全栈 HR 管理系统\n\n[![文档站点](https://img.shields.io/badge/docs-hragent-blue?style=flat-square&logo=readthedocs)](https://hyyxhwy1314.github.io/hragent/)\n[![GitHub last commit](https://img.shields.io/github/last-commit/hyyxhwy1314/hragent?style=flat-square)](https://hyyxhwy1314.github.io/hragent/)\n[![Java 17](https://img.shields.io/badge/Java-17-ED8B00?style=flat-square&logo=openjdk&logoColor=white)](https://hyyxhwy1314.github.io/hragent/)\n[![Spring Boot 3](https://img.shields.io/badge/Spring_Boot-3.3-6DB33F?style=flat-square&logo=spring-boot&logoColor=white)](https://hyyxhwy1314.github.io/hragent/)\n[![Vue 3](https://img.shields.io/badge/Vue_3-3.5-4FC08D?style=flat-square&logo=vue.js&logoColor=white)](https://hyyxhwy1314.github.io/hragent/)\n[![MySQL](https://img.shields.io/badge/MySQL-5.7-4479A1?style=flat-square&logo=mysql&logoColor=white)](https://hyyxhwy1314.github.io/hragent/)\n[![Redis](https://img.shields.io/badge/Redis-6.2-DC382D?style=flat-square&logo=redis&logoColor=white)](https://hyyxhwy1314.github.io/hragent/)\n\n---\n\n## 项目简介\n\nHR-Agent 是一个**AI 驱动的智能人力资源管理平台**，后端采用 Spring Boot 3 + Java 17，前端采用 Vue 3 + TypeScript + Ant Design Vue。系统深度融合 AI 大模型能力，提供自然语言交互的 HR 操作体验，并集成 Flowable 工作流引擎实现流程自动化审批。\n\n## 核心功能\n\n### 🤖 AI 智能助手\n\n自然语言驱动的 HR 操作助手，支持对话式查询员工、简历、审批进度等，动态工具加载节省 Token\n\n### 👤 员工管理\n\n员工信息 CRUD，支持多角色权限体系（员工/主管/HR/HRBP/管理员）\n\n### 📄 简历管理\n\n候选人简历管理，AI 解析结构化 JSON，智能标签匹配与评分\n\n### 📋 流程审批\n\nFlowable 工作流引擎驱动入职/离职等审批流程，全程轨迹追踪\n\n### 📊 绩效管理\n\n员工绩效记录与评估管理\n\n### 📚 培训管理\n\n培训课程目录管理与能力标签匹配推荐\n\n### 📈 数据看板\n\n工作台仪表盘，含指标卡片、Token 消耗趋势图、活动日志\n\n\n## 技术栈\n\n| 类别 | 技术 |\n|------|------|\n| **后端** | Java 17、Spring Boot 3.3、MyBatis-Plus 3.5、Flowable 7.0、Redis + Redisson |\n| **前端** | Vue 3.5、TypeScript 5.6、Ant Design Vue 4、ECharts 6、Pinia |\n| **数据库** | MySQL 5.7+、Redis 6.2+ |\n| **AI** | 对接阿里云 MaaS / OpenRouter 大模型 API，SSE 流式对话 |\n| **构建** | Maven、Vite、Docker Compose |\n| **其他** | JWT 鉴权、AOP 切面、阿里云 OCR、邮件通知 |\n\n## 快速开始\n\n### 前置要求\n\n- JDK 17+\n- Node.js 22+\n- Docker & Docker Compose\n- Maven 3.8+\n\n### 启动基础设施\n\n```bash\ndocker-compose up -d\n```\n\n### 启动后端\n\n```bash\n# 构建\nmvn clean package -DskipTests\n\n# 启动（需要配置 AI_API_KEY 环境变量）\njava -jar target/hr-agent-0.0.1-SNAPSHOT.jar\n```\n\n### 启动前端\n\n```bash\ncd frontend\nnpm install\nnpm run dev\n```\n\n> 默认登录：工号 + 密码 `123456`\n> 详细部署文档请参考 [部署指南](https://hyyxhwy1314.github.io/hragent/#/deploy/guide) 和 [快速开始](https://hyyxhwy1314.github.io/hragent/#/guide/quickstart)\n\n## 项目结构\n\n```\nhr-agent/\n├── src/main/java/org/example/hragent/\n│   ├── agent/          # AI 智能体（模型调用、工具管理、对话）\n│   ├── controller/     # REST API 控制器\n│   ├── service/        # 业务逻辑层\n│   ├── mapper/         # MyBatis 数据访问\n│   ├── entity/         # 数据实体\n│   ├── config/         # 配置类\n│   ├── annotation/     # 自定义注解\n│   ├── aspect/         # AOP 切面（缓存/分布式锁/限流）\n│   └── utils/          # 工具类\n├── frontend/           # Vue 3 + TypeScript 前端\n│   └── src/\n│       ├── views/      # 页面组件\n│       ├── api/        # API 接口封装\n│       ├── router/     # 路由配置\n│       └── layouts/    # 布局组件\n├── docs/               # Docsify 文档站点\n├── openwiki/           # OpenWiki 自动生成文档索引\n└── scripts/            # 辅助脚本\n```\n\n## 后端模块\n\n- `agent/`\n- `annotation/`\n- `aspect/`\n- `config/`\n- `constant/`\n- `controller/`\n- `converter/`\n- `dto/`\n- `entity/`\n- `exception/`\n- `interceptor/`\n- `mapper/`\n- `service/`\n- `utils/`\n- `vo/`\n\n## 前端页面\n\n- `abilityTag/`\n- `agent/`\n- `aiDashboard/`\n- `dashboard/`\n- `employee/`\n- `flow/`\n- `jobPost/`\n- `login/`\n- `performance/`\n- `resume/`\n- `resumeAbilityRel/`\n- `todo/`\n- `trainingCourse/`\n\n## 文档\n\n- [📖 文档中心](https://hyyxhwy1314.github.io/hragent/) — 完整的用户手册与 API 文档\n- [🚀 快速开始](https://hyyxhwy1314.github.io/hragent/#/guide/quickstart) — 环境搭建与运行指南\n- [🏗️ 系统架构](https://hyyxhwy1314.github.io/hragent/#/guide/architecture) — 整体架构设计\n- [🔌 API 接口](https://hyyxhwy1314.github.io/hragent/#/api/overview) — REST API 参考\n\n## 环境变量\n\n| 变量 | 必填 | 默认值 | 说明 |\n|------|------|--------|------|\n| `AI_API_KEY` | 是 | — | AI 模型 API 密钥 |\n| `AI_BASE_URL` | 否 | 阿里云 MaaS 地址 | AI 服务地址 |\n| `AI_MODEL_NAME` | 否 | deepseek-v4-flash-0731 | 模型名称 |\n| `MAIL_PASSWORD` | 否 | — | QQ SMTP 授权码 |\n| `COS_ACCESS_KEY` | 否 | — | 对象存储密钥 |\n\n## 许可证\n\n[MIT](LICENSE)\n\n---\n\n> 文档自动生成于 2026-09-08 | [OpenWiki](https://hyyxhwy1314.github.io/hragent/) 驱动\n",
  "bytes": 4225,
  "sha": "957a239f7bfd23043139c74d7d480c94801a5cc1828a6322c8f3c794d96f9c3b",
  "repo_slug": "hyyxhwy1314/hragent",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/okf_hyyxhwy1314_hragent_openwiki_index_md_df306e92/readme"
}