An AI house of cards

2025-06-23 23:59:59 +01:00 by Mark Smith

I‘ve spent much of today getting somewhat confused about all the different API authentication methods. I thought I had it figured out. With the help of the GPTs, figured out OAuth a few days ago. And since then I figured out API Tokens, and Personal Access Tokens (PATs). I thought I had figured out how to integrate them all, but when I tried to write a spec for an MCP server it all got very complicated.

I started reviewing the code that the GPTs had written earlier. On the surface it looked quite good, and it worked. But on closer inspection, it's quite brittle code, rather slap dash and it sort of has this band aid ontop of a band aid ontop of a band aid kind of vibe. Not a lot of cohesiveness. So I‘ve spent the past few hours, refactoring it all, making it much more readable, in the hope that it will start to make more sense. They get you running very fast, but when the house of cards falls down, it falls down pretty badly. #

For enquiries about my consulting, development, training and writing services, aswell as sponsorship opportunities contact me directly via email. More details about me here.