| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This directory contains example scripts that demonstrate how to use the Agentic DevOps framework. These examples range from simple CLI usage to complex multi-step agent workflows.
These scripts demonstrate how to use the command-line interface:
# Show main help
python run_cli.py --help
# Show EC2 commands
python run_cli.py ec2 --help
# List EC2 instances
python run_cli.py ec2 list-instances --output table
# Get GitHub repository details
python run_cli.py github get-repo owner/repo-name
# Deploy from GitHub to EC2
python run_cli.py deploy github-to-ec2 --repo owner/repo-name --instance-id i-1234567890abcdef0These examples demonstrate how to use the OpenAI Agents SDK integration:
Before running the agent examples, you need to:
Install the OpenAI Agents SDK:
pip install openai-agentsSet your OpenAI API key as an environment variable:
export OPENAI_API_KEY=your_api_key_hereAfter installing the prerequisites, you can run any of the examples:
# Run the hello world example
python hello_world.py
# Run the basic DevOps agent example
python openai_agents_example.py
# Run the CI/CD pipeline agent example
python ci_cd_pipeline_agent.py
# Run the disaster recovery agent example
python disaster_recovery_agent.py
# Run the security compliance agent example
python security_compliance_agent.pyIf you encounter an error about missing modules, make sure you've installed all the required dependencies:
pip install -r agentic_devops/requirements.txtThis example demonstrates a complex multi-step workflow for managing CI/CD pipelines using specialized agents:
Features:
This example demonstrates a complex multi-step workflow for disaster recovery operations using specialized agents:
Features:
This example demonstrates a complex multi-step workflow for security compliance operations using specialized agents:
Features:
The examples use the configuration and credential management from the Agentic DevOps framework. See the main documentation for details on setting up credentials and configuration.
If you encounter issues running the examples:
Make sure you have installed all required dependencies:
pip install -r agentic_devops/requirements.txtEnsure your OpenAI API key is set correctly:
export OPENAI_API_KEY=your_api_key_hereCheck that you're running the examples from the root directory of the repository.
For AWS and GitHub operations, ensure you have the appropriate credentials configured.
| Back | FazBrowse Home | New Git URL |