<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Martin Kozmelj</title>
    <description>The latest articles on DEV Community by Martin Kozmelj (@mkozmelj).</description>
    <link>https://dev.to/mkozmelj</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3785164%2F44e0514b-ff6c-4741-8f2e-6bd63731de1a.webp</url>
      <title>DEV Community: Martin Kozmelj</title>
      <link>https://dev.to/mkozmelj</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mkozmelj"/>
    <language>en</language>
    <item>
      <title>Can we remove the human from review?</title>
      <dc:creator>Martin Kozmelj</dc:creator>
      <pubDate>Tue, 17 Nov 2026 05:16:05 +0000</pubDate>
      <link>https://dev.to/mkozmelj/can-we-remove-the-human-from-review-oh7</link>
      <guid>https://dev.to/mkozmelj/can-we-remove-the-human-from-review-oh7</guid>
      <description>&lt;p&gt;In my most recent &lt;a href="https://kozmelj.si/blog/why-are-your-merge-requests-still-stuck-in-review" rel="noopener noreferrer"&gt;blog post&lt;/a&gt;, I talked about review being the bottleneck in software development cycles. In this one, I will try to answer whether we can remove the human from the review process and resolve the issue of review blocking more features from getting shipped. In my opinion, this is possible, but only if we make sure that the pipeline we have built for delivering the software includes all of the necessary tools that would prevent things from going wrong. The removal of people from the review process will be a very long and troublesome path, but I think that this path is the one we should take to ensure that we can keep up with the tempo of AI-driven development.&lt;/p&gt;

&lt;p&gt;When talking about the removal of the human reviewer from the review process, there is always a mention of who will be responsible when things go wrong. Are the reviewers even responsible today? To some extent, yes, but the ownership of the work done still lies with the developer (not AI) who wrote this functionality. Who would you rather have reviewing your code: a tired developer on a Friday afternoon, a hungover developer on a Monday morning, or a fresh and always motivated agent that behaves (almost) identically every single time, no matter when or what situation we are in? With the layoffs across the industry and shifting to AI-first processes, there is less manual QA work being done, so here too we need to lean on AI to do this job. AI can often think of more edge cases, and we should make sure that it does by setting the rules or skills for agents to check for as many scenarios as possible that can happen in the real world.&lt;/p&gt;

&lt;p&gt;When we are talking about the review process, there is not only code review to talk about. The review process should include as many deterministic tools as possible to make sure that we do not introduce any part of the code that will make our whole codebase worse. There are tools to check for clean code and good practices for code quality. Security review makes sure we are not leaking any secrets or data, using any weak algorithms, or including libraries that have vulnerabilities that expose our software to attackers. We also need to make sure that our software checks all the boxes in the accessibility and UX reviews. Performance checks make sure we are not making the bundle bigger or the load times and Core Web Vitals worse. Visual regression tests make sure the UI did not change where we did not want it to. Spec conformance checks that the code does what the specification asked for. License checks make sure we are not including libraries we are not allowed to use. After the deploy, monitoring and alerting tell us when something goes wrong, because a rollback only helps if someone notices the problem.&lt;/p&gt;

&lt;p&gt;LLMs are non-deterministic, so an AI reviewer can have different findings if you run it over the same code multiple times. Rules and guidelines make it behave almost identically. The development team needs to make sure that they write rules for the AI review in the most deterministic way to have the best possible outcome from the AI reviewer.&lt;/p&gt;

&lt;p&gt;There are a lot of mentions of completely autonomous software factories that do not require any human effort at all. I have not been part of any of the teams that made it to that point, mostly because in larger and more complex systems, where you have to maintain huge codebases of large products, there is a much higher risk of something not going to plan. But this should not be an excuse not to move in that direction. There should be a lot of effort put in to also adapt those big and complex systems to agentic and AI workflows.&lt;/p&gt;

&lt;p&gt;In my work, we are automating a lot of steps in our software development cycles, and there is less human interaction every single day. At the start, there were just testing and linters to make sure that the code was clean. Then there were tools that handle secret detection and vulnerability checks. Code quality gates prevent us from making the code worse. Automatic deployment as soon as the code is merged is absolutely a must-have requirement nowadays, with a rollback option in case anything goes wrong. A merge deploys to staging, and a release deploys to production. Last but not least, we are also addressing the elephant in the room by introducing an AI agent reviewer that checks the code and makes comments on the merge requests. We talk about it in this whole article, and it is also the main protagonist of the title. After the pipeline passes, we usually assign the AI code reviewer to review the code and then also send it for human review.&lt;/p&gt;

