Agricultural Intelligence

Agricultural Intelligence Platform

Price Prediction, Semantic Search and AI Chat · v1.0.0

A JSON API. Point a client at the routes below, or read the MCP tools documentation. The machine-readable index lives at /api.

MethodPathDescription
GET/api/cropsFull crop catalog
GET/api/crops/{crop_code}A single crop by code
GET/api/regionsAll regions
GET/api/regions/{region_code}A single region by code
GET/api/prices/{crop_code}/{region_code}Historical prices (USD/tonne)
POST/api/predictionsML price forecast with confidence interval
POST/api/searchSemantic search over the agronomic knowledge base
POST/api/chatLangGraph agent — full answer in one response
POST/api/chatstreamLangGraph agent — token stream over SSE
GET/api/chat/sessions/{session_id}Fetch a chat session
DELETE/api/chat/sessions/{session_id}Delete a session and its messages
ALL/api/mcp/mcpMCP server (streamable HTTP)