{
  "id": 23800769,
  "title": "Switching from Function‑Calling to AIP: Agent can be more relaxed",
  "url": "https://urgent.news/2026/12/06/switching-from-function-calling-to-aip-agent-can-be-more-relaxed",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-06T09:31:13.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/joe_sen/switching-from-function-calling-to-aip-agent-can-be-more-relaxed-3g5m"
  },
  "original_language": null,
  "account": "I have been working with Agents using Function‑Calling for quite some time now. I'm comfortable with the process: registering tools, crafting JSON schemas, engraving calling rules into prompts, and mapping out the entire chain of events beforehand. For everyday jobs like troubleshooting logs, backing up files, and tweaking configurations, I have to meticulously plan each step: reading files, searching for keywords, moving resources around, and writing down changes. I also need to pre-plot branches, handle errors, and set up retry logic. Function‑Calling is reliable and robust. Yet, it's built around planning first. It expects the language model to figure out most actions ahead of time and spit out neatly structured calls. This works well for straightforward tasks but falls short when we need to explore and adapt on the fly. When the agent must observe a result, then decide on the next move, the rigid pre-planned workflow starts to feel constraining. I end up constantly adjusting prompts and adding a ton of conditional branches. When I switched to AIP (Agent Interaction Protocol), I felt a huge weight lift off my shoulders. Take logging issues as an example. With AIP, the model can generate output naturally as it thinks through the problem. It reads through the logs, spots the error messages, and then decides whether to look up keywords. After weighing the risks, it backs up the configurations and applies the necessary modifications. There's no need to pre-plan every single step. The model can mix in reasoning text, comments, and commands directly, passing them as raw text to the engine. The engine then parses valid commands, executes them, and returns receipts. The model continues to reason based on real execution feedback. The key difference is that with Function‑Calling, I spend a lot of time making sure the model follows my pre-designed workflow. With AIP, the model just follows the real-world information. Managing reliability is handled by the engine boundary. AIP doesn't eliminate risks or make the language model smarter. Hallucinations and task uncertainty still happen. But now, workflow orchestration is taken care of by the engine rather than getting forced into prompts and application code. Each instruction carries a unique transaction ID, and execution receipts include status codes. If something fails, it won't crash the whole pipeline. Of course, AIP has clear boundaries—it's not ideal for large-scale batch processing, enforcing strict contracts, or intricate workflow orchestration. Security measures are still essential: restricted permissions, allow-lists, sandbox environments, and audit logs. For lightweight, exploratory automation scenarios, though, the experience is delightful. An Agent with AIP feels more like an assistant that can observe and act iteratively, rather than a hard‑coded scheduler. If you've been building Agents on top of Function‑Calling, I encourage you to give AIP a shot. You'll likely notice this smooth, hassle-free experience. Project: AIP‑md · Agent Interaction Protocol is open-source under the MIT license. Discussions and testing are welcome.",
  "summary": "I’ve been building Agents with Function‑Calling for a long time. I’m familiar with its workflow: register tools, define JSON schemas, enforce calling rules in prompts, and map out the full causal chain in advance. For common tasks such as log debugging, file backup, and config modification, I have to pre‑plan every step: read files, search keywords, copy resources, write changes. I also need to…",
  "summary_source": "publisher",
  "key_points": [],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}