&lt;p&gt;In those automatic workflows, such as software factories, the most important part is the starting point. The specification or list of requirements is the main thing that a human provides, and here too, I think we need to use AI to help us with that. A good practice is the &lt;a href="https://www.aihero.dev/skills-wayfinder" rel="noopener noreferrer"&gt;wayfinder skill&lt;/a&gt; from AI guru &lt;a href="https://www.aihero.dev/" rel="noopener noreferrer"&gt;Matt Pocock&lt;/a&gt;. It runs through a series of questions to ensure that every open question has been thought about. You can think of it as an extensive brainstorming session with an LLM agent. I have been including Matt's skills in my everyday work for a few months now, and I have to say it has made the transition to using AI or agentic workflows a lot easier.&lt;/p&gt;

&lt;p&gt;All of those steps need to be introduced gradually. A complete refactor of the pipeline is maybe not a good idea because it is harder to detect a defect if multiple changes are made. Each step needs to be improved, tested, and validated to make sure that we have done things right. Before moving on to the next step, multiple MRs have to be successful (either passing or failing, depending on the desired outcome). We can start with 5 and then increase it if we see it is not enough. A step is stable when there have been no defects and no flaky or broken jobs in the pipeline. If something is caught, the pipeline needs to fail. A successful pipeline with examples of bad code is a failure. There should also be an order of priorities in which those steps are improved and automated. Automatic deployment is a must and the number one priority. So is a rollback in case of any issues or failures. Linters and tests are covered in most projects, as they were automated first, and deployment came later. But nowadays, deployment is the first thing to fix or automate. Then come code quality control and testing. Then the security review, then the UX review. Removing the human from the review is just the last step. We are moving in that direction.&lt;/p&gt;

&lt;p&gt;It will be a long and troublesome path, but the human can be removed from the review, and in the future this will be a must.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>codereview</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>Why are your merge requests still stuck in review?</title>
      <dc:creator>Martin Kozmelj</dc:creator>
      <pubDate>Sun, 01 Nov 2026 18:15:54 +0000</pubDate>
      <link>https://dev.to/mkozmelj/why-are-your-merge-requests-still-stuck-in-review-39fh</link>
      <guid>https://dev.to/mkozmelj/why-are-your-merge-requests-still-stuck-in-review-39fh</guid>
      <description>&lt;p&gt;I keep hearing these phrases: "Code is cheap" and "Code does not matter anymore." In a way, I kind of agree with both, but what does it even mean? We write code significantly faster nowadays than we did just a year or two ago. But we aren't producing better products or delivering higher business value. We aren't even always delivering features sooner than we did previously. The biggest bottleneck is the review process. By that, I mean the whole flow of code review, testing and other validations that check everything is ready to be shipped to production.&lt;/p&gt;

&lt;p&gt;The data from the industry says the same thing. Faros AI looked at about 10,000 developers in 2025: their teams merged 98% more MRs, but review time went up 91% and the MRs got 154% bigger. At Uber, the time to first review grew from 3 hours in 2024 to 9 hours in 2026. LinearB's 2026 benchmarks show that AI-assisted MRs are about 2.6x larger, and agentic AI MRs wait about 5x longer before someone starts the review. Most of these numbers come from companies that sell review or metrics tools, so take them with a grain of salt, but you can still get the idea from them.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fkozmelj.si%2Fblog%2Fwhy-are-your-merge-requests-still-stuck-in-review%2F01-ai-vs-unassisted.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fkozmelj.si%2Fblog%2Fwhy-are-your-merge-requests-still-stuck-in-review%2F01-ai-vs-unassisted.svg" alt="Bar chart. Agentic AI merge requests wait 17.6 hours for the first review versus 3.4 hours for unassisted ones. AI-assisted changes are 408 lines versus 157 for unassisted. 75th percentile, LinearB 2026 Benchmarks." width="1360" height="860"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Stuck merge requests or longer review times mean longer lead times, which means moving slower in a world where there are teams shipping multiple features while you are reading this article. The best teams have already overcome this issue by automating the whole pipeline, from code generation to deployment to production. But the automation itself is not enough. We need to truly trust the system because otherwise we add some manual steps to it, and that breaks the whole idea.&lt;/p&gt;

