Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

An agent that monitors a webcam and informs the user if anything interesting is happening.

Example Usage

This agent uses one tool to monitor the webcam and another one to create a UI to inform the user.

In order to install their dependencies, run:

pip install -r examples/webcam/requirements.txt

After that, you'll need to set the NERVE_WEBCAM_URL environment variable to the URL of the webcam you want to monitor, for instance:

export NERVE_WEBCAM_URL="rtsp://192.168.50.14:554/stream1"

For a list of supported formats, refer to the OpenCV documentation.

Finally, you can run the agent with:

nerve run examples/webcam -c 5

It is recommended to use a conversation window size of 5 messages.