skip to content
Home

State of Engineering at Heartbeat, October 2026

There’s a lot of talk these days about how much the process of software engineering is changing. New workflows, tooling, models and paradigms are changing from week to week. With so much hype going around, I wanted to take a moment to share where Heartbeat is at this snapshot in time. My goal is to provide a grounded account of what AI-enabled development looks like for a small team with a real product and real users.

Background

At Heartbeat, we’re building a platform for running paid online communities. Our customers use Heartbeat to host discussions, events, courses and content for their members with integrated payments across the experience. Most of our customers are non-technical. They have deep domain expertise in their area and ambitious visions for the type of online experiences they want to create for their members, but often lack the tools to execute on their vision. Our goal with Heartbeat is to give them everything they need to run their business in one place, without needing a technical team to hold it together.

As a result, we hold ourselves to a very high product bar. Our product needs to be simple and explainable to customers that are just getting started, while scaling in complexity as they grow. Heartbeat has many intersecting features and it’s important that they compose coherently and behave how users would expect across different use cases.

I mention this because the fact that we sell to people outside the tech industry informs our engineering processes quite a bit. I think much of the discussion right now about engineering processes is skewed because it’s being written by companies building for other tech companies. Teams like Codex, Cursor, Ramp have a different view of the problem because the process looks different when the people building the product are the same audience as the people using the product. Which is great for them and they should take advantage of that fact. But teams building products that are not used by companies (or agents) like themselves need to make sure their process leaves room to address the inherent disconnect.

Our product team is lean, with two engineers, one product designer and a product manager, all of whom contribute to the codebase. The Heartbeat platform has 125k+ MAUs and processes more than $1M in GMV every month.

Before we dive into the details, some quick notes:

  • Our stack is a TypeScript monorepo, with NodeJS on the backend, React on the frontend and React Native mobile apps. In recent months, we’ve made significant progress on incorporating Effect across the stack. In the past, I’ve described our engineering style as Type-Driven Development. While the process looks quite different, types still heavily guide our thinking.
  • Our AI tooling fluctuates between Codex & Claude, taking advantage of their Max plans. Our team uses a mix of the Codex desktop app, Conductor, and Claude Cowork.
  • The last hand-written PR was merged into our codebase in March. Since then, every PR has been almost entirely AI-written. Text editors are basically only opened to read code, make config changes or write copy.
  • We merged 429 PRs in the month of September
  • Median time-to-fix for bugs & small improvements went from 7 days at the end of 2025 to 1 day now
  • Do we read the code? Kind of. We mostly skim it

Before AI: planning mode and implementation mode

When I wrote about our engineering process in the past, I talked about how type-driven design creates an easy and hard mode for engineers:

Using types extensively splits coding into 2 phases. A short period of intense & difficult work followed by a longer period of straightforward work that’s hard to mess up.

I’ve come to see this as two generally distinct parts of the software engineering role.

Planning Mode — Figuring out in precise detail what needs to be built. How exactly do the product requirements map to areas of the codebase? What tradeoffs exist? What does the DB schema look like? Implementation Mode — Actually writing the code to implement a specific plan

In the pre-AI days, I have fond memories of spending days iterating in planning mode. I’d go back and forth on different data models, architectures, ways to decompose the feature into modular subcomponents. Being good at this part required a deep understanding of who the customers are, how they would use the feature, how the feature might evolve over time, etc.

Once I settled on an approach, I’d enter my flow state and start implementing. Working in a well-architected codebase, where accidental complexity was minimal, meant the process was straightforward; I could assemble our pre-existing patterns for DB queries, data flow, forms, frontend components, etc into a standard implementation of the feature.

Today, AI agents have solved implementation mode. If you give an agent a plan of what to do, it will go out and do it. And it will do it well. It may require some tweaking to get to this point. You’ll want to configure your AGENTS.md and set up linting. Clean up the codebase so that there are clear established patterns for the agent. But once you do that, it mostly just works. I spent the first couple months of this year reviewing AI code carefully, double-checking all of its work. But it got to a point where I’d read enough AI code with no issues to know that I could trust it.

But planning mode is clearly not solved. And that’s where we see the biggest disconnect in the discourse. It’s why people outside of the tech industry don’t see an observable improvement in the software they use on a daily basis. At the end of the day, creating coherent, well-crafted software requires an immense amount of care and attention to detail that the models don’t yet have.


