Welcome to system-designer-AI! π Your go-to tool for smart, AI-powered software architecture decisions. Let system-designer-AI be your personal architecture assistant, guiding you through complex choices with ease and precision. π system-designer-AI leverages cutting-edge AI to recommend the best architecture patterns, databases, and security measures based on your projectβs unique needs. π Say goodbye to hours of decision-making! β³β¨
- Architecture Decisions ποΈ: Discover the perfect architecture pattern like Microservices, Monolithic, or Serverless!
- Database Choices π: Get tailored database recommendations based on your projectβs size and complexity.
- Security Measures π: Implement top-notch security with GDPR, HIPAA, SOC2, and more compliance standards.
- Machine Learning Capabilities π€: Select the ideal ML model and set performance metrics that fit your needs.
- Performance Monitoring π: Track and optimize your system's performance with detailed metrics and targets.
- Audit & Compliance β : Ensure your project meets the highest standards of auditing and compliance.
- Fast, Smart Decisions β±οΈ: Get instant, AI-driven architecture recommendations tailored to your project.
- Structured Outputs π: Receive structured JSON outputs that can be directly integrated into your project planning.
- Scalability Focused π: Make sure your architecture is scalable for future growth.
- Security First π: Your security is paramount! Ensure compliance with industry standards.
- Customizable π: Adapt recommendations to suit your specific needs.
The project is structured as follows:
system-designer-AI/
βββ app/
β βββ main.py # Main application logic and routes
β βββ prompts.py # Contains the prompt templates for the AI models
β βββ ui_components.py # Defines UI components for Streamlit interface
β
βββ core/
β βββ model_chain.py # Contains the logic for chaining AI models together
β βββ schemas.py # Defines Pydantic models and data schemas
β βββ utils.py # Utility functions for data processing and handling
β
βββ config/
β βββ settings.py # Stores environment settings and app configurations
β βββ constants.py # Contains constant values used throughout the project
β
βββ .env # Environment variables for sensitive keys and config
βββ .gitignore # Git ignore file to exclude files from version control
βββ requirements.txt # List of Python dependencies
βββ README.md # Project documentation and overview
βββ LICENSE # Project's open-source license
-
Clone the Repository π§³:
git clone https://github.com/andredisa/system-designer-AI.git
-
Install Dependencies π₯οΈ:
cd system-designer-AI pip install -r requirements.txt
-
Create Your Custom Prompt π:
Modify the
prompts.py
file to describe your project and receive personalized recommendations. β¨ -
Run the System πββοΈ:
Launch system-designer-AI to generate detailed architecture suggestions:
python app/main.py
-
Review Your Results π:
system-designer-AI will output a JSON object with detailed recommendations on architecture, security, databases, and more. π
Hereβs a sample of the architecture advice system-designer-AI will generate for you:
{
"architecture_decision": {
"pattern": "microservices",
"rationale": "Microservices architecture allows for better scalability and independent deployment.",
"trade_offs": {
"advantage": ["scalability", "independent deployment", "fault isolation"],
"disadvantage": ["complexity", "data consistency issues"]
},
"estimated_cost": {
"implementation": 50000,
"maintenance": 20000
}
},
"database_choice": "nosql",
"security_measures": [{
"measure_type": "encryption",
"implementation_priority": 1,
"compliance_standards": ["gdpr"],
"estimated_setup_time_days": 30
}],
"performance_requirements": [{
"metric_name": "latency",
"target_value": 100,
"measurement_unit": "ms",
"priority": 1
}]
}
- Python π: Backend development and AI processing.
- Flask π: Lightweight framework for handling requests and serving recommendations.
- OpenAI GPT π€: Harnesses the power of AI to generate architecture suggestions.
- JSON π: Structured output for easy integration and readability.
system-designer-AI ensures that your architecture recommendations align with key security and compliance standards, including:
- GDPR π: For protecting user data in the EU.
- HIPAA π₯: For handling sensitive healthcare information.
- SOC2 π’: Ensuring secure processes and systems for businesses.
- PCI-DSS π³: For secure payment processing and financial systems.
π Contributions are more than welcome!
If you find a bug π, have a feature request β¨, or want to improve the code π»:
- Open an Issue
- Submit a Pull Request π
Letβs build this together!
π This project is released under the MIT License.
Please refer to the LICENSE file for full details.
If you find my work useful and would like to support me, you can buy me a coffee! Your support helps me keep creating and improving my projects. Thank you! π