DEV Community

Two years of git, ten months of building: a fitness app, me and a fleet of AI agents

Mouve is a fitness and nutrition app. I build it with a fleet of AI agents, and its first commit is dated 28 November 2024.

This is the story of how it got built and what was hard, written on 20 November 2026.

Two things first, because the title could mislead. The git history is just under two years long, but only 305 commits landed before 2026. Almost all of the building happened in the last ten months.

And "me" is a simplification: for part of that history another developer worked on it with me and committed to the repo. The rest is agents, and I will say where they helped and where they did not.

I am not going to tell you the app is a success. The only revenue number I have published is EUR 11.98 of monthly recurring revenue, from my X thread on 20 November 2026. I do not publish user counts, so there are none here.

What I set out to build, and how that changed

The repository starts as a Next.js project with auth on 28 November 2024. A Prisma commit follows on 2 December 2024, and Drizzle follows on 18 January 2025. After that, the history is thin until October 2025.

The product description changed more than the stack did. As late as 22 October 2026 our product overview described Mouve as a fitness and nutrition social network. Three days later I dropped that framing.

"Fitness with your friends" sounds cringy, and a new user has no friends on the app on day one, so the pitch promises an empty first day.

What I want instead: a world of fitness to step into. Personal tracking that is close to painless. Learning built into the doing, so the video, the article and the spreadsheet collapse into one place. A world to go into, with outdoor gyms, venues and places. And a game. Friends are an outcome, not the pitch.

That had concrete effects. A layered feed with For you, Following and Nearby tabs was rejected on 25 October 2026 and switched off in production. Medals are allowed but decorative and private, with no points and no leaderboards.

On 13 November 2026 I hid the communities feature behind a flag that is off everywhere, keeping the code and data. It is the clearest example I have of a vision change costing real work: a shipped, working feature was parked because it no longer fit the sentence.

The shape of the history

Counting commits would flatter me. Of 10,609 commits on main, 4,662 (44%) come from release automation, the auto-merge bot and an agent account that opens batch pull requests.

Merged pull requests are a fairer count, and I took them from the GitHub search API:

  • Nov to Dec 2024: 5
  • Jan to Sep 2025: 1
  • Oct 2025: 4
  • Nov 2025: 4
  • Dec 2025: 0
  • Jan 2026: 70
  • Feb 2026: 174
  • Mar 2026: 79
  • Apr 2026: 240
  • May 2026: 448
  • Jun 2026: 204
  • Jul 2026: 379
  • Aug 2026: 341
  • Sep 2026: 702
  • Oct 2026: 1,695
  • Nov 2026 (to the 20th, partial): 982

That is about 5,300 merged PRs, and about 3,400 of them (63%) are from September on. The curve tells the real story: the project barely existed for most of 2025, then it compounded once agents were doing most of the typing.

The phases, from the git log and the plan documents:

  • January 2026. A big redesign, the first mobile app work (late January) and a food service for user-generated content. At this point the data layer still leaned on Supabase.
  • March 2026. The API moved from a Fastify server to NestJS (5 March). The Kubernetes setup in this repo starts on 16 March.
  • April 2026. Opaque server-side sessions became the only user credential on 20 April, and a plan to remove Supabase entirely followed on the 21st. It is marked shipped as of 4 August. The first mobile release tag is dated 26 April.
  • April and May 2026. Multi-cluster work for our office cluster, and an identity provider deployed on 5 May.
  • September and October 2026. The scanner rebuild, the agent platform, and the volume jump in the table.

Two rules came out of this phase that I would keep on any project. NestJS owns the database and the web app never queries it, so mobile and web take the same path.

And fix the class of a bug, not the instance: if the fix is "also clean up the stale thing on write", the state should not have existed.

Me plus agents

Here is how the work flows. Every change is a pull request from a git worktree, never a push to main. Required checks must pass, plus guards for specific failure classes: migrations, brand colours, architecture limits, legal versions. When they pass, a bot merges.

