AgriPilot Runtime

Agent Kernel + LangGraph on a dedicated VPS

AgriPilot Runtime Agent Kernel + LangGraph on a dedicated VPS Android App · Flutter · JWT · Architecture component Android App Flutter · JWT Messaging · WhatsApp · Telegram · Architecture component · farmer gate Messaging WhatsApp · Telegram farmer gate Caddy · HTTPS :443 · VPS private Docker network Caddy HTTPS :443 RESTAPI · Agent Kernel · VPS private Docker network › Public edge (80/443) RESTAPI Agent Kernel Supervisor · LangGraph triage · VPS private Docker network › Public edge (80/443) Supervisor LangGraph triage Redis · sessions · threads · VPS private Docker network Redis sessions · threads PostgreSQL · marketplace :5432 · VPS private Docker network PostgreSQL marketplace :5432 ChromaDB · crop RAG index · VPS private Docker network ChromaDB crop RAG index Specialists · 4 agents · VPS private Docker network Specialists 4 agents External APIs · LLM · weather · OSRM · VPS private Docker network External APIs LLM · weather · OSRM HTTPS webhooks RAG index sessions SQL handoff VPS private Docker network Public edge (80/443) Legend Frontend Backend Database Cloud Security External

Clients

  • • Flutter Android: marketplace, plant tracking, live delivery maps
  • • WhatsApp and Telegram gate active farmer accounts before the agent runs
  • • Mobile session id agri:user:{user_id} across advisor threads

Agent Kernel

  • • RESTAPI mounts marketplace routers and channel handlers
  • • LangGraph supervisor routes to vision, knowledge, resource, delivery
  • • Tool guard limits external calls; order mutations stay REST-only

Production VPS

  • • Caddy terminates TLS; Postgres and Redis are not published publicly
  • • Redis-backed sessions and attachments survive container restarts
  • • deploy/deploy-vps.sh builds, migrates, and verifies /health