Caching is automatically enabled for compatible workflow blocks to improve
performance and reduce execution time.
What is Caching?
Caching is a performance optimization that allows your agent to “remember” how to perform certain actions instead of figuring them out from scratch each time. When a workflow block is cached, you’ll see a purple
How Caching Works
Kura automatically caches two types of workflow blocks:Action Blocks
When your agent successfully performs an action (like clicking a button or filling a form), Kura remembers the exact elements that were interacted with. The next time the same action is needed, your agent can use this cached information instead of having to analyze the page again. Example: If your agent learns how to click a “Submit” button once, it can use the cached selector information to find and click that button much faster in future runs.Navigation Blocks
For navigation blocks, Kura remembers how to navigate to specific URLs or pages. Example: If your workflow always needs to visit “https://example.com/dashboard”, this navigation can be cached for faster execution.When Cache Gets Created
The cache for a workflow block is created in two specific situations:- When the AI Assistant automatically adds a new workflow block to your agent
- When you run a workflow block in the builder and the block does not already have cached data
When Caching Doesn’t Apply
Kura intelligently decides when caching might not be helpful:- For complex decision-making: If an Action block needs to make different decisions based on what it sees (like “click the submit button if available, otherwise click the next one”), caching is skipped since each situation might require unique handling.
- For dynamic destinations: When a Navigation block needs to go to different URLs based on variables, caching is disabled since the destination changes each time.
Benefits of Caching
Caching provides two major advantages:- Faster Execution: Cached blocks run significantly faster since the agent doesn’t need to analyze and reason about what to do
- Increased Reliability: Once a successful approach is cached, it can be consistently repeated
Managing Cache
You can control caching on a per-block basis:- Click on any workflow block to select it
- Click “Edit” to open the block’s settings
- Use the options to either clear the existing cache or disable caching for that block