Skip to content
Autonomous AI Agents GuideTry Kortix

Open-source AI agent frameworks and the three things they leave to you

Open-source AI agent frameworks decide how the agent thinks. Who can stop a tool call, where work lands and what a run costs are decided elsewhere. Kortix is the open-source CompanyOS, and those three are keys in a manifest your team reviews.

One row per tool, and the edge of what each one covers

Where each tool stops is different, and that edge is what decides the fit. Kortix is my pick, and I work on Kortix's marketing, so weigh that accordingly.

What it is
License
Where it stops
Kortix (My pick)
Open-source CompanyOS: agents, skills, memory and connectors in one repo
Open source
No gap: policy, run caps and merge sit in the manifest
LangGraph
Low-level orchestration framework and runtime for stateful agents
MIT
Does not prescribe prompts or agent architecture
CrewAI
Framework for orchestrating role-playing, autonomous AI agents
MIT
Guardrails and memory sit in the framework, not a manifest
AutoGen / Microsoft Agent Framework
AutoGen's agent abstractions plus Semantic Kernel's enterprise features
MIT
AutoGen is superseded; new work starts on Agent Framework
AutoGPT
A team of AI specialists, coordinated by Otto
Polyform Shield inside autogpt_platform, MIT outside
Otto coordinates the specialists inside the product
Agent Zero
An open-source AI agent with its own Linux workspace
MIT
One agent and its workspace, with no team layer above it
OpenHands
A self-hosted control center for coding agents and automations
MIT
Coding agents and automations, run from one console
OpenClaw
An assistant that runs work in the background, on any OS
MIT
Automations, hooks and webhooks on your own machine

A framework decides the loop, the graph and the tools

LangGraph is the clearest about its own boundary. It calls itself "a low-level orchestration framework and runtime for long-running, stateful agents", and then says what it will not do: it "does not prescribe prompts or agent architecture" (LangGraph). What it gives you is the graph. Nodes, edges, shared state, checkpoints that survive a failure, and a pause where a person can read the state and continue. Durable execution is the part that matters for a run nobody watches: the graph checkpoints its state, so a failure resumes where it stopped instead of starting the work again.

CrewAI starts a level up. Its repository calls it a "framework for orchestrating role-playing, autonomous AI agents", and its docs promise "guardrails, memory, knowledge, and observability baked in" (CrewAI). You describe roles, hand them tasks, and the framework runs the conversation between them.

Microsoft Agent Framework is the merger. "Agent Framework combines AutoGen's simple agent abstractions with Semantic Kernel's enterprise features" and adds graph-based workflows, in Microsoft's own words (Microsoft Learn). AutoGen, the older half, is "a programming framework for agentic AI" and is superseded by Agent Framework (AutoGen).

The tools are the third thing a framework hands you, and most of them now get tools the same way. Microsoft's page lists "MCP clients for tool integration" among its building blocks, and LangGraph's own overview sends you to models and tools before anything else. A framework that speaks MCP can reach the same servers as the next one, which is why the tool list rarely separates two frameworks. What separates them is what happens when a call should not run.

Four of the eight tools are products rather than frameworks. AutoGPT is "Your team of AI Experts", with specialists for content, sales, research and recurring work, coordinated by Otto (AutoGPT). It is also the one row where the license is not uniform. Everything inside the autogpt_platform folder is under the Polyform Shield License, and everything outside it is under the MIT License. Agent Zero is "an open-source AI agent with its own Linux workspace" (Agent Zero). OpenHands is "the self-hosted developer control center for coding agents and automations" (OpenHands). OpenClaw is "the AI that really does things", with automations as its built-in scheduler (OpenClaw). Its docs split the work four ways. Automations cover a schedule, hooks cover a lifecycle event, webhooks cover an authenticated request from another system, and standing orders inject a rule into every session. Each ships a loop and a set of tools, and each stops at the edge of its own product.

That is the useful half of the comparison, and it is also where most comparisons stop. A framework answers how the agent thinks. The next three questions are about the company around it.

Three decisions the framework leaves open

Who can stop a tool call. Every framework here can call a tool. Fewer can tell you, before the run, which calls a person must approve. LangGraph can pause execution, inspect or edit the state, then continue, and Microsoft's harness agent lists "don't-ask-again tool approval" among its features. Both are hooks the code calls. A rule that holds a refund and lets a release note through is a policy, and a policy needs a place to live that is not the agent's own source.

Where the work lands. A framework returns a result to whatever called it. Turning that result into a branch, a change request, a ticket or a message is the caller's job. None of the seven repositories documents a review step where a person merges the work.

What a run costs. A framework has no price. The bill comes from the machine a run reserves, the tokens it spends, and the number of runs that start. None of the seven documents a run cap on the trigger, so the count is whatever the scheduler, the webhook sender or the retry loop produces.

The order is what goes wrong. A framework gets chosen in a spike, by one engineer, against a demo. The harness gets chosen at deploy, by whoever owns the repository, usually in an afternoon. By then the trigger is a cron job on a laptop, the tool rules are a sentence in the prompt, and the merge is somebody clicking a button in a chat window.

The fix is cheap, and it is not a framework decision. Write the three down before the spike: which calls a person must approve, where a finished run lands, and how many runs a day the trigger may start. A team that answers those three in a paragraph can pick any framework on the list and keep the answers.

The framework is one of two decisions, and the second one is usually made last.

What a harness adds, in a file you can diff

In Kortix the three decisions are manifest keys, and the manifest sits in the workspace's repository. A trigger starts agent work with nobody at the keyboard. In Kortix, a trigger is a schedule, an App event, a connector event, a webhook or a merged change request (triggers).

