Skip to content

New Agents and Migration strategy#15

Merged
error505 merged 2 commits into
mainfrom
feature/new_agents_and_migration_feature
Dec 24, 2025
Merged

New Agents and Migration strategy#15
error505 merged 2 commits into
mainfrom
feature/new_agents_and_migration_feature

Conversation

@error505

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings December 24, 2025 10:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces new AI agents for architecture validation, compliance checking, cost optimization, and documentation generation, along with a comprehensive migration strategy for AWS/GCP to Azure workloads. The changes enable multi-agent workflows with trace persistence, shared link generation for projects, and enhanced diagram analysis capabilities.

Key Changes:

  • Added dual-pass validation system with architect and critic agents for architecture review
  • Implemented compliance validation engine with support for HIPAA, PCI-DSS, GDPR, ISO 27001, and SOC 2
  • Created migration tools for AWS and GCP to Azure with cost analysis and service mapping
  • Added trace event persistence and replay functionality for agent workflow debugging
  • Introduced project sharing functionality with token-based access

Reviewed changes

Copilot reviewed 51 out of 4410 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
frontend/apply_trace_migration.sql Database schema migration to add trace_events and run_id columns for persisting agent reasoning
frontend/API_REFERENCE.md Comprehensive API documentation for new validation, autopilot, compliance, and documentation endpoints
backend/app/websockets/routes_simple.py Updated OpenAI model reference
backend/app/websockets/handlers.py Enhanced WebSocket handlers with trace event forwarding, agent streaming, and integration settings support
backend/app/utils/integration_settings.py Utility for normalizing integration preference payloads with default values
backend/app/obs/tracing.py Extended tracing system with persistence, replay, and active run tracking capabilities
backend/app/models/infra_models.py Core data models for multi-cloud infrastructure (InfraGraph, migration, compliance, cost)
backend/app/iac_generators/terraform.py Added cancellation handling for Terraform generation
backend/app/iac_generators/gcp_migration.py GCP to Azure service mapping and migration logic with cost comparison
backend/app/iac_generators/aws_migration.py AWS to Azure service mapping and migration logic with Bicep snippets
backend/app/deps.py Added get_agent_client dependency for dual-pass validation and AI agents
backend/app/core/config.py Updated default models and CORS configuration, added frontend base URL setting
backend/app/core/azure_client.py Added local model client support and switched to OpenAIChatClient for streaming
backend/app/cloud_parsers/parsers.py Inventory parsers for normalizing Azure/AWS/GCP exports into InfraGraph format
backend/app/api/routes.py Registered new API endpoint routers for validation, autopilot, compliance, docs, migration, cost, and fix
backend/app/api/endpoints/validation.py Dual-pass validation endpoints for requirements and diagram auditing
backend/app/api/endpoints/runs.py Enhanced run streaming with persisted event replay
backend/app/api/endpoints/reverse_engineering.py Cloud inventory import endpoints with provider auto-detection
backend/app/api/endpoints/projects_simple.py Added share link generation and token-based project access
backend/app/api/endpoints/projects.py Added share link endpoints with Azure blob storage integration
backend/app/api/endpoints/migration.py Migration planning endpoints with AI-powered and rule-based strategies
backend/app/api/endpoints/iac_openai_simple.py Updated OpenAI model reference
backend/app/api/endpoints/iac_mcp.py Integrated AWS migration into IaC generation flow
backend/app/api/endpoints/iac.py Enhanced IaC generation with multi-cloud migration detection
backend/app/api/endpoints/fix.py Fix/patch application endpoints for diagram modifications
backend/app/api/endpoints/docs.py Documentation generation endpoints for HLD, LLD, runbook, and deployment guides
backend/app/api/endpoints/diagram_analysis.py Enhanced diagram analysis with multi-cloud detection and structured guidance
backend/app/api/endpoints/cost.py Cost analysis and optimization recommendation endpoints
backend/app/api/endpoints/compliance.py Compliance validation and framework detection endpoints
backend/app/api/endpoints/chat_simple.py Updated OpenAI model reference
backend/app/api/endpoints/chat.py Added integration settings support to chat endpoint
backend/app/api/endpoints/autopilot.py Full autopilot endpoints for parsing requirements and generating complete architectures

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread backend/app/core/config.py Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@error505 error505 merged commit 6b9e50e into main Dec 24, 2025
1 check failed
@error505 error505 deleted the feature/new_agents_and_migration_feature branch January 5, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants