Built-in Extractors
Letta Evals provides a set of built-in extractors that cover the most common extraction needs.
What are extractors? Extractors determine what part of an agent’s response gets evaluated. They take the full conversation trajectory and extract just the piece you want to grade.
Common Extractors
last_assistant
Extracts the last assistant message content.
first_assistant
Extracts the first assistant message content.
all_assistant
Concatenates all assistant messages with a separator.
pattern
Extracts content matching a regex pattern.
tool_arguments
Extracts arguments from a specific tool call.
tool_output
Extracts the return value from a specific tool call.
memory_block
Extracts content from a specific memory block.
Important: This extractor requires the agent’s final state, which adds overhead.
after_marker
Extracts content after a specific marker string.
Next Steps
- Custom Extractors - Write your own extractors
- Extractors Concept - Understanding extractors