Zing Forum

Reading

CoopNet: AI-Driven Operational Coordination Platform for Agricultural Cooperatives

CoopNet is an AI-driven operational platform specifically designed for agricultural cooperatives, integrating functions such as inventory management, task delegation, and production communication. Through a single LLM and Tool Calling architecture, it enables automatic WhatsApp message parsing, intelligent task allocation, anomaly detection, and scheduled AI report generation, helping cooperatives achieve digitized and traceable operational management.

农业合作社AI代理Tool Calling库存管理WhatsApp集成任务分配异常检测Gemini
Published 2026-05-13 08:43Recent activity 2026-05-13 08:50Estimated read 5 min
CoopNet: AI-Driven Operational Coordination Platform for Agricultural Cooperatives
1

Section 01

CoopNet: AI-Driven Operational Coordination Platform for Agricultural Cooperatives

CoopNet is an AI-powered platform designed specifically for agricultural cooperatives. It integrates inventory management, task delegation, production communication, and more via a single LLM and Tool Calling architecture. Key capabilities include WhatsApp message parsing, intelligent task allocation, anomaly detection, and scheduled AI reports, enabling digitized and traceable operations.

2

Section 02

Background & Pain Points of Traditional Agricultural Cooperative Management

Traditional agricultural cooperatives rely on manual, decentralized management, leading to issues like:

  • Dispersed inventory information (Excel/paper/verbal, delays/errors)
  • Fragmented producer communication (WhatsApp/phone, lost information)
  • Manual warehouse task allocation (time-consuming, error-prone)
  • Lagged critical inventory level detection (supply crises)
  • Difficulty tracking expiring products (waste/loss)
  • No integrated analysis of demand, inventory, and capacity (poor decisions)
  • Lack of AI decision records (unauditable automation)
3

Section 03

CoopNet's Architecture & Technology Stack

CoopNet uses a 4-layer architecture: User/Producer/Cron → Frontend/Webhook → FastAPI Backend → Gemini AI Agent (Tool Calling) → Supabase DB → Tasks/Notifications/Reports/Logs. Tech stack details:

Layer Tech
Frontend Next.js15 + React19 + TypeScript + Tailwind CSS
Backend FastAPI + Python3.11+
DB Supabase PostgreSQL + Auth
AI Google Gemini + Tool Calling
Messaging Twilio WhatsApp
Scheduling APScheduler
4

Section 04

Core Functionalities of CoopNet

Key features include:

  1. AI Agent with Tool Calling: Uses Gemini to call tools like get_stock, assign_task, update_stock, etc.
  2. WhatsApp Message Handling: Parses producer messages (e.g., harvest updates) and automates inventory decisions based on stock levels.
  3. Shift-Based Task Allocation: Assigns tasks to active shift employees via role-department mapping.
  4. Scheduled AI Agents: Daily morning/evening reports, weekly insights, inventory checks, waste prevention, etc.
  5. Anomaly Detection: Identifies unexpected stock drops, demand surges, logistics delays, etc.
  6. AI Reports & Audit Logs: Generates regular reports and logs all AI decisions for traceability.
5

Section 05

Practical Application Value of CoopNet

For managers: Single-view operations monitoring, proactive alerts, data-driven decisions, reduced waste, efficiency gains. For producers: Simplified WhatsApp communication, fast feedback (accept/reject notifications), transparent process visibility.

6

Section 06

Security & Audit Features of CoopNet

Ensures trust and compliance via:

  • Auditable AI decisions (logged to ai_logs table)
  • Approval workflows for key operations
  • 12-hour timeout for unprocessed approvals
  • Confidence threshold for NLP parsing
  • Full user authentication/authorization via Supabase Auth
7

Section 07

Conclusion & Innovation of CoopNet

CoopNet innovatively applies AI to agricultural cooperative operations. It integrates inventory, task, and communication management into a unified platform, solving traditional pain points. The Tool Calling architecture allows AI to interact with databases and execute tasks, while scheduled agents ensure 24/7 monitoring. Audit logs build a reliable automation foundation, making it a practical digital transformation solution for cooperatives.