Self-aware autonomous AI agents optimized for CPU execution on enterprise desktops, designed for comprehensive SDLC automation including requirements analysis, test generation, accessibility certification, and distributed test execution
C#
1
65 commits
updated Apr 30, 2026
Autonomous Machine Learning platform for self-aware AI agents optimized for CPU execution on enterprise desktops
Status: β Phase 3.1-3.4: 100% Complete | Phase 4.1: A+ Production-Ready | Phase 5: Architecture Complete
A comprehensive suite of autonomous AI agents designed for complete Software Development Life Cycle (SDLC) automation. The agents automate requirement clarity evaluation, comprehensive test coverage generation, quality assurance (security/performance/WCAG), and SDLC workflows including code reviews, documentation updates, defect fixes, and test execution. Complete architecture with 75 classes across 5 phases, AI-powered decision-making via local CPU models (vLLM/Ollama), AI model management with competitive evaluation arena, synthetic data generation, and production-grade resilience.
Phase 4.1 Expert Validation: Architecture received A+ grade from expert review with approval to proceed.
AUTONOMOUS.ML is an Autonomous Machine Learning platform that provides a complete ecosystem of CPU-optimized AI agents running locally on enterprise hardware without requiring GPU acceleration. The platform's CPU Agents for SDLC automate and enhance every phase of the software development lifecycle, from requirements gathering to test execution and accessibility certification.
1. Requirement Clarity Evaluation
2. Comprehensive Test Coverage Creation
3. Quality Assurance Automation
4. SDLC Automation
Seamless integration with Azure Boards, Test Plans, and Repos enables agents to autonomously manage the entire SDLC workflow without manual intervention:
CPU-Agents-for-SDLC/
βββ desktop-agent/ # Self-aware agent for Windows 11 desktops
β βββ src/ # .NET 8.0 source code
β βββ Containerfile # Podman containerization
β βββ deploy-windows.ps1 # Automated deployment script
β βββ test-agent.ps1 # Validation test script
β
βββ mobile-agent/ # Micro-agent for iPhone and Pixel devices
β βββ [Coming Soon]
β
βββ execution-minions/ # Distributed test execution system
β βββ [Coming Soon]
β
βββ docs/ # Comprehensive documentation
βββ autonomous_agent_design.md
βββ mobile_micro_agent_design.md
βββ distributed_test_execution_design.md
βββ WINDOWS_DEPLOYMENT_GUIDE.md
βββ PODMAN_DEPLOYMENT.md
βββ [11 design documents total]
Prerequisites:
Option 1: Direct Execution (Development)
git clone https://github.com/Lev0n82/CPU-Agents-for-SDLC.git
cd CPU-Agents-for-SDLC\desktop-agent\src\AutonomousAgent.Core
dotnet run
Option 2: Windows Service (Production)
cd CPU-Agents-for-SDLC\desktop-agent
.\deploy-windows.ps1 -Action Install
Option 3: Podman Container (Isolated)
cd CPU-Agents-for-SDLC\desktop-agent
podman build -t cpu-agent:latest -f Containerfile .
podman run --name agent-instance cpu-agent:latest
See the Windows Deployment Guide for detailed instructions.
Phase 3.1: Critical Foundations
Phase 3.2: Core Services
Phase 3.3: Production Resilience
Phase 3.4: Observability & Performance
GUI Object Mapping (GuiObjMap)
Database Discovery
DBA-Mediated Write Operations
Playwright Test Generation
Expert Validation (A+ Grade - Production-Ready)
Backend:
AI Models (Local CPU):
AI Training System:
All AI capabilities run 100% locally via vLLM (production) or Ollama (development) with zero cloud dependencies. Below are 5 concrete examples of what the local AI models can do:
Input:
public class UserService {
public User GetUser(int id) {
var user = db.Users.Find(id);
return user;
}
}
AI Analysis Output:
{
"score": 6.5,
"issues": [
{ "severity": "warning", "message": "Missing null check - Find() can return null", "line": 3 },
{ "severity": "info", "message": "Consider async/await for database operations", "line": 2 },
{ "severity": "info", "message": "Add XML documentation for public methods", "line": 2 }
],
"suggestions": [
"Add null validation before returning user",
"Convert to async Task<User> GetUserAsync(int id)",
"Add logging for user retrieval operations"
]
}
Input:
User Story: "As a customer, I want to apply discount codes at checkout
so that I can save money on my purchase"
Acceptance Criteria:
- System validates discount code format (alphanumeric, 6-12 chars)
- Valid codes reduce order total by specified percentage
- Invalid codes show error message
- Expired codes are rejected
- One discount per order limit enforced
- Discount applied before tax calculation
AI Generated Test Cases:
{
"testCases": [
{
"id": "TC-001",
"title": "Valid discount code reduces order total",
"priority": "High",
"type": "Functional",
"steps": [
"Add items to cart (total: $100)",
"Navigate to checkout",
"Enter valid discount code 'SAVE20' (20% off)",
"Click 'Apply Discount'"
],
"expected": "Order total reduced to $80, discount line item shows -$20"
},
{
"id": "TC-002",
"title": "Invalid discount code shows error message",
"priority": "High",
"type": "Negative",
"expected": "Error message: 'Discount code not found', order total unchanged"
},
{
"id": "TC-003",
"title": "Expired discount code is rejected",
"priority": "Medium",
"type": "Boundary"
},
{
"id": "TC-004",
"title": "Discount code format validation",
"priority": "Medium",
"type": "Validation"
},
{
"id": "TC-005",
"title": "Multiple discount codes rejected",
"priority": "High",
"type": "Business Rule"
},
{
"id": "TC-006",
"title": "Discount applied before tax calculation",
"priority": "High",
"type": "Integration",
"expected": "Subtotal: $100, Discount: -$20, Tax: $8 (10% of $80), Total: $88"
}
],
"coverage": {
"functional": 4,
"negative": 1,
"boundary": 1,
"validation": 1,
"businessRule": 1,
"integration": 1
},
"clarifyingQuestions": [
"Should discount codes be case-sensitive?",
"What happens if discount exceeds order total (100% off)?",
"Can discount codes be combined with other promotions?",
"Should system log discount code usage for analytics?"
]
}
Key Insights:
Input:
Test: "Should validate user email format"
Code: Email validation removed, now using OAuth only
Last Modified: 180 days ago
Pass Rate: 100% (but testing obsolete code path)
AI Analysis:
{
"obsolete": true,
"confidence": 0.92,
"reasons": [
"Code path no longer exists in current implementation",
"Requirements changed to OAuth-only authentication",
"Test hasn't been updated in 6 months despite code changes"
],
"recommendation": "Archive or rewrite test to validate OAuth flow instead"
}
Input:
<<<<<<< HEAD
public void ProcessOrder(Order order) {
ValidateOrder(order);
CalculateTotal(order);
SaveOrder(order);
}
=======
public async Task ProcessOrderAsync(Order order) {
await ValidateOrderAsync(order);
await CalculateTotalAsync(order);
await SaveOrderAsync(order);
}
>>>>>>> feature/async-refactor
AI Resolution:
{
"resolution": "accept_incoming",
"confidence": 0.95,
"reasoning": "Incoming branch uses async/await pattern, which is consistent with 87% of codebase methods. Modern best practice for I/O operations.",
"suggestedCode": "public async Task ProcessOrderAsync(Order order) {\n await ValidateOrderAsync(order);\n await CalculateTotalAsync(order);\n await SaveOrderAsync(order);\n}"
}
Input:
Bug: "Application crashes when processing large orders"
Stack Trace: NullReferenceException at OrderProcessor.CalculateTotal()
Recent Changes: Added discount calculation feature
Test Failures: 3/45 integration tests failing
Error Pattern: Only occurs with orders >$10,000
AI Analysis:
{
"rootCause": "Null reference in discount calculation for high-value orders",
"confidence": 0.88,
"analysis": [
"Discount calculation assumes DiscountTier is always set",
"High-value orders (>$10k) use different pricing tier logic",
"New discount feature didn't account for premium tier edge case"
],
"suggestedFix": "// Add null check before discount calculation\nif (order.DiscountTier != null) {\n discount = CalculateDiscount(order);\n} else {\n discount = 0; // Premium tier uses different pricing\n}",
"relatedIssues": [
"Similar pattern in ShippingCalculator.cs (line 45)",
"Consider adding tier validation in Order constructor"
]
}
Testing & Automation:
This project follows the comprehensive-implementation methodology, a systematic seven-phase approach that ensures high-quality, production-ready software through architecture-first design, specification-first development, multi-level testing, and complete documentation.
If you want to extend the system or contribute new features, you must follow this methodology to ensure consistency and quality. See the complete guide:
π Development Methodology Guide - Comprehensive guide with templates and examples
The methodology includes:
Adding a new feature? Follow Phases 0-6 starting with research and architecture updates.
Creating a new agent? Use the complete seven-phase workflow with the architecture design template.
Implementing a new phase? Use the comprehensive-implementation skill: "Use the comprehensive-implementation skill to implement Phase 3."
The desktop agent is configured via appsettings.json:
{
"Scheduler": {
"NightlyReboot": {
"Enabled": true,
"Hour": 0,
"Minute": 0
}
},
"AzureDevOps": {
"Organization": "your-org",
"Project": "your-project",
"PersonalAccessToken": "your-pat"
},
"LLM": {
"ModelPath": "path/to/model.gguf",
"ContextSize": 4096,
"Temperature": 0.7,
"Provider": "vLLM"
},
"SelfTesting": {
"Enabled": true,
"Interval": "0 */6 * * *"
}
}
We welcome contributions! Please follow the Development Methodology Guide to ensure consistency.
For questions, issues, or contributions, please open an issue on GitHub.
Project Status: Phase 3.1-3.4: 100% Complete | Phase 4.1: A+ Production-Ready Architecture
Latest Update: Phase 5 AI Model Management & Training Arena architecture completed with 18 new classes and 124 acceptance criteria. Includes competitive evaluation (AI Arena), synthetic data generation, and Microsoft Learn content ingestion.
Self-aware autonomous AI agents optimized for CPU execution on enterprise desktops, designed for comprehensive SDLC automation including requirements analysis, test generation, accessibility certification, and distributed test execution
C#
1
65 commits
updated Apr 30, 2026
Autonomous Machine Learning platform for self-aware AI agents optimized for CPU execution on enterprise desktops
Status: β Phase 3.1-3.4: 100% Complete | Phase 4.1: A+ Production-Ready | Phase 5: Architecture Complete
A comprehensive suite of autonomous AI agents designed for complete Software Development Life Cycle (SDLC) automation. The agents automate requirement clarity evaluation, comprehensive test coverage generation, quality assurance (security/performance/WCAG), and SDLC workflows including code reviews, documentation updates, defect fixes, and test execution. Complete architecture with 75 classes across 5 phases, AI-powered decision-making via local CPU models (vLLM/Ollama), AI model management with competitive evaluation arena, synthetic data generation, and production-grade resilience.
Phase 4.1 Expert Validation: Architecture received A+ grade from expert review with approval to proceed.
AUTONOMOUS.ML is an Autonomous Machine Learning platform that provides a complete ecosystem of CPU-optimized AI agents running locally on enterprise hardware without requiring GPU acceleration. The platform's CPU Agents for SDLC automate and enhance every phase of the software development lifecycle, from requirements gathering to test execution and accessibility certification.
1. Requirement Clarity Evaluation
2. Comprehensive Test Coverage Creation
3. Quality Assurance Automation
4. SDLC Automation
Seamless integration with Azure Boards, Test Plans, and Repos enables agents to autonomously manage the entire SDLC workflow without manual intervention:
CPU-Agents-for-SDLC/
βββ desktop-agent/ # Self-aware agent for Windows 11 desktops
β βββ src/ # .NET 8.0 source code
β βββ Containerfile # Podman containerization
β βββ deploy-windows.ps1 # Automated deployment script
β βββ test-agent.ps1 # Validation test script
β
βββ mobile-agent/ # Micro-agent for iPhone and Pixel devices
β βββ [Coming Soon]
β
βββ execution-minions/ # Distributed test execution system
β βββ [Coming Soon]
β
βββ docs/ # Comprehensive documentation
βββ autonomous_agent_design.md
βββ mobile_micro_agent_design.md
βββ distributed_test_execution_design.md
βββ WINDOWS_DEPLOYMENT_GUIDE.md
βββ PODMAN_DEPLOYMENT.md
βββ [11 design documents total]
Prerequisites:
Option 1: Direct Execution (Development)
git clone https://github.com/Lev0n82/CPU-Agents-for-SDLC.git
cd CPU-Agents-for-SDLC\desktop-agent\src\AutonomousAgent.Core
dotnet run
Option 2: Windows Service (Production)
cd CPU-Agents-for-SDLC\desktop-agent
.\deploy-windows.ps1 -Action Install
Option 3: Podman Container (Isolated)
cd CPU-Agents-for-SDLC\desktop-agent
podman build -t cpu-agent:latest -f Containerfile .
podman run --name agent-instance cpu-agent:latest
See the Windows Deployment Guide for detailed instructions.
Phase 3.1: Critical Foundations
Phase 3.2: Core Services
Phase 3.3: Production Resilience
Phase 3.4: Observability & Performance
GUI Object Mapping (GuiObjMap)
Database Discovery
DBA-Mediated Write Operations
Playwright Test Generation
Expert Validation (A+ Grade - Production-Ready)
Backend:
AI Models (Local CPU):
AI Training System:
All AI capabilities run 100% locally via vLLM (production) or Ollama (development) with zero cloud dependencies. Below are 5 concrete examples of what the local AI models can do:
Input:
public class UserService {
public User GetUser(int id) {
var user = db.Users.Find(id);
return user;
}
}
AI Analysis Output:
{
"score": 6.5,
"issues": [
{ "severity": "warning", "message": "Missing null check - Find() can return null", "line": 3 },
{ "severity": "info", "message": "Consider async/await for database operations", "line": 2 },
{ "severity": "info", "message": "Add XML documentation for public methods", "line": 2 }
],
"suggestions": [
"Add null validation before returning user",
"Convert to async Task<User> GetUserAsync(int id)",
"Add logging for user retrieval operations"
]
}
Input:
User Story: "As a customer, I want to apply discount codes at checkout
so that I can save money on my purchase"
Acceptance Criteria:
- System validates discount code format (alphanumeric, 6-12 chars)
- Valid codes reduce order total by specified percentage
- Invalid codes show error message
- Expired codes are rejected
- One discount per order limit enforced
- Discount applied before tax calculation
AI Generated Test Cases:
{
"testCases": [
{
"id": "TC-001",
"title": "Valid discount code reduces order total",
"priority": "High",
"type": "Functional",
"steps": [
"Add items to cart (total: $100)",
"Navigate to checkout",
"Enter valid discount code 'SAVE20' (20% off)",
"Click 'Apply Discount'"
],
"expected": "Order total reduced to $80, discount line item shows -$20"
},
{
"id": "TC-002",
"title": "Invalid discount code shows error message",
"priority": "High",
"type": "Negative",
"expected": "Error message: 'Discount code not found', order total unchanged"
},
{
"id": "TC-003",
"title": "Expired discount code is rejected",
"priority": "Medium",
"type": "Boundary"
},
{
"id": "TC-004",
"title": "Discount code format validation",
"priority": "Medium",
"type": "Validation"
},
{
"id": "TC-005",
"title": "Multiple discount codes rejected",
"priority": "High",
"type": "Business Rule"
},
{
"id": "TC-006",
"title": "Discount applied before tax calculation",
"priority": "High",
"type": "Integration",
"expected": "Subtotal: $100, Discount: -$20, Tax: $8 (10% of $80), Total: $88"
}
],
"coverage": {
"functional": 4,
"negative": 1,
"boundary": 1,
"validation": 1,
"businessRule": 1,
"integration": 1
},
"clarifyingQuestions": [
"Should discount codes be case-sensitive?",
"What happens if discount exceeds order total (100% off)?",
"Can discount codes be combined with other promotions?",
"Should system log discount code usage for analytics?"
]
}
Key Insights:
Input:
Test: "Should validate user email format"
Code: Email validation removed, now using OAuth only
Last Modified: 180 days ago
Pass Rate: 100% (but testing obsolete code path)
AI Analysis:
{
"obsolete": true,
"confidence": 0.92,
"reasons": [
"Code path no longer exists in current implementation",
"Requirements changed to OAuth-only authentication",
"Test hasn't been updated in 6 months despite code changes"
],
"recommendation": "Archive or rewrite test to validate OAuth flow instead"
}
Input:
<<<<<<< HEAD
public void ProcessOrder(Order order) {
ValidateOrder(order);
CalculateTotal(order);
SaveOrder(order);
}
=======
public async Task ProcessOrderAsync(Order order) {
await ValidateOrderAsync(order);
await CalculateTotalAsync(order);
await SaveOrderAsync(order);
}
>>>>>>> feature/async-refactor
AI Resolution:
{
"resolution": "accept_incoming",
"confidence": 0.95,
"reasoning": "Incoming branch uses async/await pattern, which is consistent with 87% of codebase methods. Modern best practice for I/O operations.",
"suggestedCode": "public async Task ProcessOrderAsync(Order order) {\n await ValidateOrderAsync(order);\n await CalculateTotalAsync(order);\n await SaveOrderAsync(order);\n}"
}
Input:
Bug: "Application crashes when processing large orders"
Stack Trace: NullReferenceException at OrderProcessor.CalculateTotal()
Recent Changes: Added discount calculation feature
Test Failures: 3/45 integration tests failing
Error Pattern: Only occurs with orders >$10,000
AI Analysis:
{
"rootCause": "Null reference in discount calculation for high-value orders",
"confidence": 0.88,
"analysis": [
"Discount calculation assumes DiscountTier is always set",
"High-value orders (>$10k) use different pricing tier logic",
"New discount feature didn't account for premium tier edge case"
],
"suggestedFix": "// Add null check before discount calculation\nif (order.DiscountTier != null) {\n discount = CalculateDiscount(order);\n} else {\n discount = 0; // Premium tier uses different pricing\n}",
"relatedIssues": [
"Similar pattern in ShippingCalculator.cs (line 45)",
"Consider adding tier validation in Order constructor"
]
}
Testing & Automation:
This project follows the comprehensive-implementation methodology, a systematic seven-phase approach that ensures high-quality, production-ready software through architecture-first design, specification-first development, multi-level testing, and complete documentation.
If you want to extend the system or contribute new features, you must follow this methodology to ensure consistency and quality. See the complete guide:
π Development Methodology Guide - Comprehensive guide with templates and examples
The methodology includes:
Adding a new feature? Follow Phases 0-6 starting with research and architecture updates.
Creating a new agent? Use the complete seven-phase workflow with the architecture design template.
Implementing a new phase? Use the comprehensive-implementation skill: "Use the comprehensive-implementation skill to implement Phase 3."
The desktop agent is configured via appsettings.json:
{
"Scheduler": {
"NightlyReboot": {
"Enabled": true,
"Hour": 0,
"Minute": 0
}
},
"AzureDevOps": {
"Organization": "your-org",
"Project": "your-project",
"PersonalAccessToken": "your-pat"
},
"LLM": {
"ModelPath": "path/to/model.gguf",
"ContextSize": 4096,
"Temperature": 0.7,
"Provider": "vLLM"
},
"SelfTesting": {
"Enabled": true,
"Interval": "0 */6 * * *"
}
}
We welcome contributions! Please follow the Development Methodology Guide to ensure consistency.
For questions, issues, or contributions, please open an issue on GitHub.
Project Status: Phase 3.1-3.4: 100% Complete | Phase 4.1: A+ Production-Ready Architecture
Latest Update: Phase 5 AI Model Management & Training Arena architecture completed with 18 new classes and 124 acceptance criteria. Includes competitive evaluation (AI Arena), synthetic data generation, and Microsoft Learn content ingestion.