&lt;p&gt;I find that the way we reviewed code in the past is the reason merge requests are still stuck.&lt;/p&gt;

&lt;h2&gt;
  
  
  The bottleneck isn't new
&lt;/h2&gt;

&lt;p&gt;Code reviews have been the bottleneck since they were introduced, and they are still the bottleneck today. In a 2016 Microsoft study, developers named getting feedback in time as their top code review challenge, and the median time to approval was 24 hours. At Meta in 2022, the median review took a few hours, but the slowest 25% took more than a day. LinearB's data shows that waiting for pickup and review are the most frequent sources of delivery delays. There are, of course, some exceptions. Google is one of them. A 2018 study of about 9 million reviewed changes found that the median review took under 4 hours, with first feedback in under an hour for small changes. Their changes were small (a median of about 24 lines), most had one reviewer, OWNERS files made it easy to find the right reviewer, and their own guidelines say one business day is the maximum time to respond to a review request. The study also names the trade-off: one reviewer means less rigor.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it is still stuck
&lt;/h2&gt;

&lt;p&gt;Nowadays, manually reviewing AI-generated code is even harder, and it takes even longer. The code is different no matter how many guidelines and coding principles you have in your documentation. The scope is usually bigger too.&lt;/p&gt;

&lt;p&gt;I remember reviewing my first few fully AI-generated merge requests at the end of last year. I was intimidated because I looked at them and had the feeling that this was something I could not keep up with. There were usually so many changes per review that I lost focus somewhere in the middle of the review almost every time. I was used to pulling the branch myself, seeing the changes, testing them myself locally and then commenting on the changes or approving the MR. Today, we are moving way too fast to still work that way.&lt;/p&gt;

&lt;p&gt;We have to build a system that will allow us to focus on the most important parts of the code that also have the biggest business value. Everything else needs to be automatically validated and reviewed. The system needs to be robust, so we truly trust it to deliver quality work. Otherwise, we end up putting some manual jobs in between just because we are afraid that something will break in production.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I review now
&lt;/h2&gt;

&lt;p&gt;I realized that I got lazy with code reviewing, and more things slipped through that would not have before. I knew I had to change something, and the most logical thing was to add more automated steps to my workflow to support the review of the AI-generated code.&lt;/p&gt;

&lt;p&gt;It is no secret that I use Matt Pocock's skills for pretty much everything, and of course, he has a skill named code-review. It looks at security issues and coding principles, and validates the changes that were made against the specs. It is quick and so far pretty good at discovering issues. There still needs to be some triage, and you should not blindly fix those issues, as some of them can also be false positives. But you should think about adding a comment to mark those spots, as otherwise some agent might fix them sometime in the future.&lt;/p&gt;

&lt;p&gt;This skill, together with the whole testing process where we add integration and regression tests, allows us to be less careful ourselves and ship features faster. At this point, I should mention that it is not just code that is cheap. Tests are also cheap. And just as we have to check the code, we should also check the tests to make sure they are relevant. Mutation testing is really useful for this, and I think I will write about it sometime in the near future.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the best teams do
&lt;/h2&gt;

&lt;p&gt;There is a lot of talk about AI software or development factories out there. The term means a system that automates everything from the idea to the release to production. It generates specs, implements the specs, reviews and validates/tests the code, and deploys it to production.&lt;/p&gt;

&lt;p&gt;The code review usually triages MRs by importance, risk and blast radius. The smallest and easiest ones get merged without a human involved and are also released to production. The big ones, and the ones that are important for the business, need manual verification, but the AI tells the reviewer which parts of the code need to be manually checked, so the reviewer does not need to go through all the code but just through the most important parts.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fkozmelj.si%2Fblog%2Fwhy-are-your-merge-requests-still-stuck-in-review%2F02-triage-flow.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fkozmelj.si%2Fblog%2Fwhy-are-your-merge-requests-still-stuck-in-review%2F02-triage-flow.svg" alt="Flow diagram. A merge request goes to AI triage. Small and easy changes are merged automatically with no human. Big, risky or crucial changes get a human review, with AI pointing out what to check. In the first months a human confirms the triage. Pipeline guardrails such as linters and tests run on everything." width="1360" height="940"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When you are building such a system, you need to start small and automate each step separately, validate the output and then move to the next one. This is important to gain confidence that the system is working and that you will not be slowing it down manually. Of course, the tools that are already in place, such as linters, tests and other validation metrics, are the base for this kind of automation.&lt;/p&gt;

