The agent stack / Layer 1 of 11

Agent orchestration

How do I control what an agent does next?

What this layer is for

An agent is a loop: a model picks an action (usually a tool call), your code runs it, and the result goes back to the model. Orchestration frameworks give that loop structure — explicit steps, branches, retries, shared state and pauses for human approval — so behaviour is predictable and debuggable instead of living in one giant prompt. Most model the flow as a graph or state machine.

Side by side

ToolBest atLanguagesLicenseBy
LangGraphLow-level framework and runtime for building long-running, stateful agents as graphs of state, nodes and edges.Python, TypeScriptMITLangChain
CrewAIPython framework for teams of role-playing agents (Crews) combined with event-driven, controllable workflows (Flows).PythonMITCrewAI
Google Agent Development Kit (ADK)Google's open-source, code-first toolkit for building, evaluating and deploying agents and multi-agent systems in Python, TypeScript, Go and Java.Python, TypeScript, Go, JavaApache-2.0Google
InngestEvent-driven durable execution — add steps to ordinary functions and Inngest retries, schedules and resumes them.TypeScript, Python, GoSSPL-1.0 (server, converts to Apache-2.0 after 3 years), Apache-2.0 (SDKs)Inngest
LangSmithLangChain's commercial platform to trace, evaluate, deploy and govern LLM agents, built with any framework.Python, TypeScript, Javaproprietary (platform), MIT (SDKs)LangChain
LlamaIndexOpen-source Python framework for connecting LLMs to your data - indexes, query engines, agents and event-driven Workflows.PythonMITLlamaIndex
MastraOpen-source TypeScript framework for agents, workflows, memory, RAG and evals, from the team behind Gatsby.TypeScriptApache-2.0 (core), separate enterprise license for ee/ directoriesMastra
Microsoft Agent FrameworkMicrosoft's open-source .NET and Python framework for agents and graph-based multi-agent workflows; successor to AutoGen and Semantic Kernel.C#, Python, GoMITMicrosoft
n8nFair-code, self-hostable workflow automation platform with a visual canvas, 400+ integrations and built-in AI agent nodes.TypeScriptSustainable Use License 1.0 (fair-code); n8n Enterprise License for .ee filesn8n
TemporalOpen-source durable execution platform; workflows written as ordinary code run to completion despite crashes.Go, Java, Python, TypeScript, C#, PHP, Ruby, RustMITTemporal Technologies

Tools in this layer

Orchestrationframework

LangGraph

Low-level framework and runtime for building long-running, stateful agents as graphs of state, nodes and edges.

LangChain · Python, TypeScript

Multi-agentframework

CrewAI

Python framework for teams of role-playing agents (Crews) combined with event-driven, controllable workflows (Flows).

CrewAI · Python

Agent SDKsframework

Google Agent Development Kit (ADK)

Google's open-source, code-first toolkit for building, evaluating and deploying agents and multi-agent systems in Python, TypeScript, Go and Java.

Google · Python, TypeScript, Go

Durable executionplatform

Inngest

Event-driven durable execution — add steps to ordinary functions and Inngest retries, schedules and resumes them.

Inngest · TypeScript, Python, Go

Observabilityplatform

LangSmith

LangChain's commercial platform to trace, evaluate, deploy and govern LLM agents, built with any framework.

LangChain · Python, TypeScript, Java

Retrievalframework

LlamaIndex

Open-source Python framework for connecting LLMs to your data - indexes, query engines, agents and event-driven Workflows.

LlamaIndex · Python

TypeScriptframework

Mastra

Open-source TypeScript framework for agents, workflows, memory, RAG and evals, from the team behind Gatsby.

Mastra · TypeScript

Agent SDKsframework

Microsoft Agent Framework

Microsoft's open-source .NET and Python framework for agents and graph-based multi-agent workflows; successor to AutoGen and Semantic Kernel.

Microsoft · C#, Python, Go

Automationplatform

n8n

Fair-code, self-hostable workflow automation platform with a visual canvas, 400+ integrations and built-in AI agent nodes.

n8n · TypeScript

Durable executionruntime

Temporal

Open-source durable execution platform; workflows written as ordinary code run to completion despite crashes.

Temporal Technologies · Go, Java, Python