In this paper, we summarise advancements in top-of-hole sensing achieved within the Deep Exploration Technologies Cooperative Research Centre (DET CRC). It was demonstrated that the drill fines, which were previously discarded, show high potential to act as a representative sample media of the lithologies intersected by the drill hole and can be successfully used for analysis in real time. The Lab-at-Rig® (LAR®) system was developed for prospecting rigs (diamond drilling in the first instance and coil tube drilling in the future) and encompasses sample capture, sample preparation and presentation to sensors. In the initial setup of the LAR platform, there are two sensors, a portable X-ray fluorescence (pXRF) and a portable X-ray diffraction, capable of delivering chemical and mineralogical data in near real time. Laser-induced breakdown spectroscopy was also explored as a potential additional sensor for future versions of the LAR system, as it can yield information on elemental composition including essential light elements not currently measured by air-based pXRF detectors (e.g. Li, Na and Mg at low levels) or other elements problematic by pXRF (e.g. Au). The LAR system implements X-ray diffraction (XRD) analysis from which mineralogical data (mineral identification and most importantly mineral quantification) must be obtained in near real time. The existing challenge with XRD is that any data processing and especially data interpretation with available software packages requires some expertise in the field and background in crystallography and is time-consuming. Hence, SwiftMin®, the world’s first algorithm for automated processing of XRD data, was developed. It provides mineral identification and quantification and performs all calculations and processing independent from a user. SwiftMin returns a result in seconds and is able to batch process hundreds of XRD patterns in a matter of minutes. The above means, that SwiftMin is a technology that allows processing of large amount of XRD data quickly, saving time, costs and labour. The overall concept and vision developed within the DET CRC in top-of-hole sensing by coupling chemical and mineralogical analyses of drilling materials is to provide an end-to-end solution that supports rapid decision making by a geologist, at the time-scale of drilling the hole. KEY POINTS Lab-at-Rig® workflow results in geochemical and mineralogical analyses by the time the drill hole is completed, providing objective logging and an opportunity to make important decisions during the course of a drilling campaign. SwiftMin® capability to process the data quickly and with no user interaction will allow X-ray diffraction to become a routine and cost-effective technique for analysis of geological materials. Finally, while laser-induced breakdown spectroscopy results look promising, particularly for such elements as Na, Mg and Au, application of laser-induced breakdown spectroscopy for rapid, on-site analysis of geological materials requires some further research, above all on how to minimise the ‘matrix effects’.