Don Campbell
· Agents

Smart Agents vs Dumb APIs

An API does exactly what it is told. An agent notices when the instructions were wrong. What that changes about how systems talk to each other.

Illustration of two robot characters wearing "Agent" badges collaborating in a steampunk-style workshop labeled Back-End Agent Collaboration, with speech bubbles showing code snippets

Apps with APIs are great - you can talk to them from other apps. Combine apps together to do powerful things. But now agents make it possible to take apps talking together to a whole new level.

One of the apps I built in Replit has an API where you can post URLs to it to process them. I wanted to make it easy for people to post URLs to the app from their phone or other apps.

I was working on something related in Pixel - my Clawdbot (now OpenClaw) and thought - I should just ask Pixel to post to my App’s API from WhatsApp. So I asked and it simply created the capability for me. Five minutes later I was posting to it no problem. It worked great!

The next day I got an error: no user found, every time I tried to post a URL. I knew this user existed, so why wasn’t it working now?

My OpenClaw Agent To The Rescue

After about 15 minutes of Pixel helping me troubleshoot it, we found the problem.

Due to some testing I was doing, I had two users in the system with the same phone number, and the code was rejecting the request if there were duplicates. I had to make changes to the code to handle this. Problem solved.

But this experience made me think - what if the API on the back end was as smart and adaptive as Pixel? The two agents could have easily figured this out without even involving me. And my users would have never seen the error.

This is where software is going. Now I’m updating all my apps to replace those static APIs with adaptable agents.

← All field notesHome
What are you making or figuring out?

I'd love to hear about it. If you'd like to compare notes or talk about working together, get in touch.

Contact me