Hey everyone! I’m excited to share a little project I’ve been working on: an AI “race engineer” for GT7, built entirely with open‑source tools and the Gran Turismo telemetry app (https://pypi.org/project/gt-telem/). If you like racing with the HUD off, especially in VR, this might be just for you! I think this project has legs, but lots of room for improvements, so all feedback is welcome! And if anyone is keen to help out and contribute to the GitHub, please feel free to do so!
Why this exists
- There’s already a couple beta open‑source engineers for live online races, but I mostly race against Sophy/do weekly challenges
- GT‑telem currently only exposes your own car’s data, so this is to get information of your own vehicle or the general race
- I wanted real‑time voice feedback without cluttering my screen (and since I play in VR mainly, without the HUD)
- I wanted to make a tool that did not use pre-scripted/pre-recorded responses, but rather genAI, and with telemetry data, frontier models are great at processing it and not hallucinating responses
Costs
- Uses OpenAI audio & chat calls under the hood.
- Roughly $0.01–$0.02 per full race.
Try it yourself
Admittedly, this is still very Python-centric, and at some point it'd be great to move to a simple executable folks could run. But if this is of interest to you, please check it out! Happy to iterate on issues that I'm sure will come up in the initial testing phase. Here's the repo: https://github.com/baruta1/gt7-engineer
---
## Features
### 1. Voice‑activated Q&A
- You join a Discord voice channel & type
- Once the race starts you hear:
- Then, at any time, you can say “Radio…” followed by any question:
- “Radio, how many laps left?”
- “Radio, what’s my tyre temperature?”
- “Radio, how long have I been racing?”
- the beauty of using GenAI is that you can ask things any way you want and about anything that data is there for to the engineer!
- The bot transcribes your question, grabs the latest telemetry, and uses GPT‑4o to reply via TTS. You'll need to have a .env file with your OpenAI credentials as mentioned in the README.
### 2. Automatic race updates
- Lap summaries (every lap except Lap 1 and the final lap): one‑liner summarizing position, fuel, pace, or tyre wear.
- Fuel warnings at 50%, 20%, and 10% remaining
- Position change alerts (overtakes or lost places) after Lap 2, with a 45 s cooldown
### 3. Customizable
- Replace
---
## Getting Started
Why this exists
- There’s already a couple beta open‑source engineers for live online races, but I mostly race against Sophy/do weekly challenges
- GT‑telem currently only exposes your own car’s data, so this is to get information of your own vehicle or the general race
- I wanted real‑time voice feedback without cluttering my screen (and since I play in VR mainly, without the HUD)
- I wanted to make a tool that did not use pre-scripted/pre-recorded responses, but rather genAI, and with telemetry data, frontier models are great at processing it and not hallucinating responses
Costs
- Uses OpenAI audio & chat calls under the hood.
- Roughly $0.01–$0.02 per full race.
Try it yourself
Admittedly, this is still very Python-centric, and at some point it'd be great to move to a simple executable folks could run. But if this is of interest to you, please check it out! Happy to iterate on issues that I'm sure will come up in the initial testing phase. Here's the repo: https://github.com/baruta1/gt7-engineer
---
## Features
### 1. Voice‑activated Q&A
- You join a Discord voice channel & type
!engineer
to summon your AI engineer. This makes it easy to then cast Discord to your PS5 so that you can use your audio/microphone from the PSVR, or you can play with your computer right next to you.- Once the race starts you hear:
“Engineer here — radio check, good luck out there!”
- Then, at any time, you can say “Radio…” followed by any question:
- “Radio, how many laps left?”
- “Radio, what’s my tyre temperature?”
- “Radio, how long have I been racing?”
- the beauty of using GenAI is that you can ask things any way you want and about anything that data is there for to the engineer!
- The bot transcribes your question, grabs the latest telemetry, and uses GPT‑4o to reply via TTS. You'll need to have a .env file with your OpenAI credentials as mentioned in the README.
### 2. Automatic race updates
- Lap summaries (every lap except Lap 1 and the final lap): one‑liner summarizing position, fuel, pace, or tyre wear.
- Fuel warnings at 50%, 20%, and 10% remaining
- Position change alerts (overtakes or lost places) after Lap 2, with a 45 s cooldown
### 3. Customizable
- Replace
driver_name
in the main code (GT7_Radio_GenAI.py) so it uses your name on the radio---
## Getting Started
- Clone the repo
- git clone https://github.com/baruta1/gt7-engineer.git
- cd gt7-engineer
- Install dependencies
- Configure tokens
- Add your Discord Bot Token & OpenAI API Key to a .env file
- Run the GUI launcher(shows an image & real‑time logs)
- python gui_launcher.py
- Join the engineer in Discord:
- Join a voice channel
- Run !engineer
- The radio should type Waiting for the Race to Start in Discord
- Start a race and use your engineer!
Call for Contributors
I’m new to sim‑racing and open‑source collaboration. If you’re a Python/Discord/AI enthusiast (or just a fellow racer) and want to:- Improve latency
- Add more telemetry hooks (weather, opponents, pit‑stop strategy)
- Polish the GUI or packaging
- Swap in a cheaper/faster TTS engine
Last edited: