← All talks

AI Engineer NYC 2026 Online track · 13 min

Please… Enough with the Sloppy, One-Shot SaaS Replacements

Mahmoud AbdelwahabRailway

A working internal app can still be unpleasant to use. Mahmoud Abdelwahab walks through the product details, reusable patterns, and verification loop behind Railway’s agent-built marketing tools.

Working software is the starting point

4:15:17 ↗

Getting an agent to generate a working SaaS replacement is one thing. Using it all day exposes what the first attempt missed: lost edits, slow feedback, inconsistent pages, and awkward ways to move through records.

Mahmoud Abdelwahab encountered that gap while replacing several of Railway's internal marketing tools with one application. It handles website content, the changelog, the blog, email, social publishing, and media. A small CRM tracks relationships with external creators; task tracking, launch planning, and a calendar coordinate releases. Comments and collaborative editing support work shared across the team. Building the feature list was only part of making the application feel coherent.

The Mini CRM below puts creator relationships into a familiar board, alongside the same application’s content and planning tools.

Railway’s internal Mini CRM groups creator engagements by status, with shared content and planning navigation alongside it.

The application at 4:16:05. Keeping those jobs in one interface gives the team a starting point for consistent navigation and interaction. The rest of the work is making those interactions good.

His first principle is to give the coding agent a structured codebase with useful abstractions. The language or framework matters less than having patterns worth repeating. When the agent adds a feature, an existing approach to layout, fetching data, and updating records lets it extend the product without inventing another way to do the same thing. He mentions TanStack libraries for web work and Payload for content-heavy applications, preferring an established CMS to rebuilding those capabilities himself. 4:17:30

From a bench in Edinburgh, Abdelwahab works through the details he learned to ask for after using his own tools.

The details you miss until you build them

4:19:20 ↗

Commercial tools hide years of product decisions inside apparently simple actions. Sending an email or publishing an item can work through a conventional form submission. Frequent use exposes the friction that implementation leaves behind.

  • Keep the writing moving. In a document editor, typing should continue while changes save in the background. A warning before closing a tab with unsaved changes supplies another layer of protection. Real-time collaboration can go further, but the basic requirement is that ordinary work should not disappear because the user forgot to press Save.

  • Show the result promptly. Optimistic updates address a different delay. The interface can show the intended result immediately, then synchronize with the server. If the operation fails, it rolls the change back and explains the failure. Abdelwahab does not recommend doing this for every operation: some actions should wait for confirmation. The useful move is to ask the agent which actions in this particular product can safely feel immediate.

  • Let users recover from deletion. A confirmation dialog asks users to decide before seeing the result. A short undo window can remove the item immediately while postponing the destructive operation. If the user changes their mind, the item returns. Archiving serves a separate purpose: users should be able to hide records without being forced to destroy them.

  • Make views easy to revisit and share. Filters and sort settings stored in the URL let one teammate send another the same view. Infinite scrolling avoids repeated clicks on Next or Load more when browsing long lists. Neither is a substitute for correct data handling, but both change how much effort a frequently used application demands. 4:20:15

The surprising part is how little of this requires a new model capability. In Abdelwahab's experience, the agent can implement these behaviors. It often needs the person directing it to know that they should exist.

Make good choices reusable, then use the result

4:24:51 ↗

Once one page behaves well, ask the agent to use it as the reference for similar pages. Two sections that both list, create, update, and delete records should share an interaction pattern. This gives the agent a concrete example of good work instead of making it reconstruct a vague preference. He notes that models still sometimes ignore the instruction; an explicit reference improves consistency without guaranteeing it.

Preferences that recur across projects can become agent skills. Abdelwahab used skills for layout, typography, and error messages; another set covered animation and design engineering. Railway's own skills helped the agent deploy the application and its supporting databases, buckets, and real-time server.

The final step is verification through actual use. An agent announcing that the build and tests pass may still have produced a broken experience. Abdelwahab asks it to run the infrastructure, use the feature end to end, discover the failure, and keep fixing it. Computer use made that loop substantially more useful in his experience. 4:27:03

A passing build cannot tell you whether editing a draft feels safe or whether two colleagues can share the same filtered view. Use the application, find the awkward part, and give the agent a concrete behavior to repair. Taking responsibility for those details is how an internal replacement becomes a tool colleagues want to reach for.