The trigger is an entry in kortix.yaml, and the entry names the schedule, the zone, the agent and the prompt. A 6-field cron expression, seconds first: "0 0 9 * * 1" is 09:00 every Monday. A trigger fires at most once every 60 seconds. The count is capped in the same file. A trigger starts at most 60 runs an hour unless you set another limit under Options → Run limits, and max_runs_per_hour and max_runs_per_day are the keys (triggers keys). A trigger that hits its hourly limit for 2 hours in a row pauses itself. A runaway loop becomes a line on the Triggers page, not a line on an invoice.

The tool rules are the second key. "agents.<name>.permission decides which tool calls run, wait for a person, or never run" (permission rules). Its value is one action for every tool, allow, ask or deny, or a map of key to action, or of key to a map of glob to action. A bash glob matches each command of a line, so "git push *": ask holds a push while "*": allow lets the rest through. The map form is the one that earns its keep. One action for every tool is a switch; a map is a policy, and a policy is something a reviewer can argue with in a diff.

Connector actions follow the other family, and the policy: block is where they are written. default_mode: risk turns the default from "run it" to "hold the risky ones", require_approval holds a call, block never runs it, and a held call that nobody decides in time expires, with approvals: ttl: 4h (manifest).

The third decision is the repository. Session work reaches main through a change request; merge is default-deny for agents. A session merges its own change request only when its agent's grant in kortix.yaml includes project.gitops.merge.

One more rule belongs with the trigger rather than the policy. If an automated session waits on a person, it waits at most 30 minutes, then stops. A run that asks for approval nobody grants does not hold a machine for a day.

How to choose, from what you already have

The list is short, and it starts from the thing you already run.

  • You have a graph, a state machine or a workflow you want to keep: LangGraph, with the policy written around it.
  • Your work is code, and you want one console for coding agents and automations: OpenHands.
  • You want an assistant in the chat apps your team already uses, on your own hardware: OpenClaw.
  • You want a sandbox to poke at, with a terminal and a browser inside it: Agent Zero.
  • You want a team of named specialists out of the box, coordinated for you: AutoGPT.
  • You are starting a company's agent work, and the three decisions have to be written down before the first run: Kortix, where the trigger, the tool rules and the merge grant are three keys in one file.

In my opinion the last case is the one worth deciding first, before the framework is chosen and the first unattended run has already sent something it should not have. The order is cheaper the other way round.

A framework sits inside a process, and a process can move: the graph you keep today can call a different model next month, and the trigger that starts it does not care which library wrote the loop.

Two of the three decisions cost an afternoon each. The third, the merge, decides whether the work is reviewable at all: a library returns a value, and a company needs a diff. None of the seven documents a review step where a person merges the work.

The definitions behind the list sit on three other pages. What autonomous AI agents are turns the term into three testable parts. Running an agent with nobody watching follows a trigger to its change request. Autonomous vs human in the loop places the person at one of three levels. Which of these tools is open source, and which keeps its rules in a repo, is on open-source autonomous AI agents.

Each row comes from that project's own page or repository, opened 2026-11-07: LangGraph, CrewAI, Microsoft Agent Framework, AutoGen, AutoGPT, Agent Zero, OpenHands, OpenClaw.

Three keys in one file, and what each one decides

The trigger, the tool rules and the connector policy, as they are written in kortix.yaml.

kortix.yaml
triggers:  - slug: weekly-report    name: Weekly report    on:      cron: "0 0 9 * * 1"      timezone: Europe/Berlin    run:      agent: support      prompt: Write the weekly support report for the last 7 days.
Source: https://kortix.com/docs/developers#triggers-keys
kortix.yaml
permission:  bash:    "*": allow    "git push *": ask    "rm -rf *": deny  edit:    "*": allow
Source: https://kortix.com/docs/developers#permission-rules
kortix.yaml
policy:  default_mode: risk  policies:    - match: gmail.send_email      action: require_approval      conditions:        - arg: to          match: "*@example.com"    - match: gmail.send_email      action: block  approvals:    ttl: 4h
Source: https://kortix.com/docs/project/manifest

What a team asks before it picks a framework

A library that decides how an agent's steps are sequenced: the loop, the graph of nodes and edges, and the tools each step may call. LangGraph calls itself "a low-level orchestration framework and runtime for long-running, stateful agents", and CrewAI calls itself a "framework for orchestrating role-playing, autonomous AI agents". What neither ships is the policy around the run.

Start from what you already have. A graph or a state machine you want to keep points at LangGraph, coding work points at OpenHands, a chat assistant on your own hardware points at OpenClaw, and a company that needs the trigger, the tool rules and the merge grant written down points at Kortix.

They answer different questions. LangGraph gives explicit control over state and control flow and "does not prescribe prompts or agent architecture". CrewAI gives roles, crews and flows with "guardrails, memory, knowledge, and observability baked in". A company that needs a per-tool policy, a change request and a run cap adds those around either one.

A framework if you are building the agent, a platform if you are running it for a company. The framework decides the loop. The platform decides who can stop a tool call, where the work lands and how many runs start, and those three are the ones an unattended run tests.

Partly. LangGraph can pause execution, inspect or edit the state, then continue, and Microsoft's harness agent lists "don't-ask-again tool approval". Those are hooks your code calls. A rule that holds one call and allows another, written where a reviewer reads it before the run, is a policy, and none of the seven repositories documents one in a workspace manifest.

Pick the harness before the framework.

The trigger, the tool rules and the merge grant are three keys in a file you can read before the first run.