Logistics dev seeks architecture advice for internal AI assistant over company sales data
Dry_Tune_2432 · reddit · 2026-10-12
A developer at a logistics company is asking Reddit how to architect an internal AI assistant that lets employees query sales and ops data in natural language (monthly sales, comparisons, top customers) instead of digging through dashboards.
Key open questions:
- Direct DB access vs. a controlled API layer; is text-to-SQL appropriate; is RAG even needed for structured data?
- Per-employee data permissions, blocking unsafe or expensive queries, and preventing hallucinated financial numbers
- Model choice (OpenAI/Claude/Gemini/local) and handling sensitive data with external LLM APIs; connect to an existing BI system instead of production DB?
His draft pattern: employee chat → LLM → backend API → database/ERP → AI summary. He explicitly wants secure, maintainable, reliable design rather than AI for AI's sake — a good thread for anyone who has shipped similar text-to-SQL + permission-gateway setups.
More from coding & agent
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- 'Verification is AI's next trillion-dollar category' — proof checkers, evals, agents auditing agents — McDonaghMatthew · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29
- 'End user programming!': a three-word verdict on what LLM coding really unlocks — round · 2026-11-29