&lt;p&gt;This model can now be seen at multiple startups around the world, as they are usually the pioneers of all innovations. Airbyte sorts changes into low, medium and high risk, with AI classifying them from the ticket. Low-risk changes deploy without a review, and high-risk ones get a human review. They report 60–70% fewer unhealthy connectors with 30% fewer people. Uber's uReview decides how deep a review goes based on risk and complexity, and they plan to auto-approve some changes. At Agoda, humans own the spec and check the evidence instead of reading every line.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bugs will still happen
&lt;/h2&gt;

&lt;p&gt;There is no such thing as 100% reliability. There are cases where you have too many possible scenarios to cover in the validation process. We recently had one such case, where we deployed a release that fixed the main flow but introduced a bug in one of the edge case situations. Because this is a product that can be configured with more than 40 options, we can't test all of the possible combinations. Even if those options were just on/off options, it would take millions of years of testing. It's just not economical.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fkozmelj.si%2Fblog%2Fwhy-are-your-merge-requests-still-stuck-in-review%2F03-combinations.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fkozmelj.si%2Fblog%2Fwhy-are-your-merge-requests-still-stuck-in-review%2F03-combinations.svg" alt="Bar chart on a log scale. Testing every combination of on/off options with 10 tests per combination at 3 seconds per test takes 8.5 hours for 10 options, about 1 year for 20, about 1,000 years for 30 and about 1 million years for 40." width="1360" height="900"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Bugs will happen even if we build the best and the most robust systems, because of the complexity of the products that we are building. It is most important that the cases with the highest business value are properly tested and validated, because there should be no room for error. But if some minor issue comes up with a new release, we should just take care to act quickly and fix it in almost no time. Observability tools help us find and fix things even before users notice or report them.&lt;/p&gt;

&lt;h2&gt;
  
  
  The system needs to keep improving
&lt;/h2&gt;

&lt;p&gt;When the guardrails on the system miss something, we need to analyze it and see if it could have been avoided. If it could, we need to improve the system to prevent it in the future. We have to think about the system as a living thing that needs constant work and not as a finished project.&lt;/p&gt;

&lt;p&gt;The thing I learned from reviewing AI-generated code is that we should not be intimidated by the code or the process. We should embrace it, let the tools that we have review it and focus on the most important parts. Be confident in your system and keep improving it, because only then can we keep up with the pace we are moving at.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Faros AI, research on AI and developer productivity (2025): &lt;a href="https://faros.ai/research" rel="noopener noreferrer"&gt;faros.ai/research&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Uber, "Building uReview: Uber's multi-agent code review" (AI Engineer talk): &lt;a href="https://ai.engineer/talks/EL123UNokkI-building-ureview-ubers-multi-agent-code-review" rel="noopener noreferrer"&gt;ai.engineer&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;LinearB, "Engineering benchmarks 2026: data from 8.1M pull requests": &lt;a href="https://linearb.io/library/engineering-benchmarks-and-research" rel="noopener noreferrer"&gt;linearb.io&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;LinearB, "AI in software development: what the 2026 data shows": &lt;a href="https://linearb.io/library/ai-in-software-development" rel="noopener noreferrer"&gt;linearb.io&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;MacLeod, Greiler, Storey, Bird, Czerwonka, "Code Reviewing in the Trenches" (Microsoft, IEEE Software 2017): &lt;a href="https://www.michaelagreiler.com/wp-content/uploads/2019/03/Code-Reviewing-in-the-Trenches-Understanding-Challenges-Best-Practices-and-Tool-Needs.pdf" rel="noopener noreferrer"&gt;PDF&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Meta Engineering, "Improving code review time at Meta" (2022): &lt;a href="https://engineering.fb.com/2022/11/16/culture/meta-code-review-time-improving/" rel="noopener noreferrer"&gt;engineering.fb.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;LinearB, engineering metrics and cycle time: &lt;a href="https://linearb.io/blog/engineering-metrics/" rel="noopener noreferrer"&gt;linearb.io&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Sadowski et al., "Modern Code Review: A Case Study at Google" (ICSE 2018): &lt;a href="https://research.google/pubs/modern-code-review-a-case-study-at-google/" rel="noopener noreferrer"&gt;research.google&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Google Engineering Practices, "Speed of Code Reviews": &lt;a href="https://google.github.io/eng-practices/review/reviewer/speed.html" rel="noopener noreferrer"&gt;google.github.io&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Matt Pocock, skills: &lt;a href="https://github.com/mattpocock/skills" rel="noopener noreferrer"&gt;github.com/mattpocock/skills&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Rootly, "How engineering leaders rethink code review in the AI era" (Airbyte example): &lt;a href="https://rootly.com/blog/how-engineering-leaders-rethink-code-review-in-the-ai-era" rel="noopener noreferrer"&gt;rootly.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;InfoQ, Agoda on the AI code bottleneck (2026): &lt;a href="https://www.infoq.com/news/2026/03/agoda-ai-code-bottleneck/" rel="noopener noreferrer"&gt;infoq.com&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>productivity</category>
      <category>softwaredevelopment</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>More planning than coding: building a training agent in 6 hours</title>
      <dc:creator>Martin Kozmelj</dc:creator>
      <pubDate>Mon, 12 Oct 2026 19:09:44 +0000</pubDate>
      <link>https://dev.to/mkozmelj/more-planning-than-coding-building-a-training-agent-in-6-hours-f1i</link>
      <guid>https://dev.to/mkozmelj/more-planning-than-coding-building-a-training-agent-in-6-hours-f1i</guid>
      <description>&lt;p&gt;In the last few weeks, I've been working on my new side project with one major goal: to actually finish it so I can start writing this blog, which I've planned for over 2 years now. So here it is: I built Milo, my personal training agent, in 6 hours and this is the whole story behind it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I built it
