Base Forward

Notes · Build note 5 min read

One message in, the right AI out: how our agent routing works

An athlete's question and a coach's instruction shouldn't be handled by the same AI with the same powers. Here is how each message finds the right one.

"AI" in most apps means one chat box wired to one model. Ask it anything and it does its best. That is fine for general questions. It is the wrong design for a training system, where the person typing might be a sixteen-year-old athlete or a head coach, and the request might be a question about tomorrow or an instruction to rebuild a month.

We don't build one AI. We build several, each with a narrow job, and a router in front that decides which one a message goes to.

Step one: sort the message

Every message is first read by a small, fast model whose only job is sorting. It doesn't answer. It decides what kind of request this is.

For athletes, a separate safety check reads the message at the same moment. If the two disagree, the safety check wins.

Some messages never reach the main AI at all. A question that has nothing to do with training, a question about what the assistant is, or a message that suggests an athlete is in crisis each gets a fixed reply that we wrote, word for word, ahead of time. For a crisis, that reply points to real help lines. We don't let a model improvise in those moments.

Step two: send it to the right one

A typical build has four.

  • The athlete guide. It can read the athlete's own week, log what they did, and record that something hurts. It can't change a program, and it doesn't diagnose.
  • Coach Q&A. It answers a coach's questions about their roster and the method. It can read; it can't change anything.
  • The programming agent. It handles changes to athletes' plans, from one swap to a whole group.
  • The builder. It drafts new workouts and templates, using only exercises from that coach's own library.

Each one gets its own set of tools and nothing more. The athlete guide has no tool that edits a plan, so nothing an athlete types can make it do that.

Step three: load the right amount of the method

A coach's methodology is long. Loading all of it for every message would be slow and expensive, and it makes simple answers worse.

So the router also decides how much of the method this request needs. A question about how the app works gets the app guide. A roster lookup gets none. A single exercise swap gets the few rules that apply to it. A full program build gets everything.

When the router isn't sure, it loads more. Too much context costs a little. Too little is how an AI gets a program wrong.

The coach stays in charge

When the programming agent wants to change an athlete's plan inside the app, it doesn't just do it. It files the change as a card in the coach's inbox, and the coach approves it. A coach who trusts it can turn on automatic approval for single changes; changes to a group still wait for them.

The builder works the same way. A draft is only a draft until the coach presses save.

Changes go into a history, and most can be undone. A few large ones, like rebuilding a whole block, can't, and the system says so.

Limits on purpose

  • Small models do the sorting and safety checks. Larger models are saved for the work that needs them, like programming.
  • Each agent gets a fixed number of steps to finish a request, so nothing runs away.
  • There are daily limits per athlete and spending ceilings, with a switch to turn it all off.

What we build for you

The structure is the same for any organization: a router, a safety check, fixed replies, approval cards, a history and limits.

What goes inside it is written for you. The instructions each agent follows, the examples the router learns from, the method it loads and the tools it can use all come from your staff. An organization might want different agents altogether: one for return from injury, one for the front office's weekly report, one for a sport we haven't built for yet.

That is the part we enjoy most. Working out which jobs deserve their own agent, what each is allowed to touch and what should always go to a person is design work we do with your coaches before any of it is written.

Tell us how you run. We'll show you what we'd build.

Book a discovery call

Keep reading