Back to the blog

From generic agents to hub-and-spoke: how we orchestrate development with AI

From generic agents to hub-and-spoke: how we orchestrate development with AI

When you bring AI into software development, the first temptation is to replicate a human team in miniature: a developer agent, a designer agent, a tester agent and an orchestrator that hands out the work among them. It is an intuitive model and easy to explain. But, applied to a real product that keeps growing, it is not the one that scales best.

This article tells how we evolved from that model toward a specialized agentic layer: narrowly scoped agents, a hub-and-spoke knowledge system (hubs and satellites) and a coordinator that drives the work in vertical slices. It is aimed at technical readers: we talk about responsibilities, contracts between agents (handoffs) and how context is preserved throughout the project.


The intuitive model: a few generalist agents

The natural starting point is to split the work by broad role, as in a human team: a developer who writes all the code, a designer for the interface, a tester who validates and an orchestrator who coordinates.

Diagram of the traditional model: a central Orchestrator connected to Developer, Designer and Tester

It has real advantages: it is quick to set up, flexible and easy to grasp at first sight. For a prototype, it is enough.

The problem shows up with scale and consistency. A generic "developer agent" has to hold in its context window, all at once, every convention of the project: state management, data layer, routing, forms, accessibility, i18n, styles, bundling… That is thousands of lines of rules competing for its attention. The more you ask of it, the more its judgment gets diluted and the more likely it is that two screens solve the same problem in three different ways. Knowledge stays implicit and scattered inside the agent, and keeping features consistent becomes fragile.


The model we chose: specialization + hub-and-spoke + coordinator

Instead of splitting by generic role, we split by concern (area of expertise) and separate knowledge from the executors. Three pieces fit together.

1. Specialized agents

Each agent covers a specific slice of the flow and only loads what it needs for it: planning, data layer, routing, tables, forms, charts, visual assembly, testing, documentation, release… Specializing means shrinking the surface on which each agent can get things wrong. An agent that only thinks about forms reasons better about forms than a generalist that is also wrestling with caching and accessibility. And since its system prompt is smaller, its judgment is sharper.

2. Hub-and-spoke skills: hubs and satellites

The project's knowledge does not live inside the agents, but in reusable skills, organized as a star (hub-and-spoke):

  • Hub skills — conventions shared by many agents (design system, accessibility, component patterns, data-fetching patterns…). They are the project's "public API": short, precise and stable. If a hub grows unchecked, it slows the whole team down at once, so they are kept minimal.
  • Satellite skills — knowledge consumed by a single agent (how to write the user manual, the release protocol, a specific review checklist…). Since they are not shared, they can be long and highly opinionated without penalizing anyone.

Hub-and-spoke architecture: central Hub Skills connected to multiple agents; Satellite Skills connected to a single agent

It is the same logic as in good software architecture: stable, thin interfaces (the hubs) versus free internal implementation (the satellites). Agents preload the skills that apply to them; the rest of the knowledge stays out of their context until it is needed.

3. A coordinator

Having many specialists is not enough: someone has to decide the order, invoke each agent, pass the baton between them (handoff) and handle blockers. That is the coordinator: it receives a task, checks the plan and directs the specialists from start to finish, until the work is ready for review. It does not write code itself; it delegates and integrates. In practice it works as the entry-level role: the main conversation adopts it and, from there, invokes the agents (an LLM agent directing other LLM agents in a nested way is fragile; the coordinator as an orchestration role is robust).

Coordinator pipeline: phases from Plan to Release with review checkpoints


Vertical slice vs horizontal slice

The key question is how the work is sliced.

A vertical slice is a complete feature cut top to bottom through every layer: route + data layer (schemas, queries) + UI components + validations + tests, delivered end to end. You finish an entire section —data, screen, error cases, tests— and only then move on to the next one. The advantage: the project is always working and deployable, and each slice is a demonstrable unit of value. It is the opposite of classic "horizontal, layer-by-layer" development (first all of the database, then all of the API, then all of the UI), where nothing is usable until the very end.

