Talk presented at Biznagafest (DevFest Malaga) in October 2025
Inspired by the "computer" in Star Trek, in this talk we are going to create a natural language diagnostic agent that can answer questions about your computer, from asking the number of cores and amount of memory installed to running a "Level 1 Diagnostic Procedure". This AI agent will be built step by step using Python, Vertex AI, Gemini and OSQuery. OSQuery is an open source tool originally developed by Facebook to expose operating system information using the SQL language. Its benefits include the ability to perform rapid diagnosis using queries instead of memorising command line tools and joining data manually. It's also possible to download query packs for the most common diagnostic procedures. As LLMs are really good at writing SQL, we are going to explore how this tool in the "hands" of an AI agent can enable advanced diagnostics using natural language, effectively mimicking the USS Enterprise engineering experience.