First SaaS MVP¶
Overview¶
The First SaaS MVP represents a critical milestone for the ConnectSoft AI Software Factory: the AI Factory SaaS — the first complete SaaS product generated by the Factory itself. This MVP demonstrates the Factory's ability to generate, deploy, and operate a production-ready, multi-tenant SaaS application that provides Factory capabilities as a service.
This MVP proves the Factory's core capability:
That the AI Software Factory can autonomously generate a complete, production-ready SaaS product — including multi-tenant architecture, API endpoints, agent orchestration, tenant management, and full integration with the Core Platform — and then use that same product to generate future SaaS solutions.
What Is the AI Factory SaaS?¶
The AI Factory SaaS is ConnectSoft's first SaaS product, providing AI Software Factory capabilities as a service. It is:
- Developer/Architect-Facing - Designed for developers, architects, and platform teams who want to generate microservices and projects quickly
- API-First - REST/gRPC APIs for all operations, with minimal UI
- Self-Generated - The Factory SaaS itself is generated using the Factory, demonstrating self-hosting capabilities
- Cycle 1 Product - Part of ConnectSoft's 5-cycle product strategy, launching in Q2 2026 (January - June 2026)
- Branded - Under
factory.connectsoft.aias part of the connectsoft.ai platform
SaaS Cycle 1
The AI Factory SaaS is ConnectSoft's first SaaS product, demonstrating the Factory's capabilities while serving as the foundation for all future SaaS products. It runs fully on the Core Platform and establishes the patterns for all subsequent SaaS products.
Key Capabilities¶
The AI Factory SaaS provides comprehensive Factory capabilities as a service:
Template Management¶
- Template Catalog - Browse, search, and discover available templates
- Overlay Recipes - Manage template overlays and composition patterns
- Template Versioning - Track template versions and compatibility
- Template Metadata - Rich metadata about templates, their parameters, and usage
Project Generation¶
- Complete Project Scaffolding - Generate full projects with code, infrastructure, and documentation
- Azure DevOps Integration - Generate repos, pipelines, and work items directly in Azure DevOps
- Git Integration - Generate projects in Git repositories (Azure DevOps, GitHub, etc.)
- Documentation Generation - Automatically generate ADRs, BDRs, and project documentation
- Multi-Project Solutions - Generate complete .NET solutions with multiple projects
AI Agent Orchestration¶
- Agent Execution - Orchestrate AI agents (Vision Architect, Enterprise Architect, Backend Developer, etc.) using Agent Template
- Agent Workflows - Define and execute multi-agent workflows
- Agent Monitoring - Monitor agent execution, traceability, and performance
- Agent Templates - Use Agent Template to host and execute AI agents
Multi-Tenant SaaS¶
- Tenant Isolation - Complete tenant isolation with per-tenant projects and templates
- Tenant Management - Onboard, manage, and configure tenants
- Per-Tenant Configuration - Tenant-specific settings and feature flags
- Usage Tracking - Track usage per tenant for billing and analytics
API-First Design¶
- REST APIs - Comprehensive REST API for all operations
- gRPC APIs - High-performance gRPC endpoints for internal services
- API Documentation - Auto-generated OpenAPI/Swagger documentation
- API Authentication - OAuth2/OIDC authentication via Identity Platform
Minimal Console UI¶
- Developer-Focused - Console UI optimized for developers and architects
- Project Dashboard - View and manage generated projects
- Template Browser - Browse and search templates
- Agent Execution Monitor - Monitor active agent executions and traces
Core Platform Dependencies¶
The AI Factory SaaS runs fully on the Core Platform, leveraging all foundational services:
Identity Platform¶
- Tenant Onboarding - User and tenant registration and management
- User Management - User accounts, roles, and permissions
- API Authentication - OAuth2/OIDC token-based authentication
- Multi-Tenant Identity - Tenant-aware identity and access control
Config Platform¶
- Feature Flags - Enable/disable features per tenant or globally
- Tenant-Specific Settings - Per-tenant configuration and customization
- Factory Configuration - Factory-wide settings and behavior configuration
- Environment Configuration - Dev, staging, production environment settings
Audit Platform¶
- Audit Trail - Complete audit trail of all Factory operations
- Project Generation Logs - Track all project generation activities
- Agent Execution Logs - Log all agent executions and outcomes
- Compliance - Tamper-evident audit events for compliance and governance
Billing & Subscription Platform¶
- Subscription Management - Manage tenant subscriptions and plans
- Usage Tracking - Track usage metrics (projects generated, agents executed, templates used)
- Billing Integration - Generate invoices and process payments
- Usage Limits - Enforce usage limits per subscription tier
Documents Platform¶
- Document Storage - Store generated documentation and artifacts
- Version Control - Version control for documents and artifacts
- Metadata Management - Rich metadata for documents and artifacts
- Document Retrieval - Search and retrieve documents by tenant, project, or type
Communications Platform¶
- Notifications - Send notifications to users about project status, agent completion, etc.
- Email Integration - Email notifications and reports
- SMS Integration - SMS notifications (optional)
- In-App Notifications - Real-time in-app notifications
Architecture and Components¶
The AI Factory SaaS is built as a multi-tenant SaaS application with the following architecture:
graph TB
subgraph CorePlatform["Core Platform"]
Identity[Identity Platform]
Config[Config Platform]
Audit[Audit Platform]
Billing[Billing Platform]
Documents[Documents Platform]
Communications[Communications Platform]
end
subgraph FactorySaaS["AI Factory SaaS"]
APIGateway[API Gateway<br/>REST/gRPC]
TenantService[Tenant Management Service]
TemplateService[Template Catalog Service]
ProjectService[Project Generation Service]
AgentService[Agent Orchestration Service]
ConsoleUI[Console UI<br/>Minimal]
end
subgraph KnowledgeSystem["Knowledge & Memory System"]
MCP[MCP Servers]
VectorDB[Vector Database]
KnowledgeGraph[Knowledge Graph]
end
subgraph External["External Systems"]
AzureDevOps[Azure DevOps]
Git[Git Repositories]
end
CorePlatform --> FactorySaaS
FactorySaaS --> KnowledgeSystem
FactorySaaS --> External
style CorePlatform fill:#e3f2fd
style FactorySaaS fill:#bbdefb
style KnowledgeSystem fill:#c8e6c9
style External fill:#fff3e0
Multi-Tenant Architecture¶
The AI Factory SaaS implements a complete multi-tenant architecture:
- Tenant Isolation - Data isolation at the database and application level
- Tenant-Aware Services - All services are tenant-aware and enforce isolation
- Per-Tenant Resources - Projects, templates, and agent executions are scoped to tenants
- Tenant Configuration - Per-tenant feature flags and configuration
API Gateway¶
- REST Endpoints - RESTful API for all operations
- gRPC Endpoints - High-performance gRPC for internal service communication
- Authentication - OAuth2/OIDC authentication via Identity Platform
- Rate Limiting - Per-tenant rate limiting and quotas
- API Versioning - Versioned APIs for backward compatibility
Template Catalog Service¶
- Template Storage - Store and manage templates and overlay recipes
- Template Discovery - Search and browse templates by category, type, or tags
- Template Metadata - Rich metadata about templates (parameters, dependencies, versions)
- Template Composition - Support for template overlays and composition
Project Generation Service¶
- Project Scaffolding - Generate complete projects from templates
- Azure DevOps Integration - Create repos, pipelines, and work items in Azure DevOps
- Git Integration - Generate projects in Git repositories
- Documentation Generation - Generate ADRs, BDRs, and project documentation
- Traceability - Full traceability of all generated artifacts
Agent Orchestration Service¶
- Agent Execution - Execute AI agents using Agent Template
- Workflow Orchestration - Orchestrate multi-agent workflows
- Agent Monitoring - Monitor agent execution, performance, and outcomes
- Trace Management - Manage trace IDs and agent execution traces
Relationship to AI Factory¶
The AI Factory SaaS has a unique relationship with the AI Factory engine:
Factory-as-Engine¶
The Factory-as-Engine represents the core Factory capabilities:
- Templates - Base templates and overlay recipes
- Agents - AI agent system and orchestration
- Generation Pipelines - Code generation and project scaffolding pipelines
- Knowledge System - Knowledge and memory system for agents
Factory-as-SaaS¶
The Factory-as-SaaS represents the SaaS productization:
- Tenant Management - Multi-tenant SaaS with tenant onboarding and management
- UI - Minimal console UI for developers and architects
- Billing - Subscription management and usage tracking
- Operations - Monitoring, observability, and operational tooling
Self-Generated¶
The AI Factory SaaS is generated by the Factory itself:
- The Factory engine generates the Factory SaaS
- This demonstrates self-hosting capabilities
- The Factory SaaS then uses the Factory engine to generate other SaaS products
- This creates a virtuous cycle of self-improvement
Self-Hosting Demonstration¶
The Factory SaaS serves as a proof point that:
- The Factory can generate complete, production-ready SaaS applications
- Generated SaaS applications can be multi-tenant, secure, and scalable
- The Factory can generate its own infrastructure and operations
- The Factory can evolve and improve itself
MVP Scope¶
The First SaaS MVP includes the following capabilities:
Core Platform Services¶
- Identity Platform - Operational and production-ready
- Config Platform - Operational with feature flags and tenant configuration
- Audit Platform - Operational with complete audit trail
- Billing & Subscription Platform - Operational with subscription management
- Documents Platform - Operational with document storage and retrieval
- Communications Platform - Operational with notifications and email
Template Catalog¶
- Base Microservice Template - Production-ready template for generating microservices
- Template Metadata - Rich metadata and documentation for templates
- Template Search - Basic search and discovery capabilities
- Template Versioning - Version tracking and compatibility management
Project Generation¶
- Project Scaffolding - Generate complete .NET solutions from templates
- Azure DevOps Integration - Create repos, pipelines, and work items
- Git Integration - Generate projects in Git repositories
- Documentation Generation - Generate basic ADRs and project documentation
Agent Orchestration¶
- Foundation Agents - Core agents from Foundation Agents MVP (Vision & Planning, Architecture, Engineering, DevOps)
- Agent Execution - Execute agents using Agent Template
- Basic Workflows - Simple sequential agent workflows
- Trace Management - Full traceability with trace IDs
Multi-Tenant Management¶
- Tenant Onboarding - Basic tenant registration and onboarding
- Tenant Isolation - Data isolation at database and application level
- Per-Tenant Projects - Projects scoped to tenants
- Tenant Configuration - Basic per-tenant settings
API Endpoints¶
- REST API - Core REST endpoints for template management, project generation, and agent orchestration
- Authentication - OAuth2/OIDC authentication via Identity Platform
- API Documentation - OpenAPI/Swagger documentation
- Rate Limiting - Basic rate limiting per tenant
Minimal Console UI¶
- Project Dashboard - View and manage generated projects
- Template Browser - Browse and search templates
- Agent Execution Monitor - Monitor active agent executions
- Tenant Settings - Basic tenant configuration UI
Timeline and Milestones¶
The First SaaS MVP is part of SaaS Cycle 1 (January 2026 - June 2026):
Q1 2026 (January - March)¶
Focus: Core Platform Stabilization
- Core Platform services (Identity, Config, Audit, Billing, Documents, Communications) production-ready
- Multi-tenant architecture proven and stable
- API versioning and documentation complete
- Observability and security built-in
Q2 2026 (April - June)¶
Focus: AI Factory SaaS MVP Launch
- AI Factory SaaS v1 operational
- Template catalog with base microservice template
- Project generation to Azure DevOps working
- Basic agent orchestration (Foundation Agents)
- Multi-tenant tenant management operational
- API endpoints for core operations
- Minimal console UI available
- First external customers onboarded
Success Milestones¶
- ✅ Core Platform services stable and production-ready
- ✅ AI Factory SaaS successfully generates projects for internal use
- ✅ First external customers using Factory SaaS
- ✅ Template catalog operational
- ✅ Agent orchestration working end-to-end
- ✅ Multi-tenant isolation verified
- ✅ Self-generation demonstrated (Factory generates Factory SaaS)
Success Criteria¶
The First SaaS MVP is considered successful when:
Functional Success¶
- Project Generation - Factory SaaS successfully generates complete projects for internal teams
- Agent Orchestration - Agents execute end-to-end workflows successfully
- Multi-Tenant Isolation - Tenant isolation verified and working correctly
- API Functionality - All core API endpoints operational and tested
- Template Catalog - Template catalog operational with search and discovery
Operational Success¶
- Uptime - 99.5%+ uptime for Factory SaaS
- Performance - Project generation completes within acceptable timeframes
- Observability - Complete observability of all operations and agent executions
- Security - Security-first architecture verified and tested
- Compliance - Audit trail complete and compliant
Business Success¶
- First Customers - First external customers successfully onboarded
- Usage - Active usage of Factory SaaS by internal and external customers
- Feedback - Positive feedback on generated code quality and developer experience
- Self-Generation - Factory SaaS successfully generated by Factory (self-hosting proof)
Technical Foundation¶
The AI Factory SaaS is built on a robust technical foundation:
.NET 9+ and ASP.NET Core¶
- .NET 9+ - Latest .NET framework for all services
- ASP.NET Core - Web framework for REST APIs and console UI
- C# - Primary programming language
- Clean Architecture - Clean Architecture patterns throughout
Agent Framework¶
- Microsoft.Extensions.AI - Microsoft's AI extensions for .NET
- Agent Framework - Agent Framework for agent execution and orchestration
- Tool Registration - Tool registration and execution
- Conversation Persistence - Conversation and turn persistence
Model Context Protocol (MCP)¶
- MCP Integration - MCP servers for knowledge and memory
- Vector Database - Vector database for semantic search
- Knowledge Graph - Knowledge graph for structured knowledge
- Context Retrieval - Context retrieval for agents
Azure Kubernetes Service (AKS)¶
- Container Orchestration - Kubernetes for container orchestration
- Auto-Scaling - Horizontal pod autoscaling based on load
- Service Mesh - Service mesh for traffic management and security
- Multi-Region - Multi-region deployment support
Azure Container Registry¶
- Container Images - Store and version container images
- Image Security - Image scanning and security
- Image Distribution - Efficient image distribution to AKS clusters
Azure Service Bus¶
- Event-Driven Communication - Event-driven communication between services
- Reliable Messaging - Reliable message delivery and processing
- Dead-Letter Queues - Dead-letter queues for failed messages
- Message Ordering - Message ordering and sequencing
OpenTelemetry¶
- Distributed Tracing - End-to-end distributed tracing
- Metrics - Application and infrastructure metrics
- Logging - Structured logging with correlation IDs
- Observability - Complete observability of all operations
Agent Orchestration Flow¶
The AI Factory SaaS orchestrates agents to generate projects:
sequenceDiagram
participant User
participant FactorySaaS as Factory SaaS API
participant Orchestrator as Agent Orchestrator
participant VisionAgent as Vision & Planning Agents
participant ArchAgent as Architecture Agents
participant EngAgent as Engineering Agents
participant DevOpsAgent as DevOps Agents
participant AzureDevOps as Azure DevOps
User->>FactorySaaS: POST /api/projects/generate
FactorySaaS->>Orchestrator: Create Project Generation Request
Orchestrator->>VisionAgent: Execute Vision Architect Agent
VisionAgent->>Orchestrator: Vision Document Created
Orchestrator->>ArchAgent: Execute Enterprise Architect Agent
ArchAgent->>Orchestrator: Architecture Blueprint Created
Orchestrator->>EngAgent: Execute Microservice Generator Agent
EngAgent->>Orchestrator: Microservice Generated
Orchestrator->>DevOpsAgent: Execute Code Committer Agent
DevOpsAgent->>AzureDevOps: Commit Code to Git
AzureDevOps-->>DevOpsAgent: Commit Successful
DevOpsAgent->>Orchestrator: Code Committed
Orchestrator->>DevOpsAgent: Execute Pull Request Creator Agent
DevOpsAgent->>AzureDevOps: Create Pull Request
AzureDevOps-->>DevOpsAgent: Pull Request Created
DevOpsAgent->>Orchestrator: Pull Request Created
Orchestrator->>FactorySaaS: Project Generation Complete
FactorySaaS->>User: Return Project Details
Multi-Tenant Isolation Architecture¶
The AI Factory SaaS implements complete tenant isolation:
graph TB
subgraph Tenant1["Tenant 1"]
T1Projects[T1 Projects]
T1Templates[T1 Templates]
T1Agents[T1 Agent Executions]
T1Config[T1 Configuration]
end
subgraph Tenant2["Tenant 2"]
T2Projects[T2 Projects]
T2Templates[T2 Templates]
T2Agents[T2 Agent Executions]
T2Config[T2 Configuration]
end
subgraph Database["Multi-Tenant Database"]
T1Data[(Tenant 1 Data<br/>Isolated)]
T2Data[(Tenant 2 Data<br/>Isolated)]
end
subgraph Services["Factory SaaS Services"]
TenantService[Tenant Service<br/>Enforces Isolation]
ProjectService[Project Service<br/>Tenant-Aware]
TemplateService[Template Service<br/>Tenant-Aware]
AgentService[Agent Service<br/>Tenant-Aware]
end
T1Projects --> TenantService
T1Templates --> TenantService
T1Agents --> TenantService
T1Config --> TenantService
T2Projects --> TenantService
T2Templates --> TenantService
T2Agents --> TenantService
T2Config --> TenantService
TenantService --> T1Data
TenantService --> T2Data
style Tenant1 fill:#e3f2fd
style Tenant2 fill:#f3e5f5
style Database fill:#fff3e0
style Services fill:#c8e6c9
Project Generation Workflow¶
The complete project generation workflow:
flowchart TD
Start[User Submits Project Request] --> Validate[Validate Request & Tenant]
Validate --> CreateTrace[Create Trace ID]
CreateTrace --> Orchestrate[Orchestrate Agents]
Orchestrate --> Vision[Vision & Planning Agents]
Vision --> Architecture[Architecture Agents]
Architecture --> Engineering[Engineering Agents]
Engineering --> DevOps[DevOps Agents]
DevOps --> GenerateCode[Generate Code from Templates]
GenerateCode --> CreateRepo[Create Azure DevOps Repo]
CreateRepo --> CommitCode[Commit Code to Repo]
CommitCode --> CreatePR[Create Pull Request]
CreatePR --> GenerateDocs[Generate Documentation]
GenerateDocs --> StoreArtifacts[Store Artifacts in Documents Platform]
StoreArtifacts --> AuditLog[Log to Audit Platform]
AuditLog --> NotifyUser[Notify User via Communications Platform]
NotifyUser --> End[Project Generation Complete]
style Start fill:#e3f2fd
style Orchestrate fill:#bbdefb
style GenerateCode fill:#c8e6c9
style End fill:#a5d6a7
SaaS Ecosystem Position¶
The AI Factory SaaS is positioned as the first SaaS product in ConnectSoft's 5-cycle strategy:
graph TB
subgraph Core["Core Platform"]
Identity[Identity]
Config[Config]
Audit[Audit]
Billing[Billing]
Documents[Documents]
Communications[Communications]
end
subgraph Cycle1["Cycle 1: AI Factory SaaS"]
FactorySaaS[AI Factory SaaS<br/>factory.connectsoft.ai]
end
subgraph Cycle2["Cycle 2: Horizontal SaaS"]
Marketing[Marketing Hub]
Links[Short Links]
Workflow[Workflow Orchestrator]
CMS[Headless CMS]
CRM[CRM Hub]
end
subgraph Cycle3["Cycle 3: Personal Agents"]
PersonalAgents[connectsoft.me<br/>Personal Agents Platform]
end
subgraph Cycle4["Cycle 4: AI & Forms"]
BotFramework[AI Bot Framework]
Forms[Digital Forms]
Insurance[Insurance Suite]
end
subgraph Cycle5["Cycle 5: Marketplaces"]
TemplateMkt[Template Marketplace]
AgentMkt[Agent Marketplace]
SaaSMkt[SaaS Marketplace]
end
Core --> FactorySaaS
FactorySaaS --> Marketing
FactorySaaS --> Links
FactorySaaS --> Workflow
FactorySaaS --> CMS
FactorySaaS --> CRM
FactorySaaS --> PersonalAgents
FactorySaaS --> BotFramework
FactorySaaS --> Forms
FactorySaaS --> Insurance
FactorySaaS --> TemplateMkt
FactorySaaS --> AgentMkt
FactorySaaS --> SaaSMkt
style Core fill:#e3f2fd
style Cycle1 fill:#bbdefb
style Cycle2 fill:#c8e6c9
style Cycle3 fill:#fff3e0
style Cycle4 fill:#f3e5f5
style Cycle5 fill:#ffebee
Branding and Domain¶
- Domain:
factory.connectsoft.ai - Branding: Under connectsoft.ai (platform + AI Factory + technical story)
- Positioning: Developer/architect-facing, API-first, minimal UI
- Target Audience: Developers, architects, platform teams, SaaS companies
Related Documents¶
- Foundation Agents MVP - Foundation agents that power the Factory SaaS
- Vision Overview - ConnectSoft AI Software Factory vision
- Strategic Goals - Factory strategic goals and 5-cycle strategy
- Why AI Software Factory - Business rationale for the Factory
- Platform Architecture - Overall Factory architecture
- Agent System Overview - Multi-agent system that powers the Factory
- Template Architecture - Template architecture and composition
- Roadmap - Short-Term Plan - Short-term roadmap including Factory SaaS MVP
Summary¶
The First SaaS MVP (AI Factory SaaS) represents a critical milestone for ConnectSoft:
- First SaaS Product - ConnectSoft's first SaaS product, demonstrating Factory capabilities
- Self-Generated - Generated by the Factory itself, proving self-hosting capabilities
- Foundation for Future - Serves as the foundation for all future SaaS products
- Cycle 1 Achievement - Part of SaaS Cycle 1 (January - June 2026)
- Complete SaaS - Full multi-tenant SaaS with API, UI, billing, and operations
- Production-Ready - Production-ready, scalable, and secure
The AI Factory SaaS proves that the Factory can generate complete, production-ready SaaS applications that are multi-tenant, secure, scalable, and fully integrated with the Core Platform. This MVP establishes the patterns and foundation for all future SaaS products in ConnectSoft's 5-cycle strategy.