Platform Teams vs. Embedded Squads: When to Centralize by kirupa (https://www.kirupa.com/me/index.htm) | filed under Teams & Leadership (https://www.kirupa.com/teams_and_leadership/index.htm) TL;DR: A platform team is a small team that builds shared pieces, like a money-back service or a customer list, once and runs them as a product other teams choose to use. An embedded squad owns its slice of the business end to end, specialists included. Pave what every team needs, and keep what makes each product special inside each team. - Crumb & Co.'s three groups of builders each wrote their own money-back code, so one shared service replaces three sets of bugs. - Centralizing everything creates a queue. Arlo waited 19 days for a one-line change to his caption prompt. - Netflix's paved road and Spotify's Golden Path are supported defaults that teams can leave, but without the same support. - Team Topologies names four kinds of teams: stream-aligned, platform, enabling, and complicated subsystem. This spring, three groups at Crumb & Co. each wrote their own code to put money back in a customer's pocket. The Biscuit team called theirs makeItRight(), the ordering team called theirs refund_deposit(), and Arlo, who does our marketing, had a coding agent write giveaway_credit() for his Instagram contests. All three work. All three also have different bugs, and a customer who gets money back from two of them gets two very different emails. Every company with more than one team runs into this sooner or later. Do we build shared things once, in one central team, or do we let each team build whatever it needs? In this article, we'll look at both answers, see why each one breaks on its own, and figure out how to decide what goes where. Onwards! Three Builders, Three of Everything Let's meet the three groups building software at Crumb & Co. this year. The Biscuit team (Wren, Wes, Nell, and Petra) builds Biscuit, our help desk bot. The ordering team (Yara and her teammate) keeps Pinwheel running for Rolling Pin's 6 shops. Then there's Arlo, who isn't a developer at all, but who now builds small tools for his newsletter and Instagram with coding agents. Here is the money-back code each of them wrote: [Image: Three teams side by side, each with its own code for putting money back in a customer's pocket: the Biscuit team's makeItRight() for store credit, the ordering team's refund_deposit() for the $10 pie deposit, and Arlo's giveaway_credit() for contest prizes.] (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_three_refunds.png) (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_three_refunds.png?v=c4a002497e0a) Three functions with three names do the same job three slightly different ways. The ordering team wrote theirs after refunding 37 pie deposits by hand last holiday season, which is a very good reason to write it! Money back turns out to be just the start, though. Here is everything the three groups built or kept for themselves: [Image: A grid with three teams across the top and five things down the side. Giving money back: all three built their own. A customer list: all three keep their own. Calls to AI models: the Biscuit team goes through the AI gateway, the ordering team makes none, and Arlo uses his own key. Checking AI answers: the Biscuit team reviews 30 chats a week, and the other two check nothing. A designer: only the Biscuit team has one, Petra.] (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_inventory.png) (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_inventory.png?v=6e89d58ddb61) All three keep their own customer list. Biscuit calls AI models through the bakery's AI gateway, while Arlo's caption helper uses its own key. The Biscuit team checks 30 of Biscuit's answers every week, and nobody checks the answers from Arlo's tools. Meanwhile, the ordering team is about to ship its first AI feature, a helper that turns the cafés' wholesale order emails into Pinwheel orders. Only the Biscuit team has a designer. It looks a lot like a park where people keep cutting across the grass: [Image: A park lawn with a neat paved path that curves the long way around. Three dirt paths have been worn straight across the grass to the bakery, and a sign in the grass says: Please use the path.] (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_desire_paths.png) (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_desire_paths.png?v=c2ef89c089b0) Each dirt path is a group that needed to get somewhere and found its own way there. Nobody did anything wrong, and we are still going to pay to keep all three paths working. What If One Team Built Everything? The first fix that comes to mind is to pull all of this into one central team. Every AI feature, every refund, and every customer list would be built by one group, and everyone else would send it requests. Here is what that looks like after a few weeks: [Image: Three teams send requests into one central AI team. Its queue holds 23 requests. Arlo's one-line prompt change for his caption helper has been waiting 19 days.] (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_central_queue.png) (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_central_queue.png?v=50949414ac2b) The central team's queue has 23 requests in it, and Arlo's one-line change to his caption prompt has been waiting 19 days. The central team knows a lot about AI and very little about what makes a good Instagram caption, so even when the change ships, it might not be the right one. Centralizing everything got rid of the duplicate code, and it made everyone wait in one queue instead. What If Every Team Built Everything? The opposite fix is to give every team everything it needs, specialists included. In this setup, each team is a small group that owns its part of the business from start to finish. Spotify famously calls teams like these squads, and when a specialist like a designer works inside one of them, we say that specialist is embedded: [Image: Three teams, each building everything itself. Each has its own money-back code and its own customer list, so one customer can show up in three lists with three different phone numbers. Two of them call AI models their own way, and only the Biscuit team has a designer.] (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_embed_everyone.png) (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_embed_everyone.png?v=63139e6fb29a) Embedded squads move fast, because nobody waits on another team. Petra sits right next to the people building Biscuit, so her designs fit Biscuit really well. The cost shows up everywhere else. There are three money-back flows to keep working and three customer lists, so one customer can end up with three different phone numbers on file. The ordering team and Arlo also have no designer at all. A Team That Builds for Teams What we really want is somewhere in between. Some things, like the money-back ledger, should be built once and shared. Other things, like what a good caption sounds like, should stay with the people who know their customers best. The shared things need an owner, and that owner should treat the other teams as its customers, the same way we treat the people who buy our bread. A small team that builds shared pieces for other teams, and runs them like a product those teams choose to use, is called a platform team. Matthew Skelton and Manuel Pais describe it as one of four kinds of teams in their 2019 book Team Topologies (https://teamtopologies.com/key-concepts). Here are all four, with examples from Crumb & Co.: [Image: Four kinds of teams from Team Topologies, with Crumb & Co. examples. Stream-aligned teams own a slice of the business end to end: the Biscuit team and the ordering team. A platform team builds shared pieces other teams use: money back, the customer list, and AI calls. An enabling team helps other teams learn something, then moves on: Tess, coaching teams on checking AI answers. A complicated-subsystem team owns one piece that needs deep expertise: Crumb & Co. doesn't have one yet.] (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_four_types.png) (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_four_types.png?v=2359850c20ca) Most of our teams are stream-aligned, which is Team Topologies' name for a team that owns a slice of the business end to end, just like our squads from earlier. The platform team builds the shared pieces those teams use, and at Crumb & Co., that means a new team of two developers. An enabling team teaches a skill and then moves on, and we will see Tess do exactly that in a bit. Crumb & Co. doesn't need a complicated-subsystem team yet, and that is fine. Team Topologies also describes three ways two teams can work together: [Image: Three rows. Collaboration: the platform team and the Biscuit team build the money-back service together for a few weeks. As a service: Arlo uses the money-back service from its docs, without a meeting. Facilitating: Tess sits with the ordering team for two weeks to help them write answer checks.] (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_interactions.png) (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_interactions.png?v=772320e5bde3) When our platform team first builds the money-back service, it sits with the Biscuit team for a few weeks and figures it out together. Once it works, Arlo can use it straight from the docs without a single meeting, which Team Topologies calls X-as-a-Service. And Tess spends two weeks coaching the ordering team, which is facilitation. Paved Roads and Dirt Paths A platform team's best work is a supported, well-marked path that makes the common thing easy. Netflix calls this a paved road (https://www.infoq.com/news/2017/06/paved-paas-netflix/), and Spotify calls its version a Golden Path (https://engineering.atspotify.com/2020/08/how-we-use-golden-paths-to-solve-fragmentation-in-our-software-ecosystem), which it describes as the "opinionated and supported" way to build something. Here is what ours looks like: [Image: A paved road runs to the finish flag, with four signs along it: money back, the customer list, AI calls with retries and logs, and an answer-check runner. Each sign says supported. A dirt path branches off it: build your own, allowed, but you support it.] (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_paved_road.png) (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_paved_road.png?v=ce5acc508d48) Any team can still leave the road and build its own thing. Spotify's original write-up put it nicely: "If you are an adventurer you can of course leave the Golden Path and do your own thing, but then you will not have the same support." Crumb & Co. already has one stretch of paved road, by the way. When Wren put Biscuit, Rye, and Pip behind one AI gateway (https://www.kirupa.com/ai_fundamentals/ai_gateways.htm), every helper got one key and one bill. Arlo's caption helper came along later and went around it: [Image: Biscuit, Rye, and Pip all send their model requests through one AI gateway, which holds one key and sends one bill. Below them, Arlo's caption helper takes a dashed dirt path around the gateway, straight to the model providers with its own key.] (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_gateway_first.png) (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_gateway_first.png?v=2859d69cf14c) Arlo's agent wired up its own key because that was the fastest way to get a caption working, and nobody had told him the gateway existed. His helper works fine. It also has a bill nobody else can see, and if its model provider goes down, nobody can switch it over from one place. That gateway is exactly the kind of thing a platform team should own. Nobody's product is special because of how it connects to model providers, and a model gateway (https://www.kirupa.com/ai_fundamentals/model_gateway.htm) is a lot cheaper to build once than three times. What Should Go in the Platform? So, how do we decide what to pave? A few questions do most of the work: [Image: Two lists. Put it in the platform when three or more teams need it, it isn't special to any one product, mistakes cost money or trust, and it changes slowly. Keep it in the team when it needs deep knowledge of one product, it changes every week, and it's how that team's product gets good.] (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_rules.png) (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_rules.png?v=970f62713200) Money back passes every test on the left. All three groups need it, nobody's product is better because of how it records a refund, and a bug in it costs real money. Design fails those tests, because a good design depends on knowing one product's customers really well. When we sort our list from earlier, it splits like this: [Image: Two bins. Build once, in the platform: the money-back ledger, one customer list, retries and logs for AI calls, and the tool that runs answer checks. Keep in each team: design, the test questions themselves, prompts, and who gets money back and when.] (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_sort.png) (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_sort.png?v=b49a3267a569) Notice that two things split in half. The ledger that records money going back belongs in the platform, while the rules for who gets money back, and when, stay with each team. Biscuit's Make it right limits are nothing like the rules for a pie deposit or a contest prize. Answer checks split the same way. The tool that runs them is shared, and the test questions stay with each team, because only Arlo knows what a bad caption looks like. Run the Platform Like a Product Team Topologies says a platform team should provide "a compelling internal product." Crumb & Co. takes that one step further with a simple rule: nobody has to use it. Our platform team ships the money-back service with clear docs and a working example...and then it waits for teams to choose it: [Image: A timeline of weeks after the money-back service ships with docs and an example. The Biscuit team switches to it in week 2, the ordering team in week 5, and Arlo in week 9. Nobody was told they had to.] (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_adoption.png) (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_adoption.png?v=41936feff745) The Biscuit team switches in week 2, the ordering team in week 5, and Arlo in week 9. If a team doesn't switch, that is useful feedback, because it usually means the platform is missing something that team needs. Some things can't be paved at all, like knowing what makes a good test question. For those, we can borrow an expert for a while instead. Tess reads Biscuit's conversations every week, so she knows what good and bad answers look like better than anyone: [Image: A four-week timeline. In weeks 1 and 2, Tess sits with the ordering team. In weeks 3 and 4, she sits with Arlo. After that, each of them writes their own answer checks, and Tess goes back to support.] (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_enabling.png) (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_enabling.png?v=9f7fbc25c4a4) Tess spends two weeks with the ordering team before its email helper ships, then two weeks with Arlo. After that, each of them writes their own answer checks, and Tess goes back to support. None of this is free. A platform team can slowly turn back into the central queue we started with, especially if teams are forced to use it. Paving too early is risky too, since the first version of a shared thing is usually built for one team's needs. Netflix's engineers admit (https://netflixtechblog.com/full-cycle-developers-at-netflix-a08c31f83249) that "Balancing local versus central investment in similar problems is one of the toughest aspects of our approach," and a bakery with three groups of builders won't find it any easier. Try It This Week Grab three teams you work with, or three projects if you are a team of one, and fill in a sheet like this one: [Image: A worksheet grid. Down the side are rows for things your teams build. Across the top are Team A, Team B, Team C, and a last column for your call: platform or team. The first row is filled in: money back, built by all three teams, marked platform.] (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_try_it.png) (https://www.kirupa.com/teams_and_leadership/images/platform_vs_embedded_try_it.png?v=5767502f97f9) Every row where three teams built their own version is a candidate for the platform. Before you pave it, run it through the questions from earlier, and keep anything that makes a team's product special right where it is. Frequently Asked Questions What Is a Platform Team? A platform team is a small team that builds shared pieces other teams need, like a money-back service, a customer list, or AI calls, and runs them like a product those teams choose to use. Team Topologies, by Matthew Skelton and Manuel Pais, describes it as one of four kinds of teams. What Is the Difference Between a Platform Team and an Embedded Squad? An embedded squad owns one slice of the business end to end, with specialists like designers working inside it. A platform team serves many squads by building the shared pieces once. Most companies need both. What Are the Four Team Types in Team Topologies? Stream-aligned teams own a slice of the business end to end. Platform teams build shared pieces for them. Enabling teams teach a skill and then move on, and complicated-subsystem teams own one piece that needs deep expertise. What Is a Paved Road or Golden Path? It’s a supported, well-marked default way to build something common, like a service or a refund flow. Netflix calls it a paved road, and Spotify calls its version a Golden Path. Teams can leave it, but then they support their own path. Conclusion Ok! It is time to wrap things up. We started with three functions that put money back in a customer's pocket three different ways. Putting everything in one central team gave us a long queue, and letting every team build everything gave us three of everything. The answer in between is a small platform team that paves the roads every team uses and runs them like a product. The work that makes each product special stays with the people who know its customers. The honest limitation is that the line between platform and team keeps moving. Something only one team needs today might be needed by three teams next year, and coding agents make it easier than ever for someone like Arlo to start a brand new dirt path over a weekend. If you are curious how the shape of these teams ends up showing in the software they build, Conway's Law (https://www.kirupa.com/teams_and_leadership/conways_law.htm) is a great companion to this one. And if you ever find makeItRight(), refund_deposit(), and giveaway_credit() in the same company, you'll know exactly what to pave first! Before you go, here are a few things you can do: 1. Test your knowledge by taking the quiz below. 2. Read the next article in the series, Hiring for Taste and Judgment (https://www.kirupa.com/teams_and_leadership/hiring_for_judgment.htm), or check out some related content: - Platform vs. Product Thinking: When to Build for Builders (https://www.kirupa.com/product_thinking/platform_thinking.htm). When to open what you built to outside builders. - Conway’s Law: Why Software Mirrors the Org Chart (https://www.kirupa.com/teams_and_leadership/conways_law.htm). Why the systems we build end up copying how our teams talk. - Model Gateway for Keys, Quotas, and Routing (https://www.kirupa.com/ai_fundamentals/model_gateway.htm). One service in the middle for model keys, quotas, and routing. 3. Stuck on something, or curious about a detail we skipped? Ask on the forums (https://forum.kirupa.com/), and we’ll help you out. [Mastery Quiz] Test your knowledge! Take the Platform Teams vs. Embedded Squads: When to Centralize Quiz: https://www.kirupa.com/quizzes/platform_vs_embedded.htm Practice with 5 multiple-choice questions and an explanation after every answer. [/Mastery Quiz]