ββ¦ββ¦ β¦β¦ ββ¦ββ¦ββ¦ββββββ¦βββββ¦
ββββ ββ β βββββ β βββ ββ£β
β© β©ββββ©βββ© β©β© β© βββββ©ββ© β©β©ββ
AI AGENT
"What if AI could look at an image and talk about it like a human?" That's exactly what this does.
Most AI is either good at text or good at images β rarely both.
This agent bridges that gap. Upload any image, ask any question, and watch it think through vision + language together β like a human would.
You upload an image + You ask a question
β β
βΌ βΌ
ββββββββββββ ββββββββββββββ
β BLIP β β Your Text β
β (Vision) β β Query β
ββββββ¬ββββββ βββββββ¬βββββββ
β β
βΌ βΌ
π Caption βββββββββΆ π§© Combined Prompt
β
βΌ
βββββββββββββββββ
β LLaMA 3.3 β
β via Groq β‘ β
βββββββββ¬ββββββββ
β
βΌ
π¬ Intelligent Answer
|
πΌοΈ Vision Understanding Upload any image β photos, diagrams, screenshots, charts β and the agent understands what's in it before you even ask. |
π¬ Natural Language Q&A Ask follow-up questions in plain English. No special syntax. No prompting tricks. Just talk. |
|
β‘ Groq-Powered Speed LLaMA 3.3 70B running on Groq's LPU chips means answers arrive in under 2 seconds β not 20. |
βοΈ Live & Deployed Not just a local demo. Actually deployed on Streamlit Cloud and accessible from anywhere in the world. |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β Frontend ββββββββββββββββββββββββββ Streamlit β
β Vision ββββββββββββββββββββββββββ BLIP (Salesforce) β
β Language ββββββββββββββββββββββββββ LLaMA 3.3 70B β
β Inference ββββββββββββββββββββββββββ Groq API β‘ β
β Language ββββββββββββββββββββββββββ Python 3.10+ β
β Hosting ββββββββββββββββββββββββββ Streamlit Cloud β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Layer | Technology | Why |
|---|---|---|
| πΌοΈ Image Captioning | BLIP (Salesforce) | State-of-the-art vision-language model |
| π€ LLM | LLaMA 3.3 70B | Open-source, powerful, free |
| β‘ Inference | Groq API | 10x faster than standard GPU inference |
| π¨ UI | Streamlit | Fast to build, beautiful to use |
| βοΈ Deploy | Streamlit Cloud | Free, instant, shareable |
multimodal-agent/
β
βββ π app.py β main streamlit app + UI
β
βββ π model/
β βββ πΌοΈ blip.py β image captioning pipeline
β βββ π€ llm.py β groq + llama inference
β
βββ π utils/
β βββ π§© prompt.py β prompt builder (caption + query)
β
βββ π requirements.txt β all dependencies
βββ π .env β GROQ_API_KEY (don't commit!)
βββ π README.md
# 1. Clone the repo
git clone https://github.com/SHALINISAURAV/Multimodal_Agent.git
cd Multimodal_Agent
# 2. Create virtual environment
python3 -m venv venv
source venv/bin/activate # Mac/Linux
# venv\Scripts\activate # Windows
# 3. Install dependencies
pip install -r requirements.txt
# 4. Set your API key
echo "GROQ_API_KEY=your_api_key_here" > .env
# 5. Launch π
streamlit run app.pyπ Get your free Groq API key β console.groq.com
GROQ_API_KEY=your_groq_api_key_hereFor Streamlit Cloud deployment β add this in Settings β Secrets (not in .env file).
- πΌοΈ Image upload + captioning
- π¬ Text Q&A on images
- β‘ Groq-powered fast inference
- βοΈ Streamlit Cloud deployment
- π§ Chat history & memory
- π€ Voice input support
- ποΈ Upgrade to LLaVA / Gemini Vision
- π Multi-image comparison
- π Multilingual support
Shalini Saurav
AI Developer Β· Builder
Building intelligent systems that understand the world β one model at a time.