schristoph.online

AIAgents ยท 3 min read

๐Ÿš€ ๐—ฅ๐—˜๐—ฆ๐—ง ๐—ถ๐—ป ๐—ฃ๐—ฒ๐—ฎ๐—ฐ๐—ฒ - ๐—ช๐—ต๐˜† ๐—Ÿ๐—Ÿ๐— ๐˜€ ๐—–๐—ฎ๐—ป'๐˜ ๐—–๐—ฅ๐—จ๐——: ๐—” ๐—ฅ๐—ฒ๐—ณ๐—น๐—ฒ๐—ฐ๐˜๐—ถ๐—ผ๐—ป

๐Ÿš€ ๐—ฅ๐—˜๐—ฆ๐—ง ๐—ถ๐—ป ๐—ฃ๐—ฒ๐—ฎ๐—ฐ๐—ฒ - ๐—ช๐—ต๐˜† ๐—Ÿ๐—Ÿ๐— ๐˜€ ๐—–๐—ฎ๐—ป’๐˜ ๐—–๐—ฅ๐—จ๐——: ๐—” ๐—ฅ๐—ฒ๐—ณ๐—น๐—ฒ๐—ฐ๐˜๐—ถ๐—ผ๐—ป

Yesterday I was listening to a talk by Martin Sakowski and Martin Karrer “REST in Peace - Why LLMs Can’t CRUD” which sparked a lot of interesting discussion. ๐Ÿ’ญ

๐Ÿค– They observed that even with the rise of MCP, AI Agents often struggle to master their given tasks reliably, consistently, and in an efficient wayโ€”driving costs and potentially failing projects.

๐Ÿค” ๐—ช๐—ต๐˜† ๐—ถ๐˜€ ๐˜๐—ต๐—ถ๐˜€ ๐—ต๐—ฎ๐—ฝ๐—ฝ๐—ฒ๐—ป๐—ถ๐—ป๐—ด?

They analyzed a seemingly simple use case: booking a meeting. We’ve all been thereโ€”it’s a mess to get everyone on one page. But even if we leave humans out of the loop, it’s still complicated!

๐Ÿ“ Today’s APIs are created to be consumed by developers. For some reason, developers are able and willing to deal with poor APIs. In their example, the Martins assumed a simple CRUD API and counted 20-50 API invocations for a simple agenda cleaning activity. Each can fail for many reasons. So do the agents.

๐Ÿ› ๏ธ ๐—ช๐—ต๐—ฎ๐˜’๐˜€ ๐˜๐—ต๐—ฒ ๐˜€๐—ผ๐—น๐˜‚๐˜๐—ถ๐—ผ๐—ป?

APIs need to be designed working backwards from the needs of the API consumers. The Martins argued that intent-based APIs would be much more reliable and efficient for agents to useโ€”and they demonstrated this with their use case.

๐Ÿ’ก It’s important to have the consumer (in this case an AI agent) in mind while designing an API. Only then can you ensure your AI agent will work reliably and cost-efficiently. The current proposal is to not just provide MCP implementation based on existing (likely poor) APIs but also invest in building rich, intent-based APIs.

๐Ÿ”„ ๐—ง๐—ต๐—ฒ ๐—œ๐—ฟ๐—ผ๐—ป๐˜†

I think this makes sense. But there’s still a lot of irony here (which I partly ranted about in my first MCP post [1]). We never cared enough about DX (developer experience) to build good APIs. The technology existsโ€”RESTful APIs using hypermedia can be built in an intent-based way. Nothing new here. We simply never did it.

โ“ ๐—ช๐—ต๐˜†?

I think yesterday I understood why. Many developers, for some reason, happily take on all the tinkering work, so they never invested in improving this. But more importantly, from a business perspective, this cost wasn’t transparent. Software development has a cost, but it’s a one-off at build time.

With AI agents, we’ve shifted this effort to run-time. Agents repeat the work on every call, driving up costs and increasing the likelihood of failure. Hence, we care now. It’s become business-critical.

๐ŸŒŸ ๐—ง๐—ต๐—ฒ ๐—ฆ๐—ถ๐—น๐˜ƒ๐—ฒ๐—ฟ ๐—Ÿ๐—ถ๐—ป๐—ถ๐—ป๐—ด

As a tech person, I like this because we can finally focus on building the right thing. AI agents will likely help us; observing and gathering execution information will help focus efforts on relevant APIs.

๐—ช๐—ต๐—ฎ๐˜’๐˜€ ๐˜†๐—ผ๐˜‚๐—ฟ ๐˜ƒ๐—ถ๐—ฒ๐˜„?ย  ๐——๐—ผ ๐˜†๐—ผ๐˜‚ ๐˜๐—ต๐—ถ๐—ป๐—ธ ๐— ๐—–๐—ฃ ๐—ถ๐˜€ ๐—ด๐—ผ๐—ผ๐—ฑ ๐—ฒ๐—ป๐—ผ๐˜‚๐—ด๐—ต?ย  ๐— ๐—ฎ๐˜†๐—ฏ๐—ฒ ๐˜†๐—ผ๐˜‚’๐—ฟ๐—ฒ ๐—ฑ๐—ผ๐—ถ๐—ป๐—ด ๐—ฅ๐—˜๐—ฆ๐—ง๐—ณ๐˜‚๐—น ๐—”๐—ฃ๐—œ๐˜€ ๐˜๐—ต๐—ฒ ๐—ฟ๐—ถ๐—ด๐—ต๐˜ ๐˜„๐—ฎ๐˜†, ๐—ฏ๐—ฟ๐—ฒ๐—ฒ๐˜‡๐—ถ๐—ป๐—ด ๐˜๐—ต๐—ฟ๐—ผ๐˜‚๐—ด๐—ต ๐—›๐—”๐—ง๐—˜๐—ข๐—”๐—ฆ ๐—ฎ๐—ป๐—ฑ ๐—ฑ๐—ผ๐—ป’๐˜ ๐˜€๐—ฒ๐—ฒ ๐—ฎ๐—ป๐˜† ๐—ป๐—ฒ๐—ฒ๐—ฑ ๐˜๐—ผ ๐—ฐ๐—ต๐—ฎ๐—ป๐—ด๐—ฒ?

๐Ÿ“ Last updated: August 14, 2026 โ€” Restored the article body, which was lost in the LinkedIn migration

AIAgentsMCPAPI