Understanding usage: Agent Studio
Workato calculates Agent Studio usage based Genie actions. A Genie action is measured based on the number of prompts sent to a genie.
Usage calculation rules
Agent Studio usage calculations follow the general usage calculation rules, where successfully executed operations count towards usage and failed actions are excluded.
Workato uses the following additional rules to calculate Agent Studio usage:
- Genie actions are measured based on each individual prompt sent to the genie. This prompt can be sent by a user or system, such as another genie or App event.
- App event recipes invoked by a genie are considered billable as Workflows (recipes) and contribute to Business actions.
- Skill and Knowledge base recipes aren't considered billable as Workflows (recipes) and don't contribute to Business actions. However, if a Skill or Knowledge base recipe includes any of the following operations, they are billable and contribute to usage:
- IDP: Contributes to Pages processed
- Event Streams: Contributes to Events processed
- Recipe functions: The child recipe follows Workflow (recipe) calculation rules and contributes to Business actions.
Usage counting
Workato uses the following rules to calculate Agent Studio usage:
- 1 input prompt = 1 Genie action
- The total Genie action usage is the sum of all input prompts.
- The total Agent Studio usage is the sum of Genie actions and any additional eligible product capability usage.
Example usage calculations
The following examples demonstrate how Workato calculates usage for different types of genie interactions. These examples focus on how Genie actions are counted.
Skill task
Simple task
- The user sends one prompt to a genie which contributes to Genie actions.
- The genie executes a Skill recipe to retrieve the 10 newest leads from Salesforce and returns the information to the chat interface. Skill recipe execution is considered a Skill call and doesn't contribute to Business actions
Usage totals
- Genie actions: 1
- Total usage: 1 Genie action
Skill and reasoning tasks
Skill and reasoning tasks
- The user sends an initial prompt to a genie about how to prioritize addressing new leads, which contributes to Genie actions.
- The genie uses a skill to get leads and tasks from Salesforce and reasoning to generate a list of the highest priority new leads. Skill recipe execution and reasoning are each considered Skill calls and don't contribute to usage.
- The user sends a follow-up prompt to genie asking it to identify the lead to address first, which contributes to Genie actions.
- The genie uses reasoning to identify the highest priority lead,
Oscar Anderson
. Reasoning is considered a Skill call and doesn't contribute to usage.
Usage totals
- Genie actions: 2
- Total usage: 2 Genie actions
Skill, reasoning, and knowledge retrieval tasks
Skill, reasoning, and knowledge retrieval tasks
- The user sends an initial prompt to a genie asking it to generate a quote for a lead,
Oscar Anderson
, which contributes to Genie actions. - The genie uses a Skill recipe to retrieve details about
Oscar Anderson
from Salesforce, retrieves knowledge on the company's Standard Operating Procedures (SOPs) from its knowledge base, and uses reasoning to generate a quote. Skill recipe execution, knowledge retrieval, and reasoning are each considered Skill calls and don't contribute to usage. - The user sends a follow-up prompt to the genie asking it to apply a 30% discount to the quote, which contributes to Genie actions.
- The genie uses reasoning and knowledge retrieval to compare the requested discount to the company's SOPs. It identifies that all discounts require a justification and discounts higher than 20% require approval. Reasoning and knowledge retrieval are each considered Skill calls and don't contribute to usage.
- The user sends a follow-up prompt with the justification, which contributes to Genie actions.
- The genie uses reasoning and knowledge retrieval to identify errors in the justification. It edits the original justification and sends it back to the user for confirmation. Reasoning and knowledge retrieval are each considered Skill calls and don't contribute to usage.
- The users sends a prompt to the genie confirming the quote, which contributes to Genie actions.
- The genie moves the quote through the approval workflow, which invokes a Workflow (recipe) that consumes 2 Business actions.
Usage totals
- Genie actions: 4
- Business actions: 2
- Total usage: 4 Genie actions, 2 Business actions