Skip to content Skip to footer

How to Choose Agent Frameworks Without Building a Fragile AI Stack

What Happened

The clearest release signal in these notes comes from Claude Code. Version 2.1.321 makes Claude Fable 5.2 the default Fable model where permitted, with a one-million-token context window and published pricing of $8 per million input tokens, $40 per million output tokens, and $0.20 per million cache-read tokens. It also tightens MCP OAuth, sandboxed Bash, protected-file, plugin, and host-supplied answer controls, while improving recovery, background agents, concurrent commands, and MCP reconnection [1].

A separate version 1.15.39 update documents the apps_not_connected error for the /kickoff and /status endpoints. The notes establish a documentation change, not a new agent capability [2]. They do not establish recent releases for LangChain, LangGraph, LlamaIndex, AutoGen, CrewAI, PydanticAI, DSPy, Semantic Kernel, or the OpenAI Agents SDK.

Why It Matters to Businesses

The practical pattern is that agent tooling is becoming more operational: model selection, long-running session recovery, tool permissions, connection failures, and spend controls matter as much as prompt design. Claude Code’s changes are relevant to development workflows, but they should not be mistaken for proof that an application built on any particular framework is production-ready [1].

Framework choice should follow the workload. LangGraph is a candidate for explicit, stateful workflows; LangChain for broad tool and model integration; LlamaIndex for retrieval-heavy applications; AutoGen and CrewAI for multi-agent coordination; PydanticAI for typed Python interfaces; DSPy for optimizing measurable model programs; Semantic Kernel for teams aligned with its application ecosystem; and the OpenAI Agents SDK for teams comfortable with its provider-specific abstractions. Claude Code serves a different role: an agentic development tool rather than the application runtime by default.

Kimbodo Engineering Perspective

We would select the smallest orchestration layer that makes control flow, state, and failures inspectable. A single agent with constrained tools is often easier to secure and evaluate than a team of agents. Multi-agent designs earn their cost only when distinct roles measurably improve outcomes.

Large context windows do not replace retrieval design, and automatic recovery does not replace idempotent operations. Claude Code’s fixes around interrupted sessions and MCP reconnection illustrate the failure modes to test in any agent system: replayed actions, stale state, unavailable tools, and permission changes mid-run [1].

How We Would Implement It

  • Define the contract: specify allowed actions, structured inputs and outputs, approval points, latency targets, and a test set before choosing a framework.
  • Choose one primary runtime: use an explicit workflow graph when execution must pause, resume, or branch; use a lighter typed agent when the task is a bounded tool loop. Add retrieval or optimization components only where evaluations justify them.
  • Isolate tools: put business APIs behind authenticated, narrowly scoped services. Treat MCP connections and returned content as untrusted; validate arguments and require approval for consequential writes.
  • Persist and observe execution: record versioned workflow state, tool calls, approvals, costs, and outcomes. Make write operations idempotent and test restart, timeout, and disconnected-app paths, including documented endpoint errors where applicable [1][2].
  • Release behind evaluations: compare task success, unsafe-action rates, latency, and cost against a simpler baseline before expanding autonomy.

Risks, Costs and Security

Token price is only one cost. Long contexts, repeated tool calls, retries, and multiple agents can raise spend and latency; cache-read pricing helps only when the workload actually reuses cached content [1]. Budget per completed business task, not per model call.

The principal security risks are excessive tool privileges, prompt injection through retrieved or tool-supplied content, credential exposure, and unauthorized file or browser actions. Enforce organization policy at the tool boundary, separate read from write permissions, keep audit logs, and test whether denied actions remain denied after a restart or reconnection. Claude Code’s permission hardening is a useful signal, but each application still needs its own threat model and controls [1].

Where Kimbodo Comes In

Kimbodo builds and operates this in production for businesses — see our Enterprise AI Agent Development practice, or Scope an Enterprise AI Agent.

Sources

  1. [1] v2.1.321
  2. [2] 1.15.39

Leave a comment

0.0/5

Engineering Founded & Customer Focused

KIMBODO LLC. © 2026. All Rights Reserved.