Further reading

Original standalone recording ↗AI Engineer’s separately published version of Mahmoud Abdelwahab’s talk.

Full transcript

Timestamps follow the original livestream. Select a time to watch that moment. Transcripts are machine-generated with reviewed name and terminology corrections; occasional recognition errors may remain.

4:15:17

People have been saying that SaaS is dead for a while now.

4:15:19

It's not even a hot take at this point.

4:15:21

Why pay someone to build and maintain the tools you use when you could just do it yourself?

4:15:27

Just ask your agent to do it.

4:15:28

And for me, there's one missing piece that rarely gets mentioned.

4:15:32

And it's the fact that there's a gap, a big gap between working software that got one-shotted

4:15:38

and software I would actually use.

4:15:40

Software that sparks joy, that is polished, that feels good.

4:15:43

And I actually went on a journey to replace a bunch of SaaS providers we were using internally

4:15:48

at Railway for marketing purposes.

4:15:50

And I just built an all-in-one tool that we use.

4:15:52

The tool allows us to manage content

4:15:54

for the Railway website, change log, blog.

4:15:56

We can use it to send emails,

4:15:58

post on all of our social platforms at the same time,

4:16:01

manage the website's media.

4:16:03

There's even a mini CRM so that when we're working

4:16:05

with external creators, we can keep track of that.

4:16:08

There is task tracking, launch planning,

4:16:10

because you wanna coordinate multiple things

4:16:12

and when they'll go out, there's a calendar.

4:16:14

and at the same time there's like comments real-time editing and it's all built using

4:16:21

agents i would say i felt the breakthrough when gpt6 came out and all of this is running on railway

4:16:28

everything just auto deploys and let me essentially now walk you through the principles i use

4:16:34

to actually make sure that when i want to add a feature it's you know actually polished and

4:16:40

matches the rest of the app and at the same time the principles that you can pull from and apply

4:16:47

when building tools of your own so instead of doing my talk from my boring office i decided to

4:16:52

switch things up and do it outside it is absolutely beautiful right now i'm in edinburgh scotland

4:16:58

and it's just unreal like i'm on a bench outside and this is my view definitely a 10 out of 10

4:17:06

bench. Now, this type of talk for me feels a little bit different than what I'm used to, because

4:17:13

I essentially will walk you through the journey of me building our own internal tools and the

4:17:19

opinions I've developed. But I also understand that the landscape changes very, very quickly.

4:17:25

So like anything I say might change completely in like the span of months. Who knows? So I don't

4:17:33

know consider this my disclaimer like but the time of recording is fall 2026 it's october and

4:17:40

yeah so anyway with that out of the way uh let's talk about the first point which is text acts don't

4:17:48

matter now a lot of people say that it doesn't matter what programming language you use what

4:17:53

framework you use you can just ask your agent to go do anything and those are able to do it

4:17:57

And while I agree to some extent, what I found is when you're building a tool that you will actually use, when you give the agent a proper code base with solid abstractions, what ends up happening is whenever you're working, let's say, on a new feature, you end up with a much more consistent result that is similar to what you've already built before.

4:18:21

And the reason is, like, it's very simple.

4:18:23

The agent doesn't need to reinvent the same, like, wheel every time it tries to add a new feature,

4:18:30

or it doesn't need to introduce new patterns.

4:18:31

It will just essentially follow existing patterns.

4:18:35

And when it comes to, like, what you choose, I feel like it kind of doesn't really matter

4:18:40

as long as you have a code base that is properly structured.

4:18:44

But my go-to choice today is, one, TanStack libraries for anything when building on the web.

4:18:51

And if you're building anything content-related, I would say definitely go with payload.

4:18:55

Solid experience, great abstraction.

4:18:58

I went down a big rabbit hole of comparing CMSs at some point because I don't believe that I should build it from scratch, even though I can.

4:19:07

But again, who knows?

4:19:08

Maybe the future will change.

4:19:09

but yeah and that's kind of like the main first item that i kind of ran into

4:19:20

when you use like a lot of sas products out there that you actually love they use every day

4:19:25

when you're a user there's like a lot of things you don't notice but when you actually try to like

4:19:31

replicate an experience you quickly find out how much care and thought goes into different flows

4:19:38

So something as simple as, oh, I want to be able to send an email or to publish something.

4:19:45

You can easily do it by having a good old server-side rendered app with forms that you submit.

4:19:54

But if you try to build something that is going to be used every day that you will reach for

4:20:00

a lot, you're like, oh, it shouldn't feel that way.

4:20:03

And there are kind of like a bunch of patterns that I found that agents don't typically do unless you explicitly ask them to.

4:20:11

And this is my list. So we'll go through them one by one.

4:20:15

And the first one is like autosave. I found that if, like, let's say I'm building some form of document editor, autosave is kind of like a table states feature.

4:20:25

So rather than manually clicking save to save things, you just ask it to automatically save progress in the background and to make sure that it's like a non-blocking action.

4:20:39

So that you can, let's say, as you're typing, you're able to type and then it just automatically saves.

4:20:44

And one other kind of like step further that you could do is to also prevent the browser tab from closing if there are unsafe changes.

4:20:56

So it's kind of like these two layers that kind of guarantee that whatever it is that you're working on is just not going to be lost.

4:21:04

Now, you can also go a step further and to add like real time collaboration so that you can have like concurrent edits.

4:21:12

And again, my agent didn't struggle at all with adding the feature.

4:21:16

It was like, I don't know, asking about it, reviewing how it would work.

4:21:21

And then once that's done, just 700 million tokens later, I had real time.

4:21:26

So I would say in general, this is the first thing that I find agents just don't do well from a product experience perspective.

4:21:34

Another pattern I found that agents completely forget to implement is optimistic updates.

4:21:39

So rather than showing your users a bunch of loading spinner whenever they're taking any action,

4:21:43

you essentially show them the success state optimistically.

4:21:48

And in the background, you're going to sync whatever change they made.

4:21:51

Now, if the sync or the operation fails for whatever reason,

4:21:56

you just roll it back and then tell them, like, oh, the operation didn't work.

4:21:59

Now, of course, you shouldn't blindly have optimistic updates for everything.

4:22:04

There are some scenarios where you want to show the user a loading spinner

4:22:07

and they're going to wait to check that everything worked properly.

4:22:11

But in general, having optimistic updates

4:22:14

makes the overall experience feel significantly faster,

4:22:18

much snappier, and it will just feel much more instant.

4:22:22

So pretty sure you can just ask your agent like,

4:22:25

hey, I would like to implement optimistic updates where it makes sense.

4:22:28

Let's come up with a plan and it will tell you all the areas

4:22:30

where it makes sense to do.

4:22:31

Again, it's like it's not difficult for the agent to build it.

4:22:34

you just need to ask and know exactly what to ask for. Now an extension of optimistic updates in my

4:22:40

opinion is giving users the ability to undo certain actions. Now for example if you ask your agent to

4:22:47

implement the ability to delete records what it will typically do is it will give you a delete

4:22:53

button you click it might show a confirmation dialog you hit confirm and then it will actually

4:22:57

do the deletion. But a much nicer experience is actually allowing the user to undo that action

4:23:04

so they could delete you immediately remove the item they want to delete from the ui but you tell

4:23:10

them like hey you have like a couple of seconds where you could change your mind and if they don't

4:23:16

do anything that means you actually want to delete a thing then you actually implement the operation

4:23:22

otherwise if they hit undo you just bring back the change so it's kind of like you do the operation

4:23:28

in the background as well it's just kind of a delayed action which kind of ties into the next

4:23:34

point, which is archiving, you should tell your agent you want the ability to archive records

4:23:40

and be able to unarchive them. Because sometimes you want to hide something from the UI completely,

4:23:46

or let's say from search results, and archiving will be the way to do it. And you shouldn't

4:23:51

force your user to be like, well, if you don't want to see this, you have to delete it.

4:23:54

Any much better experience is just the ability to archive records. So I think it is a pattern

4:24:00

that should definitely exist.

4:24:02

Another big one for me is URL state.

4:24:04

You should ask your agent to persist in the URL

4:24:06

whenever it makes sense, of course.

4:24:07

And it's so useful because whenever you have,

4:24:10

let's say, a list of records

4:24:10

and you want the ability to filter or sort them

4:24:15

and you just have a bunch of conditions,

4:24:19

