Updated: 25 November 2026
An AI agent framework is a library that hands you the agent’s plumbing ready-made: the loop that calls the model and runs its tools, state kept between steps, hand-offs between agents, pauses for a human, and traces of what happened. A one-person business needs one when the agent has to live inside a product other people use. For running your own business, a scheduler, a coding agent and plain files go a long way, and that is what my team runs on.
On 24 November 2026 I created an ad account and pasted one script into it. The first real run was verified at 18:49 UTC with zero errors and six campaigns created in a paused state. At 19:03 UTC the ads agent’s hourly tick found every launch check green and switched them on. Fourteen minutes, one script, one clock.
That whole path is a config file, a script and a scheduled tick. Which raises the question in the title.
What does an AI agent framework give you?
I read the documentation of four of them today. None of the four appears in the records of my business, so the table is a reading of each vendor’s own pages, not a field test, and it is not a ranking.
| Approach | What its own docs say it is | What you get | Where you look when it breaks | Licence |
|---|---|---|---|---|
| LangGraph | A low-level orchestration framework and runtime for long-running, stateful agents; it does not require LangChain | Workflows as graphs of state, nodes and edges; checkpointed state that resumes after a failure or a pause; human-in-the-loop; memory | LangSmith, which the same docs describe as the platform for tracing, evaluation and deployment | MIT (LangGraph licence file) |
| CrewAI | An open-source framework for orchestrating autonomous agents and building workflows | Flows (structured, event-driven workflows that manage state) and Crews (teams of agents that take tasks from a Flow) | Not covered on the introduction page I read | Permissive, MIT wording |
| OpenAI Agents SDK | A lightweight package with very few abstractions | Agents with a built-in loop, hand-offs, guardrails, sessions as a memory layer, human-in-the-loop | Built-in tracing | MIT (Agents SDK licence file) |
| Claude Agent SDK | The tools, agent loop and context management that power Claude Code, programmable in Python and TypeScript | Built-in file, command and web tools; hooks; subagents; permissions; sessions | Not covered on the overview page I read, beyond hooks and sessions | Anthropic’s Commercial Terms of Service |
| Scheduled scripts, a coding agent, files (what I run) | Nothing. There are no docs but my own | Only what I wrote: a trigger, a stop rule, state in files | The log and the file, both readable by me and by him | Mine |
Read across the third column and the offer is clear. A framework saves you from writing the loop, the state store and the pause for a human. Read the fourth and the price shows: when it breaks, the answer is inside somebody else’s abstraction, and sometimes on a second platform.
The licence column is about the library only. The model bill is separate in every row, mine included, and I quote no prices here.
What the people who build the models say
Anthropic’s engineering post Building effective agents (19 December 2024) is blunt on this:
“We suggest that developers start by using LLM APIs directly: many patterns can be implemented in a few lines of code.”
The same section adds that frameworks create layers of abstraction that can hide the underlying prompts and responses, which makes them harder to debug, and that anyone who does use one should understand the code underneath. I am small, so I pick the thing I can read.
What runs my team instead
Three plain parts.
A clock. Every scheduled role is triggered by a clock tick or a job queue. The ads agent’s tick is hourly and mechanical: launch checks, stop rules, caps, alerts. The model is called once a day, and only when there are new search terms to judge or a verdict is due. The customer agent ticks every five minutes, and the model runs only when a customer’s message is waiting. Rules run by clock; judgment runs when there is something to judge. The anatomy of that is in the agent loop.
Files as state. For ads, one config file says what the account should look like, and an hourly script makes the account match it. Nobody edits the account by hand. Around that: role files, a handoff file per task, a ledger of numbered rulings. When he starts fresh, he reads.
A coding agent as the worker. Builds, deploys and incident fixes happen in a working session I open myself: one loop, and a handoff file per task. If that part is new, a first agent task in Claude Code walks through it, and how to build an AI agent that does real work shows one role being set up from the job backwards.
A visual workflow tool is a different choice again; that comparison is in n8n vs Make for a solo builder.
What did it cost to debug without one?
Honestly, the failures were not the kind a framework prevents.
The whole email side of the business was built and deployed on 18 November while outbound mail was impossible: it needed a paid plan I had not bought. The design held. Every email waited, nothing was lost, and an hourly alert said mail was blocked. I bought the plan. Two more things were still broken: the domain had not been onboarded for sending, and the credentials were missing on the server. He found both, fixed both, and sent the email that had been waiting.
The connection to a second ad platform was written from that platform’s API documentation against a fake server. It is labelled “not proven” in my records until a real account answers, and the first real sync’s errors are set to land in my chat group.
What I paid for owning the loop is visible in one line of the record: the service’s test count went 37, 47, 50, 55, 60, 61, 68 between 18 and 24 November. Every feature brought its own tests, because nothing upstream was going to catch my mistakes for me. The rules, gates and caps I had to write by hand are the agent harness, and deciding who works next is agent orchestration. A framework gives you places to put both. It writes neither.
Two things I cannot tell you. The ads launched on 24 November have no measured result yet: no click, no lead, no order in the records. And I have no total monthly cost for running the team, only fragments, so I will not compare bills.
When I would reach for a framework
If I were shipping an agent inside a product for other people: many users, a conversation each, state that must survive a crash for every one of them, a pause that waits days for a stranger’s approval. That is the job the checkpointing and session features in the table describe, and writing it myself would be vanity.
My business is not that. It is a handful of roles and files I can open. On Agent Powered Solopreneur (agentpoweredsolopreneur.com) I write about that second case, and the rest of it is on the AI agent workflows hub.
Questions people ask
Is a coding agent the same thing as an agent framework?
No. A coding agent is a finished agent you give tasks to. A framework is a library you build an agent with. The line blurs at the Claude Agent SDK, which its documentation describes as the same tools and loop as Claude Code, made programmable.
Can I start without a framework and add one later?
That is the order Anthropic’s post suggests: direct calls first, and if a framework comes later, understand the code underneath it. My state is in plain files and my rules in plain scripts. I have not made that move, so I cannot say what it costs.
Does a framework make an agent safe to leave alone?
Not by itself. Guardrails and human-in-the-loop are features on several of those doc pages, but someone still has to decide what is checked and what waits for a human. Most of the incidents in my records trace back to a vague brief, a missing owner or a missing check. A library supplies none of those.
One script, pasted once, and a clock. The framework can wait until the clock is not enough.