Skip to main content
Use a post-hook to transform the output of an Agent before it is returned to the user. This example shows how to:
  1. Transform agent responses by updating RunOutput.content
  2. Add formatting, structure, and additional information
  3. Enhance the user experience through content modification

Code

Usage

1

Set up your virtual environment

2

Install dependencies

3

Run example