&lt;/h2&gt;

&lt;p&gt;The first reason for building the training agent is the Jesolo 70.3 in April next year. I signed up for it together with 4 of my colleagues from work, and I know from experience that I need some kind of goal for motivation to keep training regularly and in a structured way. In 2024, I already finished a sprint and an Olympic triathlon and I had a 3-month training plan that was made by a real triathlon coach. He prepared the weekly plan from Tuesday to Monday and then on Sunday I sent him a weekly recap: how I felt during the week and what my real-life plans were for the next week. He then built next week's plan based on the phase we were in, my previous week's status and plans from my personal or professional life. It was really important for me that the whole training process would not have a big impact on my life outside of it. This year, this became even more important, as my wife and I had a daughter in the meantime and my wife is also active herself, so we need to find some balance to have time for everything: our jobs, family time and training. We also do not want to stop living life, as social life with our friends is also very important to us. Thank God most of them are also active so it is easier to mix business with pleasure.&lt;/p&gt;

&lt;p&gt;The second reason, and perhaps even the bigger one, is curiosity about what AI can do, both in building this project and in using it. For building, I wanted to test how fast, reliable and easy it is to build a working project from scratch to production. For using it, I wanted to see how AI could help me prepare the best training plan that meets all my requirements.&lt;/p&gt;

&lt;p&gt;When I started brainstorming with Claude, I checked how many MCPs or other connectors there were for activities and workouts. Let's just say that there were loads of them. I knew beforehand that there are a lot of apps that prepare different kinds of training plans and triathlon does not lack in that department. But I wanted to actually mimic my training process from 2024 by replacing the human coach with a chatbot that would be available 24/7 for me. I wanted it to have as much context as possible: my background, my plans and goals and all the things that are relevant. But I don't fool myself: there are probably hundreds of apps that do the same thing. I am sure some of them even do it better than me.&lt;/p&gt;

&lt;p&gt;Before I started with the project, I had one last step: actually choosing the name for it, as I already have too many AI agent directories on my filesystem that haven't seen the light of day. With the help of AI (of course), I found inspiration in an ancient Greek legend. The project was named Croton Project, and the agent's name became Milo. You can read more about that &lt;a href="https://en.wikipedia.org/wiki/Milo_of_Croton" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I built it
&lt;/h2&gt;

&lt;p&gt;I made sure that I really spent enough time brainstorming with Claude to get the implementation plan the way I wanted it. All the decisions about the stack, the architecture and the implementation process were made prior to the start of the implementation. I used Opus for brainstorming and planning. The output of that was a docs directory with a lot of MD documents that described the project, my goal, stack, guidelines, rules, and all other things that make sure future coding agents will be as effective as possible and try to prevent them from hallucinating too much.&lt;/p&gt;

