A2A protocol example: LangGraph, CrewAI and AutoGen agents in AgentOven
For agent builders4 min read

Teams that mix LangGraph, CrewAI and AutoGen agents hit the same problem: each framework runs, calls and deploys agents its own way. AgentOven's answer is one control plane that speaks the A2A protocol, and this A2A protocol example shows what its pages say and the code they give.
What the pages claim about frameworks
The GitHub README says agents built with LangGraph, CrewAI, the OpenAI SDK, AutoGen or custom code run on top of the AgentOven runtime. The package README on PyPI lists LangGraph, CrewAI and AutoGen under its multi-framework feature.
The features page is more specific about how. Agents built in LangGraph, LangChain or CrewAI run in framework-native runtimes, locally, in Docker or on Kubernetes. External agents are proxied over A2A. Recipes can use agents from any of these frameworks.
Source: AgentOven features(opens in a new tab)
Source: AgentOven on GitHub(opens in a new tab)
The docs do not publish a table of tested framework versions, so check your own versions before you commit to this.
Registering an agent from a framework
The homepage example registers a LangGraph agent in a kitchen called payments and bakes it to staging.
from agentoven import Agent, AgentOvenClient client = AgentOvenClient(kitchen="payments") client.register_agent(Agent( name="refund-resolver", framework="langgraph",)) client.bake("refund-resolver", environment="staging")# Agent is now live at /agents/refund-resolver/a2aThe framework is a field on the agent record. The docs show the values langgraph, langchain and crewai, and the init command shows openai-sdk. They do not show the exact string for AutoGen, so look at the CLI help before you guess.
Source: AgentOven homepage(opens in a new tab)
The agent you wrap
AgentOven registers and runs the agent. You still write it in your framework. This is the smallest LangGraph example from the LangGraph overview, a graph with one node that returns a fixed reply.
from langgraph.graph import StateGraph, MessagesState, START, END def mock_llm(state: MessagesState): return {"messages": [{"role": "ai", "content": "hello world"}]} graph = StateGraph(MessagesState)graph.add_node(mock_llm)graph.add_edge(START, "mock_llm")graph.add_edge("mock_llm", END)graph = graph.compile() graph.invoke({"messages": [{"role": "user", "content": "hi"}]})Source: LangGraph overview(opens in a new tab)
And this is the hello world from the AutoGen docs, reformatted a little.
import asynciofrom autogen_agentchat.agents import AssistantAgentfrom autogen_ext.models.openai import OpenAIChatCompletionClient async def main() -> None: model = OpenAIChatCompletionClient(model="gpt-4o") agent = AssistantAgent("assistant", model) print(await agent.run(task="Say 'Hello World'")) asyncio.run(main())Source: AutoGen documentation(opens in a new tab)
The AgentOven pages do not show how to connect either snippet to a registered agent. They only show the registration side. If the wiring is not in the docs for your framework, treat that as work you will do and verify yourself.
An A2A protocol example: calling any of them
A2A is an open standard for agents to talk to each other, including agents built on different frameworks or by different vendors. It is a separate thing from MCP: MCP connects an agent to tools and data, A2A connects agents to each other.
Source: A2A protocol overview(opens in a new tab)
In AgentOven, each registered agent gets an endpoint at /agents/<name>/a2a. Tasks are JSON-RPC 2.0 requests with a method of tasks/send, or tasks/sendSubscribe for streaming over server-sent events. A baked agent also publishes an agent card that lists its name, URL, capabilities and skills, so other agents can find it.
The A2A page shows delegation through the Python SDK like this.
menu = oven.menu.list()writer = next(a for a in menu if "writing" in a.skills)result = oven.a2a.send_task(agent=writer.name, message="...")Source: A2A in AgentOven (docs)(opens in a new tab)
Here the object is called oven, not the AgentOvenClient used on the homepage. The docs site and the PyPI README use different names for the client, so check which one your installed version has.
Mixing them in a recipe
A recipe is a workflow of agents. The recipes page shows a YAML manifest that chains a research agent, a human approval step and a writer.
name: content-reviewsteps: - id: research agent: research-bot - id: review kind: human-gate notify: ["slack:#content-review"] - id: write agent: content-writer depends_on: [review]Source: Recipes (docs)(opens in a new tab)
The page says nothing about mixing frameworks inside a recipe. The why page does say recipes can mix LangChain, CrewAI, OpenAI SDK and custom agents. Run a small recipe with two frameworks before you design around it.
What each framework brings
The control plane does not replace the framework, so the framework still decides how an agent thinks. From their own pages: LangGraph is a low level orchestration framework and runtime for long running, stateful agents, with durable execution and human in the loop checks. CrewAI organizes work as Crews, teams of agents with roles, inside Flows that manage state and branching. AutoGen is split into layers: Core for event driven multi agent systems, AgentChat for conversational agents, and extensions for outside services.
Source: CrewAI introduction(opens in a new tab)
That split matters for a control plane. The things AgentOven manages, such as registration, a callable endpoint, traces and cost, sit outside those designs. The thinking inside each agent stays where it was.
What to check before you adopt this
- Does the framework you use have a documented registration path, not just a mention?
- Does your agent need state that the A2A task model does not carry?
- Can you reproduce one end-to-end call with the exact versions you will deploy?