Implementation mode in the age of AI

Max plans

The small size of our team means that we can use individual Max plans from OpenAI and Anthropic. Given the significant subsidization offered by these plans, it’s difficult to justify using other AI tools such as Devin or Cursor. Conductor has been an incredibly effective tool for enabling cloud development with these Max plans. Conductor Cloud workspaces make it easy to work on multiple tasks in parallel, give each task its own resources and easily access local dev environments for a given workspace without being tied to a single model provider.

Dev tooling

Having agents working on code was an impetus to make big strides in our DX, both because agents make it easy to implement improvements and the benefits of doing so are scaled across all the agents that are running. In the last couple months, we’ve made the following improvements:

  • Switched our monorepo tooling from NX to Vite Plus
  • Switched from npm to pnpm
  • Standardized our local dev environments around Alchemy
  • Finally migrated from CommonJS to ESM
  • Migrated from Prettier to oxfmt
  • Migrated from ESLint to oxlint
  • Migrated from Webpack to Vite

The main goal was to increase standardization across the codebase, improve performance for commonly run commands and make sure that agents have as much feedback as possible on which path they should be going down.

We’ve also evolved our linting practices to keep agents in line and express our preferences concretely. Many of these are rules that would have been way too tedious to write and maintain in the past. But AI-generation means that adding a new lint rule is as easy as describing the style you want to enforce. Some of the lint rules we have in place:

  • React best practices. We run React Compiler’s rules, React Doctor & our own custom rules. Agents love to reach for useEffect & useRef to patch things, so we have rules that catch the most common versions (syncing derived state with an effect, using a ref to smuggle fresh state into a callback).
  • ts-ruthless. Our own stricter-than-strict TypeScript mode. No casts, no any, no satisfies, and no annotations where inference would work.
  • Architecture boundaries. Rules for which packages and layers can depend on each other
  • Effect style. Encouraging agents to lean on Effect instead of vanilla TS. No async/await so errors stay typed, Effect’s collections & pattern matching instead of native Map/switch, etc

The CI bottleneck

As we scaled up the number of PRs being opened and agents being run, CI soon became a bottleneck. We were spending $60+ a day for just two engineers and simple PRs would take 10+ min to turn green and become mergeable.

Improvements we made to our CI process recently:

  • Faster machines & tools. We moved to Blacksmith runners and switched to tsgo & oxlint.
  • Cached results per package. Every package’s tests were depending on the same ~400 shared root files, so most commits invalidated every cached result. Once each package’s cache only depended on its own files, unchanged packages got more cache hits.
  • Fewer, bigger jobs. We used to parallelize jobs more. Each job would eat a similar ~25s setup cost checking out the codebase & installing dependencies, just to do 10s of actual work. Consolidating into fewer jobs meant marginally longer check times for significantly lower costs.
  • E2E on request. E2E tests only run when explicitly requested, and CI remembers which tests already passed on a PR so we don’t pay for them twice.

This brought us down to $20 a day in spend and CI that could go green in as little as 2 minutes with warm caches. Despite these changes, it still feels like CI is more expensive and wasteful than it needs to be. I think it’s only a matter of time before we do a larger rethinking of what code verification looks like.

Preview environments

Dozens of PRs a day made it difficult to review the work of agents and confirm that their changes aligned with the desired outcome. At one point, we spun up preview environments for each PR with a frontend deployment + backend + database, but these became difficult to maintain over time. Preview environments were fragile, slow and expensive. Resolving merge conflicts would require the system to rebuild, update the DB schema and reseed data. Lots of churn for little payoff.

Because our architecture is a frontend single-page-application that points to a backend API, what we started doing instead is just building preview environments for our frontend and pointing the preview frontend at the production backend. The downside of this approach is that the preview environments don’t reflect any of the backend changes and if the preview frontend is incompatible with what’s currently live, it breaks. But 90% of the changes that we are interested in previewing are smaller frontend changes that could be verified this way. In fact, doing it this way is usually better because we get to see what the changes look like with real production data instead of having to seed preview DBs in exactly the right way.

Tool access

