Content
# CodeAgent
CodeAgent is a multi-agent defect location and repair assistance system for software development scenarios. The current repository is set up with a Java 21 + Spring Boot 3 multi-module backend, Vue 3 + TypeScript frontend, and local MySQL/Redis/MinIO/Milvus/Jenkins/SonarQube infrastructure.
## Directory
```text
code-agent-platform Maven multi-module backend
code-agent-web Vue 3 frontend console
infra Local middleware Docker Compose
```
## Local Startup
1. Start middleware:
```bash
docker compose -f infra/docker-compose.yml up -d
```
The local address of Jenkins is `http://localhost:8081`. After the first startup, use the following command to view the initial administrator password:
```bash
docker exec code-agent-jenkins cat /var/jenkins_home/secrets/initialAdminPassword
```
The local address of SonarQube is `http://localhost:9002`, and the default account password is usually `admin/admin`. After the first login, you need to modify the password and generate a Token. If SonarQube fails to start on the Linux host, you need to set:
```bash
sudo sysctl -w vm.max_map_count=524288
sudo sysctl -w fs.file-max=131072
```
The MinIO API local address is `http://localhost:9100`, and the Console address is `http://localhost:9101`. The default local account password is `minioadmin/minioadmin`.
2. Configure environment variables:
```bash
cp .env.example .env
```
Fill in the `.env` with `DEEPSEEK_API_KEY`, `DASHSCOPE_API_KEY`, `GITLAB_TOKEN`, `JENKINS_USERNAME`, `JENKINS_TOKEN`, and `SONARQUBE_TOKEN` according to the real platform. The code will not have built-in Token, nor will it generate mock platform data.
3. Start the backend:
```bash
cd code-agent-platform
mvn -pl code-agent-api -am spring-boot:run
```
4. Start the frontend:
```bash
cd code-agent-web
npm install
npm run dev
```
The frontend defaults to `http://127.0.0.1:5173`, and the backend health check is `http://localhost:8080/api/health`.
## Implemented Scope
- Maven multi-module backend project and basic API.
- Agent task state machine, Planner, concurrent tool execution, Critique, FinalReport call chain.
- GitLab, Jenkins, SonarQube MCP tool fixed registration, parameter verification, real HTTP call, audit record.
- MinIO RawOutputStore, all tool original responses require writing to MinIO.
- MySQL Flyway table creation script and JPA Repository.
- Redis Working Memory, Core/Episodic Memory basic interface.
- DeepSeek LLM Client and Qianwen/DashScope Embedding Client abstraction.
- Vue console page: Dashboard, task creation/details, Evidence, RAG, Memory, MCP Tools, Tool Audit, Integration Config.
## Current Constraints
- When the real platform credentials are not configured, the tool call will fail and record a clear error, without using fake data as a fallback.
- RAG's Milvus SDK write/retrieve adaptation is reserved for Phase 7 implementation; the current MVP retains configuration, Docker Compose, and VectorStore interface.
- The final report must be triggered by Evidence Pack. If there is insufficient evidence or LLM Key is missing, the task will fail and explain the reason.
Connection Info
You Might Also Like
everything-claude-code
Complete Claude Code configuration collection - agents, skills, hooks,...
markitdown
MarkItDown-MCP is a lightweight server for converting URIs to Markdown.
cc-switch
All-in-One Assistant for Claude Code, Codex & Gemini CLI across platforms.
servers
Model Context Protocol Servers
servers
Model Context Protocol Servers
Time
A Model Context Protocol server for time and timezone conversions.