# OpenProgram vs LangGraph, AutoGen, and CrewAI

| Framework | Primary abstraction | Orchestration | Choose when |
| --- | --- | --- | --- |
| **OpenProgram** | `Agent` method plus an execution runtime | Ordinary control flow, model-selected tools, a shared execution DAG | An agent should author a new workflow as a reviewable function, not only select from a fixed graph or team. One runtime should provide terminal, Web, provider, tool, memory, context and multi-agent surfaces. Context should be a DAG of user, model, function and tool calls. |
| **[LangGraph](https://docs.langchain.com/oss/python/langgraph/overview)** | Graph API with nodes and edges, or [Functional API](https://docs.langchain.com/oss/python/langgraph/functional-api) with `@entrypoint` and `@task` | Explicit state graphs or standard Python control flow, same runtime | You need durable execution, persistence, streaming and human-in-the-loop state control. It is a low-level runtime; its overview recommends LangChain agents for prebuilt architectures. |
| **[AutoGen](https://microsoft.github.io/autogen/)** | AgentChat agents and teams, or Core agents and [runtimes](https://microsoft.github.io/autogen/stable/user-guide/core-user-guide/framework/agent-and-agent-runtime.html) | Agent messages, team patterns, event-driven Core API | The design centres on agents exchanging typed messages or team patterns. Covers teams, state, human feedback, custom agents, distributed runtimes. |
| **[CrewAI](https://docs.crewai.com/)** | Agents, tasks, crews, flows | Role-based crews combined with event-driven flows | The application maps to agents with roles, goals and tasks, or to structured flows that invoke crews. |

Compares abstractions documented by each project, to help choose one, not to rank features. Verified against the linked documentation on 2026-08-13. An unlisted feature may still be possible through extensions; check current docs before a long-term migration.

[Self-Programming AI Agents](https://fzkuji.github.io/OpenProgram/docs/capabilities/agentic-programming/self-programming-ai-agents.html) · [Agentic Programming](https://fzkuji.github.io/OpenProgram/docs/capabilities/agentic-programming/README.html) · [Install](https://fzkuji.github.io/OpenProgram/docs/start/GETTING_STARTED.html)
