Monitor Generative AI Applications through Events
The Python Agent captures and publishes events for Large Language Model (LLM) and Vector Database operations. It helps you to monitor and analyze your generative AI application behavior in the Controller.
When you enable monitoring events of generative AI applications, the Python Agent instruments LLM and vector database calls from the supported frameworks. Then, it publishes the event data to the Events Service and this data is displayed on the Controller. Analyze the generative AI applications behavior using this data and take actions if necessary.
Supported Frameworks
After you enable the Python instrumentation to monitor events data, the Python Agent automatically collects events from the following frameworks:
| Framework | Flag |
|---|---|
| AWS Bedrock | enable-bedrock |
| LangChain LLM and VectorStores | enable-langchain |
| OpenAI Client | enable-openai |
Prerequisites
Ensure the following conditions are met:
Events Service version is 25.10.0 or higher
-
Python Agent version is 25.10.0 or higher.
Configure the Python Agent to Monitor Events
You must enable the required frameworks with the agent instrumentation.
For example, to capture OpenAI events, set both enable-openai and enable-genai-events to true.
Update the /path/to/appdynamics.cfg file.