A merge goes to a dev environment first and runs end-to-end tests, then the same build goes to production behind a smoke test that reverts itself on failure. Changes to deploy, auth, payments and migrations get an independent review that the author cannot give itself.

Agents run on a cluster queue. Headless workers claim tasks, run them in their own worktree, open the pull request, and resume after a usage limit resets. Every session writes a handoff, and a shared memory store means a fresh agent starts with what the last one learned.

A model router sits in front of the cheaper tiers. Free and self-hosted models take mechanical edits, DeepSeek takes general multi-file work off-peak, and Claude takes browser work, secrets and review. My rule is that no vendor is preferred.

In one 2.25-day window I measured for an earlier post, 16 of 16 merged changes to our CI runners were opened by agent accounts. That is the scale: agents are not a helper, they are most of the typing.

What agents do well. Mechanical and parallel work. Renames, tests, docs, a dozen similar pull requests at once. Reading a log at 3 a.m. and proposing a fix that is correct about half the time and gets reviewed anyway.

Where they fail. Three examples, two of them from this week.

A wrong diagnosis. On 19 November a change broke the signed-in home page in our dev environment. An agent decided the end-to-end tests were flaky and raised their timeouts. That merged at 09:47 UTC and did nothing. The real cause, per the fix's own write-up, was a component that depended on a provider only some pages supplied. It was fixed at 21:37, and production was held back for up to 18.5 hours in the meantime. I wrote it up in What our CI fixes measured.

A false claim in print. My first CI post said release builds had moved to their own runners. The runner pool existed, but the setting that pointed jobs at it was never switched on, and no build or test job used it until 18 November. I found it only because I measured. I corrected it in the follow-up, in public, and added a note to the first post. I published it without checking a log.

Collisions. On 23 October 2026, 6 or 7 of 35 conflicted pull requests were conflicting on the same three places: a legal version string, one table in a data register and one very large privacy page. Each author, human or agent, was appending to a shared line. Telling agents to be careful would not have fixed that. I changed the structure so each PR writes only its own file and a bot owns the shared line.

The pattern in all three is that agents are confident and fast, so the checks have to be the authority, not the agent's own report. I now ask for a source for every number and every claim, and I say what could not be verified.

The scanner

The food scanner is the hardest part of the product, and the part most likely to embarrass me. You take a photo and the app should tell you what is on the plate and how much.

The design that holds today: models describe the plate, the food database prices it, and plain code fuses the evidence.

On 31 October 2026 I set the bar. Measure against weighed meals, not against other apps. Competitor accuracy claims are unverifiable marketing, and matching them is not the goal.

What I can show, with dates:

  • A model comparison on weighed plates, 25 September 2026. 200 plates from the public Nutrition5k dataset, which are cafeteria plates photographed from above. This is the identify stage only, not the production scanner, and not our own weighed meals. The best models had a calorie error around 39% (mean absolute percentage error), and only about a third of plates landed within 20% of the true calories. One Claude model scored worst in that run, at 75%. I pick models on this kind of table and not on vendor, and I say so even when it is awkward.
  • Three wrong scans on 5 October 2026. I scanned a homemade sandwich and a can of energy drink. The sandwich came back with no numbers at all. The can came back as a different product, twice. When I pulled the stored traces, there was a finding nobody had suspected: the scans had run on the fallback model because the primary provider had run out of credit, and that was true of all three production photo scans since 4 October. The fix for that part was restoring the credit.
  • A $0 replay. Stored model outputs from real scans are replayed through the current code in CI at no cost, in about a minute. It scores everything downstream of the model: resolving, ranking, fusion. It cannot score a prompt change, and the documentation says so.
  • A second design, not yet proven. A plan from 6 October proposes gathering cheap exact evidence first (barcode, text reading, catalogue) and calling a model once, grounded in that evidence. Its status in our docs is still planned.
  • A shutter-less live scanner is an experiment behind a flag.