We use Executor to provide coding agents with access to external tools. Tools such as Posthog, Linear, Figma, Axiom, Datadog are all connected. Executor comes with the following benefits:

  • All of the connections are centralized in Executor. We can switch between coding clients without needing to reconnect 10 different tools.
  • Executor supports both MCP and API. Many tools make much more available via API than MCP. By translating API into MCP through Executor, our clients can connect in a standard way while still having access to everything.
  • Connections can be selectively shared between multiple users or marked as personal
  • Sensitive credentials stay out of the agent’s sandbox

Scheduled agents

Our agentic factory is very simple thanks to Conductor. With Conductor Routines, we have the following automations set up:

  • Twice a day, an Opus 5.5 agent is spun up and instructed to read logs-review.md. It’s told to analyze logs across Axiom, Sentry, Datadog and look for any issues. If there’s an issue that has a clear & unambiguous solution, it creates a PR.
  • Twice a day, another Opus agent is spun up and instructed to read linear-triage-review.md. There, it’s told to look through our Linear triage queue. For issues that have a clear & unambiguous solution, it creates a PR.
  • Once a week, an Opus agent is spun up to look for dead code and inactive feature flags and clean those up.

These automated agents have access to a shared DB where they store notes for future runs, serving as a simple memory solution.

This setup comes with the following benefits:

  • Automated runs are able to leverage our Max subscription plans
  • Changing the instructions for a given agent is trivial, it’s just another file in the codebase
  • Limiting PRs to clear & unambiguous fixes keeps noise in the system down. Even so, we often find that the agents will not address the root cause of an issue, or a potential fix will make it clear that an underlying architectural adjustment is more appropriate than a band-aid solution.
  • The environment where the automated agents run is the same environment where active development work is done. Any improvements to the development environment are immediately available in both surfaces.
  • The output of an automated agent lives in the same surface as the rest of my work. I can review the work from an automated agent side-by-side with the work I’m actively doing. Tweaking the output or asking follow-up questions to increase my understanding is frictionless.

The last two points are key. I see many companies relying on background cron or Slack tagging for async development work. And that makes sense if the goal is fire-and-forget requests. But if you treat it as a given that even automated agents will require tweaks (because we’re agile and seeing the initial output informs what we actually want!) or will raise follow-up questions (because we’re maintaining a high-level understanding of how the system works!) then naturally you’d want that to live in a single environment. And I’d really prefer that environment be more purpose-built than Slack.


Planning mode in the age of AI

While AI has not solved planning mode, it has significantly evolved the nature of how the work happens. The clearest change has just been how much more time we’re spending in planning mode. Given that AI has solved implementation, that leaves us humans with all the time in the world to pontificate.

More meetings

The % of our time spent on meetings has gone up significantly. Now that agents are implementing the code, we’re spending time figuring out exactly what needs to be built. It’s not uncommon for me to spend 4 straight hours on Monday with product and design talking through various tradeoffs across the 5+ projects that agents are working on simultaneously. All our meetings are recorded with Granola, so often the transcript from those meetings gets fed directly to an agent to steer its work in the correct direction.

Product, design and engineering

There’s been talk about how the roles of designer, product manager and engineer will start to combine into one. While that may make sense for dev infra products, where the engineers are also the people using the product, we’ve found that the separation still makes sense for us. AI agents act as a force-multiplier. A skilled engineer is able to get 100x more done with an agent than a non-engineer. Similarly, a skilled designer or skilled PM is able to leverage these agents to explore design space or product requirements far more effectively.

This is another area where I see a big difference between companies building for engineers/tech companies vs other industries. If you’re building an MCP gateway or an agentic coding tool, then it’s easy for engineers to work with their agents to guide the design process and understand which features are more or less important. But we’ve found that it’s easy for subtle and unintuitive design decisions early in the process to have a big impact on what capabilities we’re able to offer users. And discussions between people with different perspectives on the problem are particularly effective for identifying these key decision points.

While the roles still exist, the nature of how we interact has been changing frequently. We’ve experimented a lot with how design and engineering collaborate. Recently, we switched to a new workflow. For new features, design will create high-level wireframes of the key screens and flows in Figma. These designs will then be used to create a v1 implementation of the feature with agents. Afterwards, engineering hands the feature back to design, who implements the last mile of design polish directly in the code. The idea here is that the initial wireframes help anchor the agent and communicate the general idea of what needs to be built and how things connect. But there’s no reason that the details need to be implemented in both Figma and code. Implementing the polish directly in the code means:

  • There’s less need for lossy communication. Design can implement their vision directly in the code
  • Engineers can focus more time on functionality and less time iterating on UI
  • The end experience is more polished because design is more motivated to sweat the smaller details

