Cover art for Running an Entire Agent Fleet on One Server
Episode 6802 manual-script

Running an Entire Agent Fleet on One Server

Agno's AgentOS provides a shared FastAPI runtime exposing over eighty REST endpoints across runs, memory, and evals.

21:37 Transcript

0:00
0:00
Episode Details
Episode ID
MWP-7006
Published
Duration
21:37
Audio
Direct link
Pipeline
V5.37
TTS Engine
omnivoice
Script Writing Agent
Claude Sonnet 5.5

AI-Generated Content: This podcast is created using AI personas. Please verify any important information independently.

The prompt

The prompt that started this episode, as sent in (production notes for the hosts removed).

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?

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.

Mentions

  • Agno Python agent framework with AgentOS server
  • CopilotKit Framework for building in-app AI copilots
  • CrewAI Multi-agent orchestration framework
  • Google ADK Apache-licensed agent development kit
  • langgraph Framework for building stateful agent workflows
  • LangSmith Agent Server Renamed LangGraph Platform deployment server
  • Letta Agent framework with memory management
  • LlamaIndex Data framework for LLM apps
  • Mastra TypeScript agent framework with server
  • Microsoft Agent Framework Microsoft's agent session and memory framework

Downloads

Episode Audio

Download the full episode as an MP3 file

Download MP3
Transcript (TXT)

Plain text transcript file

Episode Book (PDF)

The episode's record — date, duration, models, sources — with the full transcript

#6802: Running an Entire Agent Fleet on One Server

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.
Herman
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.
Corn
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.
Herman
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.
Corn
Whereas in one runtime, A calling B is a function call.
Herman
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.
Corn
One gigabyte per agent. Twelve agents and my laptop files a complaint.
Herman
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.
Corn
Agno, the one that used to be called Phidata.
Herman
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.
Corn
And the database is shared.
Herman
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.
Corn
Eighty endpoints. For a thing that takes a list.
Herman
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.
Corn
Does it only serve Agno's own agents?
Herman
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.
Corn
Then LangGraph, which has the largest installed base of the serious ones. I'd guess it's the same story with more YAML.
Herman
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.
Corn
So one deployment, many graphs, and assistants are the instances.
Herman
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.
Corn
Here comes the trap.
Herman
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.
Corn
So the library is free, the thing that serves the library is not, and the pricing page is somewhere else.
Herman
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.
Corn
Nobody wants a licence key as a surprise at deployment time.
Herman
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.
Corn
Plain is a compliment, coming from you.
Herman
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.
Corn
Sessions?
Herman
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.
Corn
Which means a server with a whole team of agents on it and no front door.
Herman
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.
Corn
Honestly the flag is also how most security gets done.
Herman
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.
Corn
And that's the pick if the rest of your stack is TypeScript.
Herman
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.
Corn
Microsoft has one, and it has changed names enough times that I stopped keeping up.
Herman
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.
Corn
So for Python on your own server, I'd look elsewhere this month.
Herman
That's my read. If you're a dotnet shop, different answer.
Corn
One more hosted option before that, since I keep seeing the name. Anthropic's Managed Agents.
Herman
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.
Corn
So it's a rented kitchen, not a toolbox.
Herman
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.
Corn
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.
Herman
Fair. Ask me the other one, then.
Corn
Before we leave the serving constructs. Which one would you actually deploy?
Herman
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.
Corn
Go on.
Herman
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.
Corn
A container per agent, with a nicer receipt.
Herman
Closer to a managed one-per-crew model, yes. Which suits plenty of teams. But it's not the shape Daniel described.
Corn
Well, it's that time again. Dorothy, are you there?
Dorothy
Hello dear, it's your mother. Yes, it's Dorothy's Kitchen again, and I'm ringing about a boiled egg.
Herman
Dorothy! Lovely to hear from you.
Dorothy
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.
Corn
Hello Mum. Keep going.
Dorothy
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.
Herman
Does the egg go in cold, or after the water's boiling?
Dorothy
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.
Corn
Understood, Mum.
Dorothy
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.
Herman
Thank you, Dorothy. Letta and the rest of the field, then.
Corn
Letta is the memory one, isn't it. The agents that remember who you are.
Herman
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.
Corn
So if someone told you in the spring to deploy Letta in Docker...
Herman
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.
Corn
What about the OpenAI one?
Herman
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.
Corn
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.
Herman
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.
Corn
But those are mostly consoles for the person who built the agent.
Herman
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.
Corn
Then where do the agent-to-agent protocol and MCP fit? I keep seeing them in every product page.
Herman
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.
Corn
So the protocol is for diplomacy, not for family dinners.
Herman
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.
Corn
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.
Herman
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.
Corn
And if I can't decide.
Herman
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.
Corn
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.
Herman
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...
Hilbert
...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.
Corn
Did you lock it?
Hilbert
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.
Herman
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.
Hilbert
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.
Herman
That's right, I had that wrong. One deploy for everything is also one restart for everything. Why laminate it?
Hilbert
Rain. The shared box costs eleven pounds a month. Three would be twenty-seven.
Corn
Eleven pounds against twenty-seven covers a lot of arguments about passwords.
Herman
And it's a cleaner framing than we gave it earlier. The runtime saves money, and it moves the locks to you.
Corn
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.
Herman
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.
Corn
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.
Herman
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.
Corn
Thanks to our producer Hilbert Flumingtop for keeping the whole thing running.
Herman
This has been My Weird Prompts. You can find every episode at my weird prompts dot com.
Corn
See you tomorrow.

This episode was generated with AI assistance. Hosts Herman and Corn are AI personalities. It may contain errors: disclaimer · report an error