You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit updates the README to reflect the major changes in v2.
Key changes include:
- Updated description of DevGuardian's capabilities.
- Introduced the concept of a multi-agent autonomous engineering ecosystem.
- Added a comprehensive list of features and their descriptions.
> An AI-powered, **Project-Aware** coding assistant MCP server built with **Gemini 2.0 Flash** and **UV**.
4
-
> Plug it into **Antigravity** or **Claude Desktop**for AI-assisted coding, debugging, and robust Git operations — now with a built-in **Pre-Push Security Gate**.
3
+
> An AI-powered, **Project-Aware** coding assistant MCP server built with **Gemini 2.0 Flash** and **UV**.
4
+
> Plug it into **Antigravity** or **Claude Desktop**and get a full AI engineering team: debugging, reviewing, testing, deploying, and securing your code — all autonomously.
5
5
6
6
---
7
7
8
-
## 🌟 What makes it a "Monster"?
8
+
## 🌟 What makes DevGuardian a "Monster"?
9
9
10
-
DevGuardian isn't just a generic script runner anymore. It now has a 360-degree view of your codebase and a built-in security shield.
10
+
DevGuardian v2 is no longer a single script. It is a **multi-agent autonomous engineering ecosystem**:
11
11
12
-
1.**🧠 Project DNA Awareness:** When you ask it to review, explain, or improve code, DevGuardian no longer just looks at the file. It inhales your `README.md`, dependencies (`pyproject.toml`), full file tree, and import relationships before generating an answer. It writes code that *fits your architecture*.
13
-
2.**🛡️ Built-in Security Gate:** DevGuardian actively watches your Git operations. If you attempt to `git push` or `smart_commit` an API key, password, or GitHub token, DevGuardian will **BLOCK the push** and alert you instantly.
14
-
3.**Robust Architecture:** All 20+ tools are backed by standard async patterns, graceful error handling, and `stderr` logging so the host MCP client won't crash when edge cases hit.
12
+
1.**🧠 Project DNA Awareness** — Before writing a single line of code, DevGuardian reads your `README`, `pyproject.toml`, full file tree, and import graph. It generates code that *fits your architecture*.
13
+
2.**🤖 Agent Swarm** — A 3-agent pipeline (Coder → Tester → Reviewer) that builds features autonomously, finds bugs, and returns production-ready code.
14
+
3.**🧪 TDD Auto-Pilot** — Generates pytest tests, runs them, reads failures, fixes the source code, and loops until green.
15
+
4.**🌐 GitHub PR Reviewer** — Connects to live GitHub PRs, reads the diffs, and posts a structured expert review.
16
+
5.**🐳 DevOps Generator** — Produces a production-grade `Dockerfile`, `docker-compose.yml`, and GitHub Actions `ci.yml` by reading your project stack.
17
+
6.**🏗️ God-Mode Mass Refactoring** — Applies a single instruction across **every Python file** in the project simultaneously.
18
+
7.**🛡️ Pre-Push Security Gate** — Actively blocks accidental pushes of API keys, tokens, and passwords.
15
19
16
20
---
17
21
18
-
## ✨ Features (20+ Tools)
19
-
20
-
| Tool | Category | Description |
21
-
|---|---|---|
22
-
|`debug_error`| Code | Analyze errors & stack traces; get contextual root cause + fix |
23
-
|`explain_code`| Code | Understand what any code does with full project context |
Add to `%APPDATA%\Claude\claude_desktop_config.json`:
79
132
```json
80
133
{
81
134
"mcpServers": {
@@ -94,53 +147,84 @@ Add to your `.gemini/settings.json` or MCP config file:
94
147
95
148
## 💡 Usage Examples
96
149
97
-
### Debug an error (Project-Aware)
98
-
> "DevGuardian, debug the AttributeError I'm seeing in my flask app."
99
-
→ DevGuardian reads your file tree, finds the offending class, and fixes the bug matching your specific project style.
150
+
### 🤖 Agent Swarm — Build a feature with 3 AI agents
151
+
> "DevGuardian, use the agent swarm to create a rate-limiting utility for our API."
152
+
→ Coder writes a `RateLimiter` class, Tester finds 5 edge cases, Reviewer incorporates all fixes and returns the final production-ready file.
153
+
154
+
### 🧪 TDD Auto-Pilot — Test-driven bug fixing
155
+
> "Run test_and_fix on `devguardian/tools/debugger.py`"
156
+
→ DevGuardian writes pytest tests, runs them, reads the failures, patches the source, and loops until all tests go green.
100
157
101
-
### Push Code (Safely)
102
-
> "Push changes to main."
103
-
→ DevGuardian scans your staged files. If you accidentally left `api_key = "AIzaSy..."` inside a file, DevGuardian BLOCKS the push and warns you to remove it.
158
+
### 🌐 GitHub PR Review — Review any live PR
159
+
> "Review PR #42 in myorg/myrepo"
160
+
→ DevGuardian fetches the diff from GitHub and gives you a structured review: Bugs, Security, Performance, Style, and a final verdict.
104
161
105
-
### Smart commit
106
-
> "Commit my changes."
107
-
→ DevGuardian runs `git add .`, scans for leaks, Gemini writes the commit message based on the diff, and the commit is saved.
162
+
### 🐳 Dockerize a project in seconds
163
+
> "Dockerize this project."
164
+
→ DevGuardian reads your stack from `pyproject.toml`, generates a multi-stage `Dockerfile` and `docker-compose.yml`, and writes them to your project root.
108
165
109
-
### Autonomous Engineering
110
-
> "Implement a new database endpoint to fetch users."
111
-
→ DevGuardian starts a LangGraph loop, analyzes the existing database files, writes the new code, and ensures it doesn't break existing tests.
166
+
### 🏗️ Mass Refactoring
167
+
> "Add type hints to all function signatures in the project."
168
+
→ DevGuardian scans every `.py` file, rewrites functions that need type hints, and reports all 14 files it modified.
169
+
170
+
### 🛡️ Push Code Safely
171
+
> "Push my changes to main."
172
+
→ DevGuardian scans all staged files. If it finds `api_key = "AIzaSy..."` hardcoded anywhere, it **BLOCKS the push** and tells you exactly which file and line contains the secret.
0 commit comments