Skip to main content
Like AOF? Give us a star!
If you find AOF useful, please star us on GitHub. It helps us reach more developers and grow the community.

Cloud Provider Tools

AOF provides multi-cloud support for AWS, Azure, and GCP, enabling agents to manage resources across all major cloud platforms.

Overview

Cloud tools wrap the native CLI tools (AWS CLI, Azure CLI, gcloud) to provide consistent, agent-friendly interfaces for cloud operations.

Supported Providers

ProviderCLIToolsStatus
AWSaws11 toolsProduction
Azureaz8 toolsProduction
GCPgcloud8 toolsProduction

Architecture

┌─────────────────────────────────────────────────────────────────┐
│ AOF Agent │
├─────────────────────────────────────────────────────────────────┤
│ Cloud Tools Layer │
├─────────────┬─────────────┬─────────────┬─────────────────────────┤
│ AWS CLI │ Azure CLI │ gcloud │ │
│ Wrapper │ Wrapper │ Wrapper │ │
├─────────────┼─────────────┼─────────────┤ │
│ aws_s3 │ azure_vm │ gcp_compute │ Unified API │
│ aws_ec2 │ azure_aks │ gcp_gke │ │
│ aws_rds │ azure_* │ gcp_* │ │
│ ... │ │ │ │
└─────────────┴─────────────┴─────────────┴─────────────────────────┘

Quick Start

Prerequisites

Install the CLI for your cloud provider:

# AWS CLI
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip && sudo ./aws/install

# Azure CLI
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash

# Google Cloud SDK
curl https://sdk.cloud.google.com | bash

Authentication

# AWS
aws configure
# Or use environment variables:
export AWS_ACCESS_KEY_ID="..."
export AWS_SECRET_ACCESS_KEY="..."

# Azure
az login
az account set --subscription "your-subscription-id"

# GCP
gcloud auth login
gcloud config set project your-project-id

Using Cloud Tools

apiVersion: aof.sh/v1alpha1
kind: Agent
metadata:
name: multi-cloud-ops
spec:
model: google:gemini-2.5-flash
tools:
# AWS
- aws_ec2
- aws_s3
- aws_cost
# Azure
- azure_vm
- azure_storage
# GCP
- gcp_compute
- gcp_storage

system_prompt: |
You manage resources across AWS, Azure, and GCP.
Use the appropriate cloud tools based on the resource location.

Tool Categories

Compute

AWSAzureGCP
aws_ec2azure_vmgcp_compute
aws_lambdaazure_functionsgcp_functions
aws_ecsazure_aksgcp_gke

Storage

AWSAzureGCP
aws_s3azure_storagegcp_storage

Database

AWSAzureGCP
aws_rds-gcp_sql

Messaging

AWSAzureGCP
aws_sqs-gcp_pubsub
aws_sns--

Identity & Security

AWSAzureGCP
aws_iamazure_keyvaultgcp_iam
-azure_resource-

Monitoring & Logging

AWSAzureGCP
aws_logsazure_monitorgcp_logging

Infrastructure

AWSAzureGCP
aws_cloudformationazure_resource-
-azure_network-

Cost Management

AWSAzureGCP
aws_costazure_monitor-

Pre-built Agents

AOF includes 4 pre-built agents for common cloud operations:

cost-optimizer

Analyzes cloud spending and recommends optimizations.

aofctl run agent library/cloud/cost-optimizer.yaml \
--input "Analyze AWS costs for the last 30 days"

iam-auditor

Audits IAM policies and permissions for security issues.

aofctl run agent library/cloud/iam-auditor.yaml \
--input "Audit IAM roles in production account"

resource-rightsize

Analyzes resource utilization and recommends rightsizing.

aofctl run agent library/cloud/resource-rightsize.yaml \
--input "Find oversized EC2 instances in us-east-1"

cloud-migrator

Plans and assists with cross-cloud migrations.

aofctl run agent library/cloud/cloud-migrator.yaml \
--input "Plan migration of S3 buckets to Azure Blob Storage"

Feature Flag

Enable cloud tools in your build:

# Cargo.toml
aof-tools = { version = "0.2", features = ["cloud"] }

Or with all features:

aof-tools = { version = "0.2", features = ["all"] }

Next Steps