{"id":"multi-agent-runtimes-and-servers-50601","slug":"multi-agent-runtimes-and-servers-50601","title":"Running an Entire Agent Fleet on One Server","description":"Running each AI agent in its own isolated container quickly leads to duplicate dependencies, redundant credentials, and complicated inter-service auth. Frameworks increasingly offer shared agent servers to host an entire fleet under a single process. A look across the self-hosted landscape covers Agno's multi-framework AgentOS, Google's ADK directory model, the licensing catches of LangSmith Agent Server, Mastra for TypeScript stacks, and managed alternatives like CrewAI's AMP and Anthropic Managed Agents.","excerpt":"Agno's AgentOS provides a shared FastAPI runtime exposing over eighty REST endpoints across runs, memory, and evals.","pubDate":"2026-11-29T01:16:44.568Z","tags":["context-and-memory","ai-coding-assistants","model-context-protocol","multi-agent-systems","workflow-automation"],"heroImage":"https://files.myweirdprompts.com/covers/multi-agent-runtimes-and-servers-50601.png","podcastAudioUrl":"https://episodes.myweirdprompts.com/audio/multi-agent-runtimes-and-servers-50601.m4a","podcastDuration":"21:37","episodeNumber":6802,"transcript":"Corn: There are more frontends for agents than you'd think by now, which is a good place to start, because Daniel's question rests on the idea that there are hardly any. His instinct still holds, though. If you're going to wire some agents to your own interface and let others run on their own, you want a backend for the whole team, and you don't want a separate container babysitting each agent. He's reaching for the word \"gateway\" and admits it's not quite right. What he means is a runtime that serves a library of agents, with teams and delegation built in.\n\nHerman: The word he's circling is closer to \"agent server\", and a handful of frameworks now ship exactly that. But the container-per-agent starting point deserves a fair hearing first, because it's not stupid. It's the cleanest isolation you can get. One agent crashes, the rest never notice. One agent leaks a credential, it only had its own.\n\nCorn: It's also how you end up with twelve containers, each with its own copy of the same API keys, each loading the same Python dependencies into memory.\n\nHerman: Right, and the cost isn't mostly the memory. The cost shows up the moment one agent delegates to another. In a container world that's a network call between two services, so you need auth between them, service discovery, a shared place for session state, and a way to trace a request across three processes. You've rebuilt a small microservice platform just to let agent A ask agent B a question.\n\nCorn: Whereas in one runtime, A calling B is a function call.\n\nHerman: In the good versions, yes. And the shared pieces come along for free: one database for sessions and memory, one set of environment variables, one tool registry, one place where tracing lands. Updating is one deploy instead of twelve. The thing to know is that the heavy end of the spectrum exists too. The Claude Agent SDK, if you self-host it, runs each session as its own subprocess that owns a shell and a working directory, and the guidance is around one gigabyte of memory and a CPU per agent. Nobody is saying you can't run that way. It's what you pay for letting an agent touch a filesystem.\n\nCorn: One gigabyte per agent. Twelve agents and my laptop files a complaint.\n\nHerman: Your laptop files a complaint about a calendar invite. Anyway, the frameworks that matter for Daniel's question are the ones where a single process takes a list of agents. Let me go through them, and I'll start with Agno, because its construct is the most literal answer to what he asked.\n\nCorn: Agno, the one that used to be called Phidata.\n\nHerman: That's the one. Python, Apache licence, a bit over forty-three thousand stars. The serving piece is called AgentOS, and it's a FastAPI app you host yourself. You construct one object and hand it a list of agents, a list of teams and a list of workflows, plus a database. Call the serve method and you have a server on one port with all of them behind it.\n\nCorn: And the database is shared.\n\nHerman: By default, yes. Any agent or team that doesn't bring its own database inherits the one on AgentOS, and tracing goes to it as well. If a component has its own, it keeps it. So you get shared sessions and memory without ceremony, and an escape hatch when one agent needs to be separate. You flip on a flag for JWT authorisation, you flip on another and the whole thing also shows up as an MCP server. The docs claim more than eighty REST endpoints, covering runs, sessions, memory, knowledge, evals.\n\nCorn: Eighty endpoints. For a thing that takes a list.\n\nHerman: It's what you get when every concept gets its own noun. But it's the endpoints that make \"wire some agents to my own frontend\" easy, because your frontend just talks to a documented API. There's also a browser control plane at the Agno site that connects straight to your running instance. Agno says it stores only the endpoint and your data stays in your database. I'd treat the pricing of that control plane as something to check yourself, because it isn't clear to me what's free. The runtime is.\n\nCorn: Does it only serve Agno's own agents?\n\nHerman: No, and that's the interesting part for a fleet. It can also serve LangGraph agents, Claude Agent SDK agents and DSPy ones. So the runtime is a host for agents from different frameworks, which is closer to a gateway than anything else on this list.\n\nCorn: Then LangGraph, which has the largest installed base of the serious ones. I'd guess it's the same story with more YAML.\n\nHerman: It's a different story, and it has a trap in it. The server product has been through two names. It was LangGraph Platform, it got renamed LangSmith Deployment in October, and now the docs call it the LangSmith Agent Server. The construct is a config file where you register many graphs under one deployment. Each graph gets a default assistant, which is a configured blueprint of that graph, and you can create more assistants from the same graph with different settings. Then threads, runs and cron jobs on top. One run at a time per thread.\n\nCorn: So one deployment, many graphs, and assistants are the instances.\n\nHerman: Close enough. It also exposes MCP and agent-to-agent endpoints, so the server is itself something other agents can call. Self-hosting it means Postgres for assistants, threads, memory and the task queue, plus Redis for streaming. Docker, Compose or Helm, and Helm for production.\n\nCorn: Here comes the trap.\n\nHerman: Here it is. The LangGraph library is MIT. Take it, build whatever you like. The standalone server is not the library. To run it you need a licence key, it's checked at startup, and unless you're air-gapped it phones home to LangChain. There's a lighter self-hosted tier that needs a LangSmith key on a paid plan and is meant for smaller workloads, somewhere around a million node executions a year. And older advice online about a free allowance for self-hosting looks out of date.\n\nCorn: So the library is free, the thing that serves the library is not, and the pricing page is somewhere else.\n\nHerman: I'd put it more gently than that. But a lot of people choose LangGraph because the library is MIT and then meet the key at deployment. If your constraint is \"everything I run must be open source and unmetered\", that fact decides it for you.\n\nCorn: Nobody wants a licence key as a surprise at deployment time.\n\nHerman: Which is my whole complaint. A fair business model, but people deserve to hear it before they build, not after. Anyway, Google's ADK, which has the plainest design of the lot.\n\nCorn: Plain is a compliment, coming from you.\n\nHerman: It's meant as one. ADK is Apache licensed, Python first with Java, Go and TypeScript versions. You point a command at a directory, and each subdirectory is one agent. A file with the agent in it, or a YAML file for the config. The api server command serves the lot as one FastAPI app. A web command adds a development UI, and a flag turns on the agent-to-agent endpoint. Deploy targets include Cloud Run, plain Docker, GKE and Google's managed Agent Engine.\n\nCorn: Sessions?\n\nHerman: A service you point at a URI, so memory, SQLite, or Agent Engine, with separate services for artifacts and memory. And now the part I'd underline. The docs say the endpoints are unauthenticated. Run it on a trusted network or put your own auth in front.\n\nCorn: Which means a server with a whole team of agents on it and no front door.\n\nHerman: By default, yes. And that's worth a minute, because it's the cost nobody mentions about moving out of containers. When every agent was its own process, you never had to decide who may talk to which agent, because nobody could reach them. A shared runtime is a shared service, and now authentication and per-caller permissions are your problem. Agno gives you a flag. ADK gives you a sentence in the docs.\n\nCorn: Honestly the flag is also how most security gets done.\n\nHerman: Fair. Let me do Mastra, because the TypeScript crowd has been waiting. A Mastra class is the registry: agents, workflows, tools, all handed to one object. The server exposes routes for you, a list of agents, a generate call per agent, a stream call per agent, with adapters for Hono and Express. You self-host on any Node environment. The licence is Apache for the core, with one directory of enterprise-licensed code, so read that before you assume everything's open.\n\nCorn: And that's the pick if the rest of your stack is TypeScript.\n\nHerman: If your frontend is already React and your team lives in Node, I'd start there. Same shape as the Python ones: one object, many agents, shared storage, an API. You aren't translating your head between languages.\n\nCorn: Microsoft has one, and it has changed names enough times that I stopped keeping up.\n\nHerman: Fairly. Microsoft Agent Framework is the successor to AutoGen and Semantic Kernel, merged, and reportedly reached one point oh in April. The hosting story has two models. Foundry Hosted Agents, where Microsoft runs the container, the scaling and the sessions. Or self-hosting inside your own web service. The protocol is a separate choice: OpenAI-compatible chat or responses endpoints, agent-to-agent, AG UI, an MCP tool, even Telegram. The caution is that the Python self-hosting packages are still prerelease, and there's a Durable Extension for long-running work.\n\nCorn: So for Python on your own server, I'd look elsewhere this month.\n\nHerman: That's my read. If you're a dotnet shop, different answer.\n\nCorn: One more hosted option before that, since I keep seeing the name. Anthropic's Managed Agents.\n\nHerman: It's a hosted service, in beta. You create an agent once and refer to it by ID afterwards, you define an environment for it, and then you open sessions that stream events back. The sandbox can be self-hosted, and the docs now list a fully self-hosted version of the service as well. It's the odd one out here, because you aren't running a framework, you're calling an API that owns the agent. What matters for Daniel is that it isn't a runtime you can load other people's agents into.\n\nCorn: So it's a rented kitchen, not a toolbox.\n\nHerman: A rented kitchen with someone else's rules on the door. Do you actually want to host the agents yourself, though? Because that's the fork under all of this. A service owns the sessions and you pay for the convenience, or you own the database and the restarts and the passwords.\n\nCorn: Own it. I like being able to open the thing up when it misbehaves, and I'd rather lose a weekend than lose the logs. Then again, a lost weekend is the one thing I have plenty of.\n\nHerman: Fair. Ask me the other one, then.\n\nCorn: Before we leave the serving constructs. Which one would you actually deploy?\n\nHerman: Ask me again after CrewAI. Because CrewAI is the most popular of them by stars, over sixty-one thousand, and it belongs in a different category.\n\nCorn: Go on.\n\nHerman: The open source project gives you crews and flows as libraries. It has no multi-agent server of its own. The serving layer is a paid product called AMP. You push a crew with a deploy command, and each deployment becomes an automation with its own REST API, triggered by an API call, a schedule or an app event. So it's one deployment per crew, not one runtime with a registry.\n\nCorn: A container per agent, with a nicer receipt.\n\nHerman: Closer to a managed one-per-crew model, yes. Which suits plenty of teams. But it's not the shape Daniel described.\n\nCorn: Well, it's that time again. Dorothy, are you there?\n\nDorothy: Hello dear, it's your mother. Yes, it's Dorothy's Kitchen again, and I'm ringing about a boiled egg.\n\nHerman: Dorothy! Lovely to hear from you.\n\nDorothy: You'll need one egg, and water, and a saucepan, and a bit of salt if you're feeling fancy. That's the whole list, and I still manage to get it wrong.\n\nCorn: Hello Mum. Keep going.\n\nDorothy: Now. Put the egg in the water gently, dear, gently, and bring it to the boil. Watch the bread under the grill while you wait, because the bread will turn on you the moment your back is turned. It always does.\n\nHerman: Does the egg go in cold, or after the water's boiling?\n\nDorothy: Six minutes for a soft one, ten for a hard one, and don't wander off, sweetheart, because timing is everything and things have gone wrong before. I'd rather not say how.\n\nCorn: Understood, Mum.\n\nDorothy: Then butter the toast, if the butter's in a good mood, and sit down and eat it while it's warm. There now. Have you had your lunch? Ring me back when you've eaten something.\n\nHerman: Thank you, Dorothy. Letta and the rest of the field, then.\n\nCorn: Letta is the memory one, isn't it. The agents that remember who you are.\n\nHerman: Yes, twenty-five thousand or so stars, Apache licence. And it's the clearest example of how fast this area moves. The classic Letta Docker server, where agents were rows in a database and you talked to them over an API, is now marked deprecated and no longer actively maintained. The current path is a new server that comes out of their coding-agent repo. Memory is still the selling point, but it isn't the plain agent server it was a year ago.\n\nCorn: So if someone told you in the spring to deploy Letta in Docker...\n\nHerman: They gave you good advice that has since expired. Same pattern elsewhere. LangGraph renamed twice. LlamaIndex replaced its old deployment tool with a new one called LlamaAgents, where you register workflows in the project file and the command line serves them, and the cloud side is beta. Pydantic AI has no fleet registry at all, just per-agent adapters, one for a web chat UI, one for agent-to-agent, one for AG UI.\n\nCorn: What about the OpenAI one?\n\nHerman: The Agents SDK has handoffs as a core idea, which is delegation in the strict sense. But it's a library. There's no server shipped with it, so durability and serving are on you, and people reach for Temporal or something like it. And Amazon's AgentCore, with the Strands framework, goes the other way: one deployed runtime per agent, with an orchestrator calling specialists over agent-to-agent. That's the container-per-agent model, just on managed infrastructure.\n\nCorn: Since I opened with it, let's do frontends. I said there were more than people think, and I'd like to know whether I was bluffing.\n\nHerman: You weren't. Agno has its control plane. LangSmith has Studio and an Agent Chat UI. ADK has its dev web UI. Mastra has a playground. And there's a protocol, AG UI, for streaming events between an agent and an interface, with CopilotKit as the client library for React, Angular and Vue. Microsoft, ADK, Strands, Mastra, Pydantic AI, Agno and LlamaIndex all have integrations.\n\nCorn: But those are mostly consoles for the person who built the agent.\n\nHerman: Mostly, yes. Developer consoles, some of them dev-only, some of them SaaS. What's still thin is a polished, vendor-neutral frontend you'd hand to a customer. So I'd say Daniel's instinct holds: build the interface you want, and use AG UI as the wire so you aren't locked to one framework's event format.\n\nCorn: Then where do the agent-to-agent protocol and MCP fit? I keep seeing them in every product page.\n\nHerman: Three protocols, three jobs. MCP is how an agent reaches tools. AG UI is how an agent reaches a human interface. Agent-to-agent is how one agent service reaches another that someone else owns and deployed separately. And the thing people get wrong is using agent-to-agent inside one runtime. If Agno is hosting your five agents in a single process, delegation between them should be in-process. Use the protocol at the border, between services with their own owners, their own release cycles and their own auth.\n\nCorn: So the protocol is for diplomacy, not for family dinners.\n\nHerman: That works. ADK has a flag for it, Microsoft's framework hosts it, AgentCore speaks it, LangGraph's server exposes it. It's the glue for the case where your fleet isn't all yours.\n\nCorn: Prior episodes covered the layer above this. We did a whole one on orchestration and swarm patterns, the death of the lonely chatbot, and another on whether multi-agent setups are worth it at all. Today is only about where you run them.\n\nHerman: Let me answer your question from before. What would I deploy? It depends on three things. Language first. Python and you want everything open: Agno or ADK. TypeScript: Mastra. Dotnet: Microsoft. Second, what the agents are. If it's long-running stateful work, with threads and checkpoints and resuming, LangGraph's model is the most developed, and you accept the licence key. If it's a fleet of conversational agents with shared memory behind your own frontend, Agno's shape fits best. Third, the licence constraint. If you can't have a key check at startup, LangGraph's server is out and CrewAI's server is a paid product.\n\nCorn: And if I can't decide.\n\nHerman: Agno or ADK, and put auth in front. The cost of being wrong is smallest, because they both serve a folder or a list of plain agents, so moving them later isn't a rewrite.\n\nCorn: I'd add one more, from the other side. You don't need any of these for two agents. A single process with two routes and a shared environment file is a runtime too.\n\nHerman: Fair, and I'd rather lose the argument than see someone adopt a platform for two agents. Where it starts to pay is the day the third agent needs to call the first, and you notice the first one has no...\n\nHilbert: ...invoice. It had no invoice. Tennant's nephew sent himself one. Tennant. Plumber, Walsall. I put his three agents on one runtime in a spare box at my brother-in-law's garage. Quotes, invoices, scheduling. Corn, you said no front door. There was no front door. The nephew was on the same wifi and found the invoice agent in about four minutes.\n\nCorn: Did you lock it?\n\nHilbert: Put a password on it Sunday. Tennant says that proves his point. He wants three boxes. One per agent. He's wanted three boxes since March and he rings me about it.\n\nHerman: Three boxes would stop the nephew, strictly, but it wouldn't give each agent its own front door. You'd still have to lock each one.\n\nHilbert: That's what I told him. Same password on all three, which is worse. And you said one runtime means one deploy, Herman. It's one restart. Change the quotes agent, the invoice agent goes down with it. I found that out on a Friday, in the middle of a payment run. Tennant keeps the password on a laminated card in his van.\n\nHerman: That's right, I had that wrong. One deploy for everything is also one restart for everything. Why laminate it?\n\nHilbert: Rain. The shared box costs eleven pounds a month. Three would be twenty-seven.\n\nCorn: Eleven pounds against twenty-seven covers a lot of arguments about passwords.\n\nHerman: And it's a cleaner framing than we gave it earlier. The runtime saves money, and it moves the locks to you.\n\nCorn: There's one belief I'd like to correct. The most common belief about all this is that picking the framework is the hard part.\n\nHerman: It's the easy part. The framework gets your agents running in one place in an afternoon. The hard part is what you inherit for choosing one runtime: the key, the auth, the restart, the blast radius. Every one of those frameworks makes the first part simple and leaves the second part to you.\n\nCorn: Then the question is how much of that second part moves into the runtime itself, so a restart doesn't take every agent down with it and a password isn't something you bolt on on a Sunday. Auth and per-agent restarts are where I'd watch.\n\nHerman: I'd watch the churn too. Half of what I described this month will have a different name by next spring, so keep your own agents as plain as possible and the runtime as thin as possible.\n\nCorn: Thanks to our producer Hilbert Flumingtop for keeping the whole thing running.\n\nHerman: This has been My Weird Prompts. You can find every episode at my weird prompts dot com.\n\nCorn: See you tomorrow.\n","showNotes":"Running multiple agents often leads to a tricky architectural dilemma: isolate every agent in its own resource-heavy container, or consolidate them into a unified agent runtime. While containers offer clean fault boundaries, they create complex networking, tracing, and authentication overhead for simple delegations. In contrast, modern agent servers allow a single process to host diverse teams, workflows, and shared databases through unified APIs. Frameworks tackle this tradeoff differently. Agno's AgentOS provides a FastAPI server exposing over eighty endpoints and can even host agents from rival frameworks. Meanwhile, the LangSmith Agent Server introduces paid license requirements despite LangGraph's MIT library, and Google's ADK delivers straightforward directory-based deployment while leaving authentication entirely to the user.","promptSanitized":"Which agentic AI frameworks are built to run a team of agents as one backend service rather than one container per agent? If you deploy a team of agents onto a server with no built-in UI, wiring some to your own frontend and letting others run autonomously, you want glue that acts as an agent backend: a library of agents with teams and delegation, and shared environment variables, tools and memory. What are the top options now (Agno AgentOS, CrewAI, LangGraph, Microsoft Agent Framework, Google ADK, Mastra, Letta), and where do A2A and MCP fit?","transcriptUrl":"https://episodes.myweirdprompts.com/transcripts/multi-agent-runtimes-and-servers-50601.md","url":"https://myweirdprompts.com/episode/multi-agent-runtimes-and-servers-50601/","_links":{"self":"https://myweirdprompts.com/api/episodes/multi-agent-runtimes-and-servers-50601.json","html":"https://myweirdprompts.com/episode/multi-agent-runtimes-and-servers-50601/","audio":"https://episodes.myweirdprompts.com/audio/multi-agent-runtimes-and-servers-50601.m4a"}}