Small and medium-sized enterprises (SMEs) are increasingly deploying Large Language Model (LLM)-based agentic systems to support customer service and internal knowledge management. However, practical deployment of retrievalaugmented generation (RAG) systems continues to be challenging due to promptinjection risks, unreliable confidence estimation, and limited operational resources in real-world SME environments. This paper presents a secure and confidenceaware deployment framework for SME-oriented RAG systems. The proposed platform integrates layered prompt-injection defences with structured confidenceaware outputs to support more reliable and controlled agentic behaviour during deployment. Rather than treating trustworthiness as a model-level metric, we frame it as a system-level property emerging from the interaction between security filtering, confidence handling, and downstream response control. We evaluate the framework through a real-world e-commerce customer-support deployment operating under realistic SME infrastructure constraints. Experimental results show that the proposed deployment strategy improves prompt-injection robustness while substantially enhancing confidence calibration through structured prompting. The calibrated confidence signals provide useful uncertainty information that may support confidenceaware response handling during deployment. Results across both in-domain and out-ofdomain prompt-injection benchmarks indicate that combining layered security filtering with confidence-aware deployment mechanisms can reduce the risk of overconfident and unsafe responses while remaining practical for lightweight SME infrastructure environments. Experimental results indicate that the proposed deployment pipeline improves prompt-injection robustness while providing more reliable confidence estimates. These improvements were consistently observed across both in-domain and public benchmarks.