A horizontal slice is exactly one of those cross-cutting layers that serves every feature: the app shell, the design system and its tokens, authentication, the network layer, the shared component catalog, i18n. It does not deliver a specific screen, but it holds all of them up.

Grid of features and layers: column highlighted in green = vertical slice; row highlighted in yellow = horizontal slice (foundations)

The nuance worth keeping in mind: even if the default way of working is vertical, the first slice of a project is almost always horizontal. You cannot build "the orders section" end to end if the shell, the design system, the login and the HTTP client do not exist yet. Treating that kickoff as "just another feature" is a common mistake: it is a horizontal slice, with its own owner and its own definition of done.


Comparison

Generalist modelSpecialized layer + hub/satellite
AgentsFew, broad rolesMany, one per concern
KnowledgeImplicit, inside the agentExplicit, in skills (hub/satellite)
Context window per agentOverloadedScoped to its task
Consistency at scaleFragile, drifts across featuresHigh: shared, stable rules
CoordinationTrivialGreater, via explicit handoffs
Best forPrototypes, small teamsGrowing products that must be maintained

Neither is "the right one" in the abstract. The generalist one is an excellent starter kit; the specialized one pays off when the app is large, repetitive and has to stay consistent for a long time.


Architecture: agents, skills, context and handoffs

The layer rests on three kinds of artifact, versioned alongside the code:

  • Agents — each one declares its responsibility, the skills it preloads and the tools it needs. Their value lies as much in what they do as in what they deliberately do not do.
  • Skills — the conventions, split into hubs (shared, short) and satellites (single-agent, deep). They are the reusable source of truth.
  • Context — the project's living knowledge: decisions made, accumulated learnings, design references and catalogs. It is what lets an agent "get up to speed" without reinterpreting the project from scratch.

The glue between agents is not the code: it is the delivery contracts (handoffs). When an agent finishes, it delivers a well-defined artifact —a typed data schema, a routes contract, a catalog component— that the next one consumes as is. An example: the data layer agent publishes the queryKeys and the types derived from the schema; the tables agent and the routing agent build on top of that contract without inferring it again. Where the contract is clear, the chain flows; where it is ambiguous, work falls through the cracks. Designing those contracts is a big part of agentic architecture work.


Keeping the context up to date as the project evolves

A system like this only works if knowledge does not degrade over time. For that we follow an explicit lifecycle:

  1. A new pattern appears → it is documented as a learning.
  2. It repeats several times → it is promoted to a skill, so it stops being folklore and becomes a shared convention.
  3. An architecture decision is made → it is recorded as a decision, with its rationale and the alternatives ruled out, so nobody relitigates it six months later.

Knowledge lifecycle: Learning → Skill → Decision, with feedback toward the agents

And, as the closing piece, a meta-agent that maintains the layer: when the team corrects a convention or makes a decision, this agent applies it consistently across every affected agent, skill and document, keeping cross-references, scope and coherence intact. It is what prevents divergent versions of the prompts from appearing within two weeks when several people are touching the layer. That way the agentic layer stops being a pile of loose prompts and becomes a self-maintaining system.


In short

  • Specialize by concern, not by generic role: less surface for mistakes and better judgment per agent.
  • Separate knowledge from executors with hub-and-spoke skills: short, stable hubs and deep satellites.
  • Coordinate the work in vertical slices, remembering that the foundations are a horizontal slice.
  • Design the handoffs: the contract between agents is what holds the chain together.
  • Look after the context with a lifecycle (learning → skill → decision) and a maintainer that preserves coherence.

On our team we don't just use AI tools: we design our own agentic models for application development. We stay at the cutting edge of new ways and methodologies of working, experimenting with and putting into production architectures like this specialized agentic layer. Because we believe the next competitive advantage in software lies not only in what you build, but in how you build it — and that is where we want to keep leading the way.

Want to apply this in your company?

Let's talk