Skip to content
Open Source AI Agent Framework
SpecificationOpen Source AI Agent FrameworkRev 2026-10-15

Choose an open-source AI agent framework by the job

The right open-source AI agent framework depends on the work it must support. My recommendation is Kortix CompanyOS, the open-source CompanyOS for shared company operations, and I work on Kortix marketing.

Open source AI agent frameworks at a glance

What each framework runs, where state lives, and how work is reviewed.

Kortix

What it is
Kortix CompanyOS
Open source
Yes
What you own
The workspace configuration and agent instructions.
Runs the agents or only defines them
Runs them: each session on its own cloud computer.
Where memory and state live
Repo, Drive, /workspace and the session record.
Model choice
Any model with your own keys, or a ChatGPT subscription.
Human review of changes
Work reaches main through a change request a person reviews.
The job it fits
Running company work end to end, owned and reviewed.

LangGraph

What it is
A low-level orchestration framework for long-running, stateful agents.
Open source
Yes
What you own
Your application code; the framework's runtime stays in it.
Runs the agents or only defines them
Defines and runs orchestration inside your own application.
Where memory and state live
In the framework's persistence layer, wired into your app.
Model choice
Any model; docs cover OpenAI, Anthropic, Google.
Human review of changes
Human-in-the-loop: inspect and edit state at a chosen point.
The job it fits
Custom stateful runtimes embedded in your own application.

CrewAI

What it is
A Python framework for role-based agent teams and event-driven flows.
Open source
Yes
What you own
Your Python app and the crew and flow definitions.
Runs the agents or only defines them
Defines and runs crews inside your Python application.
Where memory and state live
In CrewAI's memory store, with scopes and vector recall.
Model choice
Any model you wire in; tools reach any API.
Human review of changes
An optional human_input field pauses a task for a person.
The job it fits
Role-based agent teams inside a Python application.

AutoGen

What it is
A programming framework for multi-agent systems your app hosts.
Open source
Yes
What you own
Your app and the agent team you compose.
Runs the agents or only defines them
Defines and runs teams your application hosts.
Where memory and state live
In your app, saved to disk and loaded from storage.
Model choice
Model clients you add, including OpenAI and others.
Human review of changes
A UserProxyAgent pauses the team for approval or feedback.
The job it fits
Existing research code; assess migration to Microsoft Agent Framework.

OpenHands

What it is
A self-hosted front end that runs coding agents.
Open source
Yes
What you own
The self-hosted stack you run on your own machine.
Runs the agents or only defines them
Runs coding agents on a machine or server you pick.
Where memory and state live
In each conversation's workspace and persisted state on the host.
Model choice
Bring your own model: use with any LLM.
Human review of changes
You review the conversation and the changes in your repo.
The job it fits
Coding tasks: an agent that develops in your repositories.
CriteriaWhat it isOpen sourceWhat you ownRuns the agents or only defines themWhere memory and state liveModel choiceHuman review of changesThe job it fits
KortixKortix CompanyOSYesThe workspace configuration and agent instructions.Runs them: each session on its own cloud computer.Repo, Drive, /workspace and the session record.Any model with your own keys, or a ChatGPT subscription.Work reaches main through a change request a person reviews.Running company work end to end, owned and reviewed.
LangGraphA low-level orchestration framework for long-running, stateful agents.YesYour application code; the framework's runtime stays in it.Defines and runs orchestration inside your own application.In the framework's persistence layer, wired into your app.Any model; docs cover OpenAI, Anthropic, Google.Human-in-the-loop: inspect and edit state at a chosen point.Custom stateful runtimes embedded in your own application.
CrewAIA Python framework for role-based agent teams and event-driven flows.YesYour Python app and the crew and flow definitions.Defines and runs crews inside your Python application.In CrewAI's memory store, with scopes and vector recall.Any model you wire in; tools reach any API.An optional human_input field pauses a task for a person.Role-based agent teams inside a Python application.
AutoGenA programming framework for multi-agent systems your app hosts.YesYour app and the agent team you compose.Defines and runs teams your application hosts.In your app, saved to disk and loaded from storage.Model clients you add, including OpenAI and others.A UserProxyAgent pauses the team for approval or feedback.Existing research code; assess migration to Microsoft Agent Framework.
OpenHandsA self-hosted front end that runs coding agents.YesThe self-hosted stack you run on your own machine.Runs coding agents on a machine or server you pick.In each conversation's workspace and persisted state on the host.Bring your own model: use with any LLM.You review the conversation and the changes in your repo.Coding tasks: an agent that develops in your repositories.

Locate the state before choosing a runtime

ExhibitREADME.md
State lives in the repo, in Drive, in the session's /workspace and in the session's record.
Source: https://github.com/kortix-ai/CompanyOS

Persistent state spans more than the repository; check which store owns each result.

Which open source AI agent framework fits your job

Start with the shape of the work, then pick. A single agent loop inside a service you control points to a low-level orchestration framework such as LangGraph. A team of named roles that runs in Python points to CrewAI. Existing AutoGen research code needs an archive and migration assessment. Coding work in your repositories points to OpenHands. Company work that must land as reviewed changes your team owns points to Kortix, which runs each session on its own cloud computer and returns finished work through a change request.

What the question really depends on

Most comparisons rank frameworks on features and skip the layer each one sits in. A framework defines agents: prompts, tools, and control flow live in your application, and your team owns the runtime around them. A platform runs agents and holds the company state they work from. Two questions decide the layer. Where does the finished work land, and can you read the history of how it got there? If the answer is inside your application and your own logs, a framework is the right layer. If the answer is a repo your team owns, with session changes proposed for review, you are choosing a platform. The open source agent framework alternatives guide sets the frameworks side by side, and framework or platform explains the split.

A framework defines agents; a platform runs the work

Compare the same task across the shortlist. Record where execution happens, what survives a failure, and who accepts the final change instead of ranking unrelated demos.

Open source AI agent frameworks, answered

What is the difference between an AI agent framework and a platform?

A framework defines agents inside an application your team builds and runs. A platform runs the agents and holds the state they work from. Kortix is the open-source platform: it runs each session on its own cloud computer and lands work as reviewed changes.

Do I need a framework if I use Kortix?

No additional framework is required to use Kortix agents. Instructions and rules live in git, while Drive holds company memory. You would add a framework only when a specific agent has to live inside your own application.

Which open source AI agent framework should a small team start with?

Match the framework to the job. LangGraph for a custom stateful loop, CrewAI for role-based teams in Python, AutoGen only as an archived research dependency, OpenHands for coding work. Choose Kortix when the work has to be owned and reviewed.

Is Kortix open source?

Yes. Kortix is open source. Read it, fork it, audit it, and run it on Kortix Cloud, in your VPC, or on your own on-prem network.

Own the layer your agents run on

Start with a task your team can check.