Question 1
Medium Design an AI agent for manufacturing customers that supports three capabilities: looking up production progress (work-order status, current operation, planned versus actual output, estimated completion time, and delay reasons); creating work orders, with validation of materials, capacity, routing, and required fields; and generating customer quotations from material, process, quantity, lead time, and contract terms. Discuss the architecture and interactions among the agent, the LLM, tools, and manufacturing systems such as MES, ERP, and quoting services; correctness, auditability, and idempotency for write operations; reducing hallucinations for production status, inventory, prices, and delivery dates; authentication, authorization, and tenant and data isolation; and failure handling, retries, human approval, and audit logs.