How it works

One league night, start to finish.

Here's what the crew does for a Sunday night of four games, from the first poll two days out to the summary on your phone. Example names throughout.

The crew

Seven agents, one job each

Each agent follows a plain-English spec: what wakes it, the tools it may use, and what it must ask you first.

Coordinator

Owns the league week. Your one point of contact.

Wakes up
Every morning at 9, 6 hours before tip-off, and whenever you text it
Tools
  • schedule
  • standings
  • pending_approvals
  • decide_approval
  • activity
Asks you first
Anything another agent escalates, moving or cancelling games, texting a whole league

Attendance

Gets an accurate headcount for every game.

Wakes up
2 days before each game, game-day morning, every IN or OUT reply
Tools
  • send_poll
  • send_reminder
  • headcount
Asks you first
Nothing. It just counts.

Subs

Fills short teams from your vetted sub pool. First CLAIM wins.

Wakes up
When a team is short, every CLAIM reply
Tools
  • offer_sub
  • close_offers
  • open_offers
Asks you first
Paying above your drop-in fee, or using a sub from outside the pool

Refs

Makes sure every game has a ref at tip-off.

Wakes up
The day before, 90 minutes before first tip-off, every ref reply
Tools
  • ask_ref
  • offer_ref_shift
Asks you first
Paying above your ref rate

Scores

Collects finals and keeps standings right.

Wakes up
When a game ends, every ref reply
Tools
  • tip_off
  • ask_score
  • record_score
  • standings
Asks you first
A disputed score or a forfeit

Schedule

Handles closures, rainouts and makeup nights.

Wakes up
A facility closure, or when you text it
Tools
  • report_facility_closure
  • broadcast
Asks you first
Every move, every cancellation, every league-wide text

Inbox

Answers what nobody else recognised. Owns consent, STOP and HELP.

Wakes up
An unrecognised reply, a new contact
Tools
  • operator_inbox
  • phone
Asks you first
Anything about money, complaints, anything personal
How the crew hands work to each other The operator texts the coordinator agent. The coordinator wakes six specialist agents: attendance, subs, refs, scores, schedule and inbox, each on its own event. Attendance hands a short team to subs. Everything big comes back to the operator for a yes. Players, subs and refs just text. You, the operator texts · waits for your yes coordinator attendancegame_scheduledsubsheadcount_shortrefsref_nightscoresgame_endedschedulefacility_closureinboxunrecognised_reply Players, subs and refs just reply: IN · OUT · CLAIM · the final score · YES · STOP · HELP
Each arrow is an event on the crew's event bus. Each box is an agent with its own written spec, its own tools and its own log lines.