Scoping with agents

When it comes to working with agents in planning mode, we put an emphasis on using the agent as a tool to empower humans rather than replace them. Agents are not at the point where they’re able to make wise decisions about data modeling, architecture, deciding which features are worth doing in v1 and which are worth deferring. These decisions require deep context about Heartbeat, what matters to our customers, how the feature might evolve over time, etc. The models simply don’t have the context to make wise decisions and I would only expect that to change if some form of continual learning is implemented.

However, the agents are incredible tools for gathering context and presenting it to humans to make those decisions. Examples of tactics we’ve used:

  • “We’re considering one of these 3 data models. Look at these 15 customer interviews and figure out what % of use cases each data model would support."
  • "Explain the tradeoffs between choosing to store this field in the database vs inferring it from these other 2 existing fields”
  • “Before we build this API, write example code that uses it for a realistic case, so I can see whether the design holds up.”

I’m a big fan of Matt Pocock’s Grill Me skill and most of my non-trivial PRs start with a grill me session. The agents do a great job of identifying the key questions/tradeoffs that need to be resolved before feature development can start.

As you might imagine, this often becomes a bottleneck to the development process. To put it plainly, the reason that we’re not shipping more is because there are only so many grill me sessions we can answer at once. To me, this is the perfect encapsulation of the state of AI development right now. The bottleneck is the amount of focused attention available to be put towards thinking through how new features should be implemented and how the architecture needs to adapt to make room for those changes.

Many of the companies that claim to have a higher agentic throughput are skipping this step and the consequences of doing so are felt by users. I believe the churn and discontinuity felt when using products from AI-first companies these days comes from handing over this responsibility to agents.

Iterative development

Many of the discussions around software factories assume that the goal is to ask what you want on one end and get a PR out on another. We’ve found this goal to be misguided. It’s often impossible to know what you want in enough detail before you’ve actually started working on it.

We’ve learned this lesson before. The agile manifesto was entirely based on the idea that waterfall development was futile and the best way to get what you want is to work on it iteratively. But here we are, 25 years later, having regressed to waterfalling in agent form.

At Heartbeat, our process is built on the assumption that it’s impossible to know what you want until you start the process. Any non-trivial work involves switching back and forth between planning what to do with your agent, letting the agent execute, evaluating the results, and repeating until the result meets our quality bar.

The evaluation process can take multiple forms. Sometimes it looks like skimming through the code and getting a sense for what the code feels like. Do the abstractions make sense? Are we fighting against the patterns in the codebase or leveraging them effectively? Does it seem like future features built on top of this would fit cleanly?

Other times, it comes from manual testing and actually using the product. There’s talk about sending tasks to agents and getting back completed PRs with videos and screenshots proving the task was complete. But while it can be tedious, the most valuable minutes are the ones where you manually open up localhost:3333 and click through the screens you built to confirm everything works as expected. Those are the moments when you notice a common action takes 3 clicks when it should take 1, or that you keep flipping between two screens because the information you need should live on one.

Trusting agents to do this work on your behalf can create the simulacrum of quality assurance without leaving room for the creativity that interacting with the product can generate. You can get away with this when your team is using the product extensively in-house. Bugs and papercuts will get caught naturally even after they get deployed. But for a product like Heartbeat with a large surface area that can’t be fully dogfooded, this testing is often the only time more niche user flows are used by someone on the team. Passing that time off to an agent would be a big lost opportunity.


The results

Are we faster?

Yes and no. Well, definitely yes, but the amount can vary. For tasks that are dominated by implementation mode, such as bug fixes, feature improvements, and performance improvements, we’ve seen a significant gain in productivity. It used to be the case that engineering would need to make a conscious decision to focus on either new feature work or incoming bugs. In the 1-2 weeks before a feature launch, bug fixes and small improvements would often pile up, requiring a week to clean out before another larger project could begin. Now, these changes get fixed automatically and customers frequently see 1-2 day turnaround times.

