SDx - MASDA - AIaSS
AIaSS is a multi-agent, policy-governed platform that transforms user intent into a secure, cost-optimized, deployable multi-cloud infrastructure (AWS, GCP, Azure). The system uses deterministic orchestration with bounded AI optimization loops to produce an auditable, frontend-ready output including an infrastructure graph, per-node costs, security posture, and one-click deployment commands.
- Intent → Architecture → Cost → Security → Deploy (end-to-end)
- Multi-cloud comparison and selection
- Graph-native output for rich UI visualization
- Per-node cost attribution and budget estimation
- Security-by-design with compliance mapping
- Deterministic orchestration with strict loop limits
- Frontend: Graph-first UI with drill-down (infra, cost, security) and feedback.
- API Gateway: FastAPI endpoints for requests and streaming status.
- Orchestrator/Moderator: Deterministic controller governing loops and safety.
- Agent Mesh: Stateless AI agents (Intent, Infra, Cost, Security, Condenser).
- State Store: Versioned Work Orders (Postgres/Redis).
- Artifact Store: IaC bundles, graphs, decision logs (S3/GCS/Azure Blob).
- Execution: Terraform/OpenTofu, optional Kubernetes/Helm.
- LLMs never control flow.
- All inter-agent communication uses typed schemas.
- Loops are bounded and auditable.
- Outputs are UI-first and explainable.
- Provider-agnostic by default.
aiass/
├─ api/
│ ├─ main.py
│ ├─ routes/
│ └─ deps.py
├─ orchestrator/
│ ├─ moderator.py
│ ├─ convergence.py
│ └─ policies.py
├─ agents/
│ ├─ intent_parser.py
│ ├─ infra_agent.py
│ ├─ cost_agent.py
│ ├─ security_agent.py
│ └─ condenser.py
├─ schemas/
│ ├─ intent.py
│ ├─ infra_input.py
│ ├─ cost_input.py
│ ├─ security_input.py
│ ├─ infra_output.py
│ ├─ cost_output.py
│ └─ security_output.py
├─ state/
│ ├─ work_order.py
│ └─ repository.py
├─ iac/
│ ├─ terraform/
│ └─ mapping.py
├─ frontend/
│ └─ (React app)
├─ prompts/
│ └─ agent_prompts.md
└─ README.md
A versioned object persisted after each step:
- infra_schema, cost_schema, security_schema
- infra_candidates (per provider)
- cost_outputs, security_outputs
- final_output
- loop counters and status
- User submits intent.
- Intent Parser emits Infra/Cost/Security schemas.
- Infra ↔ Cost loop runs per provider (bounded).
- Moderator selects best candidate.
- Security validation (optional bounded re-loop).
- Condenser emits FinalArchitectureOutput.
- Frontend renders graph, costs, security.
- Optional IaC generation and deployment.
- User-configurable max iterations.
- Stop on convergence, infeasibility, or risk.
- Full decision logs retained.
- Intent Parser: NL → typed schemas.
- Infra Agent: schemas → provider-specific infra graph.
- Cost Agent: infra → BOM, estimates, optimization feedback.
- Security Agent: infra → compliance validation and remediations.
- Condenser: merges final outputs for UI.
- Pydantic validation after every agent.
- Token limits and retries.
- Schema version pinning.
- Explainability fields required.
- Graph-first with clickable nodes.
- Per-node infra/cost/security tabs.
- Budget and sensitivity views.
- User feedback routed back to agents (single bounded rerun).
- Terraform/OpenTofu generation.
- Optional Kubernetes/Helm.
- Commands:
aiass login
aiass plan
aiass deploy
aiass destroy
- Live telemetry overlays.
- Carbon-aware optimization.
- Portfolio-level views.
- DR simulation.
Apache-2.0