What I would tell another team: build the eval before you build the pipeline. I built them in the other order, and the replay and the weighed set exist because three scans embarrassed me on one evening.

Shipping mobile

The app is Expo and React Native. The first mobile release tag is dated 26 April 2026, and by 20 November 2026 there were 190 mobile release tags, the latest being 1.95.2. iOS builds run on Xcode Cloud when a tag is pushed, Android goes through a workflow, and JavaScript-only changes can go out over the air.

The slow part is not building. It is review. A snapshot in our release runbook from 14 October 2026 shows the App Store serving 1.33.0 and Google Play serving 1.30.0, while 1.54.0 was in App Review on one side and a draft on the other. I cut builds much faster than stores will accept them.

The worst failure was my own. My first submission on 23 August 2026 carried the app version, the subscription group and both subscriptions. It was rejected for an unrelated guideline. Cancelling a submission rejects every non-version item on it, so each resubmission quietly went in holding only the version, and nothing said so.

Version 1.32.2 went live on 9 September 2026 with both subscriptions unapproved. The store returns nothing for an unapproved product, so the paywall read "Subscriptions unavailable" for every user until 1.33.0. A version can be approved with zero purchasable products.

I now check that the submission carries the purchases, with guards in CI. The API cannot add a subscription to a submission, so one step stays in the web console. Store releases are automatic after approval, never manual, because a manual step is one more thing to forget.

Privacy and EU paperwork

Mouve is an Estonian company building an app that handles health data and photos of food, so GDPR is not optional. I keep a rule that a feature ships switched on with its privacy and legal paperwork in the same pull request, not weeks later.

What that means in the repo: six data protection impact assessments (health data, AI processing, social features, the public API, venue screening, location in the world assistant), a record of processing split per activity, a data breach response plan and a breach register, a Play Store data safety page and an erasure document.

Erasure is a tombstone: we mark an account erased and keep the minimum needed. That choice defeats database cascades on purpose, which is worth knowing before you write a migration.

Legal documents have versions, and a consent row stores which version of which document a user agreed to, so we can show exactly what they saw. The 23 October collision in section 3 came from that: every privacy-affecting PR bumped the same version string. Now a PR adds a change note and a bot does the bump once.

I am not going to claim this makes us compliant. It makes the work visible and testable, and a lawyer should still read it.

Hosting lean

Two separate posts will cover this in detail, one on the hardware and one on running across clouds. Both are coming soon.

The short version, from my X thread on 20 November 2026: Production is 6 Hetzner VMs in Helsinki, 18 vCPU and 45 GB, for about EUR 74 a month. Our office cluster is 7 machines with 160 threads, 369 GB of RAM and about 10 TB of disk. Electricity is in the office rent. All running costs come to about EUR 85 a month.

The same footprint priced at list on AWS is about EUR 2,600 a month, and about EUR 2,450 on Google Cloud. Hardware purchases are not counted.

The 30-day average use is 27 cores and 169 GB, with an hourly 95th percentile of 105 cores. The cheap part is real. It was not free: our incident records for September and October 2026 cover a worker node going down, a memory stall, a leader election storm in the office cluster and an expired wildcard certificate. Lean hosting means you are the on-call.

What I would do differently

These are opinions, each tied to something above.

  • Settle the product sentence in week one. I carried a "social fitness network" framing for most of a year and then parked a feature when I dropped it.
  • Write the eval before the pipeline. See the scanner.
  • Verify the store state, not the version. An approved build is not a working product.
  • Keep a time log. I know how many pull requests agents opened and have no clock for my own hours. My CI follow-up says that is the first thing to fix.
  • Make the check the authority from day one. Both of this week's mistakes would have been caught by asking "which log shows this".
  • Do not count commits. Bots inflate them, and agents multiply them.

What I cannot show yet: the production scanner's accuracy on our own weighed meals. I do not have a clean number for that, and I would rather say so.

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.