AI Agent Frameworks: How to Choose One (2026)
Published Updated
Choose AI agent frameworks by how your team will deploy, test and support the workflow. Shortlist LangGraph when Python or TypeScript developers need to control how a run branches and resumes. Start with Microsoft Agent Framework when your team builds in .NET and needs code-level control. Try Flowise when the work fits visual steps that your team can maintain. OpenAI has deprecated Agent Builder, so consider its Agents SDK for a new code-first build or to replace an existing hosted workflow.
What an AI Agent Framework Does
The framework is the code or visual builder that manages the loop between a model and its tools. It passes tool results back to the model so it can decide what to do next. It can also save progress and conversation history or pass a task to another agent. For example, an agent can look up an order, use the result to choose the next action and pause for a person to approve a refund.
In a code-first framework, developers define the tools and decide how the workflow branches. A visual builder lets people connect those steps on a canvas. A hosted agent platform runs the workflow on the provider’s infrastructure and can also manage sessions or collect traces. Hosting and authoring are separate choices. A team can write an agent in code and deploy it to a managed service, or run a visual builder on its own servers.
Vendors use “agentic AI framework” for software that lets a model choose some actions during a run. Check which decisions the model can actually make. A workflow that always calls the same model once and sends its answer to the same destination follows a fixed path. A framework that can coordinate several agents will still need rules about which tools each agent can use.
The Main Frameworks at a Glance
The differences that affect a shortlist are where the workflow runs and which parts your team can carry to a different model or host. The licences below cover the named open-source code. Hosted services and commercial editions have separate terms.
LangGraph, CrewAI and Microsoft
| Criterion | LangGraph | CrewAI | Semantic Kernel and Microsoft Agent Framework |
|---|---|---|---|
| Language | Python and JavaScript/TypeScript | Python | Semantic Kernel: C#, Python and Java. Agent Framework: C# and Python, with Go in public preview. |
| Hosting | Your application or LangSmith deployment | Your infrastructure or CrewAI’s managed platform | Your application. Microsoft Agent Framework provides Foundry-hosted deployment helpers for C# and Python. Go can call an existing Foundry agent. |
| Model lock-in | Graph can call the model you integrate | Multiple model providers through model configuration | Multiple model connectors or clients. Availability depends on language and feature. |
| Multi-agent support | Agents can be nodes or subgraphs connected by shared state and routing rules | Agents work as a crew. A flow can call the crew as a step. | Agent Framework connects agents and functions in workflows. Semantic Kernel has agent orchestration packages. |
| Observability | LangSmith tracing and evaluation integration | CrewAI Tracing and external observability integrations | Agent Framework uses OpenTelemetry. Semantic Kernel documents telemetry for C# and Python. |
| Licence | MIT | MIT for the core framework | MIT for both libraries |
The LangChain and LangGraph guide explains the graph approach in more depth. Choose it when your team needs to see and control how a long run reaches each branch or approval, and can maintain those paths in code.
OpenAI Agents SDK, Google ADK and Flowise
| Criterion | OpenAI Agents SDK and Agent Builder | Google Agent Development Kit (ADK) | Flowise |
|---|---|---|---|
| Language | Python and JavaScript/TypeScript SDKs. Agent Builder used a canvas. | Python, TypeScript, Go, Java and Kotlin | Visual authoring with optional JavaScript in custom steps |
| Hosting | Run SDK code on your own infrastructure. Agent Builder’s hosted workflows are on the shutdown schedule. | Your containers or supported Google Cloud deployments, including Agent Runtime | Self-hosted or Flowise Cloud |
| Model lock-in | SDK supports other providers through adapters. OpenAI-hosted tools can tie a workflow to its service. | Gemini and other models through connectors. Options vary by language. | Connectors for proprietary and open models |
| Multi-agent support | SDK handoffs and agents that call other agents as tools | Sub-agents and graph-based workflows | Agentflow can coordinate multiple agents and pass state between steps. |
| Observability | SDK tracing with configurable export | OpenTelemetry tracing. The signals available vary by language. | Execution logs and external tracing integrations |
| Licence | MIT for the SDKs. Agent Builder was a hosted product. | Apache 2.0 | Apache 2.0 for the open-source code. The enterprise code has a commercial licence. |
Shortlist Google ADK when Gemini or Google Cloud is already part of the system and you want to define the agent in code. Check that the SDK for your language supports the model connector and deployment option you intend to use.
CrewAI for Role-Based Multi-Agent Work
CrewAI’s documentation separates a crew from the flow it runs inside. A crew groups agents by role. Each task defines the work an agent must do and the result it must return. A flow keeps track of progress and decides when to run a crew or a step written in ordinary Python.
In a hypothetical supplier enquiry workflow, one agent extracts the delivery request and another checks it against the organisation’s policy. Those are separate tasks within a crew. The flow receives the message, gives the crew the necessary context and sends its draft to a staff member for approval.
CrewAI fits when those roles make the workflow easier to understand and the surrounding flow can enforce the required checks. Reassess the choice if your team keeps bypassing crews to express exact transitions or spends more time coordinating agents than writing and testing the work. A graph with explicit transitions can make those paths easier to inspect.
Semantic Kernel and Microsoft Agent Framework
Semantic Kernel fits an existing .NET or Python application that already exposes business functions as plugins and calls models through its connectors. Consider Microsoft Agent Framework for new orchestration work. Microsoft positions it as the successor to both Semantic Kernel and AutoGen, and publishes migration guides for both. Its workflows define how agents and functions pass data and where a run can pause for human input.
Microsoft lists AutoGen as archived. A working Semantic Kernel application can keep its plugins while the team evaluates a move. For a new Python deployment, check Microsoft’s repository and package advisory before approving a package version. Its advisory identifies the affected Python releases separately from .NET and Semantic Kernel.
Microsoft Foundry, also called Azure AI Foundry, can supply models and run hosted agents. Copilot Studio is a separate low-code authoring and publishing option. Microsoft documents connections to published Copilot Studio agents from Agent Framework and a preview route for calling a Foundry agent from Copilot Studio. Choose the runtime by where the workflow and its approvals need to live.
OpenAI Agent Builder and the Agents SDK
Agent Builder was OpenAI’s visual canvas for wiring tools and models into multi-step workflows. Teams that embedded those workflows through ChatKit ran them on OpenAI’s servers. The Agent Builder shutdown notice directs existing users to migrate. The Agents SDK is the Python and JavaScript/TypeScript library for running agent code in an application your team deploys.
Exported code can give the team a starting point while the original workflow is accessible. The migration guide calls for reviewing and recreating behaviour where needed. Moving SDK code to your own server gives you control of the workflow runtime. It still leaves provider dependencies where the workflow calls hosted search, storage or tracing.
For Australian use, check where the model processes requests and where the workflow stores messages, files and traces. OpenAI documents separate controls for eligible regional storage and processing, limited by project, endpoint and model. Australian support for a model request does not establish equivalent coverage for a hosted workflow or ChatKit. Check the exact features against OpenAI’s data controls and regional availability. If you run the SDK yourself, check its trace exporter as well as the model endpoint.
Flowise and Other Visual Builders
Flowise is a visual builder for large language model (LLM) flows and agents. Agentflow passes shared state between branches. A flow can pause and wait for a person to respond. Workday acquired Flowise, and the project’s licence file separates the Apache 2.0 code from commercial enterprise files.
Use Flowise when you can express the document search and agent steps on the canvas.
For work that starts with a trigger in one app and updates another, consider n8n. You can add a model step or let an agent choose a tool. Copilot Studio fits a team publishing agents into its Microsoft environment. The available connections depend on the organisation’s connector and data policies.
A visual builder is enough if your team can represent the permissions and failure paths in the flow and test them before publishing a change. Use code when you need custom access rules, automated release tests or precise recovery across several systems. A visual flow can still call a service written in code for a step that needs those controls.
Choosing a Framework Your Team Can Support
Shortlist the two frameworks that fit your team’s languages, approved cloud and model choices. Check the licence for the edition you’ll deploy. Confirm that a person can review sensitive actions and that your operations team can use the resulting traces. AI observability explains what to capture when an agent makes several model and tool calls in one run.
Pilot the same real workflow on both with the same tools and test cases. Before building, write down the outputs and actions a successful run must produce. Include a case where a person rejects a proposed change and one where an integration fails after approval. Confirm each framework can recover without repeating an action and that someone on call can see what happened. Compare cost per completed case and the effort to deploy an update.
Evaluation tells you whether the result is good enough for the job. Guardrails limit what the agent can read or change, and monitoring tells your team when either fails. Embeddings builds and runs agents inside organisations’ existing systems with human approval at the handoffs where someone must decide.
Before choosing, ask what would need rebuilding if the framework or hosting arrangement changed. Code-first moves can require rewriting workflow branches and saved-state logic, even when you keep your tools and tests. Visual builders can tie the flow to their node formats and connectors. A hosted platform can also tie sessions, permissions and logs to its service. Use the same pilot to test one export or replacement path before authorising the production build.
Related reading
How to Build an AI Agent for Your Organisation
Create an AI agent that does real work: pick one task, connect tools and data, add guardrails and human approval, test it, then run it with monitoring.
What is LangChain? When to Use LangGraph
LangChain links language models to your data and tools, while LangGraph runs stateful agents. Each suits different work and needs care in production.
Microsoft Copilot Studio Explained for IT Teams
Copilot Studio lets your team build agents for Microsoft 365 and your website with little code. See what it connects to, how use is metered and its limits.
AI Observability: Tracing, Evaluation and Costs
How do you know your AI assistant or agent works once it is live? Learn what AI observability tracks, from traces and quality scores to cost and drift.
embeddings
Embeddings is an Australian AI consultancy. We design, build and run AI systems inside the software, documents and data organisations already use, from offices in Perth and Melbourne.
About Embeddings