How harshith8899/agrythm-connect works
Agrythm Connect is a prototype voice-first farmer relationship and execution layer; its current product loop is text-only. The CLI seeds demo data if needed, selects an approved advisory, creates a validated event and conversation, and starts a session. The session builds verified farmer and advisory context, interprets English/Hindi/Hinglish input, checks every reply against approved content, and records a structured outcome, follow-up, or escalation. SQLite is the prototype system of record. The README describes safety and human escalation; phone, speech, and external provider integrations are not implemented in this prototype. Edges reflect excerpts or README statements; unsampled behavior is not inferred.
Main entry points: orchestrator.py Conversation session · cli.py Text CLI · db.py SQLite records · context.py Verified context
Components 11
Entry and triggers
- Text CLI
connect/cli.py - Event trigger
connect/events.py
Conversation runtime
- Conversation session
connect/orchestrator.py - Verified context
connect/context.py - Intent and replies
connect/llm.py
Safety and outcomes
- Reply safety gate
connect/policy.py - States and outcomes
connect/models.py
Farmer records
- SQLite records
connect/db.py - Demo data
connect/seed.py
Other components
- Farmer
- Human reviewer
Connections 14
- Farmer → Text CLI: provides input
README.md - Text CLI → SQLite records: opens records
connect/cli.py - Text CLI → Demo data: seeds if empty
connect/cli.py - Text CLI → Event trigger: creates trigger
connect/cli.py - Event trigger → SQLite records: validates and writes
connect/events.py - Text CLI → Conversation session: starts session
connect/cli.py - Conversation session → Verified context: builds context
connect/orchestrator.py - Verified context → SQLite records: reads approved records
connect/context.py - Conversation session → Intent and replies: interprets and replies
connect/orchestrator.py - Intent and replies → Verified context: uses context pack
connect/llm.py - Conversation session → Reply safety gate: checks replies
connect/orchestrator.py - Conversation session → States and outcomes: uses transitions
connect/orchestrator.py - Conversation session → SQLite records: records turns and outcomes
connect/orchestrator.py - Conversation session → Human reviewer: escalates cases
README.md