Skip to content

AI-driven peds for GTA V/FiveM using GPT, enhancing gameplay with realistic, engaging autonomous agents on .NET.

License

Notifications You must be signed in to change notification settings

MickMelon/PedGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PedGPT 🤖


🛠️ 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

Signal processing:

Signal processing

Deep reasoning:

Deep reasoning

Getting started

⚠️There is no current limit or real measure to token usage, so be careful!

  1. Clone this repository to your local machine:
git clone https://github.com/MickMelon/PedGPT.git
  1. Navigate to the IntelliPed.ConsoleApp project folder:
cd src/IntelliPed.ConsoleApp
  1. 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}"
  1. Build the solution using the following command:
dotnet build
  1. Start PedGPT by running the following command:
dotnet run

Contribute

Contributions are welcomed to help improve PedGPT. To contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Make changes and commit them to your branch.
  4. Submit a pull request, detailing the changes you made and why.

Licence

PedGPT is released under the GNU GPLv3 Licence.