About

The HAGG AI Platform

Five specialized AI engines working together to transform mushroom farming.

Engines (9 engines)
Image Processing
Analyze mushroom samples with computer vision.
Diagnostic Engine
Identify diseases, pests, and environmental stress with AI-powered symptom analysis.
Pest Detection
Identify sciarid flies, mites, springtails and get treatment plans.
Water Management
Optimize irrigation schedules and substrate moisture for each growth phase.
Quality Grading
Grade harvests by A/B/C standards and get market price recommendations.
BOM & Inventory
Track bill of materials, substrate recipes, and automate reorder points.
Economic Analysis
Cost-benefit projections, live market pricing, and profitability modeling.
Forecasting Engine
Predict harvest yields, consumption trends, and optimal harvest windows.
Geo-AI Engine
Climate zone mapping, farm site suitability analysis, and risk assessment.
Architecture
3-Layer Architecture
Layer 1 — NLP Orchestrator: Routes natural language queries to the correct engine.
Layer 2 — 5 Specialized Engines: Each engine handles a specific domain.
Layer 3 — Knowledge Base: Treatment database, species catalog, and best practices.
Tech Stack
Backend: Python / FastAPI · async handlers · Pydantic v2 · JWT auth
Frontend: Next.js 14 · TypeScript · Framer Motion · Glassmorphism
Infra: Docker · PostgreSQL · pgvector · Gunicorn + Uvicorn
Next.js 14FastAPIPostgreSQLTypeScriptPython 3.12Framer MotionSQLAlchemyJWT AuthOpenAIDockerNext.js 14FastAPIPostgreSQLTypeScriptPython 3.12Framer MotionSQLAlchemyJWT AuthOpenAIDockerNext.js 14FastAPIPostgreSQLTypeScriptPython 3.12Framer MotionSQLAlchemyJWT AuthOpenAIDockerNext.js 14FastAPIPostgreSQLTypeScriptPython 3.12Framer MotionSQLAlchemyJWT AuthOpenAIDocker