CAC Veteran AI, or VAI for short, is a submission to the Congressional App Challenge made by Aavyan Anand and Tejas Kashyap. This is the final Repository to submit for both Tejas and Aavyan..
Table of Contents:
VAI (Veteran AI) is designed to provide accessible emotional support and guidance to military veterans using AI technology. It creates a safe space where veterans can express their thoughts and receive compassionate, automated responses. It also includes emergency keyword detection that can connect users to crisis resources, like 988 Suicide and Crisis Lifeline.e.
-
AI Counseling Chat – Uses Ollama + Mistral for local, private responses
-
Tkinter GUI – Simple and intuitive interface
-
Crisis Keyword Detection – Detects words like “suicide” or “hurt myself”
-
Automated Call Function – Connects to crisis helpline when triggered
-
Privacy-First – All processing is local with Ollama (no cloud data storage)
- Python 3.10+
- Ollama (local AI runtime)
- Internet connection for first-time model pull
https://www.python.org/downloads/ We need Python 3.10+ to run properlyy
Install ollama and tkinter(tk)
Use:
pip install tk ollamaDownload Ollama from: https://ollama.com/download
Once installed, verify it works by running: ollama --versionn
VAI uses the “Mistral” model for its responses.
In Terminal, type:
ollama pull mistralThis will download the AI model locally (only required once).
Make sure you are running terminal in the same folder as mainVai.py See usage for example demoo
If you get “Ollama not found” errors: • Make sure Ollama is running in the background. • On Mac, open the Ollama app manually once before using it in Python.n.
In this demo, the “Call” button dials a placeholder number.
In a real deployment, this would call 988 (Suicide and Crisis Lifeline)..
Program use:
- When you run the project, you will see a graphical display(using Tkinter).
- Enter information in the text box and click send
- Wait for AI to respond
- If you say one of the keywords, it will call a number(in real use, this would be 988 Suicide and Crisis Lifeline)
- Close the window to be done Ex::
There are multiple files in this project; the only script to run is the mainVai.py file. All the other scripts have snippets of code and cannot run the full projects.
MIT License
Copyright <2025 Aavyan Anand and Tejas Kashyap>ap>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.