Build the Python, CLI, Docker, CI/CD, AWS & Testing Foundations Needed for Production AI Systems
Welcome to the official course repository for Python Automation for Agentic AI & MLOps by Manifold AI Learning.
This repository contains the source code, hands-on examples, scripts, configuration files, and supporting resources used throughout the course.
Modern AI systems are not just prompts and model calls.
Production-style Agentic AI, GenAI, MLOps, DevOps, and AIOps workflows often require strong automation foundations:
- Python scripting
- file and folder automation
- command-line automation
- Linux utilities
- package management
- Docker
- GitHub Actions
- AWS basics
- CI/CD workflows
- testing with Pytest
- infrastructure automation
- MLOps and AIOps foundations
This course is designed to help learners build those foundations in a practical, hands-on way.
This course is useful for:
- Software engineers moving into AI engineering
- Backend engineers preparing for production AI systems
- DevOps engineers learning Python automation
- MLOps learners strengthening their automation foundations
- QA/Test engineers moving into AI testing and automation
- Data/ML professionals who want to become stronger with scripts, tools, testing, and deployment workflows
- Learners preparing for Agentic AI, GenAI, RAG, MLOps, and production AI projects
This is not a dedicated Agentic AI implementation course.
This is also not a prompt engineering course.
Instead, this is the Python automation foundation layer that supports production-style AI and automation workflows.
Before building serious Agentic AI or GenAI systems, learners should be comfortable with Python, files, CLI tools, Docker, CI/CD, testing, AWS basics, and automation workflows.
The course contains:
- 13 sections
- 109 lectures
- 14+ hours of structured training
- Introduction
- What Makes This Course Unique?
- Slide Resources and Source Code
- Introduction to Python
- Installing and Running Python
- Variables and Data Types in Python
- Jupyter Lab Interface Quick Tour
- Variables and Data Types - Hands On
- Comments in Python Programming Language
- Operators in Python Programming
- Operators in Python - Hands On
- Built-in Functions in Python Programming
- Built-in Functions in Python Programming - Hands On
- Built-in Functions in Python Programming - Part 2 - Hands On
- Sequences in Python
- Hands On Python Strings - Sequence Operations
- Hands On Python List - Sequence Operations
- Hands On Python Tuple - Sequence Operations
- Hands On Python Dictionary - Sequence Operations
- Hands On Python Sets - Sequence Operations
- Hands On Python Range - Sequence Operations
- Execution Control in Python
- Hands On - Conditional Statements in Python
- Hands On - For Control Statements in Python
- Hands On - While Control Statements in Python
- Hands On - Loop Control Statements in Python Programming
- Exception Handling in Python
- String Formatting in Python
- String Formatting - Hands On
- User Defined Functions in Python
- User Defined Functions & Scope of Variables Hands On
- Anonymous Functions - Lambda
- Advanced Functions - map, filter, list & dict comprehension
- Modules in Python
- Modules in Python - Hands On
- Regular Expressions
- Regular Expressions Hands On
- Introduction to Object Oriented Python
- Hands On - Classes and Objects
- Object Oriented Concepts in Python
- Object Oriented Concepts - Hands On
- Section Summary
- Introduction to Python File Automation
- Working with Files and Directory
- Working with Text Files
- Working with Binary Files
- Working with Common File Formats in DevOps, MLOps, AIOps Projects
- Working with Common File Formats in DevOps, MLOps, AIOps Projects - Part 2
- Strategies for Working with Large Files
- Encryption and Cryptography using Python
- Working with Directories in Python - os, shutil, pathlib
- Examples from MLOps
- Introduction to Working with Command Lines
- Working with sys Module - Hands On
- Working with os Module
- Working with subprocess Module
- Working with Command Line Tools
- sys.argv - Command Line Inputs
- Argparse - Parsing Command Line Inputs
- Function Decorators
- Parsing the Command Line using Click
- Creating a More Complex CLI using Click
- Working with Fire Package
- Introduction to Python Fabric Library
- Hands On Python Fabric
- Monitor the System with psutil
- Hands On psutil
- Introduction to Python Package Management
- Hands On Package Management with Python
- Hands On MLOps Package to PyPI
- Introduction to DevOps
- Introduction to Docker
- Docker Installation
- Docker Hands On
- Introduction to GitHub Actions
- Quick Demo on GitHub Actions YAML File
- Understanding GitHub Actions YAML File
- Create GitHub Actions from Scratch
- Configure Workflow Based on Use Case
- Agenda of the Section
- Create AWS Account
- Setting up MFA on Root Account
- Create IAM Account and Account Alias
- Setup CLI with Credentials
- IAM Policy
- IAM Policy Generator & Attachment
- Delete the IAM User
- S3 Bucket and Storage Classes
- Creation of S3 Bucket from Console
- Creation of S3 Bucket from CLI
- Version Enablement in S3
- Introduction to EC2 Instances
- Launch EC2 Instance & SSH into EC2 Instances
- Clean Up Activity
- Agenda of the Section
- Exploring the Files of CI/CD Python
- Pre-requisite Setup for CI/CD Pipeline
- Test the CI/CD with AWS
- Introduction to Pytest
- Pytest Hands On
- Pytest Fixtures
- Introduction to IaC
- Introducing Pulumi
- Getting System Ready
- Pulumi Hands On
- Pulumi with Advanced Use Case - EC2 with Security Group
- Introducing MLOps
- Hands On Demo MLOps
- Testing the MLOps
The course code is organized by section number and topic. Folder names in the repository map to the curriculum sections below.
python-for-agentic-ai-mlops-aiops-devops/
├── README.md
├── requirements.txt
├── .gitignore
├── 1.python-essentials/ # Section 2 — Python Essentials
├── 2.automation-files-directory/ # Section 3 — File Automation
├── 3.working-with-command-line/ # Section 4 — Command Line Automation
├── 4.linux-utilities/ # Section 5 — Linux Utilities
├── 5.package-management-python/ # Section 6 — Package Management
├── 6.docker-devops-mlops-aiops/ # Section 7 — Docker
├── 7.github-actions/ # Section 8 — GitHub Actions
├── 8.ci-cd-python/ # Section 10 — CI/CD with GitHub Actions & AWS
├── 9.pytest-devops-mlops/ # Section 11 — Pytest
├── 10.infrastructure-management-python/ # Section 12 — Infrastructure Automation (Pulumi)
├── 11.python-mlops/ # Section 13 — MLOps / AIOps
└── 12.monitoring-python-prometheus/ # Bonus — Prometheus & Grafana monitoring
| Curriculum section | Repository folder |
|---|---|
| 1. Introduction | Slides and overview (no dedicated code folder) |
| 2. Python Essentials | 1.python-essentials/ |
| 3. File Automation | 2.automation-files-directory/ |
| 4. Command Line Automation | 3.working-with-command-line/ |
| 5. Linux Utilities | 4.linux-utilities/ |
| 6. Package Management | 5.package-management-python/ |
| 7. Docker | 6.docker-devops-mlops-aiops/ |
| 8. GitHub Actions | 7.github-actions/ |
| 9. AWS Basics | Console/CLI walkthroughs (no dedicated code folder) |
| 10. CI/CD Pipeline | 8.ci-cd-python/ |
| 11. Pytest | 9.pytest-devops-mlops/ |
| 12. Infrastructure Automation | 10.infrastructure-management-python/ |
| 13. MLOps / AIOps | 11.python-mlops/ |
| Bonus | 12.monitoring-python-prometheus/ |
git clone <repo-url>
cd python-for-agentic-ai-mlops-aiops-devopsFor macOS/Linux:
python3 -m venv .venv
source .venv/bin/activateFor Windows:
python -m venv .venv
.venv\Scripts\activatepip install -r requirements.txtNavigate to the relevant section folder and run the examples.
Example:
cd 3.working-with-command-line
python demo.pyAfter installing dependencies, you can validate key sections with:
# Section 11 — Pytest examples
cd 9.pytest-devops-mlops
pytest
# Section 6 — MLOps package tests
cd 5.package-management-python/mlops-package
PYTHONPATH=. pytest
# Section 13 — MLOps project tests
cd 11.python-mlops/mlops_package
pytest
# Section 10 — CI/CD Flask app unit test
cd 8.ci-cd-python
python tests.pySome sections (AWS console demos, Pulumi, Fabric remote tasks, Prometheus/Grafana) require additional cloud setup, credentials, or optional packages noted in requirements.txt.
Some examples may require credentials or environment variables.
Create a .env file only when required.
Example:
AWS_ACCESS_KEY_ID=your_access_key
AWS_SECRET_ACCESS_KEY=your_secret_key
AWS_DEFAULT_REGION=ap-south-1Never commit .env files, access keys, passwords, tokens, or secrets to GitHub.
Some AWS demos may create cloud resources such as S3 buckets, EC2 instances, IAM users, or related services.
Please clean up resources after completing the demo to avoid unexpected charges.
Always follow your organization’s cloud security policies when working with AWS credentials.
Recommended learning flow:
- Watch the course video for the section.
- Open the corresponding section folder.
- Read the section notes or comments in the code.
- Run the hands-on examples.
- Modify the examples with your own inputs.
- Complete the practice task if provided.
- Clean up any generated files or cloud resources.
Agentic AI systems often depend on automation-heavy workflows.
For example, agents may need to:
- read and write files
- call tools
- execute scripts
- trigger workflows
- interact with APIs
- run CLI commands
- manage configuration
- use Dockerized environments
- trigger CI/CD pipelines
- validate outputs through tests
- connect to cloud infrastructure
- monitor system behavior
This course helps build the Python automation foundation behind those workflows.
After completing this course, learners can move deeper into:
- Agentic AI systems
- RAG systems
- AI evaluation and testing
- MLOps and LLMOps
- Production AI system design
- AI workflow orchestration
- Cloud deployment for AI systems
Explore the full Manifold AI Learning path at manifoldailearning.com/courses.
This repository builds the Python automation foundation. When you are ready to go from scripts and CI/CD to production-grade Agentic AI systems, Manifold AI Learning offers structured next steps:
- Register Free Demo Session — See how a local AI agent workflow becomes a production-style API service.
- AI Career Lab — Weekly live JD breakdowns, resume positioning, and interview prep.
- Claude Code & AI Builder Lab — 8-week path to ship your first shareable AI app.
- AI Interview Readiness Review — 45-minute 1:1 profile and direction review.
- Agentic AI Transformation Bootcamp — End-to-end RAG, agents, evals, and deployment.
- Diamond Membership — Lifetime ecosystem access plus founder sessions.
Browse all programmes: https://manifoldailearning.com/courses
Recommended:
- Python 3.9+
- Git
- VS Code or any preferred IDE
- Jupyter Lab or Jupyter Notebook
- Docker Desktop
- AWS account for AWS-related demos
- Basic terminal/command-line familiarity
This repository is provided for educational purposes as part of the course.
Before using any code in production, review, test, secure, and adapt it according to your project and organization’s standards.
Cloud-related examples may incur charges if resources are created and not cleaned up.
Nachiketh Murthy Founder, Manifold AI Learning
Manifold AI Learning focuses on helping engineers move from tutorials and demos to production-style AI systems.
Brand philosophy: Systems ship. Demos don’t.
For course-related support, please use the official Manifold AI Learning course platform or support channel.
This repository and its contents are intended for enrolled learners of the course.
Please do not redistribute, resell, or publish the course materials without permission from Manifold AI Learning.