{
  "id": 4637379,
  "title": "Why I Stopped Using JSON Tool-Calling for My Coding Agent",
  "url": "https://urgent.news/2026/08/31/why-i-stopped-using-json-tool-calling-for-my-coding-agent",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-31T11:34:45.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/jahanzebgit/why-i-stopped-using-json-tool-calling-for-my-coding-agent-5d59"
  },
  "original_language": "en",
  "account": "A few months ago, the author needed an agentic coding assistant for an internal CI repair tool they were building. They considered using Claude Code or Google's Antigravity SDK, but found both lacking as they couldn't be fully embedded and were dependent on external infrastructure. To address this, the author developed CodePilot, an open-source, embeddable Python runtime for coding agents. CodePilot eliminates the need for JSON tool calls and markdown, opting instead for a plain text search and replace protocol. This approach allows the model to write arbitrary Python code directly into a file named codepilot.py, which the runtime then executes, granting it more flexibility and power compared to traditional tool schemas. The runtime also includes additional features such as a headless VT100 terminal emulator, explicit archive and reveal tools for context management, and support for multiple providers. CodePilot is MIT licensed, supports various AI models, and can be installed via pip install codepilot-ai.",
  "summary": "A few months ago I needed an agentic coding assistant inside a internal CI repair tool I was building. The obvious move was to embed something that already exists — Claude Code, or Google's Antigravity SDK. Both work well. Neither one gets you what you actually need once you're shipping a product on top of it. Claude Code isn't embeddable as infrastructure. You can shell out to it, but you don't…",
  "key_points": [
    "Author developed CodePilot, an open-source Python runtime for coding agents",
    "CodePilot eliminates need for JSON tool calls and markdown",
    "CodePilot includes VT100 terminal emulator and multiple provider support"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}