Logo Lanfrica

jerrimnene/agrdibrain-app

Domain:

agriculturenatural language processing

Record type:

software
Creator:
jer
Host:
๐ŸŒพ AgriBrain - Zimbabwe Agricultural Intelligence System # ๐ŸŒพ AgriBrain - Zimbabwe Agricultural Intelligence System AgriBrain is an evidence-based AI agricultural assistant designed specifically for Zimbabwean farmers, agronomists, and agricultural stakeholders. It combines AI-powered chat with practical farming tools to provide actionable insights based on local agricultural data. ## โœจ Features ### ๐Ÿค– AI Chat Assistant - Evidence-based responses using RAG (Retrieval Augmented Generation) - Answers queries about Zimbabwean farming practices, crops, and policies - Sources cited from agricultural documents and research - Chat history with conversation management - Dark mode support ### ๐Ÿงฎ Gross Profit Calculator - Calculate farming profitability for different crops - Input costs: seeds, fertilizer, labor, equipment, transport - Revenue projections based on yield and prices - Instant profit/loss analysis ### ๐Ÿ“Š Market Price Check - Real-time agricultural market prices across Zimbabwe - Coverage of major markets: Mbare Musika, Mutare Sakubva, Gweru Kudzanai, Masvingo Central - Currency conversion (USD/ZWL) - Price trends and comparisons - 20+ crop types tracked ### ๐Ÿ‘ฅ Marketplace - Connect buyers and sellers of agricultural products - Filter by "Who's Buying" or "Who's Selling" - Search by crop, location, or user - Direct contact via phone, email, or messaging - Post your own listings ## ๐Ÿš€ Tech Stack **Frontend:** - Next.js 15 - React 18 - TypeScript - Tailwind CSS - Framer Motion (animations) - Lucide React (icons) **Backend:** - Python 3.11+ - FastAPI - LangChain - Ollama (local LLM - Mistral) - ChromaDB (vector database) - Sentence Transformers ## ๐Ÿ“‹ Prerequisites - Node.js 18+ and npm - Python 3.11+ - Ollama installed locally - Git ## ๐Ÿ› ๏ธ Installation ### 1. Clone the Repository ```bash git clone github.com cd zim_ai_factory ``` ### 2. Backend Setup ```bash cd backend # Create virtual environment python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\a โ€ฆ