Skip to main content

An AI-powered DevOps toolkit for infrastructure automation and analysis

Project description

SynteraAI DevOps Toolkit

An AI-powered DevOps toolkit for infrastructure automation and analysis. This tool helps DevOps engineers automate infrastructure recommendations, security scanning, code quality analysis, and more using AI.

Features

  • 🤖 AI-powered infrastructure recommendations

  • 🐳 Automatic Dockerfile generation

  • 📦 Dependency checking

  • ⚙️ Deployment automation with Ansible

  • 📊 Monitoring automation with Prometheus and Grafana

Installation

pip install syntera-ai-cli

Quick Start

  1. Set up your OpenAI API key: linux:
export GEMINI_API_KEY='your-gemini-api-key-here'

windows(Powershell):

$env:GEMINI_API_KEY = "your-gemini-api-key-here"

Another great option: use .env file .

  1. Run the dashboard
  • in windows :
syntera-ai dashboard
  • in unix (mac or linux):
sudo GEMINI_API_KEY=$GEMINI_API_KEY syntera-ai dashboard
  1. Enter your GitHub repository URL when prompted.

  2. Use the interactive dashboard to:

    • Generate infrastructure recommendations
    • Generate Docker files
    • Generate ansible deployment files
    • And more!

Usage Examples

Infrastructure Recommendations

syntera-ai dashboard
# Select option 2 for infrastructure recommendations

Security Scanning

syntera-ai dashboard
# Select option 3 for security scanning

Code Quality Analysis

syntera-ai dashboard
# Select option 6 for code quality analysis

Requirements

  • Python 3.8 or higher
  • Gemmini API key
  • Git (for repository analysis)

🚀 Features

This tool provides a full DevOps automation pipeline, from containerization to deployment and monitoring setup. Follow the features in order for the best results.


🐳 Docker Generation

Automatically generate Dockerfiles and docker-compose.yml based on your project’s structure and tech stack.

  • Detects backend/frontend frameworks, ports, and dependencies.
  • Creates service-specific Dockerfiles with best practices.
  • Adds .env support if available.
  • Ensures Nginx handling and proper ENTRYPOINT setup.

➡️ Output: Dockerfiles and a ready-to-use docker-compose.yml.


🏗️ Infrastructure Provisioning

Generates full Ansible playbooks and reusable roles to deploy your app on a cloud server (e.g., AWS EC2).

  • Provisions VPC, subnet, EC2, keypair, security groups.
  • Installs Docker, sets up app containers, and deploys from your repo.
  • Includes modular roles like install_docker, code_setup, docker_template, and optional database_service.

➡️ Output: Ansible main.yml and role directories under roles/.


📈 Monitoring Audit

Analyzes your Prometheus & Grafana setup for observability and DevOps best practices.

  • Reviews Ansible roles for monitoring (e.g., monitoring, alerting).
  • Suggests improvements in metrics collection, dashboards, and alert rules.
  • Ensures roles are modular and production-ready.

➡️ Output: An analysis report with improvement recommendations, in addition to eding the ansible playbook to automate generate grafana dashboard for server metrics.


✅ Usage Order

To use this tool effectively:

  1. Start with Docker Generation – containerize your services.
  2. Proceed to Infrastructure Provisioning – deploy containers to the cloud.
  3. Finish with Monitoring Audit – validate observability and alerts.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Fouad Mahmoud

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

syntera_ai_cli-0.1.7.8.tar.gz (241.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

syntera_ai_cli-0.1.7.8-py3-none-any.whl (256.9 kB view details)

Uploaded Python 3

File details

Details for the file syntera_ai_cli-0.1.7.8.tar.gz.

File metadata

  • Download URL: syntera_ai_cli-0.1.7.8.tar.gz
  • Upload date:
  • Size: 241.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for syntera_ai_cli-0.1.7.8.tar.gz
Algorithm Hash digest
SHA256 2a6076846bbf40c26e19193c723f6ba903f94eb4ff1c9f8974241e59f7696416
MD5 c0b680ae2e3619231713993f6e560468
BLAKE2b-256 e1c3cf8951f8cf1db5cff4f4d06d286b09c0ed2392c4d7b8249c89aec441bfe0

See more details on using hashes here.

File details

Details for the file syntera_ai_cli-0.1.7.8-py3-none-any.whl.

File metadata

File hashes

Hashes for syntera_ai_cli-0.1.7.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5aedaa743330881e6329f32e76e2183cb1be0e5446402de7932d2c5766f70554
MD5 358dc64156863b1b9f6766b426db89e7
BLAKE2b-256 3146bc42bf5360687a3fcc1e0af747726b20bf781c1eaf6d0fe4643618ef88b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page