The night, step by step

  1. Attendance poll

    attendance agent · 2 days before each game

    Every rostered player gets one question. Injured or inactive players are skipped. On game-day morning, anyone who hasn't answered gets one reminder.

    To each playerHarbor Lane Rec: Ridge Runners vs Blue Hawks, Thu, Dec 10, 7:00 PM at Lincoln Gym. Reply IN or OUT. STOP to opt out.

    Player repliesIN

    attendance send_poll · Poll sent to 20 players for Ridge Runners vs Blue Hawks.

  2. Ref check

    refs agent · the day before

    The scheduled ref is asked to confirm every game they have that night, in one text.

    To the refHarbor Lane Rec: you're reffing 3 games at Lincoln Gym, Thu, Dec 10, first tip 7:00 PM. Reply YES to confirm.

    refs ask_ref · Asked Sam Ortiz to confirm 3 game(s) at Lincoln Gym.

  3. Headcount, then sub calls

    attendance → subs · 3 hours before tip-off

    Attendance counts heads. A short team is handed to the subs agent, which offers the spot to vetted subs at that venue. The first CLAIM wins, and the captain gets the name.

    To the captainHarbor Lane Rec: Ridge Runners has 4 IN for Thu, Dec 10, 7:00 PM. You need 5. Texting subs for 1 spot. Next update 1 hr before tip-off.

    To the sub poolHarbor Lane Rec: sub needed, Ridge Runners, Thu, Dec 10, 7:00 PM, Lincoln Gym. $10 drop-in. Reply CLAIM 42. First reply wins.

    Priya repliesCLAIM 42

    To PriyaYours: Ridge Runners, Thu, Dec 10, 7:00 PM, Lincoln Gym, Court 2. Fee $10.

    attendance headcount · Ridge Runners 4 IN, Blue Hawks 7 IN.

    subs close_offers · Sub offers closed for Ridge Runners: 1 of 1 filled.

  4. Backup refs

    refs agent · 90 minutes before first tip-off

    No confirmation yet? The night goes to your backup refs, first come first served.

    To backup refsHarbor Lane Rec: ref needed today at Lincoln Gym, 3 games from 7:00 PM. $40/game. Reply TAKE 7 to ref the night. First reply gets it.

    refs offer_ref_shift · Offered the ref shift at Lincoln Gym to 4 backup refs.

  5. Scores and standings

    scores agent · when each game ends

    The ref texts the final. Standings update and both teams get the result. Ties and disputes go to you.

    To the refHarbor Lane Rec: final for Ridge Runners vs Blue Hawks? Text it Ridge Runners first, like 54-48.

    Ref replies42-38

    To both teamsHarbor Lane Rec final: Ridge Runners 42, Blue Hawks 38. Ridge Runners win.

    scores record_score · Final: Ridge Runners 42, Blue Hawks 38. Results sent to both teams.

  6. Everything else

    inbox agent · any reply nobody recognised

    "Running late", "is the gym open?", a question about fees. The inbox agent handles what it can and passes the rest to you, word for word.

    A player textsrunning 10 min late, stuck in traffic on 287

    inbox route_operator · For staff: Matt O. (player): "running 10 min late, stuck in traffic on 287"

  7. The night summary

    coordinator · end of the night

    One text to you: games played, scores in, anything still open for tomorrow.

    To youThursday: 3 of 3 games final. 1 sub used, ref confirmed. Nothing open.

    coordinator night_summary · Thursday week 4: 3 of 3 games final.

Texts in the format the crew sends today, with a made-up league, names and fees. Live texting to players is off until your league's sender is set up; until then the crew runs on a test channel that texts nobody.

You stay in charge

Nothing big happens without your yes.

When a gym closes, the schedule agent finds makeup slots and asks you. No game moves and nobody is texted until you say so. The same goes for paying a sub or ref above your rate, a disputed score, or a league-wide text.

  • Each agent's spec lists exactly what it must ask you about.
  • Your answer is recorded in the activity log in your own words.

CoordinatorCrewchief · text

  • YouLincoln Gym is closed Thursday. Water leak.
  • CoordinatorThat's 3 games. I can move them to the makeup slots on Tuesday at Lincoln Gym, 7:00, 8:00 and 9:00 PM, and text both teams and the refs. Move them and send the texts?
  • YouYes, move them.
  • CoordinatorDone. 3 games moved, and both teams and the refs have been texted.

Example conversation, made-up names.

Observability

Every handoff, on the record

The trace shows one league night as a tree of runs: the coordinator, the agents it woke, and the hand-offs between them. Striped bars are waits on a person: a player's reply, a sub's CLAIM, your yes.

run · league-nightexample
  1. coordinator · league-night
  2. attendance · headcount ×4 games4 games counted
  3. subs · Bandits short 1CLAIM in 26m
  4. subs · Pistons short 1escalated
  5. coordinator · ask operator: $15?yes in 3m
  6. inbox · late-player textto staff
  7. refs · wait for Devonno reply
  8. refs · backup ref shiftfilled
  9. scores · Bandits vs Knights38–43
  10. scores · Tide vs Dawgs48–63
  11. scores · Bricklayers vs Jacks54–56
  12. scores · Hoopers vs Pistons64–46
  13. coordinator · night summary
  • solid: working
  • striped: waiting on a person
