๐ ๏ธ Very WIP
The project has only just begun, so it's not in a real usable state. Drastic changes are expected.
PedGPT is an ambitious open-source project that aims to create intelligent autonomous agents for peds (pedestrians) in Grand Theft Auto V (GTA V) using advanced language models like GPT-4, built on .NET. This project takes inspiration from langchain, AutoGPT, and the ReAct framework to create peds that can reason, act, and interact in realistic and engaging ways.
The primary goal of this project is to enhance the gaming experience in GTA V by introducing AI-driven peds that possess more complex decision-making and behavior patterns compared to the original game NPCs. The integration with GTA V will be done through a FiveM server via gRPC.
Work has begun to move on over to using Semantic Kernel.
Overall process:
![Overall process](https://private-user-images.githubusercontent.com/21023513/331749974-d4c2b963-7e40-42ad-a06b-681136aa212c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM1MTgzMjcsIm5iZiI6MTcyMzUxODAyNywicGF0aCI6Ii8yMTAyMzUxMy8zMzE3NDk5NzQtZDRjMmI5NjMtN2U0MC00MmFkLWEwNmItNjgxMTM2YWEyMTJjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODEzVDAzMDAyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQzNjVlNjgzMDU3MmY4ZDI1ZmI3ODc4NWY5NGE2NmViNDFiYTdiYWY2OWU1YjQ4ZDVmYWIzYWYzNDU0NWRmZmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5rJQXOJNDuvopRvIy6_lsSFfZYzChmuWrIOjeypiPXg)
Signal processing:
![Signal processing](https://private-user-images.githubusercontent.com/21023513/331749992-392e6fd8-c5dd-4fb2-ad36-12ba3ab3f90a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM1MTgzMjcsIm5iZiI6MTcyMzUxODAyNywicGF0aCI6Ii8yMTAyMzUxMy8zMzE3NDk5OTItMzkyZTZmZDgtYzVkZC00ZmIyLWFkMzYtMTJiYTNhYjNmOTBhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODEzVDAzMDAyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI3OWZiZjJkOGRhOTNiMzE3ZWU3YTVhZTllYjM2NWMxN2QxMmE0MjEyYzAzMmViODVmMTA0NTc0YjllOTdhMDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.HpXHZXA2g_9cwDhiertqKx-ZzHIwjIOU4she4cQXWhg)
Deep reasoning:
![Deep reasoning](https://private-user-images.githubusercontent.com/21023513/331750015-72842d1b-495a-4d2f-84fb-eb41fc29c773.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM1MTgzMjcsIm5iZiI6MTcyMzUxODAyNywicGF0aCI6Ii8yMTAyMzUxMy8zMzE3NTAwMTUtNzI4NDJkMWItNDk1YS00ZDJmLTg0ZmItZWI0MWZjMjljNzczLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODEzVDAzMDAyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY0MmNlMWU0NzU1MTJmYjM2M2E2NGNlODljNTAxZTgxMzQ2OTZlMmYyMTE2NmRlNDU4YTUzMDE0MjkzZjY1MjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.JETx-o9PtvD4YzwkxclIMIDJkMq8HaMx4-5TJr6iWVw)
- Clone this repository to your local machine:
git clone https://github.com/MickMelon/PedGPT.git
- Navigate to the
IntelliPed.ConsoleApp
project folder:
cd src/IntelliPed.ConsoleApp
- Set your OpenAI API key to your dotnet user secrets by running the following command:
dotnet user-secrets set "OpenAi:ApiKey" "{your api key}"
dotnet user-secrets set "OpenAi:OrgId" "{your org id}"
- Build the solution using the following command:
dotnet build
- Start PedGPT by running the following command:
dotnet run
Contributions are welcomed to help improve PedGPT. To contribute:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Make changes and commit them to your branch.
- Submit a pull request, detailing the changes you made and why.
PedGPT is released under the GNU GPLv3 Licence.