AskGPT is a real-time AI assistant that enhances your calls, interviews, meetings, and lectures by providing instant AI-generated insights.
It captures live audio, transcribes speech into text, and generates context-aware responses—all in real-time!
- 🎤 Live Transcription – Converts speech into text instantly using Whisper AI.
- 🤖 Instant AI Responses – Get context-aware AI-generated answers on the fly.
- ⚙️ Customizable AI Context – Adapt AskGPT for customer service, interviews, or important calls.
- 🔒 Local & Private – Runs entirely on your machine using Ollama, keeping data secure.
- ⚡ Fast & Seamless – Streams AI responses token-by-token for real-time assistance.
- Start AskGPT – It listens to your call or meeting.
- Transcribes Speech – Converts spoken words into editable text.
- Modify & Ask AI – Adjust the text before sending it to AI.
- Instant AI Assistance – AI generates short, precise answers with brief explanations.
💡 Use it for:
✅ Providing Context for Customer Service – Quickly retrieve relevant information to assist customers efficiently.
✅ Getting Context on Important Calls – Summarize key points and remember critical details.
✅ Help During Interviews – Get AI assistance in answering behavioral, technical, or case study questions.
AskGPT uses BlackHole to capture system audio for transcription. Follow these steps to install and configure it properly.
BlackHole is a virtual audio driver that allows applications to send and receive audio between different apps.
- Download BlackHole from the official BlackHole GitHub.
- Install it by following the instructions in the
.pkginstaller.
To hear the system audio while also sending it to BlackHole:
- Open Audio MIDI Setup (
Command + Space→ search for "Audio MIDI Setup"). - Click
+in the bottom-left corner and select "Create Multi-Output Device". - In the right panel, enable:
- ✅ Built-in Output (Your Mac’s speakers or external device)
- ✅ BlackHole 16ch (or the version you installed)
- Set BlackHole as the Master Device.
- Check Drift Correction for your built-in speakers.
- Rename it (optional) to something like "BlackHole + Speakers" for easy identification.
AskGPT needs the correct input device index to listen to BlackHole.
Run the following script to list available audio devices:
python devs.pyThis will output something like:
Index 0: Built-in Microphone
Index 1: BlackHole 16ch
Index 2: Built-in Output
Look for the BlackHole device and note its index number.
Open app.py and update this line:
AUDIO_DEVICE_INDEX = X # Change this to your BlackHole device indexFor example, if BlackHole 16ch is at index 1, update:
AUDIO_DEVICE_INDEX = 1 # Change this to your BlackHole device indexSave the file and restart AskGPT.
- Open System Settings → Sound.
- Under Output, select your Multi-Output Device.
- Now, all system audio will be played through both your speakers and BlackHole.
- Open AskGPT and ensure it is set to listen to BlackHole.
- Now, the system audio will be transcribed while still being audible through your speakers.
💪 You’re all set! Now, AskGPT will capture system audio while you can still hear it! 🎧🔥
- If you don’t hear sound, check that Built-in Output is enabled in your Multi-Output Device.
- If AskGPT doesn’t capture audio, ensure BlackHole is selected as the input device in your app.
- Run
devs.pyagain if BlackHole's index changes after reconnecting devices. - Restart your Mac if changes don’t apply immediately.
Make sure you have Python 3.9+ installed. Then, install required libraries:
pip install flask flask-socketio pyaudio whisper flask-cors requestsDownload Ollama and install the best AI model for your use case:
curl -fsSL https://ollama.ai/install.sh | shThen, install the AI models:
ollama pull codellama # Best for coding-related queries
ollama pull mistral # Fast & balanced responses
ollama pull gemma # General-purpose AI modelNow, start the Ollama server:
ollama servepython app.pyThen open:
http://127.0.0.1:8080
Click "Set Context" in the UI to modify the AI’s behavior. You can:
- 🏆 Support customer service interactions (e.g., "Summarize key customer concerns and suggest appropriate responses.")
- 📝 Assist in important calls (e.g., "Extract important details and action points from business meetings.")
- 🎤 Help during interviews (e.g., "Provide structured responses to behavioral and technical interview questions.")
🚀 Customer Service Representatives – Get real-time AI-generated insights to improve responses.
📞 Professionals & Business Users – Take live notes and gain context during important calls.
🎙️ Job Seekers & Interviewees – Receive AI-assisted responses in interviews beyond technical roles.
No more struggling to keep up—AskGPT is your personal AI assistant for live conversations! 🚀🔥
Got an idea for improvement?
Feel free to submit a pull request or open an issue on GitHub!
CC0 1.0 Universal – Free for personal and commercial use.