| title | Openagent |
|---|---|
| emoji | 🤖 |
| colorFrom | purple |
| colorTo | blue |
| sdk | docker |
| pinned | false |
╔═══════════════════════════════════════════════════════════════╗
║ ║
║ 🧠 HYBRID AI AGENT - Best of Both Worlds ║
║ ║
║ ⚡ ONLINE → Groq Llama 3.3 70B (ChatGPT-level, FREE) ║
║ 🔒 OFFLINE → Ollama Phi-3 (Privacy + Local Processing) ║
║ 🎯 AUTO → Intelligent Switching Based on Connectivity ║
║ ║
╚═══════════════════════════════════════════════════════════════╝
A next-generation AI assistant that combines the privacy of local processing with the power of cloud intelligence. Never compromise between speed and security again!
|
|
📋 Prerequisites
✅ Python 3.10 or higher
✅ Ollama (for local AI models)
✅ Tesseract OCR (for image processing)🔑 API Setup (FREE — No Credit Card Needed)
- Go to https://console.groq.com
- Sign up with Google or email
- Navigate to API Keys → Click Create API Key
- Copy the key (starts with
gsk_...)
llm:
provider: "groq"
api_key: "gsk_YOUR_API_KEY_HERE"
base_url: "https://api.groq.com/openai/v1"
cloud_model: "llama-3.3-70b-versatile"
host: "http://localhost:11434"
model: "phi3:mini"graph TB
A[🌐 Web UI - Flask] --> B{🤖 Agent Core}
B --> C[☁️ Cloud LLM<br/>Groq Llama 3.3 70B]
B --> D[🔒 Local LLM<br/>Ollama Phi-3]
B --> E[🛠️ Tool Suite]
E --> F[🔍 Web Search]
E --> G[📄 File Parser]
E --> H[👁️ OCR Vision]
E --> I[🗄️ RAG Memory]
I --> J[(💾 ChromaDB)]
style A fill:#00d4ff,stroke:#0099cc,stroke-width:3px,color:#000
style B fill:#7c3aed,stroke:#5b21b6,stroke-width:3px,color:#fff
style C fill:#10b981,stroke:#059669,stroke-width:2px,color:#fff
style D fill:#f59e0b,stroke:#d97706,stroke-width:2px,color:#fff
style E fill:#ec4899,stroke:#db2777,stroke-width:2px,color:#fff
style J fill:#6366f1,stroke:#4f46e5,stroke-width:2px,color:#fff
| 🔧 Tool | 🌍 Type | 📝 Description |
|---|---|---|
| Web Search | 🌐 Online | DuckDuckGo-powered intelligent search |
| Web Fetch | 🌐 Online | Extract and parse website content |
| File Parser | 🔒 Local | PDF, DOCX, TXT text extraction |
| OCR Vision | 🔒 Local | Tesseract-based image text recognition |
| Summarizer | 🔒 Local | Condense long documents intelligently |
| Sandbox Exec | 🔒 Local | Secure shell command execution |
| RAG Memory | 🔒 Local | ChromaDB-powered conversation memory |
MIT License — Copyright (c) 2024 Koushik HY

