How som8018/agentic-ai-deploy works
This repository is a small prototype for AI-assisted CI/CD decisions. Its two scripts illustrate a pre-deployment flow (inspect a Git diff, ask an LLM which tests to run and whether to deploy, then write a test-list file) and a post-deployment flow (fetch CPU/error metrics and ask an LLM whether to continue or roll back). The post-deployment script reports a recommendation; it does not implement rollback. The workflow file is present, but its contents were not sampled, so its connections are unverified.
Main entry points: agent_analyze.py Diff analyzer · agent_post_deploy_check.py Deployment checker · agentic-deploy.yml GitHub Actions
Components 8
Pipeline entry
- GitHub Actions
.github/workflows/agentic-deploy.yml
Pre-deployment analysis
- Git history
- Diff analyzer
agent_analyze.py - Test-list output
agent_analyze.py
Post-deployment monitoring
- Deployment checker
agent_post_deploy_check.py - Deploy decision
agent_post_deploy_check.py
Other components
- OpenAI API
- Metrics API
Connections 8
- GitHub Actions → Diff analyzer: may invoke
- GitHub Actions → Deployment checker: may invoke
- Diff analyzer → Git history: reads diff
agent_analyze.py - Diff analyzer → OpenAI API: requests advice
agent_analyze.py - Diff analyzer → Test-list output: writes list
agent_analyze.py - Deployment checker → Metrics API: fetches metrics
agent_post_deploy_check.py - Deployment checker → OpenAI API: requests evaluation
agent_post_deploy_check.py - Deployment checker → Deploy decision: prints decision
agent_post_deploy_check.py