Docs 09-21-25 V1 (For questions or comments: Stephen Witty switty@level500.com)
This project adapts the classic Trolley Problem example into a modern version of the problem. The new problem involves an electric car driven by an AI. The AI finds itself in an unavoidable accident and must pick between individuals or groups to impact. Data is collected to study the choices the AI makes. The AI model used is Grok. The AI prompts used are contained in this repository along with a presentation that covers the results. The source code that interacts with the AI model is also included.
- A presentation that covers the project can be found below:
- Presentation Link
- The software is a Python3 script and runs in the usual manner
- The script has been tested on Ubuntu
- Place your own Grok API key toward the top of the Python script
- Edit the program constants as needed at the top of the Python script
