cloud-agent status
The status command validates your local environment to ensure it is ready for deploying to a specific cloud provider. It can run in two modes: a basic check (no API key needed) or an AI-powered comprehensive check.
cloud-agent status [options]Options
Section titled “Options”| Flag | Description |
|---|---|
-c, --cloud <provider> | Cloud provider to check. One of aws, gcp, azure. Defaults to the configured default or aws. |
What It Checks
Section titled “What It Checks”Basic Mode (No API Key)
Section titled “Basic Mode (No API Key)”If no AI API key is configured, status runs basic checks:
- CLI installed — runs
aws --version,gcloud --version, oraz --versionand reports the version - Authentication — runs the provider’s identity command (
aws sts get-caller-identity,gcloud auth list, oraz account show)
AI-Powered Mode (With API Key)
Section titled “AI-Powered Mode (With API Key)”If an API key is available, the validator agent runs a comprehensive check:
- CLI Tool Verification — checks installation and version currency
- Authentication Status — verifies active authentication and identifies the user/account
- Environment Variables — checks for required provider-specific variables
- Network Connectivity — tests connectivity to cloud provider APIs and measures latency
- Permission Verification — attempts basic operations to verify you have sufficient permissions
Example Output
Section titled “Example Output”Basic Mode
Section titled “Basic Mode” ── Environment Status Check ──────────
Checking AWS environment...
✓ CLI installed (aws-cli/2.15.0) ✓ AuthenticatedAI-Powered Mode
Section titled “AI-Powered Mode” ── Environment Status Check ──────────
Checking AWS environment...
✓ Environment checks complete
ℹ Check Results:
✅ CLI Tool: AWS CLI v2.15.0 is installed and up to date ✅ Authentication: Authenticated as arn:aws:iam::123456789:user/deploy-user ✅ Env Variables: All required environment variables are set ✅ Network: Connection to AWS APIs successful (45ms) ⚠️ Permissions: Limited permissions detected
Issues found: ⚠️ ECS permissions not verified - you may need AmazonECS_FullAccess Fix: Attach the AmazonECS_FullAccess policy to your IAM user
⚠ Environment needs some configuration. See issues above.Issue Severity Levels
Section titled “Issue Severity Levels”The AI-powered check categorizes issues:
| Severity | Meaning |
|---|---|
| error | Blocks deployment. Must be fixed before deploying. |
| warning | May cause issues. Should be fixed but deployment might still work. |
| info | Optional improvements. Nice to have but not required. |
When to Use
Section titled “When to Use”Run status before deploy to catch configuration issues early:
# Check AWS environmentcloud-agent status --cloud aws
# If everything passes, proceed to deploycloud-agent deploy --cloud awsThe deploy command also runs environment validation as its first phase, but running status separately lets you diagnose issues without starting the full deployment workflow.