activity logexampletailing
  1. coordinatornight_start Sunday Rec, week 3: 4 games from Sun 6:15 PM.
  2. coordinatorhandoff game_scheduled → attendance, scores
  3. coordinatorhandoff ref_night → refs
  4. attendancesend_poll Poll sent to 20 players for Bandits vs Knights.
  5. attendancesend_poll Poll sent to 19 players for Hoopers vs Pistons (1 injured or inactive skipped).
  6. refsask_ref Asked Devon Brooks to confirm 4 game(s) at Eastside Rec.
  7. attendancesend_reminder Reminder sent to 5 players who hadn't answered.
  8. attendanceheadcount Bandits 4 IN, Knights 7 IN.
  9. attendancehandoff headcount_short → subs
  10. subsoffer_sub Offered 1 spot(s) on Bandits to 4 subs.
  11. subsoffer_sub Offered 2 spot(s) on Pistons to 8 subs.
  12. inboxroute_operator For staff: Matt O. (player): "running 10 min late, stuck in traffic on 287"
  13. subsclose_offers Sub offers closed for Bandits: 1 of 1 filled.
  14. refsescalate Devon Brooks hasn't confirmed; offering the night to backups.
  15. refsoffer_ref_shift Offered the ref shift at Eastside Rec to 4 backup refs.
  16. subsescalate Pistons still 1 short for 8:30 PM. Asking the coordinator.
  17. coordinatorescalate Asked the operator: offer the Pistons spot at $15 instead of the $10 drop-in?
  18. coordinatordecide_approval Approved by operator: "yes do it"
  19. scorestip_off Bandits vs Knights is live.
  20. scoresask_score Asked Dante Santos for the final.
  21. scoresrecord_score Final: Bandits 38, Knights 43. Results sent to both teams.
  22. coordinatornight_summary Sunday Rec week 3: 4 of 4 games final.
  • coordinator
  • attendance
  • subs
  • refs
  • scores
  • schedule
  • inbox

Examples in the format of the real run traces and activity log. Made-up names.

  • 7league nights in one simulated week
  • 28 / 28games reached a final score
  • 17sub calls made and closed
  • 253agent actions logged

From a proof run on Trigger.dev: one week of a real New Jersey league company's public basketball schedule, played by simulated players, subs and refs on a test channel. Nobody was texted.

Plain-English specs

Each agent follows a written spec: its job, when it wakes, the tools it may use, and when it must ask you.

Agents decide, tools act

An agent can only change the league through a small set of tools. Each tool does one checkable thing and logs it.

Rules that never bend

Consent and STOP, first CLAIM wins, and nothing moves without your yes are enforced underneath the agents, not left to them.

Durable runs

Every agent runs as a durable workflow on Trigger.dev, so a night survives restarts and every run, retry and error can be inspected.

Where it talks

Your players text. You text. Nobody installs anything.

SMS, iMessage and email all come with Core, so the crew works wherever your league already talks. No dashboard to learn, no app for players.

Text message (SMS)

In pilot

Polls, sub calls, ref checks and results go out by plain text. Players need no app. Runs on a test channel that texts nobody until your league's sender is registered.

iMessage

Coming

Blue-bubble texts for players and captains, through the same crew. Being built now, and part of Core when it ships.

Claude, ChatGPT

Claude today

Already use an AI app? Talk to your league from Claude Desktop or Claude Code today. ChatGPT is coming.

Email inbox

Coming · in Core

Will connect to your Gmail or Outlook, read closure notices and captain emails, and draft replies for your yes.

Real-time voice

Coming soon

Voice to voice: a captain calls the league line and talks to the crew, and the crew answers out loud, live.

Under the hood

How it's built, in four lines

Specs

Each agent's job is a plain-English spec: the job, how to do it, when it's done, when to ask you, and what it must never do.

Tools

Agents act only through league tools. Each does one checkable thing (send this poll, offer this spot, record this score) and logs it.

Engine

League data, the texting channel, consent and the activity log. It enforces the rules that never bend.

Runs

Agents run as durable workflows on Trigger.dev, woken by events and by the league's clock.