The other place where AI has most noticeably sped up our work is large, pseudo-mechanical refactors that have limited ambiguity. Work where the desired outcome was clear and well-specified, but the implementation process was tedious and error-prone.

Some examples of migrations that we’ve done:

  • Implementing i18n (with the help of General Translation)
  • Migrating from React Router to TanStack Start (enabling SSR)
  • Migrating our document editor from Outline to TipTap
  • Migrating from Keen to Clickhouse (cheaper, faster, more flexible analytics for our admins)
  • Migrating from Typesense to Turbopuffer
  • Moving scheduled tasks managed via cron jobs to Inngest
  • Standardizing all of our icons to use Central
  • Migrating from styled-components to Tailwind
  • Migrating our email templates from Postmark to React Email

These are all endeavors that would have taken weeks of dedicated work to ship in previous years and have unlocked better reliability, performance and consistency in our systems alongside new capabilities for our users. The fact that these were possible for a team our size in parallel to other feature work is astounding. The speed up for these features is essentially infinite. These are things that we never would have gotten around to shipping in the short/medium term because the technical lift was so high.

However, most projects are not like this. Most large features are loosely-specified, interact with multiple existing features in various ways and require real thought about the UX, the data model, and the architecture. The speed up for these is much harder to measure, but I would estimate a 2-3x increase. Many of the speed gains are offset by the fact that our ambitions have increased. In the past, we probably could have shipped a version of these features in the same amount of time. But AI makes it much easier to say yes to details that would have been scoped out in the past. And there does seem to be a certain amount of time that a project inherently needs to marinate to get across the finish line. But we have found that the quality and comprehensiveness of a 2-month feature is significantly higher with AI.

Chasing easy work

This discontinuity in where agents can help can skew decision making. It’s very easy to get lured by all of the work that agentic development makes easier like migrating frameworks or upgrading dependencies. Tasks that are well-specified and easy to verify.

However, these tend to be the opposite of what’s most useful to users. The migrations above were the ones that we deemed to be worthwhile because of the things they would unlock. But there are many more migrations we could do, with various amounts of tangible upside for our users. At Heartbeat, we try hard to stay disciplined about working on tasks that move the needle for our customers, even when those tasks aren’t necessarily the tasks that benefit the most from agentic work.

Similarly, it can be very tempting to spend time optimizing the agentic harness itself. But we try to be careful to primarily work on improvements that are unique to Heartbeat, rather than work that is moments away from being commoditized. For example, it became clear in March that moving agents into the cloud was inevitable. Our laptops were struggling to keep up with the parallel runs and agents would stop running when the laptop closed. But we knew that everyone else was in the same boat. So rather than spend a month building our own bespoke solution, we put up with the pain briefly and waited. Sure enough, solutions like Conductor Cloud soon arrived, and when we adopted them, we were a month further along on the problems our customers actually cared about.

What comes next

The bottleneck is constantly shifting. We spent a lot of this year upgrading our development environment and systems to the agentic era. But it’s unclear to me how much of that work is left to be done. I think there’s a good chance that the future of our team looks like 2-3 people maintaining the core agentic factory and software platform, while everyone else builds customer-facing features on top of that foundation. The former looks like optimizing core primitives such as data fetching patterns, CI, the design system, scheduled agents, dev environments, etc. This is the work that’s easiest to scale up with agents.

The latter are the engineers that are able to live in planning mode and consistently translate loosely-specified features into concrete technical implementations. People that have the patience to iterate alongside agents, the taste to make the right tradeoffs and the wisdom to know when the existing architecture needs to adapt.

Closing

At the end of the day, the core motivation driving our work is creating the best outcome for users. That’s the keystone of our engineering culture. This is the only way to have a sober, reasoned analysis of how to use AI effectively. Engineers underutilizing AI are often divorced from the outcomes, and more invested in convincing themselves their hard-earned coding skills still matter than in actually shipping. And engineers over-utilizing AI are often too busy suffering from AI psychosis and obsessing over token-maxxing to create something with craft that people actually want.

But when the yardstick you measure yourself with is the experience of your users, the rest falls into place.


Have thoughts? Want to work with me at Heartbeat? Reach out at mayhul99@gmail.com! I'd love to hear from you.
Want to get emails for new posts?