AI Agent Frameworks: Classification, Evolution, and Selection — From Core to Ecosystem
Choosing an AI agent framework is confusing mainly because users conflate frameworks, models, shells, and tool ecosystems. This article abstracts the ecosystem into five forms — core scaffold, local, cloud-hosted, shell (product wrapper), and variant — and explains the capability boundaries and applicable conditions of each. It clears up three recurring misconceptions: that frameworks do the thinking (they don't; intelligence comes from the model), that wrappers can raise the ceiling (they can't exceed the underlying framework and model), and that local and cloud are mutually exclusive (they are a layering decision). It also provides six evaluation dimensions, a five-item risk checklist, and guidance on running a small pilot before scaling up.
AI Agent Frameworks: Classification, Evolution, and Selection — From Core to Ecosystem
1. Why Framework Selection Gets Confusing
Discussion around AI agent frameworks has cooled recently, but the underlying confusion has not gone away. A few basic questions keep resurfacing in technical communities: What is the real difference between local deployment and cloud hosting? Can community originals and repackaged versions be treated as equivalent? Do different derivative projects differ in capability or just in packaging? Can a cloud-hosted service access and operate on a local file system? These questions seem trivial, but they all point to the same gap in understanding: users tend to lump together “framework,” “model,” “shell,” and “tool ecosystem,” which leads to contradictory selection conclusions.
The confusion comes down to three main threads.
First, the open-source ecosystem iterates far faster than documentation can keep up. Once a base framework gains some influence, a wave of repackaging, feature trimming, vertical-scenario adaptation, and interface-layer rebuilding appears around it, producing many projects that look alike but differ at the core. For users, both the name and the interface make differences hard to judge directly, so they end up relying on community reputation — which is inherently time-sensitive and biased by context.
Second, platform vendors have entered the space en masse, bringing a plural supply. Multiple cloud providers, model service providers, and development platforms have all shipped agent-oriented packaged products. Some emphasize out-of-the-box usability, some emphasize observability, and some emphasize integration with existing data assets. More supply is a good thing, but without a unified evaluation framework, users easily fall into decision fatigue: “They all look strong, but I don’t know which to pick.”
Third, and most important: a sizable share of users do not really understand what an agent framework is. Is it a model, or a piece of orchestration logic? Does it possess “intelligence” of its own? What can it do if you strip out the large language model? The answers to these questions determine every subsequent selection decision, yet they are precisely the part most often skipped.
So rather than arguing about which specific implementation is stronger, it is better to first build a classification framework. The sections below abstract this ecosystem into five forms and analyze the capability boundaries and applicable conditions of each.
2. Five Abstract Forms
To avoid pointing at any specific project, this article uses “crayfish” as a stand-in name for this category of open-source agent framework, and divides it into five forms based on differences in deployment location, packaging depth, and lineage.
2.1 Core form: the framework itself as scaffolding
The original open-source framework (what the community calls the “vanilla” version) is essentially a codebase responsible for “scheduling and execution”: it receives decision instructions from the large model, translates them into concrete tool calls, collects execution results, and feeds them back to the model, forming a closed loop. It contains no reasoning ability of its own and does not understand task semantics.
A simple abstraction:
User goal↓Large model (reasoning and planning)↓ emits structured action intentAgent framework (parse / validate / dispatch / return)↓ issues tool callsFile system / terminal / network requests / internal APIs↓ returns execution resultsFramework (normalizes results) → back to the model → decide whether to continue
From this structure it is clear that the value of the framework lies in “reliably mapping the model’s natural-language or semi-structured output to executable system actions,” while handling engineering concerns such as permissions, timeouts, retries, and logging. It solves “can it do the work reliably,” not “should it do the work this way.”
2.2 Local form: running in the user’s own environment
The local form means the framework runs on a personal device or an enterprise’s own servers and directly holds access to the local file system, terminal sessions, and the local service network. Its advantages are a short path, data that never leaves the domain, and deep customization; the cost is complex environment dependencies, self-configured model access, and stability that depends on the user’s own operations capability.
One common misconception needs clearing up: local deployment does not mean “the model is also local.” In most cases, the local side only handles execution, while the reasoning side still calls a remote model service. So the goal of “data never leaving the local environment” requires additional design (for example, local inference, a masking gateway, an outbound allowlist) to actually be achieved.
2.3 Cloud form: hosted and run on the platform side
The cloud form places the execution environment on the platform side, and users submit tasks through an API or a console. Its typical traits are elastic scaling, no ops burden, and native multi-tenancy and audit capabilities, making it suitable for batch processing, cross-team sharing, and scenarios that need a stable SLA.
Its capability boundary is also very clear: a cloud execution agent can only access resources that have been explicitly authorized. By default, it cannot see a directory on your laptop unless you expose the resource through a controlled channel (such as object storage, a message queue, or a controlled proxy service). So the accurate answer to “can the cloud manage local files” is: it is not that it cannot, but that it must be done through intentional integration design, and you take on the extra cost of data egress and security boundaries in doing so.
2.4 Shell form: the repackaged product layer
The shell form refers to product-level packaging layered on top of the original framework: an interface, an account system, task templates, a permission model, billing, and auditing. Its value is lowering the barrier to use and filling in enterprise governance capabilities; its risk lies in three kinds of divergence. First, version divergence: after the underlying framework upgrades, the shell may not follow for a long time. Second, capability divergence: the shell exposes only a subset of the underlying capabilities, so users wrongly believe “this is all the framework can do.” Third, cognitive divergence: users think they are using the framework, when in fact they are only using a specific product’s workflow.
To judge whether a shell is worth investing in, look at three things: whether it clearly labels the underlying version and the differences; whether it preserves the necessary pass-through capabilities (for example, custom instructions and custom tool registration); and whether it provides complete execution logs and failure reasons rather than just a generic failure message.
2.5 Variant form: feature trimming and directional modification
The variant form arises from targeted modifications to the same base framework, driven by four common motives: trimming dependencies for a specific scenario to reduce resource usage; adapting the protocol for a specific model or inference service; modifying data flows for specific compliance requirements; and rewriting the interaction layer on top of the base framework to suit non-technical users. Being a variant is not a pejorative term; the criteria for judgment are three points: whether there is a clear modification description and a difference list; whether upstream security fixes are continuously synced; and whether a publicly verifiable build process is provided. A variant lacking these three points essentially just transfers uncontrollable risk to the user.
As for “concept-confusion type” projects, these are ones that relate to the agent concept only in naming and marketing but do not actually implement a complete dispatch loop. The identification method is relatively simple: check whether it has an independent tool registration and invocation mechanism, whether it supports multi-turn task state retention, and whether it can be invoked programmatically apart from a specific interface. If all three are absent, it is closer to concept packaging.
3. Three Conceptual Questions to Clear Up
Framework and large model: who is doing the thinking
The framework does not think. It is an execution layer made of code, usually sizable (hundreds of thousands of lines is not unusual), a substantial portion of which is generated with the help of coding agents. This leads to two conclusions: first, “intelligence” comes entirely from the model side, so swapping the model swaps the capability ceiling; second, code size is not proportional to capability — a large codebase mostly reflects functional coverage and historical baggage, not reasoning ability. When evaluating a framework, focus on scheduling reliability, permission-control granularity, and failure recoverability, rather than line counts or the length of a feature list.
Packaging and capability: who sets the ceiling
A productized shell can significantly improve usability but cannot break through the capability ceiling of the underlying framework and the model in use. Conversely, strong underlying capability does not equal out-of-the-box usability. A practical order of judgment is: first confirm the model meets the reasoning quality the task requires, then confirm the framework covers the tools and state management the task needs, and only then consider the efficiency and governance gains a shell brings. Reversing this order often leads to “picking a beautiful shell, then getting stuck on insufficient model capability.”
Local and cloud: who holds the data
This is not an either/or choice but a layering question. It is recommended to divide by two dimensions — data sensitivity and task real-time requirements: put high-sensitivity, strongly real-time, local-resource-accessing tasks on local execution; put large-elasticity, needs-sharing, long-running batch tasks on the cloud; and exchange the minimum necessary data across domains through controlled channels. At the implementation level, this can be abstracted as:
policy:execution_placement:local: [file_ops, local_service_call, sensitive_data_transform]cloud: [batch_summarization, scheduled_reporting, cross_team_aggregation]data_flow:egress_allowlist: [object_storage_bucket, message_queue_topic]masking_required: trueaudit_log: enabled
4. Selection Dimensions and Risk Checklist
It is recommended to score across six dimensions rather than comparing feature counts:
- Reasoning fit: supported model access methods, protocol compatibility, and whether it is replaceable.
- Tool ecosystem: whether tool registration is open and whether custom tools and version management are supported.
- Permission model: whether file, network, and terminal permissions can be finely controlled and revoked.
- Observability: whether it outputs structured execution logs, failure reasons, and call chains.
- Governance fit: whether multi-user support, quotas, auditing, and key management are available.
- Maintenance activity: security-fix response, upstream sync frequency, and documentation completeness.
Five categories of risk should be confirmed in advance: overly broad permissions leading to misoperations and data leaks; stalled versions leading to missing security patches; missing logs making failures impossible to attribute; vendor lock-in leading to migration costs; and an opaque cost structure leading to runaway usage. In enterprise scenarios, it is recommended to first run a two-week pilot in an isolated environment with non-sensitive data, recording task success rate, average number of interventions, and the proportion of manual takeovers, and then decide whether to expand the scope.
5. Conclusion
The complexity of this ecosystem is mainly not technical complexity but cognitive noise created by naming and packaging. Grasping three main threads greatly reduces the cost of judgment: the framework is the execution layer, and intelligence comes from the model; there are only five forms, and local and cloud are layering rather than replacement; and the value of shells and variants depends on version sync, pass-through capability, and log completeness. On this basis, build your own evaluation checklist and validate it with small-scale real tasks, rather than relying on popularity or spec sheets. Then selection shifts from “agonizing over which is strongest” to “which best fits the current constraints.”
