π GROQ-POWERED MULTI-AGENT CHATBOT
βtens_flow_ai_agentβ β folder: module_3
100% Beginner-Friendly β 5 Minutes to Launch!
Anyone (even your grandma) can run this in 4 clicks + 1 command.
Hereβs your FULL COPY-PASTE GUIDE.
ββββββββββββββββββββββββββ
Python 3.10+ β type python --version in terminal
Free Groq API key β 2-minute signup
Internet β just once to install packages
ββββββββββββββββββββββββββ
2. ONE-CLICK SETUP (Copy ALL 7 lines)
mkdir tens_flow_ai_agent && cd tens_flow_ai_agent
mkdir module_3 && cd module_3
curl -s https://raw.githubusercontent.com/yourname/tens_flow_ai_agent/main/module_3/app.py > app.py
curl -s https://raw.githubusercontent.com/yourname/tens_flow_ai_agent/main/module_3/index.html > templates/index.html
pip install flask langgraph langchain-groq python-dotenv tenacity pydantic
3. GET YOUR FREE API KEY (30 seconds)
Open β https://console.groq.com/keys
Click βCreate API Keyβ
Copy the key (looks like gsk_abc123...)
ββββββββββββββββββββββββββ
4. PASTE YOUR KEY (1 line)
echo "GROQ_API_KEY=gsk_YourKeyHere" > .env
Replace gsk_YourKeyHere with the key you copied.
π Therapist (emotional)
π€ Logical (facts)
π» Coder (working code)
βοΈ Storyteller (creative)
It remembers you forever & asks smart follow-ups!
7. PROJECT STRUCTURE (copy-paste ready)
texttens_flow_ai_agent/
βββ module_3/
βββ app.py β main brain
βββ .env β your secret key
βββ user_memory.json β auto-saved memories
βββ templates/
βββ index.html β beautiful chat UI
TROUBLESHOOT (99% of errors)
βNo module named flaskβ β run pip install flask again
βInvalid API keyβ β open .env and paste key without quotes
Port busy β change last line in app.py: port=8081
ββββββββββββββββββββββββββ
ONE-LINE SUMMARY:-
Folder β module_3 β paste 2 files β pip install β .env key β python app.py β chat!