&lt;p&gt;During the brainstorming, the stack was also selected. I did not want my knowledge or skills to be a limitation or the reason for a non-optimal stack, so I made sure that the AI selected the best stack based on pricing (number one, as this is a side project), usability, ease of use, MCP or agentic support, real-world usage and community.&lt;/p&gt;

&lt;p&gt;With AI we can build a whole codebase in a language we do not know in detail. As long as we know the basic concepts and understand the strengths and weaknesses, I think we are fine.&lt;/p&gt;

&lt;p&gt;The actual stack is shown in the diagram below, but in general we use Telegram for chat, Node.js/TypeScript on Railway for the backend, Neon for the database, Claude API for AI usage, a Strava webhook plus the Strava API for syncing the history on a specific tool call, MCP for Google Calendar, and the intervals.icu API. The latter was chosen because Garmin does not have an official MCP or a public API for individuals. I need it for my sleep score and training readiness. I was also able to store my weight and body composition from my Xiaomi smart scale in Intervals.icu. That required more work than I anticipated, so perhaps I will write a separate blog post about it someday.&lt;/p&gt;

&lt;p&gt;I also converted some literature and books into in-memory vector search (not a full RAG database) to be available for system prompts about core training principles. I would use more books, but most of them aren't available due to copyright.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F54h1mau6fitb65jiarr9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F54h1mau6fitb65jiarr9.png" alt="The athlete talks to the bot through the Telegram API, which sends webhooks to a single Node.js process on Railway. Inside it, a Fastify server with the grammY bot hands messages to the orchestrator, confirm taps to the action executor and Strava events to background tasks; a scheduler runs the recap, planner and memory jobs. The orchestrator, background tasks and scheduler call Claude only through claude.ts, which talks to the Anthropic API. The orchestrator also uses literature search, which embeds queries with OpenAI. Background tasks fetch and rename activities on Strava, the action executor books plans in Google Calendar, and the scheduler syncs wellness from Intervals.icu. All state lives in Neon Postgres." width="800" height="563"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Croton Project architecture.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In the implementation plan, there was a phase 0 that included all the manual work that was required for this project: setting up all accounts, connecting services together, etc. The main goal of this phase was to set up an environment where manual work would not be needed anymore. GitHub Actions CI makes sure the Railway deployment and Neon migrations are updated, and the Railway MCP allowed me to check the status of Railway deployments and change the configuration directly from Claude Code. All those things allowed me to move quickly and do all the work just from Claude Code.&lt;/p&gt;

&lt;p&gt;In the main implementation phase, the agents just went step by step through the implementation plan, implemented features and then validated them according to the acceptance criteria from the plan. I used Sonnet for implementation. There were multiple agents working in parallel where this was possible. I mostly reviewed the code after each implementation step. For validation, there were some automated unit tests and then also some manual testing in Telegram.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I use it
&lt;/h2&gt;

&lt;p&gt;The Sunday recap is still the most important part of the project. I tell the agent how I feel and what I have planned for my week outside of training (personal, days in the office, limitations, illness/injuries, vacation). It also has access to my calendar, so even if I forget to mention something, it knows about it. After each session, a Strava webhook fires and the agent sends me a message with a summary. I report back how I feel and if anything was out of the ordinary. Milo can propose changes to the plan, and I have to accept them in chat. During the week, I ask the agent different questions about the training phases, nutrition, injuries or any other stuff that comes to mind.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cost
&lt;/h2&gt;

&lt;p&gt;To limit Claude API usage, I use Sonnet with a fallback to Haiku when the costs are close to the monthly budget limit. There are also some alerts in chat when those things happen. Time will tell, because I just started using it, but currently it looks like the costs for AI usage will be less than €5 per month. The project will also require $5 a month for the Railway server. A real coach would cost a lot more than €100 a month, and for sure wouldn't offer 24/7 support.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it stands
&lt;/h2&gt;

&lt;p&gt;So far, my experience is really similar to the one from 2024. But I am actually in a pre-base phase, as I need to increase my training load due to inactivity in the last few months. So I will see how Milo's workouts compare to the ones that I did in 2024. For sure, a real coach has more knowledge and real-life experience, but I think that with all the available data out there, an AI agent can be a hell of a coach.&lt;/p&gt;

&lt;p&gt;For sure, I will update all of you once I do some more serious training in the next few months.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>sideprojects</category>
      <category>agents</category>
    </item>
  </channel>
</rss>
