How to Define Tasks for CloudThinker Autonomous Agent
Overview
This guide will help you create clear and effective task definitions for CloudThinker's autonomous agent. A well-defined task ensures the agent can properly understand and execute your requirements.
Task Template Structure
Every task should include these three essential components:
Mission: A clear statement of what needs to be done
Goal: The specific outcome you want to achieve
Instructions: Step-by-step guidance for the agent
How to Write Each Component
1. Mission Statement
Keep it short and specific
Start with an action verb (Example: Optimize, Reduce, Monitor)
Include the target resource type
Specify the location/region if applicable
Good examples:
"Automate right-sizing of EC2 instances in Singapore"
"Optimize EBS volumes in US-East region"
"Monitor S3 bucket usage in all regions"
2. Goal Statement
Define what success looks like
Make it measurable when possible
Include any specific criteria or thresholds
Good examples:
"Ensure all instances are cost-optimized based on usage patterns"
"Reduce unused EBS volume capacity by 30%"
"Identify S3 buckets with no access in last 90 days"
3. Instructions
List specific steps or requirements
Include any important limitations or conditions
Specify any required tags or filters
Note any special permissions or restrictions
Good examples:
Important Details to Include
Resource Targeting:
Environment tags (Production, Development, etc.)
Resource types
Regions or locations
Specific inclusion/exclusion criteria
Permissions:
What actions the agent can take
Whether human approval is needed
Any restricted operations
Constraints:
Time windows for actions
Cost thresholds
Performance requirements
Example Task Definitions
Example 1: EC2 Right-sizing
Example 2: Storage Optimization
Common Pitfalls to Avoid
Being too vague
Bad: "Optimize cloud resources"
Good: "Right-size EC2 instances tagged as Development in Singapore region"
Missing important constraints
Bad: "Delete unused resources"
Good: "Delete unattached EBS volumes older than 30 days in the Development environment"
Unclear permissions
Bad: "Update instances as needed"
Good: "You have permission to modify instance types within the same family"
Last updated