Agent efficiency is a binary evaluation metric of the efficiency of your agentic workflows. An agentic session is considered efficient or optimal when the agent provides a precise answer or resolution to every user ask, with an efficient path. An ask could be a question that requires an answer, or a request that requires a resolution through tool usage.
Create the agent efficiency metric
This metric needs to be manually created, using a prompt defined by Galileo.1
Create a new LLM-as-a-judge metric
Create a new LLM-as-a-judge metric by following the instructions in our LLM-as-a-judge concept guide.Use the following settings:
Setting | Value |
---|---|
Name | Agent efficiency |
LLM Model | Select your preferred model |
Apply to | Session |
Advanced Settings | Configure these as required for your needs |
2
Set the prompt
Set the prompt to the following:
Prompt
3
Save the metric
Save the metric, then turn it on for your Log stream.