π Enterprise AI Automation Platform
Sophisticated prompt management and workflow orchestration built with modern .NET architecture
π Live Demo β’ π Documentation β’ π Quick Start β’ π€ AI Workflows
PromptStudio is a sophisticated AI-powered prompt management and workflow orchestration platform built with modern .NET architecture. It provides a comprehensive suite of tools for creating, managing, and executing advanced AI agent workflows, with specialized prompt templates for enterprise automation, code analysis, debugging, content generation, and quality assurance.
- π Key Features
- ποΈ Architecture & Project Structure
- π Getting Started
- π³ Docker Deployment
- π€ AI Agent Workflows
- π Running the Applications
- π Model Context Protocol (MCP) Integration
- πΎ Database Management
- π§ͺ Testing & Quality Assurance
- π Documentation & Resources
- π€ Contributing
- ποΈ Modern .NET Architecture: Clean layered architecture with separation of concerns
- π€ AI Agent Workflows: Advanced prompt templates designed for complex multi-step AI automation
- π Enterprise-Grade Code Analysis: Comprehensive code review and refactoring capabilities
- π Intelligent Debugging: Systematic problem-solving frameworks for technical issues
- π¨ Multi-Modal Content Generation: Creative content creation for multi-platform campaigns
- β‘ Workflow Orchestration: Complex AI agent workflow management with error handling and monitoring
- π§ͺ Test Generation & QA Automation: Intelligent testing strategies with CI/CD integration
- π Interactive Web Interface: Modern ASP.NET Core application for prompt management
- π RESTful API: Comprehensive API for integration and automation
- π Model Context Protocol (MCP) Support: Seamless integration with AI development workflows
- π GitHub Integration: Direct issue creation and workflow orchestration via MCP servers
- π³ Docker Support: Complete containerized deployment with Docker Compose
PromptStudio follows modern .NET best practices with a clean, layered architecture:
PromptStudio/
βββ PromptStudio/ # π ASP.NET Core Web Application (Presentation Layer)
βββ PromptStudio.Core/ # π§ Business Logic & Domain Models (Core Layer)
βββ PromptStudio.Data/ # πΎ Data Access & Entity Framework (Data Layer)
βββ PromptStudio.Tests/ # π§ͺ Unit & Integration Tests
βββ mcp-server/ # π’ Node.js MCP Server Implementation
βββ PromptStudio.VSCodeExt/ # π VS Code Extension
- Presentation Layer: Modern ASP.NET Core web application with responsive UI
- Business Logic: Clean architecture with services, repositories, and domain models
- Data Layer: Entity Framework Core with SQLite/SQL Server support
- Testing: Comprehensive test suite for reliability and maintainability
- MCP Integration: Node.js-based MCP server for AI workflow integration
- VS Code Extension: Enhanced development experience with prompt management
- .NET 8.0 SDK or later
- SQL Server (LocalDB, SQL Server Express, or full SQL Server)
- Node.js 18+ (for MCP server components)
- Visual Studio 2022 or VS Code (recommended)
- Docker & Docker Compose (optional, for containerized deployment)
-
π Clone the repository
git clone https://github.com/BodieCoding/promptstudio.git cd promptstudio
-
π Launch with Docker Compose
# Production deployment docker-compose up -d # Development with hot reload docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
-
π Access the applications
- PromptStudio Web UI: http://localhost:5000
- MCP Server: http://localhost:3001
- SQL Server: localhost:1433
-
π Clone the repository
git clone https://github.com/BodieCoding/promptstudio.git cd promptstudio
-
ποΈ Database Setup2. ποΈ Database Setup The application includes comprehensive seed data with enterprise-grade AI agent prompt templates:
dotnet ef database update --startup-project PromptStudio/PromptStudio.csproj --project PromptStudio.Data/PromptStudio.Data.csproj
-
βοΈ Environment Setup The application will create and configure the database automatically on first run with comprehensive seed data.
-
π¨ Build the solution
dotnet build PromptStudio.sln
-
βΆοΈ Run PromptStudiodotnet run --project PromptStudio/PromptStudio.csproj
Access the application at
http://localhost:5131
-
π Run MCP Server (Optional)
cd mcp-server && npm install && npm start
PromptStudio comes pre-configured with sophisticated AI agent prompt templates designed for enterprise automation:
Advanced prompt templates for complex multi-step AI automation:
-
Advanced Code Analysis & Refactoring (21 variables)
- Comprehensive code quality assessment with business context
- Architecture review and performance optimization
- Refactoring recommendations with impact analysis
- Risk assessment and implementation planning
-
AI-Powered Debugging & Problem Solving (40+ variables)
- Systematic issue diagnosis and resolution framework
- Root cause analysis with environmental context
- Solution validation and testing strategies
- Performance impact assessment
-
Multi-Modal Creative Content Generator (60+ variables)
- Multi-platform content creation and optimization
- A/B testing framework integration
- Brand consistency and compliance checking
- Performance metrics and ROI tracking
-
AI Agent Workflow Orchestration (80+ variables)
- Complex multi-step workflow design and management
- Error handling and fallback strategies
- Monitoring and alerting configuration
- Scalability and performance optimization
-
Intelligent Test Generation & QA Automation (80+ variables)
- Comprehensive testing strategy development
- CI/CD pipeline integration
- Quality metrics and compliance reporting
- Risk assessment and mitigation planning
Basic templates to get you started:
- Code Review templates
- Basic prompt structures
PromptStudio provides complete containerized deployment with Docker Compose, including the web application, SQL Server database, and MCP server.
- π PromptStudio Web Application: ASP.NET Core app running on port 5000
- πΎ SQL Server: Microsoft SQL Server 2019 on port 1433
- π MCP Server: Node.js-based MCP server on port 3001
# Start all services
docker-compose up -d
# View logs
docker-compose logs -f
# Stop all services
docker-compose down
# Development mode with file watching
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
# Rebuild specific service
docker-compose build promptstudio
docker-compose up -d promptstudio
- PromptStudio: http://localhost:5000
- MCP Server: http://localhost:3001
- SQL Server: localhost:1433 (sa/Two3RobotDuckTag!)
The Docker setup includes pre-configured environment variables:
- Database Connection: Automatically configured for containerized SQL Server
- MCP Integration: Services can communicate via internal Docker network
- API URLs: Cross-service communication configured
# Check service status
docker-compose ps
# View specific service logs
docker-compose logs promptstudio
docker-compose logs mcp-server
docker-compose logs sqlserver
# Restart specific service
docker-compose restart promptstudio
- Start PromptStudio:
dotnet run --project PromptStudio/PromptStudio.csproj
- Open your browser to
http://localhost:5131
- Explore the AI Agent Workflows collection for advanced automation templates
- Create and execute sophisticated prompt workflows with extensive variable support
PromptStudio provides a comprehensive REST API for automation and integration:
- Collections API:
/api/prompts/collections
- Manage prompt collections - Prompts API:
/api/prompts/prompts
- Create and manage prompt templates - Execution API:
/api/prompts/execute
- Execute prompts with variables - Batch Processing:
/api/prompts/batch
- Execute prompts with variable collections
Example API usage:
# Get all collections
curl http://localhost:5131/api/prompts/collections
# Execute a prompt
curl -X POST http://localhost:5131/api/prompts/execute \
-H "Content-Type: application/json" \
-d '{"id": 1001, "variables": "{\"code_type\":\"microservice\", \"project_name\":\"PaymentAPI\"}"}'
The workspace includes pre-configured tasks accessible via Command Palette (Ctrl+Shift+P
β "Tasks: Run Task"):
- π
Run PromptStudio
: Starts the web application at http://localhost:5131 - π
Run MCP Server
: Starts the Node.js MCP server - π¨
build
: Builds the entire solution - π¦
publish
: Creates production-ready builds - π
watch
: Runs with hot reload for development
# Run the main web application
dotnet run --project PromptStudio/PromptStudio.csproj
# Run with hot reload (development)
dotnet watch run --project PromptStudio/PromptStudio.csproj
# Run the Node.js MCP server
cd mcp-server && npm install && npm start
PromptStudio provides a Node.js-based MCP server for seamless AI workflow integration:
- ** mcp-server** (Node.js-based): Lightweight, cross-platform implementation with full PromptStudio integration
The MCP server can be integrated with various AI development tools. See the mcp-server/
directory for configuration examples and setup instructions.
The included GitHub MCP server enables:
- π― Direct issue creation from analysis results
- π Automated project management via prompt workflows
- π Continuous improvement through orchestrated analysis cycles
PromptStudio uses Entity Framework Core with SQLite (default) or SQL Server support.
# Install EF tools (if not already installed)
dotnet tool install --global dotnet-ef
# Apply migrations and seed data
dotnet ef database update --startup-project PromptStudio/PromptStudio.csproj --project PromptStudio.Data/PromptStudio.Data.csproj
# Add a new migration when making schema changes
dotnet ef migrations add MigrationName --startup-project PromptStudio/PromptStudio.csproj --project PromptStudio.Data/PromptStudio.Data.csproj
# Apply the new migration
dotnet ef database update --startup-project PromptStudio/PromptStudio.csproj --project PromptStudio.Data/PromptStudio.Data.csproj
The application automatically seeds with comprehensive prompt templates:
- π Sample Collection: Basic templates for getting started
- π€ AI Agent Workflows: 5 enterprise-grade automation templates with 280+ variables total
- π― Code Analysis Orchestrator: Specialized workflow for continuous code improvement
PromptStudio includes comprehensive testing and validation tools:
# Run all tests
dotnet test PromptStudio.sln
# Run specific test project
dotnet test PromptStudio.Tests/PromptStudio.Tests.csproj
The project includes testing utilities for validating different functionalities:
- π
test-mcp-connection.js
: Test MCP server integration - π§ͺ API testing utilities: Validate API endpoints and workflows
- π€ MCP integration validation: Test AI development workflow integration
- Code Analysis: Built-in static code analysis
- Integration Tests: Comprehensive API and workflow testing
- MCP Validation: Automated testing of MCP server implementations
- π Web Interface: Access PromptStudio at
http://localhost:5131
- π API Documentation: RESTful endpoints with comprehensive examples
- π MCP Integration Guide: Node.js server implementation and configuration
- π― Enterprise Templates: Pre-built sophisticated prompt templates
- π Code Analysis Guide: Comprehensive workflow orchestration documentation
CODE_ANALYSIS_ORCHESTRATOR_GUIDE.md
: Complete guide for automated code analysis workflowsVSCODE_EXTENSION_TEST_GUIDE.md
: VS Code extension testing and development guidemcp-server/README.md
: MCP server setup and configuration guide- API Examples: Comprehensive cURL and JavaScript examples for all endpoints
- π Explore the Web Interface: Start with the AI Agent Workflows collection
- π― Try Advanced Templates: Use the Code Analysis Orchestrator for real-world scenarios
- π API Integration: Integrate PromptStudio with your existing automation workflows
- π MCP Setup: Configure your AI development environment with the included Node.js MCP server
- π Custom Prompts: Create your own enterprise-grade prompt templates
- π€ GitHub Integration: Set up automated issue creation and project management
We welcome contributions! Please see our contributing guidelines and:
- Follow the established architecture patterns
- Include comprehensive tests for new features
- Update documentation for any new functionality
- Test MCP integration thoroughly
This project is licensed under the MIT License - see the LICENSE file for details.
PromptStudio: Empowering enterprise AI automation through sophisticated prompt management and workflow orchestration.