For interactions too complex or unpredictable for static automations, use AI agents that autonomously navigate and interact based on goals.
When to Use
AgenticTask
Use agentic_task when AI should autonomously accomplish a goal:
Properties
max_steps Guidelines
Higher max_steps means longer execution time and higher LLM costs.
Writing Good Task Descriptions
Good:
Poor:
Vision Mode
Enable use_vision for visual elements without good text labels:
Specialized action for dismissing popups, modals, and overlays:
Default Behavior
What It Handles
- Cookie consent banners
- Privacy policy notices
- Newsletter signup prompts
- Age verification gates
- Promotional popups
- Blocking overlays
Variables in Agentic Tasks
Use parameter substitution in task descriptions:
Combining with Static Actions
Best pattern: use static actions for predictable steps, agentic for uncertainty:
Best Practices