ๆบ่ฝๅฏน่ฏๅผๅฎขๆทๅ ณ็ณป็ฎก็็ณป็ป / Intelligent Conversational Customer Relationship Management System
ๅฟซ้ๅฏผ่ช | Quick Nav: ๐จ๐ณ ไธญๆ | ๐บ๐ธ English
| ไฝ้ชๆนๅผ | ๅฐๅ/่ดฆๅท | ่ฏดๆ |
|---|---|---|
| ๐ ๅจ็บฟๆผ็คบ็ซ | https://aicrm.5kcrm.cn | ไธ้ฎ่ฎฟ้ฎ๏ผๆจ่้ฆ้ |
| ๐ ๆผ็คบ็ซ่ดฆๅท | ็จๆท๏ผadmin ๅฏ็ ๏ผ 123456a |
็จไบ็ปๅฝๅจ็บฟๆผ็คบ็ซ |
| ๐ฌ ๅธฎๅฉไธ่ฎจ่ฎบ | ๅๅพ็คพๅบ่ฎบๅ | ๅ้ฆ้ฎ้ขใไบคๆตๆณๆณ |
ๆ็คบ๏ผๅจ็บฟๆผ็คบ็ซๅทฒ้ข็ฝฎ็คบไพๆฐๆฎๅๅฎขๆทไฟกๆฏ๏ผๆจๅฏไปฅ็ดๆฅ็ปๅฝๅนถไฝ้ชๆๆๆ ธๅฟๅ่ฝใ
| ๅ่ฝๆจกๅ | ๆ ธๅฟไปทๅผ |
|---|---|
| ๐ฌ AIๅฏน่ฏๅฉๆ | ๅๅไบไธๆ ท่ฏข้ฎไธๅก๏ผโไธไธๅญฃๅบฆๅไธๅบ็้ๅฎๅ ๅๆฏ่ฐ๏ผโ๏ผ็ณป็ปๅฏ็ปๅ็ปๆๅๆฐๆฎไธ็ฅ่ฏๅบๆๆกฃ๏ผ็ๆๆบ่ฝๅ็ญใ |
| ๐ง ็ฅ่ฏๅบRAGๅขๅผบ | ่ตไบAIโ่ฎฐๅฟโ๏ผไธไผ ๅ ฌๅธไบงๅๆๅใๅๅใไผ่ฎฎ็บช่ฆ๏ผAIๅฉๆ่ฝๅบไบ่ฟไบๆๆกฃๅ ๅฎน่ฟ่ก็ฒพๅ้ฎ็ญๅๆป็ปใ |
| ๐ฅ ๆบ่ฝๅฎขๆท็ฎก็ | ไธไฝๅๅฎขๆท่งๅพ๏ผ้ไธญ็ฎก็ๅฎขๆทไฟกๆฏใ่็ณปไบบใ่ท่ฟ่ฎฐๅฝ๏ผๅนถ้่ฟAI่ชๅจๅๆๅฎขๆท้ถๆฎตไธ้ๆฑใ |
| โ AIไปปๅก็ๆ | ่ชๅจๅๅปบๅทฅไฝ้กน๏ผๅจๅฏน่ฏๆๅๆๅฎขๆทๅ๏ผๅฏๆไปคAIๅๅปบๅพ ๅไปปๅก๏ผๅนถ่ชๅจ่ฎพ็ฝฎไผๅ ็บงไธๆ้ใ |
| ๐ ๆ ็ผๅข้ๅไฝ | ไฟกๆฏๅฎๆถๅๆญฅ๏ผๅฎขๆทๅจๆใไปปๅกๅ้ ใ็ฅ่ฏๆดๆฐๅๅจๅข้ๅ ๅณๆถๅๆญฅ๏ผไฟ่ฟ้ซๆๅไฝใ |
- ๅ็ซฏ: Java 21 + Spring Boot 3.x + Spring AI + PostgreSQL + Redis + MinIO
- ๅ็ซฏ: Vue 3 + TypeScript + Element Plus + Tailwind CSS
- ้จ็ฝฒ: ๆฏๆ Docker Compose ไธ้ฎ้จ็ฝฒ๏ผๆไพๅฎๆด็ไบง็ฏๅข้ ็ฝฎใ
| ๆๆฏ | ็ๆฌ | ่ฏดๆ |
|---|---|---|
| Java | 21 | ็ผ็จ่ฏญ่จ |
| Spring Boot | 3.3.12 | ๅบ็จๆกๆถ |
| Spring AI | 1.0.0 | AI/LLM ้ๆ (ๆฏๆ OpenAI ๅ ผๅฎน API) |
| PostgreSQL | 17 | ไธปๆฐๆฎๅบ |
| MyBatis-Plus | 3.5.7 | ๆฐๆฎๆไน ๅฑๆกๆถ |
| Redis | - | ็ผๅญไธไผ่ฏ็ฎก็ |
| MinIO | - | ๅฏน่ฑกๅญๅจ๏ผ็จไบๆๆกฃใๆไปถ๏ผ |
| ๆๆฏ | ็ๆฌ | ่ฏดๆ |
|---|---|---|
| Vue | 3.4 | ๅ็ซฏๆกๆถ |
| TypeScript | 5.5 | ็ฑปๅๅฎๅ จ |
| Element Plus | 2.8 | UI ็ปไปถๅบ |
| Pinia | 2.2 | ็ถๆ็ฎก็ |
| Tailwind CSS | 3.4 | ๅฎ็จCSSๆกๆถ |
| Vite | 5.4 | ๆๅปบๅทฅๅ ท |
wk_ai_crm/
โโโ backend/ # ๅ็ซฏ Spring Boot ้กน็ฎ
โ โโโ src/main/java/ # Java ๆบ็
โ โโโ src/main/resources/ # ้
็ฝฎๆไปถ
โ โโโ pom.xml # Maven ้
็ฝฎ
โโโ frontend/ # ๅ็ซฏ Vue ้กน็ฎ
โ โโโ src/ # ๅ็ซฏๆบ็
โ โโโ package.json # npm ้
็ฝฎ
โโโ docker/ # Docker ้จ็ฝฒ้
็ฝฎ
โโโ docker-compose.yaml # ็ผๆๆไปถ
โโโ nginx/ # Nginx ้
็ฝฎ
โโโ LICENSE.md # ๅ่ฎฎๆไปถ
โโโ README.md # ๆฌๆๆกฃ
ๅฆๆไฝ ๆณๅจๆฌๅฐ่ฟ่กๆ่ฟ่กไบๆฌกๅผๅ๏ผ่ฏท้ตๅพชไปฅไธๆญฅ้ชคใ
- JDK 21+, Node.js 18+, Maven 3.8+
- PostgreSQL 17, Redis 6+
- (ๅฏ้) Docker & Docker Compose
git clone https://github.com/WuKongOpenSource/AI_CRM.git
cd AI_CRMcd backend
mvn clean install
mvn spring-boot:run
# APIๆๅกๅฐๅจ http://localhost:8088 ่ฟ่ก
# APIๆๆกฃ (Knife4j): http://localhost:8088/doc.htmlcd frontend
npm install
npm run dev
# ๅ็ซฏๅฐๅจ http://localhost:5173 ่ฟ่กcd docker
docker-compose up -d
# ่ฎฟ้ฎ http://localhost ๅณๅฏ (Nginxๅๅไปฃ็ไบๅๅ็ซฏ)้ ็ฝฎๆไปถ๏ผ้ฆๆฌก่ฟ่กๅ๏ผ่ฏทๆ นๆฎ backend/src/main/resources/application.yml ไธญ็ๆณจ้๏ผ้ ็ฝฎๆฐๆฎๅบใAI APIๅฏ้ฅ๏ผๅฆOpenAIใDeepSeek็ญ๏ผ็ญๅฟ ่ฆไฟกๆฏใ
ไธป่ฆ้
็ฝฎๆไปถ๏ผbackend/src/main/resources/application.yml
spring:
datasource:
url: jdbc:postgresql://localhost:5432/wk_ai_crm
username: postgres
password: your_passwordspring:
data:
redis:
host: localhost
port: 6379
password: your_password
database: 7spring:
ai:
openai:
api-key: your_api_key
base-url: https://api.openai.com/v1/ # ๆๅ
ถไปๅ
ผๅฎน API
chat:
options:
model: gpt-4minio:
enabled: true
endpoint: http://localhost:9000
access-key: minioadmin
secret-key: minioadmin
bucket: ai-crmweknora:
enabled: true
base-url: http://localhost:8080/api/v1
api-key: your_api_key
knowledge-base-id: your_kb_idๅฏๅจๅ็ซฏๆๅกๅ๏ผ่ฎฟ้ฎ Knife4j API ๆๆกฃ๏ผ
http://localhost:8088/doc.html
- ็จๆทๅ๏ผ
admin - ๅฏ็ ๏ผ
123456a
-ๅฎ่ฃ ๅฎๆ้่ฆๅฐโ็ณป็ป่ฎพ็ฝฎโ็โAPI/AIโไธญ่ฟ่กAIๅคงๆจกๅ้ ็ฝฎ๏ผ่พๅ ฅๅฏนๅบ็key๏ผๅฆๅๅฏน่ฏไผๅบ้ใ
AI CRM ๆญฃๅคไบๅฟซ้ๆ้ฟ้ถๆฎต๏ผๆไปฌ็ญ็ๆฌข่ฟไปปไฝๅฝขๅผ็่ดก็ฎ๏ผ
- ๐ ๆฅๅ้ฎ้ข๏ผไฝฟ็จ GitHub Issues ๆไบคBugๆๆฐๅ่ฝๅปบ่ฎฎใ
- ๐ง ๆไบคไปฃ็ ๏ผ่ฏท้ ่ฏปๆไปฌ็่ดก็ฎๆๅ๏ผๅพ ๅๅปบ๏ผ๏ผไบ่งฃๅผๅๆต็จๅไปฃ็ ่ง่ใ
- ๐ ๅฎๅๆๆกฃ๏ผๅธฎๅฉๆน่ฟๆๆกฃใ็ฟป่ฏ๏ผ่ฎฉ้กน็ฎๆดๆๆใ
- ๐ก ๅไบซๆณๆณ๏ผๅจ็คพๅบ่ฎบๅๅไบซไฝ ็ไฝฟ็จๅบๆฏๆไผๅๅปบ่ฎฎใ
ๆฌ้กน็ฎๅบไบ MIT License ๅผๆบใ่ฟๆๅณ็ไฝ ๅฏไปฅ่ช็ฑๅฐไฝฟ็จใไฟฎๆนๅๅๅไปฃ็ ๏ผไฝ้ไฟ็ๅไฝ่ ็็ๆๅฃฐๆใ
Q๏ผAIๆจกๅๆฏๆๅชไบ๏ผ A๏ผ้ป่ฎคๆฏๆไปปไฝๆไพ OpenAI ๅ ผๅฎน API ็ๆจกๅ๏ผๅฆ OpenAI GPT็ณปๅใDeepSeekใOllamaๆฌๅฐๆจกๅ็ญ๏ผใๅจๅๅฐโ็ณป็ป่ฎพ็ฝฎโ็โAPI/AIโ้ ็ฝฎไธญๅกซๅ ฅๅฏนๅบAPI Keyๅณๅฏใ
Q๏ผๅไธไฝฟ็จๆถๆฐๆฎๅฎๅ จๅ๏ผ A๏ผ้กน็ฎๅฏๅฎๅ จ็งๆๅ้จ็ฝฒ๏ผๆๆๆฐๆฎ๏ผๅฎขๆทใๆๆกฃใAIไบคไบ๏ผๅไฟๅญๅจๆจ่ชๅทฑ็ๆๅกๅจไธญ๏ผ็กฎไฟๆฐๆฎๅฎๅ จใ
Q๏ผๅฆไฝ่ทๅๆดๅคๅธฎๅฉ๏ผ A๏ผๆจๅฏไปฅ่ฎฟ้ฎ้กน็ฎ็ ็คพๅบ่ฎบๅ ๆ้ฎๆๆ็ดข็ฐๆ็ญๆกใ
We strongly recommend you first experience the power of AI CRM through the following methods.
| Experience | Address/Account | Notes |
|---|---|---|
| ๐ Live Demo | https://aicrm.5kcrm.cn | One-click access, recommended |
| ๐ Demo Account | User: admin Password: 123456a |
For logging into the live demo site |
| ๐ฌ Help & Discussion | Community Forum | Report issues and share ideas |
Tip: The live demo comes pre-loaded with sample data and customer information. You can log in directly and experience all core features.
AI CRM is more than a traditional CRM; itโs an AI partner that understands your business.
| Feature | Core Value |
|---|---|
| ๐ฌ AI Conversational Assistant | Ask about business like talking to a colleague: โWho was the sales champion in East China last quarter?โ The system can generate intelligent answers by combining structured data and knowledge base documents. |
| ๐ง Knowledge Base RAG Enhancement | Give AI โmemoryโ: Upload company product manuals, contracts, meeting minutes. The AI assistant can provide precise Q&A and summaries based on these documents. |
| ๐ฅ Intelligent Customer Management | Unified customer view: Centrally manage customer information, contacts, follow-up records, with AI automatically analyzing customer stages and needs. |
| โ AI Task Generation | Automatically create work items: After conversations or customer analysis, instruct AI to create to-do tasks with automatic priority and reminders. |
| ๐ Seamless Team Collaboration | Real-time information sync: Customer updates, task assignments, and knowledge updates are instantly synchronized within the team for efficient collaboration. |
This is a full-stack open-source project with a modern and stable technology stack.
- Backend: Java 21 + Spring Boot 3.x + Spring AI + PostgreSQL + Redis + MinIO
- Frontend: Vue 3 + TypeScript + Element Plus + Tailwind CSS
- Deployment: Supports one-click deployment via Docker Compose with complete production environment configuration.
| Technology | Version | Purpose |
|---|---|---|
| Java | 21 | Programming Language |
| Spring Boot | 3.3.12 | Application Framework |
| Spring AI | 1.0.0 | AI/LLM Integration (OpenAI-compatible API) |
| PostgreSQL | 17 | Primary Database |
| MyBatis-Plus | 3.5.7 | ORM Framework |
| Redis | - | Cache & Session Management |
| MinIO | - | Object Storage (for docs, files) |
| Technology | Version | Purpose |
|---|---|---|
| Vue | 3.4 | Frontend Framework |
| TypeScript | 5.5 | Type Safety |
| Element Plus | 2.8 | UI Component Library |
| Pinia | 2.2 | State Management |
| Tailwind CSS | 3.4 | Utility-first CSS Framework |
| Vite | 5.4 | Build Tool |
wk_ai_crm/
โโโ backend/ # Backend Spring Boot Project
โ โโโ src/main/java/ # Java Source Code
โ โโโ src/main/resources/ # Configuration Files
โ โโโ pom.xml # Maven Configuration
โโโ frontend/ # Frontend Vue Project
โ โโโ src/ # Frontend Source Code
โ โโโ package.json # npm Configuration
โโโ docker/ # Docker Deployment Configuration
โ โโโ docker-compose.yaml # Orchestration File
โ โโโ nginx/ # Nginx Configuration
โโโ LICENSE.md # License File
โโโ README.md # This Document
If you want to run it locally or contribute to development, please follow these steps.
- JDK 21+, Node.js 18+, Maven 3.8+
- PostgreSQL 17, Redis 6+
- (Optional) Docker & Docker Compose
git clone https://github.com/WuKongOpenSource/AI_CRM.git
cd AI_CRMcd backend
mvn clean install
mvn spring-boot:run
# API server will run at http://localhost:8088
# API Docs (Knife4j): http://localhost:8088/doc.htmlcd frontend
npm install
npm run dev
# Frontend will run at http://localhost:5173cd docker
docker-compose up -d
# Visit http://localhost (Nginx reverse proxies frontend and backend)Configuration: Before first run, configure necessary information like database and AI API keys (e.g., OpenAI, DeepSeek) according to comments in backend/src/main/resources/application.yml.
Main configuration file: backend/src/main/resources/application.yml
spring:
datasource:
url: jdbc:postgresql://localhost:5432/wk_ai_crm
username: postgres
password: your_passwordspring:
data:
redis:
host: localhost
port: 6379
password: your_password
database: 7spring:
ai:
openai:
api-key: your_api_key
base-url: https://api.openai.com/v1/ # Or other compatible API
chat:
options:
model: gpt-4minio:
enabled: true
endpoint: http://localhost:9000
access-key: minioadmin
secret-key: minioadmin
bucket: ai-crmweknora:
enabled: true
base-url: http://localhost:8080/api/v1
api-key: your_api_key
knowledge-base-id: your_kb_idAfter starting the backend service, access the Knife4j API documentation at:
http://localhost:8088/doc.html
ยท Username: admin ยท Password: 123456a
After installation, you must go to "System Settings" -> "API/AI" to configure the AI large model by entering the corresponding API key. Otherwise, the conversation feature will fail.
AI CRM is in a rapid growth phase, and we warmly welcome contributions of all forms!
- ๐ Report Issues: Use GitHub Issues to submit bugs or feature suggestions.
- ๐ง Submit Code: Pull Requests are welcome.
- ๐ Improve Documentation: Help with docs or translations.
- ๐ก Share Ideas: Discuss in our Community Forum.
This project is open source under the MIT License. This means you are free to use, modify, and distribute the code, provided that the original copyright notice is retained.
Q: Which AI models are supported? A: By default, it supports any model providing an OpenAI-compatible API (e.g., OpenAI GPT series, DeepSeek, Ollama local models). Configure the corresponding API Key in the backend โSystem Settingsโ -> โAPI/AIโ section.
Q: Is data safe for commercial use? A: The project can be fully self-hosted. All data (customers, documents, AI interactions) is stored on your own servers, ensuring data security.
Q: How to get more help? A: You can visit the projectโs Community Forum to ask questions or search for existing answers.
ๆๆฐ / Latest: ้กน็ฎ้ข่ง็ v0.1.0 ๆญฃๅผๅผๆบ๏ผ/ Preview v0.1.0 officially open-sourced!
ๅฆๆ AI CRM ๅฏนไฝ ๆๅธฎๅฉ๏ผ่ฏท็ปๆไปฌไธไธช โญ๏ธ Star๏ผ่ฟๆฏๅฏนๆไปฌๅผๆบๅทฅไฝ็ๆๅคง้ผๅฑใ
If AI CRM helps you, please give us a โญ๏ธ Star! It's the greatest encouragement for our open-source work.