Cloud APIs Need To Work At The Speed Of AI

As AI agents start creating and destroying resources in seconds, slow and unresponsive cloud APIs are going to become a real bottleneck.

Hey folks,

You know what is some poor API design? The fact that when you go to destroy a database in the cloud, you'll wait 20, 30, sometimes 40 or more minutes before you're told the DB is destroyed.

But if it's a cloud resource, why do I care if the cloud provider is internally tearing down that infrastructure? That the virtual machine that they're running the database on is being removed? Why is that at all important to me?

The reality should be that when you make the call to destroy the database, you immediately get a response saying "database destroyed."

Because personally, as the database owner, I don't care as long as the hyperscaler eventually gets rid of that data and I can recreate a database with that name. Why do I care that the database is still around? Why is that name still reserved?

It's one of the UX hiccups in API design that I hope changes as AI agents become our primary means of working. AI can create and destroy things very quickly. We need responsive APIs to be able to work at the speed of AI.

It's something to consider as we come into this next age of software, where almost all of what we build will leverage AI.

You might think, what if the provider can't delete it? Why can't we evaluate whether a DB (or any resource) can be deleted in real time? Why don't they build a rules engine that understands what is associated with the resource and only allows deleting it if it's fully capable of doing so?

This is AWS we're talking about. They are all about eventual consistency so why can’t the API layer reflect that?

May your cloud APIs respond faster than your AI agents can call them,

Matt @ Masterpoint

PS If you want to chat about API design, IaC or how fast your agents are, grab some time on my calendar here. Also, did you know we have a referral program where you can make some extra cash? Know someone who needs some IaC expertise? Intro us and help out Masterpoint, one of your colleagues, and yourself at the same time.