maintaining these things in the URL

4:24:21

makes it trivial for you to give them to someone else.

4:24:24

And then, let's say, another team member

4:24:25

is just going to be able to see

4:24:27

exactly what you want them to see.

4:24:28

Now another small detail that agents don't implement out of the box is infinite scroll.

4:24:32

I don't want to be clicking on lobe more over and over and over or like a next page button.

4:24:38

As I scroll, I should just get the data.

4:24:41

I shouldn't need to click next page.

4:24:43

And then in the end, I'll just see that, oh, I've reached the end.

4:24:46

It's a very minor thing.

4:24:47

But also when you use something every day, I think it makes a huge difference.

4:24:51

Now another pattern I found that made the output significantly better is telling the

4:24:56

agent explicitly to use existing pages as references when it comes to the ui the data

4:25:02

fetching and how it works and how the thing is overall structured and that made it possible for

4:25:08

me to essentially define what good looks like once and then just reuse it for more features now

4:25:15

to be completely honest sometimes even when you tell the agent like hey use page x as a reference

4:25:22

sometimes it just doesn't follow it i don't know if models like get dumber sometimes but sometimes

4:25:28

it does happen but overall i would say that my success rate is higher whenever i tell the agent

4:25:34

to like well use an existing page as a reference because you also just end up with a more consistent

4:25:39

experience so like as you're using your app you're like oh this just matches the other part of the

4:25:44

app if they both share like the same concept so like if two parts of the app are essentially

4:25:50

lists of records that you can create, update, and delete and list. Well, both of these parts

4:25:57

should be pretty much identical. This list kind of brings me to my next point, which is whenever

4:26:02

you have opinions about something, they should be packaged as agent skills. And then this way,

4:26:07

your agent, whenever it's building something, it will actually follow those skills pretty closely.

4:26:12

And as I was building all of our internal tooling, I found myself reaching for three agent skills.

4:26:18

two of them are related to design engineering so one made it easier to have better ui better

4:26:24

typography better layouts as well as like better error messages in general and the second one was

4:26:29

a set of design engineering skills that made it easier to just have better animations and other

4:26:34

things like that and then last but not least is the railway agent skills of course so like

4:26:39

everything that i built for us internally at railway runs on railway of course like everything

4:26:45

So like buckets, databases, the app itself, the real-time server, everything.

4:26:50

And for the agent to effectively work with Railway and be able to deploy everything,

4:26:55

you just give it the Railway agent skills and it was just able to do it.

4:26:59

And yeah, so like once you have all of your agent skills and everything,

4:27:03

in my opinion, the final step, and I think the most important step, is verification.

4:27:10

So the agents typically, whenever you ask it to build something,

4:27:13

it's going to be like, okay, I implemented the feature.

4:27:16

build pass, test pass, all good, right?

4:27:19

But what I found is when you actually try out what happens,

4:27:22

you sometimes end up with just like a very broken experience.

4:27:27

So once you have like a verification loop in place,

4:27:30

it's like a nine day difference

4:27:32

because the agent, you can literally see it,

4:27:34

be like, okay, I built this thing.

4:27:36

I tried it.

4:27:37

It failed.

4:27:38

I'm going to fix it.

4:27:39

And it just keeps going.

4:27:40

And then in the end, it's like, okay, I fully tested it.

4:27:42

And I felt this breakthrough with computer use once it got really, really good.

4:27:47

And now every time I want to add a new feature, I literally just in the end say, well, you should verify that the feature works end-to-end and use it by actually running infrastructure and to test things end-to-end.

4:28:02

And the agents are very capable of doing this.

4:28:04

You just have to tell them.

4:28:06

and once you have all those pieces,

4:28:08

I would say you will end up with solid internal tools

4:28:13

that you can build quickly,

4:28:14

that work properly and work in a consistent way.

4:28:17

And that's it.

4:28:17

This was my list of principles that I use

4:28:19

whenever I'm building any internal tools.

4:28:21

Hope you found them useful.

4:28:22

But more importantly,

4:28:23

that you're inspired to build your own internal tools

4:28:26

that feel good, that are polished and spark joy.

4:28:30

And I hope that you too can become your company's SaaS layer.

4:28:34

And with that, thank you so much for watching, and I'll see you in the next one.