Threads or coordinators? I asked the creator of Ghostex
So, Muhammad, great [music] to speak to you finally. I've been a big fan of yours for such a long time. Uh, making Ghost X has been a massive inspiration for Threadbear. So, I wanted just to talk to you today about lots of things, but the main thing I want to talk to you about is like [music] coordinators versus threads because I'm still confused to some degree about [music] which one should we use and which way should Threadbear go cuz threadbear doesn't currently have coordinators. Although, spoiler, I've been experimenting with that. But you're a big fan of coordinators and uh and I'm not so sure. I'm not so sure. I'm not so sure whether is the right way to go, but um do you want to tell me a little bit about yourself to begin with? Um what's your history? Who do you work for? Is Ghost actually your full-time job? Like you've obviously got an amazing living room behind you there. [laughter] Yeah. Yeah. This is all This is my milliondoll mansion. Yeah, it looks great. Yeah. Yeah, it's nice. Cool. [music] Uh yeah. Um my my my man I don't want to show you my background. It's all like scribbles on [laughter] the wall cuz of my daughter. She's 2 years old and she like she became artsy all of a sudden. Now she's like grabbing pens of the out of the drawers and stuff and drawing all over the wall. All our [laughter] walls are covered in in graffiti. Oh my god. Luckily our son I've got a son who's 6 years old. Luckily he never went through that process of uh drawing on the walls. Uh fortunately. Okay. Yeah. When she started I was like a screw it. She's going to she's [laughter] going to have to paint the whole thing. So go ahead. She's like it's art now. It's art. It's fine. Yeah. Yeah. Yeah. Well it's fine. It means you get to show off with your million-dollar mansion behind you, so it's fine. Yeah. Yeah. Um Yeah. So, um uh Yeah. Yeah. Um I'm known as Madada online. It's just a nickname when I was a kid I came up with. It's just like stuck. So, um Oh, so is your first name? Uh is your first name Yah? Not not Muhammad. No, it's Muhammad, but everyone calls me Yah, which is my dad's name. Muhammad is the most popular name in the world. So, everyone calls you by something else. You're not never called Muhammad except by your whole family. Apologies. Okay. Where in the world? No worries. No worries. It's like Where in the world are you? I'm originally Syrian, but uh we we're My whole family is like in Dubai since before UAE became a thing. So, yeah. Very long. Okay. Okay. Okay. Cool. Cool. Cool. Sorry, I interrupted you. Carry on. This part of the world. Yeah. This part of the world don't get naturalized. There's no naturalization. So even if you stay here like one million years, you're still [laughter] Oh, it's very rare for someone to get you're not a citizen. You're still a Syrian citizen. Yes. Yes. That's how it works here in the Gulf. And uh yeah, a bunch of countries like like Singapore, so many countries like that this way. You're just an expat. Yeah. I was in Singapore earlier this year. Yeah. And they were saying like it's very hard for foreigners to get um citizenship in Singapore. Yeah. Yeah. Yeah. Um Yeah. So I'm uh originally fullstack software engineer. I did everything. I did back and front end like went into so many different frameworks. I did the mobile, flutter, react native, native uh IO uh what's it called? Cotlin and everything. I tried everything. I I like to dabble after work. So I I did all of it and yeah basically my day job is uh director of product now at a company that's like a pretty good company like pretty well known in the shareepoint or internet side of things. I know most of us work on internet side which is like for but imagine like if you're a company like Samsung or Mitsubishi one of those like conglomerates you know like international you would need your own internet your own internet internally that has your your files it's like uh merging all Google Drive um what do you call it like events uh your news post everything in one you know like your employees directory HR all of that in one so that's like what SharePoint does there's nothing completely like on the Google suite side of things. So it's like that's the side we're focusing on like those big enterprise they need those uh kind of like uh internet side. So that's what I work on usually in my day job. Yeah. So I'm uh working on product there but after work uh because of aentic engineering you know I like things to be tweaked to be exactly how I like them. So like you spend your whole day in your day in your ad. Y so yep uh I was I started working this like more than a year ago. different variations of it and then reached what I have now with Ghost X. But it was a lot of uh failed uh trials along the way. Oh wow. So you've been working on this is now over a year on on what Ghost X now is. Wow. Okay. So you've been doing this for a long time. I'm very much a noob. I've only been doing this for like like a few weeks at this point. That's incredible. Yeah. I started with VS Code. You know, you can have like in VS Code you can have the ter different terminals. I think the Matt PCO was showing was using this even in his talk and stuff like that, but I I outgrew that super quickly because you can't resume like the threads when you leave your PC and come back it doesn't resume them automatically. You don't like you always lose your you keep losing stuff and you have to have multiple windows of VS Code if you want to work on multiple projects which means each project that you're running is a full-blown Chrome browser basically on your machine you know because they are completely a sandbox from each other. So each one is a complete browser with its own node engine and um its own like V8 and it's very heavy. So right away yeah I went to um creating my own. Yeah it was yeah like you I did first swift and then I moved to GPI also. Yes I saw that. I saw that. Yeah. So but it must have been a lot harder like a year ago. The the agents are like nowhere near as smart as they were as they are now. Like Opus 5.5 and Neon and all these other ones that are around. Like it must have been a lot harder a year ago. It now you you just have like a I feel like you have a genie in a bottle. Honestly, it's like you just wish what you want and it happens. You know what I mean? It's completely different than before. Before like you would tell it do X and then you would have to tell it to like do things in small steps and spawn sub agents and you have to like like really micromanage it. And I had like a whole article about how I used to manage my agents in order to keep the app from devolving into slop and like becoming a buggy mess. But I love the app. Like even when you're building it now, the good thing about it is that you build it using itself. So you're there's no um like there's a disconnect when you're building like a tool using your using the AD. If the tool is outside then you have to go and do a whole loop of trying the tool. I mean every time you like do some threads and then you wait for it to rebuild and then you go check. Mhm. But like the how I have things with ghost, it's so fun to build cuz like literally prompting the agents while they're working on the app and they like it reloads itself and then you have your changes right there and they can tell oh I don't like this change I like this change whatever like and you can like keep shaping it as you're using it which is like I think this is the I haven't you know um they call it like developer feedback loop. I haven't seen a shorter dev feedback loop than what I have with ghost. like you're actually using the tool as you testing it as you are prompting you know it's like super connected so that's the part I don't think this this would work in any other um any other kind of tool maybe an AD maybe previously but yeah uh IDE I mean but yeah it's pretty interesting that's why I think it's very fun and addicting to you know like you get the dopamine hits as you're building like oh it's the feeling is amazing and that's kind of what I wanted to share with threadbear as well when I discovered that as well like you reached out to me or I think I don't know why you reached out to me but maybe I was tweeting something and you reached out and you said oh this ghost I'm a big fan man and I thought I thought oh my god I thought I was a genius coming up with threadbear and then I saw ghost I was like okay [laughter] this guy has done this like 10 times of them yeah oh yeah there's literally 5,000 or more of these I didn't know I didn't know I thought there was like I thought there was like codeex claude code T3 and like threadbear and And and then you reached out and I was like, "Oh, okay. That's another one. Ghost X. Oh, another one. Another one. Another one. Okay. There's a lot of now your Twitter feed becomes uh just AD once you start tweeting about that's also want to show you." Yeah. Exactly. Well, actually, do you want to just like share your screen and take me through I don't know whether you got anything sensitive on your version of Ghost? You want to take me through? I mean, I mean, your website as well is phenomenal because it's got like an interactive uh ghostex um like web version right there. It's just great cuz you can just play around with it and just see how it is. Um, which I absolutely love. Like I was like, "Can I can I can I steal that for threadbear? Can I just do that?" Like it's like, "No, no, no, man. Steal whatever you want." And I and I I I love just to like even if I get a note someone saying, "Oh, I got this from Mad for example, anywhere." I I appreciate that more than okay, [laughter] who cares, man? The code is free. Like it's just And I copied this from someone else, you know? Yeah. So, it's like I copied this I think from um it was uh Kimmy Kimmy when they did their AD they had like a fullblown interactive one page. So, I was like okay take that from Yeah. Yeah. Nothing's original anymore honestly. I didn't even know Kimmy had one. Um yeah, somebody as well told me about this one called BB as well which is like one that BB is pretty good. Yeah. You you build up from scratch and stuff. I was like wow that is really I think I didn't even know I there's so many of these out there. I feel Yeah. Yeah. BB is very interesting. I think the only thing is like you kind of like like you um hit on before uh we started recording. I think some people wanted you know created experience. Yeah. Yeah. They want to spend time like prompting stuff. They just want it to be reliable everything stable and working correctly and that's what and honestly when you do that fully extensible uh part like BB or um I think another one Zeron is doing the same thing but using Rust. M the issue with that I feel is that it's very easy to break your AD and people need their ads to be completely working you know it's easy to for an update to break your ID that's another part which is why I like your working thing we can come back to later but there's also um like how can I say this the the feature will not will never be as good as a feature that a ton of people used and like improved on you know what I mean it's like um how when you have like um I don't know exact how to call it in English but Like when you have a certain technology or something and everyone use it, a lot of people are using it in the market out there, it always becomes better than something that you're just using as a hobby at your in your own home. You know what I mean? Yes. So like the spreading spreading of getting feedback, collecting it all, putting it into the feature. Like for example, any any part of ghost text is because I get a lot of notes about it and whatever, it keeps improving. But if you're going to create your own extension, maybe it will be really tailor tailored to you, but it will it will be kind of like clunky compared to like something like actually polished as part of a product, you So there's like and I'll I'll show you what I my thinking was about that later. Um maybe now before we go to something else I have extensions. That's how I I did the same thing as BB and them. People request extensions and they can actually build extensions that hook into ghostex and show up. Uh like for example the these are seven community extensions that people added. Code code studio for example is a very nice one. How do they add let you how do they add extensions? Have you got a uh like a like a pull request that you have to they have to issue to make a new extension? Yeah, there's a there's an extension repo ghostex extensions and they just uh go ahead and Yeah. So, this is co cozy studio. It's not running currently. Anyways, I don't know what the guy did, but basically on when you set it up correctly using the instructions in the extension, it's going to work. So, you can like add your own extensions here or add them here. So, if you have an extension here, it just shows up like a full page. uh like it just shows up picks up. Yeah. Yeah. Basically, so you can pin stuff from here. Like for example, I have my Grockot. I just click on this. This is extension that I made. It just opens Grock. It's very basic one, you know. This is brand new, isn't it? I can like look at my Grockot inside. You released this just like it's been a week ago or two two weeks ago, didn't you? Maybe two weeks. Yeah. I released this rail. I like the rail because it also makes it extendable without uh filling it with buttons. You know what I mean? Like you can have some stuff you just hide here and you can pin the stuff you want and unpin the things you don't want basically. Mhm. Yeah. Yeah. Cool. So, extensions, I think extensions is a is the way to go because you can also like how I have it is I have a lot of built-in extensions. Like I have full-on VS Code built into the tool. You don't have to use it if you don't want it. You know what I mean? [laughter] Just casually building VS Code into your thing, you know, don't worry about it. Uh yeah, VS Code is easy to build actually because it's um it's a web app, you know, it's Electron. So, yeah, they they let you Yeah. So, this is full VS Code. Everything works here, even extensions, OBS code inside. There's animations as well as well that you just there like when you opening and and closing like different panels and stuff. It's just beautiful. By the way, um thank you. I really appreciate that. And also like um one thing I really loved is when I used Ghost X was that the browser is not included like it downloads as a plugin and there's a bunch of other things like the usage panel and stuff gets downloaded like you download a third party tool to use it and you like a browser uses like a a computer uses like a a third party thing like it's like it's a very interesting way of doing it that you just pull in whatever the best community version of that tool is at that moment and pull it in dynamically which is really nice. I feel like the browser part is because I don't want to like for example when you download an electron app every time you download an electron app it includes everything with it. You know what I mean? Like for you because you're going GPUi literally just copy what I did for the browser. It'll be really good because like what I what I did is the only way you can have a Chromium browser on Linux otherwise you're going to be stuck with I believe it's an old version WebKit on Linux machines. You know what I mean? So the way I did the browser it's like CF. There's a CF rust crate, but I like the way I did it, it like really uh way ahead of you. It works well. I just said I just said do whatever Ghost X does [laughter] for the browser. Yeah, browser it has to be there, but GPI does not have a good browser story honestly. Especially on Linux on Wayland, it's pretty bad. Like one of Anyways, I I'll get we can get out. Let me just show you the No man, it's very fun talking to you honestly about this stuff. So I have a tiny presentation. Let me show you resources. Where is it? Not this. Uh here's this index. Yeah. So this is about coordinates. I think this is why we we started talking. So I just wanted to do like very quick presentation because it's like more uh you know Oh, check this out. Awesome. Prepared. I love it. Yeah. Yeah. And I just told it to look at some of my tweets and do a presentation with a screenshot from the read me. Yeah. Yeah. So basically uh what's the alternative to coordinators, right? The alternative is you have like a thousand threads here. like you like I used to have you see you have like so many chats here and you don't know which chat has what now I can just go like this uh close below I don't care anymore you know like I just forgot to close these but you don't care anymore once you uh uh once you work with coordinators you don't care about threads anymore you know um so that's the alternative we're talking about like either you you either have coordinators or you're gonna have threads okay that's the only two options I believe right I will wait I will wait to hold my thing because I could jump in right now and like okay but carry on carry on. What's the third option? What's the third option? Is it either coordinators or threads? Right. But but what you just showed what you just showed there with like a million threads at the same time like like there are ways of like not showing that like sleeping, snoozing, uh like archiving and all that kind of stuff. Okay. So I I have that but but they're still on their mind. Like one of the Okay. When I'm going through the list and I want to snooze this guy, park this guy, I don't know what. Okay. Yeah. I even have tagging for my threads. Like I can like literally go like this tag as in progress testing whatever and you can create your own tags. Oh, that's cool. Doesn't work. It doesn't work. It doesn't work. You know why? Cuz like uh all of us have that like bunch of us have this download folder that has a million things and you never organize it. That's basically your threads because like it's your different thoughts and you just tell an agent and each one is at a different stage and like you're working at a bunch of projects and you're you're always like all of us like with agents we're becoming more ad jumping between things. So you don't you don't like actually uh find time to go and actually organize things you know you like you don't want to spend the time on that part because it's the most boring part that's why you have the librarian for example it's really it's very interesting idea but I think yeah anyways let's let's keep going let's keep going we will I I will it's either I will try and argue my case afterwards yeah after okay so um so how I how I work currently how I'm building ghostex currently is instead of having threads which I showed you there's a bunch of manual threads I need to there's a a lot of clutter people when they share their screenshots they have like a million of them on the sidebar always you know you need to also uh one thing about threads is when you're communicating with a thread it like just gives you like this wall of text usually at the end of every um you know whenever it's done I I kind of cleaned it up I told it like to give it to me in this format I have a specific format in ghost text to reply to me which you can enable or disable it's optional but in general you just when you talk to a thread it's like giving you these walls of text that you that you read usually. Uh that's another thing I'm trying to solve with the orchestrator. Uh and then the other the last thing we had here was uh yeah, you become basically router and jer. You like have to clean up stuff. You have to figure out which thread should I send this prompt to because it has already it already has the context that I needed to continue the work. You know what I And this part is like the worst part because sometimes you like send the thread you send the prompt in the wrong thread and like you know now when I send the prompt in the wrong in the wrong to the wrong coordinator it literally knows and it like forwards it to the correct coordinator by itself cuz it knows like there's a main coordinator for each project and it knows this is not about my project this is about another okay I'll forward it or gives it to the main guy the main coordinator the chief of staff and the chief of staff gives it to the right person you know so it's like you can like these agents are so smart like that's how they hacked hugging face is because they're so good at swarming now and like communicating and send messages. So yeah, let's move on. Yeah. So you have like this is my my sidebar now. I have the main hub which is like ask ghostics. This is like the chief of staff. You can call it whatever you want. I have like for each uh project like for example this one I have the the coordinator. These ones here are not coordinates but I don't know why the screen looks like this. Anyway, so I just have a coordinator. He has a crown next to him and the coordinator whenever you like expand him you'll see whenever I expand the coordinate he has like a billion threads under him. But lally never look at this list. No. Yeah, like uh this this one code I've been running. I mean I I believe it's close to two months, but he has around 2,000 I don't know like like around 2,100 threads under him that he managed for me. So imagine those are possibly it could have been 200 1,00 100 2,100 threads that I had to open up and send prompts to. You know what I mean? That would have been the the alternative. And that's what I was doing. I literally had like um I was opening like 50 or more threads per day because I I'm very like I I like to just prompt prompt prompt all all of the time. I don't like to waste time just waiting and all of my agents work on main. That's another thing that coordinator solves because all of my agents work on main. So when I was prompting different threads, they didn't know about each other. So they would like step on each other's toes. Now when I have a coordinator in the middle, it like tells this guy, okay, wait for this guy to finish and then you can continue your work or you know, you know, or like sends the same prompt that uh like would conflict to the same agent. So it would continue working on on that after it finishes its current. So it like completely solved uh conflict between coordinators working on main is completely easy now. I don't even even need to do work trees, you know, like for my work anymore. That's interesting. Yeah, you just work on main. Yeah, you just work on man. It's it's really uh freeing. I don't know how to call it other than that. Uh yeah. So basically and um you have one in the this and also you need you have something called needs you which is these pings here. So the coordinator because you're like you're sending it a lot of prompts about different things that are sometimes completely like unrelated. So it it pings you with the uh like uh pages that you can check like report pages. I saw you have this in threadbear, but it's like per uh the the thread, but imagine if it's like you have like if I'm the CEO of a company, I don't want to go and talk to each individual contributor one by one to understand what they're doing and then give them the task. I just want to talk to the PM who gives me the important stuff, you know, surfaces it to me. That's all I care about. So, you can really use your agent like that now because they have such great memory. They they are very organized about like okay putting stuff in the I give them this um similar to uh linear it's a very basic linear board for them so they can like keep track of what's being worked on what's uh what needs your attention what's blocked you know this kind of stuff what's in progress currently I don't even look at in progress usually I just look at uh pings and blocked this is what I care about this only do I care about and for these pinged ones sometimes just gives you the answer like this here in the middle of the screen you just click uh or you and view the details. But the even better way is this right here. Um, let me show you this right here. You know, so these are the pages that I told you about, live pages. So, basically how these work is it's just an HTML page, but the special thing about this HTML page is you you teach the agent how to um ask questions in it in a way that gives the user different choices that are visual. So, for example, whenever I'm implementing shared budgets, so it's telling you there's three invite designs and then it shows you, okay, you can do it by copying a link and then someone has to approve or whatever. You can click pick here or it shows you like, okay, invite by email. This is the other option or you can scan in person. You know what I mean? And you just click pick pick. You just go through the you scroll through and do your picks and that's it. Like I'll uh maybe I can show you a few like here for example, I have a few pings on me. So, I have remote screen. So I was talking about um about uh doing screen uh screen access through ghostex you know because when I'm on my phone sometimes tells you okay there's a permission prompt what can I do like uh please go and click accept because the agent itself cannot click uh Mac OS permission prompt so I wanted to build something like VNC into ghostex wow so it's giving me the options here you see it's showing me like exactly how it's going to look like in the UI yeah yeah so it really helps like uh Because otherwise you Yeah. Otherwise you'd have to like go in blind like you tell it okay give me an HTML about this and then you annotate the HTML and then you like tell it uh to give you the new design. It was the cycle was very dumb but now that I have this um these live pages basically it's um it's making it way easier to go and read uh here like everything is organized just about this one work lane. You know what I mean? So I'm like if I don't want to work on this, I just snooze it and come back to it later, you know? It's snooze 24 and it's like down here now. Yeah, that's cool. Get my point. So yeah. Yeah. Like this one is pretty good. It's telling me like uh I want to do um for coordinators. I want to have like a dashboard for them. So it's telling me, okay, this is one option. Uh and you can step through. You see? Uh like where is it? Step through. And it shows me like how it, you know, because HTML you can do whatever you want with it. I didn't like that one. So I I look at this one. This is how the work moves around, you know. So this is like um this is done. this is uh waiting on you stuff like that. So it's like you can do it can like really visualize things for you in a way that u makes sense to you know so so you can like pick from the choices you see here or edit them so you can just tell it okay I don't like this uh I like this part but I don't like this part or whatever uh here at the end actually there's a and there's a box where you can type always there's always like a place where you can type like okay I like this but I don't like this you know type here or user voice or whatever yeah basically these uh inline HTML are really really useful I I don't know how everyone how anyone's like uh doing agent dev without them. Um one last thing these the the idea with how I work with ghostex or how I'm building ghostex which um I'm not sure if everyone's doing it but I think you should try to do this for a while is always like hold the leash on the agent. Don't let them implement anything unless they show you first how they're going to implement it and give you the options and then you pick and then it goes and implements you know once you confirm. So I'm always holding the niche very close. Like that's why the app is it's completely agent agently developed. I don't look at the code. But honestly, it's it's pretty good. It's not slop. You know what I mean? Like I I believe the difference between slop and uh like okay something aentically engineered and um done well is this part. You I literally never let it implement anything unless I've seen it. I've seen like the options and uh picked one and gave it my notes and everything and then it goes and implements. But that way you can like give it all your ideas like just throw them at the agent and it comes back to you with all the all these reports. You can snooze the ones you don't want to work on now and the ones you like uh you're focused on you just finish those and you just keep going to the next thing to the next thing to the next thing. So all I'm doing is like um it's like doing smart human in the loop. You don't want to be human in the loop all the time for dumb stuff like approving permissions and stuff like that. You know that that part is like completely solved. I I feel like uh but the part that's kind of like really needs your attention is the is the taste part, you know, like um it's like they don't understand how humans use software. They sometimes put buttons in weird places. Sometimes they they like without Yeah. Yeah. Without explaining how something works, they just give you the prompt and then you like look at it and you're like, "What what the hell is this?" Like what can I how can the user understand this part? Put too much information on the screen at the same time. Like that's that's the biggest one. It's like humans don't look at this and understand it straight away. Like with all this information everywhere, we we can only focus on one thing at once. So like keep it simple like Yeah. Yeah. Even this design that you see here, this this eye design like I I I told okay, I want to see the three options. They're in cards. You show me the details below each one and I click pick on on the one that I like and dark moon light like this whole thing like the inline HTML. I have a template for it that it's using. It's not rebuilding from scratch which saves a lot of tokens. Um but uh yeah this ex I told exactly how this should look like. You know what I mean? Um so that's that's why I think it's it works. It works well. Yeah. Here also it gives you like recommended which one is recommended between the different directions that you can see. I borrowed that I borrowed that word recommended by the way in threadbear. Uh cuz it used to it you used to say my pick and so I and I saw you did recommended. I was like that's a better that's a better word. I should use that. Yeah. [laughter] Yeah. Um Yeah. Yeah. And and you can even do charts in this. It's just basically HTML. So you can do videos, charts sometime. One time it did like a 3D like actual 3D game inside the Yeah. Because it has 3GS. So I was telling it how would this game work in 3D. So it like just went and did three uh 3D games and I could play them on the phone and then I picked one of them. Wow. It's pretty good. Yeah. Um this is how the basically how it looks like when I have the sidebar closed because all I care about as I told you is the pings. The pings and the blocked. So that's what I care about. Like if you click here, it'll show you the sidebar that that I showed you before. This one here. But I I usually don't look at this. I don't care. This is for the agent. This part here in progress and um waiting and on hold this stuff. I don't care done. I don't care about the stuff below, you know. All I care about is pings and blocked. So that's what I'm showing here in the dock, you know, because like sometimes your screen is uh narrower. So you still want to see this stuff here, which is the most important part. Um, and the chat, I almost never read the chat. Every time it puts any useful information in the chat, I tell it, "Let's edit the playbook so that you never send me something like this in the chat again." Like the chat is just it's just like if I want to take a look and see what's going on now, but I almost never see it. And that's why I'm thinking about the dashboard. So, you can like switch the view from chat to another view that would be more uh useful to you, you know? I don't know what that view is going to look like yet, but I'm still uh looking into it. Um yeah, this is how it's how it looks like when it sends you like a page like one of those uh I call them live pages, you know. Um yeah. Yeah. The other thing is the memory. The agent becomes so much better as you're using it. The coordinator, this doesn't happen for usual agents. Like it's like um it's like agents MD on steroids honestly cuz it doesn't like usually agent MD. You don't want to stuff it with a lot of bloat and stuff like that. But there's there are things that the agent learns when it's your coordinator for like 2 months like the the one I showed you. It's like it becomes I don't know how to explain it. It like it becomes like you but in AI form like it understand exactly what you want to do with each like uh I will show you just a demo of the triage thing. While we're here, I just do uh there's something called boosts which are like mini skills that you can uh build which I really like this feature. So I can do like trigers quests. So you see when I double tap on this it expands it to the actual text if I want or I can just uh Yeah. Yeah. So uh whenever you have some part you just do this save as a boost and it's going to save it for you as a boost so you can come back to it later you know and reuse the Yeah. It's like a skill but it's like skills are kind of pain in the ass to manage you know across different agents and all that. So I just did something called boosts here you know so to teach people about different things you can do with ghostex also. So try request I'll just uh send this while we're talking to show you like how it looks like when when it gives you like when it understands what you what you like. Um yeah so the memory uh here the agent itself it has its own memory. So usually it saves things about um like okay whenever we have this sort of issue we should do XY Z you know what I mean you just if you just tell it okay we had this if we have the scenario again let's do X or automatically suggest to you even and you just say yes save this to your understanding instructions it's just going to always follow that you know what I mean so the memory part with threads is not as good as with coordinators that's another um really useful uh part about coordinators um yeah so this is like just a comparison person like your sidebar is cleaner. uh you just prompt over and over and over on the same agent and the agent is the the coordinator is um like in its instructions it should be never blocking like it only like basically it stops a work item that it doesn't have enough details about that's that's so it blocks on that part but I mean like the the agent loop if you know what I mean it never blocks it never stops on any part unlike for example if you have an agent if it sends you like a question tool using uh like for example ask a I think it's called ask user tool they have tool in clo code for example it literally blocks the agent from continuing and doing anything else you should never use you should replace all of those tools with your own basically if you have a coordinator agreed and I think this is what you're doing with the threadbear so um so all of the the coordinator it's nothing special it's just a messenger you know all it does is um let me show you like here uh yeah if I pull up see all it's doing is um you see one it gets a message from this guy thread failed to start. I don't know what this this thread. This is the message it got. And then it it pass it it when it woke up it worked here. So it read the other threads what they what's their status and then it sent a message to one of the to one of the threads. So it sent a message to this one but sometimes sends messages to multiple. So you need to have a like building blocks for the agents to be able to talk to each other and you need to have uh a CLI to let the main agent and the other agents read each other's statuses and last X messages like for example read the last five messages so you don't blow their context and it only reads it never reads it should never read tool calls it should just read the actual messages you know what I mean like these uh turn ending messages are pretty good and the user messages the whatever the users user sent only only these two are what um they care about to see from each other basically in most cases. So you need to have a tool for that in your CLI. Um so yeah, you just have these building blocks like the inbox, the messaging system, the ability to read each other's threads. Um what else did I talk about? Like the playbook, the memory, the the the memory there that I spoke about here. You know what I mean? If you have this this collection of things together, you just have a coordinator and you just talk to one coordinator and like whenever I have any request you see I just send them. I have here a history I added which just to show you I just send okay please allow pin I don't know what and then after this I say address latest incoming issue about extensions don't know all of my uh prompts are completely unrelated and they're all going on top of this guy's head and he never struggles because all he's literally never thinking about actually implementing anything. all his job is just to pass my prompt in the way that I like to the the thing that I really like about this. It's like I believe you called it a layer in one of your um uh tweets or one of your videos. [snorts] Uh but the thing that I really like about it is because I have my prompts going through a layer, you know. Oh, yeah. And the idea being that you interface with the captain or the coordinator at the top level and then it behind the scene goes and spins off the threads to do the actual work and it comes back and it kind of all comes into this one chat panel that you have this ongoing long long [music] thread uh long-term discussion with. Yeah, they prompt better than me, you know, like the agent knows a lot about the tool. So I can be very lazy with my prompts but it understands the context very well. So it can like you know turn my lazy prompts into better prompts you know so and they know how to talk to each other like I litally I cannot read this but it's like exactly the prompt that this guy needs at this current time to achieve the goal you know what I mean so [snorts] um yeah that's like that's mostly it um one of the other really cool thing is that you can switch the sub agents very easily you know like sometimes I'm using uh neon cuz neon came out and it's very good some for some things it uses neon and for some things it's using cloud and all of this is there's no code I just tell the agent okay in this case use neon in this case use if it's very complex and something like opus failed to solve or whatever it was stuck on bring in a neon advisor for example or you know bring in fable 5.2 to check security stuff. I just tell it like these things once saves it to memory. That's it. That's how it works. If um if I wanted to use my multiple machines, it can even do this. Like I don't I don't pick which machine to spin things on. It looks at RAM if it's on storage and things like that. If it sees like this machine is full, it's going to literally clone the repo somewhere else and like continue work there, you know? It like manages your life like you don't you just have like a very smart assistant, you know? You don't have to be the person like managing all of this work yourself. And like it's completely free. Uh these days I'm doing uh where is it in the browser here? Uh not issues. So I'm getting way more issues these days. I don't know why. I I literally zero zero my issues every day. [laughter] Like you see this 50, they're going to be they're going to be zero by the end of the day because of the coordinator because uh of the triage skill that I'm going to show you now. You get 50 a day. Is it ready? Wow. Uh I believe I believe started happening like since a week. Um more people came in. So I'm getting way more issues now. Um, yeah. One thing for anyone creating any tool that has to do anything to do with agents, you must have this. Just an aside. I'm really sorry for jumping around so much, guys. It's fine. And [clears throat] this is awesome. Yeah, you have to have this. Uh, you just people will write the feedback whatever they they saw. Okay. And then you say collect more data with an agent and they click start agent as well like collect all the data from VPC and send it to your uh GitHub issues directly. Yeah. Yeah. the the the reports I get are really awesome uh on the because of this. Yeah. So, every day or twice a day, I'm doing a release. I don't care if you if you think it's too many releases, just don't click this button. [laughter] Just just don't click it. Up to you. Just don't click it. Click it whenever you want. I'm like not forcing anyone to update. I just want to update because if someone new comes in, like I don't want them to have the experience that like broken in a certain way or whatever. I don't want to like you know and anyways like whenever there is an issue with one of my updates even after the smokes that I run and all the tests and I only do E2 tests by the way I don't do any um really like actual unit testing. Yeah. Wow. Maybe this this is another thing we can jump to. There's so many like web of topics. Yeah. I don't believe in unit anymore honestly. Unit integration all these kind of like I'm over it component they they're they're not not needed. Um yeah. So uh this is one release. This is the second one in the same day 26. You see like this one is the these two are in the same day. All of these and then all of these. You see how how big these are and every one of them is one day of work because of the triage skill. I really hope it finished. Yeah. Here uh issues and PRs. You see it just gives me this. Mhm. And you with this I can like look at all of the issues and decide on each one you know like it usually gives me like a very awesome recommendation for each one. Mhm. So this really helps like this is the flywheel. Mhm. I'm in the loop. I'm I'm in the loop. I tell it like, "Okay, for this one we want to do XY Z." I use Whisper Flow a lot. Me too. But generally this just brings in everything to one page. So I can just answer this page and go to sleep and then the next day like there's an update and everything's working because like the agents after they implement something, they do test it. You know what I mean? And and for some of these I don't let it implement if I see it's like okay this is a bit risky or I need to be involved in the UX more. So I tell it like um what is it? I just do live page. Okay, I just paste the live page uh prompt there and then I tell it okay let's uh uh look at options whatever I just can just say live page this is enough you know uh just to other none live page then go to the next one next one next one that's how I go through all of my issues like these 50 I'm going to finish them like today. Oh wow. And it's not super uh hard honestly. It's like uh maybe a few hours a day working on Ghost, but it's like improving at much um faster rate since I added this. The only thing is you like really need to have the extensions part, you know, because like people are going to say the app is bloated or whatever if you don't have this. Where is this? Sorry. Uh there's a bug here, right? So, so um yeah, extensions and you see like uh if you if you split things into extensions and people can disable things, they don't complain too much and like when you start the app, it's pretty minimal. I don't have much there like added by default. But if you if you like for example you want to have like an extension that uh I don't know opens your story book in the sidebar. It's nice to have you know like people enjoy this but not everyone uses story book. So you can just okay turn it off so you don't have to worry about it. That's the part that you I think if you want to do an AD and give it to people u yeah I think extensions must have and they don't all have to be like real extensions. They're like builtin toggles that when you click it it just disables the feature completely takes out of all of the menus. That's it. That's what an extension is to me. It doesn't even even need to be like an extension by a user. You know what I mean? It's like a uh first party extension that just lets you add features without bothering people. That's the main idea. Uh yeah, that's mainly it man. I spoke enough. I'm really sorry for um No, this is I mean I mean we could talk. There's so many things to go deep on here. Uh I don't know whether I mean I don't know where to go from this one to be honest, but I mean I just want to say that there's so many things in there that I agree with you like 100%. Like um the thing that you were talking about being the fundamentals in there is like exactly what I kind of like same conclusion I came to with Fredbear. uh you know the the like the memory, the threads, the way that they can talk to each other. Um like that stuff is just like so critical. Also allowing your users to be able to customize it. And we've gone about it in different ways. You've gone through extensions. I've gone through forking. I'm not 100% sure whether my way is any good. Your way is more traditional like having extensions and stuff that inside of it. Um yeah, but but I think we we agree on like the fundamentals. We just gone about it in different ways which is amazing. like it's like it's like this is the time to be experimenting on all this stuff and and the cost of doing it is so low so why not you know 100% uh yeah you can have both by the way like instead of forking maybe like some people would fork and I have a a ton of people forking ghostex still like uh you see it's like 144 forks there are forks but I feel like that's the maximum level because like okay you need to keep you need to keep pace with me which is like literally impossible like you're going to be yeah agreed you know it's very hard because Even with you, like now when you when you add coordinates, you're going to see you're going to fly. Like I'm I'm honestly it was like I don't know how much X I got from it, but I feel it. Like I used to do a release every 3 days. I do a release every day or multiple a day now. And all of them are pretty good quality. Like I'm I'm getting bugs here and there 100% but not in the not in the happy path, you know. I get bugs like because uh people have like their own extensions enabled and like different things like that. But um yeah, so I I feel like extensions in the app are very useful just to prevent it from feeling bloated. You know what I mean? Like cuz like when I start the app, I don't want to see like your for example librarian. Even the librarian you can disable it with a with an extension, you know, just like hide the whole feature. Maybe someone doesn't want it. I don't know. It's like it just depends on how ACA you want to go like you know how what's his name? VH says like uh you can either go like full like I'm going to give you the experience. It's very created. This is what you're going to get. or if you want to go like more like VS Code which is like okay do what you want but within the parameters that I set more Android like maybe yeah I think for me um like I'm being selfish with threadbear I kind of made it not really expecting anybody else to use it and so the the model of extension that I went for is is forking so everybody makes cop forks their own version of threadbear mainly because that means that I don't have to worry about maintaining an open source project and then worrying about issues and pull requests and all that kind of [Â __Â ] If you want to change something in threadbear, you just change it. It's your own version. And then I will just watch you. I will just watch the other threads for interesting things that that crop up in multiple places. I'm like, okay, well, 15 other people have just fixed the same thing. So therefore, I should probably pull that into my version so that new people get it. And so that was kind of like my my motivation. But also it means that like I personally am much more on the side of like um not bloating like if there is something that I'm no longer using I'm just going to I'm just going to take it out. I'm going to get rid of it. Or if somebody wants Okay. So you're not going for mass adoption. You're going for more like your app that if you want you can use but it's like because like if you want like if you want thousands of users you cannot take features out that easily. You know what I mean? like you have to move it to labs and stuff like that. You have to put it under extension and then tell people who are using it to Yeah. So that's there's like completely two separate paths here and also like the forks is very hard to keep up you know like with aentic dev maybe forks used to work before but now like you can completely like shift the whole app from I don't know electron to GPUi like how can you expect people to keep up with your like spend their tokens like they're going to just create 100% and this is something I'm worried about is as well is the compute cost as well for people they have to download and then rebuild um every single time I make a change. So, I've limited it to once a day, a release once a day, and they pull they they optionally pull in any changes and then if if it conflicts with any of their changes, then they they then just have a discussion with their agent to whether that's going to conflict with them. Um, it's kind of limiting to you too, like you can't do these these like refactors, you know what I mean? Like, okay, I want to change this from working this way to that way. I can do it within a day because I don't have any forks really depending on me. I don't recommend 14. Like, if you want to fork, it's your own thing. I I I don't recommend it anywhere. True. It's MIT, so you can do it. But I'm not going to support you for I think you have to support it yourself. I think the only time I've really been worried about that is is the is the Swift to GPUi port. And I don't envision myself doing that too often. Like rewriting the entire thing and but even that like I'm just like that was a week ago and I'm already ready to just to delete the Swift version out of the app. You know what I mean? It's gone. So you have a week. It's like everything moving so fast. So So I don't think it's a big deal. any other features I add. If I add features or delete features, I don't really care. Like it's up to you. Like you can choose when you pull in my fork whether you want to keep that inside of your app or not. And if you like that feature, you keep it inside. It's it's it's that kind of way. But I think you're right. It's possible, but I don't honestly add hooks. Add add a repo. Call it call it for example Ted Bear extensions. Let people push to it. You can review their code using whatever. And then they can have their own, you know, like they can have all you need is just I think views on the right there, you know. Uh and the the one in the they can pin on the rail. If you have the rail, you can pin something on the rail. And when you click on it, it like expands to fill the whole screen. I think those are the two main ones, you know, cuz like views the one on the right views are like kind of like related to the project you're in patches while the one on the left is like more global. Yeah. Things like something like that. So yeah, in that case then uh people can Oh, you also have patches. I love the love the patches pills. I I I actually took that from you. I'll show you what I took from you cuz you're telling me about uh I took like these ones here. You see these these spills? I think I got this from you. Which ones? Not sure. Cuz I was wondering. Oh, those. Yes. Yeah. Yeah. Yeah. Yes. Yes. I got this idea from you to add them as pills here above the chat because I was like thinking where can I put I have certain things that change like sometimes they appear, sometimes they're not there, you know, depending on the thread. Um and I don't want them to be um this bugged cuz I want a dev one dev version. Um yeah. So, uh, sometime I want them to appear, sometime not, and like I don't want them to be in the user's face, you know, like a whole sidebar or whatever. So, I I just added this here. So, you can like, um, have different things appear here, but I didn't I didn't have an extension yet for it to like add your own patches here or patches. Yeah, that's very interesting. Patches in Threadbear work a little bit different. Um, it my idea was to kind of like I think I mentioned before in another thing is like to go like um, Unity. So, in Unity like I'm a game developer, right? In Unity, you you're very like heavily incentivized to customize your own IDE experience for when you're working on a project with widgets, right? You like you add widgets in different places. Yeah. So, um like patches are basically they're loaded depending upon the project or folder that your thread is working on. Like your threads can belong to multiple folders and then they will load little TypeScript files inside of there which effectively allows you to plug in um parts into here. To be honest, I personally I may well pull this patches thing out. Although that's the whole one of the whole point of threadbear is these patches. I may well pull it out because I don't use it a lot. The one that I do use a lot of is the the YouTube patch. Um, so I have like this YouTube patch that um I use for which this is like a little custom tool for like monitoring all the videos that come in and all the comments that come in and I keep an eye on them and ones the videos that I've created. I'll have a look at the comments and I say, "Okay, yeah, I can like that post or reply to it. I can ask the agent for it. Um, or I can just skip it." Okay. And so it's just it's like little tools that are baked into it. Again, this is kind of like what Claude and and everybody else is doing right now. They're kind of they're trying to like own the entire surface like of a computer. Basically, they're trying to build an operating system inside of this. And it's kind of like I'm just kind of scratching the surface of of that kind of concept. Um but but but I may well pull it out because I don't use hardly any other patches to be honest. But the idea is like yeah, you click on like threadbear. It's got like it's got a bunch of different thread bear patches that are specific to threadbear and different one has got different patches. Um and like you see the convex one is like um a convex dashboard built straight in. So any project that's got convex on it will autom because it's using convex it will automatically pull in the convex um uh patch. Um, but like I want to just quickly show I love the patches. You you should keep it maybe like like like like it's just depends depends if if this is your own tool that's something but if you're like you want some people to use it then patches like gives them the ability to like see the the the stuff they care about you know on the sidebar like without having to open their browser. I think the beauty of of this is if if before I delete it, I would have a look on other other forks. If nobody has made any kind of custom patches or any kind of changes to patches, I'd be like probably nobody's using this. Again, I haven't got any telemetry, so maybe I need to do what Theo does and add lots of telemetry, but like I haven't got any telemetry, so I don't know really for sure. I could probably ask people. I could say like I'm planning on deleting this, so does anybody use it? Does anybody care? If not, it's gone. You know what I mean? I'm so I'm I'm a lot smaller than you. I think I've got I don't know 280 odd forks and you've got thousands of stars, way more than I have. So, um you're No, way way less forks though. You're like recommending forks. So, 280 forks is a lot. Exactly. Exactly. So, probably like I'm going to get an email from GitHub at some point saying you got a really unusual kind of pattern. Um uh yeah, but I just want to quickly show you before we run out of time here because um it's getting quite late. Yeah. Uh I just want to quickly show you like this experimental coordinators thing and just kind of the heart of this conversation between me and you this discussion. So I only just started doing this today really but the idea being obviously is you have these coordinators that work very similar um to coordinators in GOEX or other places is you have a coordinator per project and it sits above um it sits above your work streams and kind of looks after things for you. To me though, yeah, I'm I'm not sure. I'm still not sure like to me. Okay. So, to me, like you said before, is this chat stuff probably don't ever need to read it. It to me is almost like an event stream like I don't know whether you've heard of event sourcing or something like that or like or like like a database where you have like the write ahead log of just like all the things that happened and then your database is effectively just the materialized view of that. So the chat is effectively just like a a stream of things that happened and then the idea being on the right hand side this becoming your materialized view of the project and this changes over time. Um, that's the idea. And then also I've added this thing called loops which I'm still experimenting with which I don't like. But the idea when you ask a question in here or another thread that it's watching it um it keeps track of that piece of work that you asked for and then you once you've it allows me to confirm that that actually got done. So this is the big thing this is the big thing that I have with coordinators that I still don't see how you've solved. Maybe you can tell me in a second. Is that how do you keep track of a piece of work that you've asked for and making it so that it doesn't get lost? So, I saw that you have, you know, at the bottom of your PM, your coordinator, you have lots of these things and it's asking you for decisions on things. When you look at that, how do you go, oh yeah, that's related to that thing or that's related to that thing? How do you keep that context in your head? or like if you ask it to do something like a day ago and then you've done like 10 other things, 20 other things, 50 other things since then, how do you keep track of whether that actually got done or happened or actioned on? Um that's kind of like my biggest biggest thing is like when you I see it in the change log. If it's done, it's in the change log. That's but you could forget about it. I did the change log. This is what I mean. This is what I mean like like you can say that's the thing like you have the agent right jump in but you have the agent she just said it remind me what did we start what didn't complete just it's like literally you're trying to solve a UX problem that is very easy to solve with it like for examp remember remember um there were so many things like this that we used to have like for example tracking your food your diet you used to take pictures and you had to input the calories manually all of it got solved by agents you just say to the agent okay I ate this and this add it to thing, you know, I ate half a pizza, add it to my that it's like 10 times better than actually having a UI or UX that you need to turn you need to learn and each app has a different one with a different learning curve and a different like fields, you know? I feel like you're trying you're kind of like going towards adding like UI for it to remember what I worked on with you but we didn't finish or whatever. But you can just sell it. Remind what did we not finish? Give me a give me a live page of the things we didn't finish that we should action on. And it'll give you this. Yeah, I I hear I hear what you're saying and and and very much is like a UI UX kind of question and but I'm kind of flipping it on on its head here is like I know if if I just stick with threads, if I ignore coordinators as a feature that I'm experimenting with, if I just stick with I know what's currently waiting for me because it sits in the inbox or like it's in a running section which is not here because I've got nothing running right now. Um, but like then I know that that's in progress and I can never lose track of that piece of work because it's always here and if it if I archive it then it's gone. It's done. You know what I mean? Like it's it's like the context for this piece of work or this question or this task that I gave it is here inside this thread. This is the record of that task. Now coordinators for me sit in a space where you want like grock. We want proactive behavior or yeah pro proactive being the the the main one or you want something to just to watch over your activities and making sure that you aren't forgetting about something else. Now each one of these threads like it always knows about everything else. The first thing it does is usually it it wakes up and it looks through the archive of like past threads. Like I have this other thing baked into called agent archive where all your threads, all your context, all your tools are you archive off to somewhere and then you provide like an MCP into it and then it just pulls the context in and so so effectively that's the memory. Um, so I I think that to me this makes more sense and and coordinators should just be playing like sweeper and they should just be watching everything and proactively doing stuff for you where and threads should be like the context of all like the each specific task you once you finish with that task you archive it and then it's done it goes out of here. Thoughts? Yeah, we're it's basic I'm doing the same thing like can I show you? I'm really sorry. Uh you just need to look at it with fresh eyes maybe. I don't know like look at it a few times you'll get it. It's basically the the things that you know how I solved this. I I completely understand what you're talking about. It's like maybe they talk about something in the chat and it like passes me and I didn't notice it and then it's like it's gone like like the agent didn't notify me about this thing that it did. Or the other part is the is something completed. If something is completed, you know what I mean? It's like it's not I'm not going to have something here about it. If something is still undergoing work and it needs me, it's going to have something here. I literally never had the never had the case that I prompted for something and it didn't get done, you know, or it didn't send me the pro the the needs you about it, the ping about it. So if I have a ping about something, this is one of those threads that you have in the sidebar, but instead of having it in the sidebar, I'm getting this cur curated by the agent and it sends me. So this is this is what I was thinking. This is what I'm coming to is like this is the thread. This is the threads. These are the threads. Like each one of these is a thread is a thread. This is a thread. This is a thread. But instead of having the threads like in the sidebar and I have to like manage them. The agent manage them for me and gives me like for each thread there is like only a certain thing that I need to do. I need to know the details about this. you know, I can read this and then like click on the but to me the option that I want to select from these. But to me, I find that more annoying. That's more like management you have to do because when you want to start a new piece of work, you have to go, okay, oh, this is a threadbear piece of work. Okay, I have to find the threadbear coordinator, open that and then and then type the message into there. Whereas I just right now I just go control N and then I just paste a screenshot. I ask the question and it just knows what I'm talking about because it do you know what I mean? Yeah. You don't have to select a project. You don't I get you. No, but but but but the the when you imagine you have to do a follow-up on one of those and you want to send another prompt about one of those. You you need to read what's going on, right? And then you need to send it um you need to find it in your sidebar. There's like a bunch of threads. I I I I'm like a thread aol. Okay. I had like as I told you I had like hundreds of threads in my sidebar at times because I'm building alone and I I believe I'm matching like something like Orca or T3 in terms of features because I'm like like machine gunning prompts. Okay. So if you if you're like not machine guning prompts you're like okay working on things like very slowly methodically like going one by one and building stuff. It's fine. I mean you can you can completely work with threads. it'll just limit you in terms of the number of projects you can work on because you have to keep in mind like okay I have um you can only spin up a certain number of threads the the part that really is hard again is follow up. So, okay, spinning up threads is easy, but but you often have to test the what the the thread did. You have to test it and then come back to the thread and tell it that XY Z I don't like this, you know. So, imagine like the thread tells you this is done. Go check it. Okay. And you go check it or whatever. Um, you don't find an issue with it. Then after a while, you check it again and you see an issue in this thing. So you can actually go prompt in a new thread or and like tell it explain to it exactly the feature that you're talking about and all that and paste a screenshot or you can go back to the thread that already has context and you tell it okay the thing you did here is broken and just paste a quick screenshot and it will understand you know. So that's the difference between like spinning up a new thread means you have to like explain from scratch. If you even if you have the demo uh the the the memory you still have to explain to it exactly what what part of the app you're talking about. But if you like use the same thread, if you re you reuse the thread, you're like saving on the reexlanation part, you know. So I used to always try to go to the thread that was working on something and prompt there. But that means that I have like so many work streams at the same time and I have to go back to the And the problem also is like imagine if you have one of those and you let it go stale like you kind of like leave it for a while and it like it goes lower and lower in your snoozed or your part sessions area or whatever and then later you want to come back to it and you like you can't remember did I finish the work here or not and do I need this thread or not. So every thread you have to ask it did we finish our work did we finish our work did we finish our work you know but if you have everything in one thread you don't have this issue anymore because if something is finished it's not here it's not in your needs you you know what I mean it's somewhere in the what's it called it's it's in done it's in finished today but you don't care about finished today you don't have to read finished today you don't have to read later you don't have to wait this is just memory for the agent to figure out you just ask a question it will pull up stuff from you know but but generally like as humans you know how like um uh you always when you read Twitter or whatever you don't remember the specific name of a tool. you just bookmark it and later when you want to come back to it you 100% always remember that okay I saw a tool in the past let's say like even in the past 6 months or something I saw a tool that does X this you never lose it like uh I said this to someone like you know what I mean like this part of our brain is very good it's like fuzzy but it's very good like you remember okay what you shared and what you didn't share you kind of like remember this so that's how when you work with these agents you kind of remember okay I told the ghost X coordinator something you know what I mean what did I tell you about X it will tell you it will surface it to you and then you say, "Okay, let's continue with this. Let's do a live page. Uh, explain to me uh where we at now update it to the latest um product uh like codebase uh kind of kind of, you know, how the codebase is right now." So, that's how I work with it. Like I know that I prompted something, you know, and I'm prompting like as I told you like some machine gun, I'm prompting all the time all like prompting about completely unrelated uh aspects of the product into one thread. And this way ah one one of the things again is that whenever a prompt is related to something that I worked on recently it will go and wake up that thread and send it to it automatically. So I don't need to have to worry about that too. You know it's like honestly it's similar to your librarian concept but it's like in agent form that you can talk to. That's the difference. Like it's like your librarian. Exactly. I I love the librarian idea. But instead of having librarian being something on the side that runs in the background that I can't talk to. Imagine like instead it's like the actual agent you talk to is the librarian. You know what I mean? It's like merged into one. Yeah. And it's all about live pages honestly. Like it's either give me a ping. It's like h half the time or like give me a ping uh about choices. A ping is like this one that I told you about like the inbox. Yeah. Yeah. This here are ping or I tell give me a live page. So I just do live page or I can just say live page now. It knows what life page is. Anyways, so I just do a live page and it like gives me a live page and I can like open the live page and see what are the open issues or I can open a live page and look at uh uh different things like how how things work whatever and answer you know so kind of like nothing gets lost because it's always surfacing things back to me and if I answer all of these here I know 100% I did all of the things that I intended to do with this agent you know what I mean so yeah honestly you just have to uh have live pages implemented and use it all the time just spam live pages give me live page for this give me live page for that it's it's not that expensive to do live pages and it makes working on an AD or this kind of like visual tool if you're working at CLI maybe it's like not as useful I'm not sure but if you're working at an AD on an AD just seeing visually what what it wants to implement and then the thing I really love about Opus and Neon whenever you tell it like implement this option it really implements exactly how it's shown in the in the you know the live page unlike like previous metals like soul or whatever you tell it like implement this it like kind of tries to but it like never does it exactly how it was showing it to you. So this part is sold. So I'm like making really good use of it by like always like seeing visually and then improving seeing visually and then like making a choice then. Yeah. So it's all about life pages. Honestly once you get live pages down box it will be very I think we're almost out of time but I just want to quickly quickly show you. So I do have like something equivalent something equival equivalent of it. I'm not sure whether you've um used thread lately but it has I've used a while ago. Yeah. Yeah. Um I I like it's very um I I love the threadbear theme. The bear theme you're calling them loops by the way. Loops is kind of like an overloaded term because like loops means um it's called I don't know if you saw you've seen it before like linear. They have loops. Loops means like something that automatically activates an agent based on a certain um uh let's say web hook for example like you have a web hook on your customer issues and automatically whenever you get an issue it like goes and tries to create a PR for it. That's a loop. So I think you're using loop is a bit different like I call them work. Uh, I'm not using I'm not loops. I'm not sure what part of loops you mean. Um, the ones you saw me there like like work loops or something like that. If you open the coordinator on the right, it says loops. Oh, here. Yeah. Yeah. Yeah. Yeah. No, I this Yeah, open loops. Ignore that. This is very very I know. I don't like it. I don't like it. This was just today like an agent picked that name. I didn't like it. But yeah, I'm not I'm not going to go there. I just wanted to show you um like so I I do make this is very heavily encouraged like this which is like I call them comparison windows. So whenever like you when I'm asking about something, you know, give me some options, it always does like one of these things. And so this is like a comparison. And I and I render it on like a canvas like this because this is kind of like how I my brain works a little bit more. And you can kind of zoom in and see how and it works. And this can be like a video, it can be audio, it can be whatever. And then the model can um add annotations. It hasn't done any here, but it can just draw like little arrows and pointing at things. So it's more like um Fig Jam or Figma or something like that. It's more like a design kind of space. It's kind of like what I was going for. And you can kind of like you can kind of draw things on it as well which have not actually used but then you pick one of the options and oh you can't do it because it's already been um this piece of work is Oh yeah, this one. Yeah, it's already been decided. But um that's the idea anyway. So so I kind of have the same sort of sort of thing inside of it. Yes. Yes. Yes. It's just that live page does not even have to be about choices. It can be just an explanation, like a splash report, you know what I mean? And then at the end, you tell it what you want to do about something. It's like kind of like uh just an HTML that's like free for the agent to do whatever it wants in just to surface information to you in the pings area so that like you won't you won't lose it. And it's like yeah uh and the thing that um honestly I don't know about the canvas part because of the phone. I use my phone way too much. Like um that's why I like live pages. I did them in certain way because they're responsive like they appear on my fold exact like very well. So I can like do my all of my PES while I'm in bed before I go to sleep and then when when I wake up I see the releases out, you know. Yeah, you you may you might be right there with with a phone. Um I have been doing quite a bit on my phone, but I generally don't do like the designing part on my phone on my phone. I tend to leave that for when I need a bigger screen anyway cuz I find it really annoying and fiddly to trying to like zoom in. Oh, folds. A folding phone. Yeah. Okay. You need you need one. Yeah, I do. I do. I do need one of those. Yeah, I've got still old school um iPhone. I actually have like this um prototype um like operating system that I'm building on Android. So an entire imagine like an operating system where it's literally just an agentic thing and every single application you can swipe down and it flips down to a chat window, an aentic chat window. So you can just edit an application like as it's going. I'm doing something similar. I have to show you. Maybe that's that's a I'm doing another time. Maybe another call. Another call. Oh, but but mine mine mine is like kind of close to your kids kids one too. Let's build it. The one you have where I I love that one. Yeah. What's it called? Sorry. I forgot the name. Let's build it. Yeah, let's build it. I have I have one called Kiwi Make, which is like you prompt the agent from your phone and like builds the apps and reloads them as you are working on it. So, I believe yours is more focused on iOS, but I'm focused on Android. So, like on Android, you can literally like build any APK that you want and send it to your phone and install it. So, I was using this like I built a ton of apps now on my phone like that are personal to me and I give my um I give the QR to my family so they can build their own personal apps or they can fork my apps but it's all very uh simple for them. They just like, "Okay, clone this app. I want to change this XY Z." They can even shake the phone and then like speak to it. Change this button. I don't like it. Like add this button, whatever. And then it's like send this to the agent. And while they're using the app, it like re reloads the app and they can like continue using it. And it has their update in there, you know, because it's like um the default template, let's say, is React Native. So when whenever it reloads, it's like gives you all of the JS changes, you know, because like React Native has hot reload. So yeah, it's very very interesting feel like like a personal Yeah, I think you know making your phone really personal. I'm thinking of getting rid of the iPhone just just because I want to be able to customize it more and iPhone is just so locked down and you can't get get a get a fold uh seven or a fold eight. Those are the best ones. The big one, not the small one. I don't like the small ones. Yeah, I might have to like very clunky small screen. This one has a like a nice normal screen and then you can open it to have like a full tablet. It's even bigger than the dual. So I love this phone so much. It's like the best piece of tech I I have in my life. I might I might well have to DM you and ask you recommendation. Get Samsung. Don't get anything else. Believe me. No, no. Samsung is the best. Honestly, their OS, their software, their support, they're they're the best. I tried all of them. Fantastic. Samsung is the best one. All right. Thank you very much, sir. Um really great to talk to you and we should definitely stay in touch [music] and talk again soon because you have got so many ideas and so many cool projects that you're working on. Yeah. Yeah. Same, man. You you're like really I love I love thread. like the I don't know. It's like very very uh I feel like it's so polished like like mine is like a like a like a like throw everything in the you know in the mixer and whatever you get like I was kind of like going that direction but I I love how turd bear is very like okay this is how you do this this is how you do this this how and it's very clear for the user like I have the issue of too many features like like it's very hard to service things to users you know but yeah it's like VS code like VS code you can like get an extension I'm trying to do that I think I think that is that is that is like to end on a philosophical note is Now that we have the power of AI and we can build anything we [music] want, we got this magic genie. Our question is now not what to build, it's what not to build. Yeah. Yeah. Definitely. Definitely agree. Okay. All right. Thank you very much, mate. Speak to you soon. Cheers. Bye. Thank you. Speak to you soon. Bye. Bye. Bye.
I've been building Threadbear for a few weeks now, and Ghostex has been a massive inspiration for it. So I finally got to sit down with its creator, Mohamad Yahia, who goes by maddada online (and Yahia to pretty much everyone, it's his dad's name).
There was one big question I wanted to pick his brain on, which is coordinators versus threads (I posted some half-baked thoughts on it a little while back). Do you talk to your coding agents in lots of separate threads, one per piece of work, or do you talk to one coordinator agent per project that hands the work out for you? I'm still confused to some degree about which way Threadbear should go, and Yahia is all in on coordinators, so it was a great chance to hear the other side properly.
It's a long chat and we jump around a fair bit, so these are the bits I keep coming back to. I've tidied the ums and ahs out of his quotes, but the words are his. Let's take a look.
0:00 / 0:00
There are a LOT of these apps
I'll admit I thought I was a genius coming up with Threadbear, and then I saw Ghostex and realised this guy had done it ten times better. Yahia was quick to set me straight:
There's literally 5,000 or more of these ADEs.
(ADE being an agentic development environment, the new name for apps like these.) He's been at it for well over a year, through a lot of failed versions along the way, and he builds Ghostex using Ghostex itself. He prompts the agents while they work on the app, it reloads itself and he sees the change straight away:
I haven't seen a shorter dev feedback loop than what I have with Ghostex. You're actually using the tool as you're testing it as you are prompting.
The Ghostex repo on GitHub: MIT licensed, "Fully Rust & GPUI based", 1.8k stars and 144 forks
By the way, the Ghostex website has an interactive version of the app right there on the page, which I absolutely love. When I asked if I could steal that idea for Threadbear his answer was "Man, steal whatever you want. It's MIT." He copied it from Kimi in the first place. As he put it, "nothing's original anymore."
Why not just threads?
Yahia opened his screen share with a little presentation his agent had made from his tweets and his README. The alternative to coordinators, he says, is "like a thousand threads" in your sidebar, where you don't know which chat has what. I jumped in with the obvious answer, that you can snooze, sleep or archive them, and he had that covered too. Ghostex has all of that, plus tags. His answer: it doesn't work.
All of us have this downloads folder that has a million things, and you never organise it. That's basically your threads.
With agents we're all jumping between things, he says, and organising is the most boring part, so nobody does it. He had two other problems with threads. Every thread hands you a wall of text at the end, and you become the router, working out which thread to send each prompt to because it already has the context. And sending a prompt to the wrong thread is the worst part, he says.
A slide from Yahia's presentation: "One PM Per Project. Peace of Mind.", showing the Ghostex sidebar with one coordinator row per project
So instead he has a main hub (a chief of staff) and one coordinator per project, marked with a little crown. You talk to the coordinator and it spins up the worker threads, which then settle out of sight. One coordinator he's been running for close to two months has around 2,100 threads under it. Before that he was opening 50 or more threads a day by hand.
All of his agents work on main too, and as separate threads they'd step on each other's toes because they didn't know about each other. Now the coordinator tells one to wait for another to finish, or sends a conflicting prompt to the agent that's already working on that area:
Now I don't even need to do worktrees.
And if he sends a prompt to the wrong coordinator, it knows, and forwards it to the right one (or up to the chief of staff) by itself.
He only looks at pings and blocked
The coordinator keeps a very basic Linear-style board for itself of what's in progress, done, waiting or blocked. Yahia ignores almost all of it:
I just look at pings and blocked. This is what I care about.
A slide titled "Stop Reading Chat Logs. Work From Your Inbox.", showing an inbox of pings, blocked items and work in progress above the chat box
He doesn't read the chat either:
Every time it puts any useful information in the chat, I tell it, let's edit the playbook so that you never send me something like this in the chat again.
His comparison was being the CEO of a company: you don't want to go and talk to each individual contributor, you just want to know what needs you.
"Show me a live page first"
A live page is just an HTML page, but the agent is taught to use it to ask you questions as visual choices. His example was a shared budgets feature in a demo app, where the agent came back with three invite designs (copy a link, invite by email, scan a code in person), each with a Pick button. There's always a box at the end to type your own notes too.
A slide titled "Pick Upfront. Never Debug Ugly UI Later.", zoomed in on a live page with three invite designs for a shared budget, each with a Pick button
He scrolls through, picks, picks, picks, and that's it. And he never lets the agent implement anything until he's seen it this way first:
Always hold the leash on the agent. Don't let them implement anything unless they show you first how they're going to implement it and give you the options, and then you pick, and you confirm.
0:00 / 0:00
That's how he's happy that Ghostex is completely agent-developed, even though he doesn't look at the code: "It's not slop." For him the part that really needs a human is taste, because "they don't understand how humans use software. They sometimes put buttons in weird places." His agents build the pages from a template rather than from scratch, which saves a lot of tokens, and each one shows which option is recommended. I actually stole that word for Threadbear. It used to say "my pick", and "recommended" is better.
The last slide of Yahia's presentation: "Be Human-in-the-Loop Only Where Your Taste Matters", with three rules: create 1 PM per project, demand live pages, live out of the inbox
The coordinator is just a messenger
The coordinator gets better the more you use it, because of its memory. He called it "AGENTS.md on steroids":
There are things that the agent learns when it's your coordinator for like two months. It becomes like you, but in AI form.
A slide titled "Why Coordinator Memory Beats Stuffing AGENTS.md", comparing shared instructions sent to every worker with a coordinator that passes each worker only what it needs
Ghostex also has what he calls boosts, little reusable snippets you can save from any prompt and expand again later. They're like skills, but "skills are kind of a pain to manage across different agents".
And he says the coordinator itself is pretty simple:
The coordinator is nothing special. It's just a messenger.
It never blocks (he says you should replace any tool that stops the agent to ask you a question with your own), and it's never thinking about implementing anything itself. What makes it work is a handful of building blocks: an inbox and messaging so agents can talk to each other, a CLI so they can read each other's status and their last few messages (just the user messages and the turn-ending ones, never the tool calls), plus the playbook and the memory.
Because every prompt goes through that layer, he can be very lazy with them and the coordinator turns them into better prompts for the workers.
A slide titled "Your PM Prompts Workers 10x Better Than You", showing a coordinator handing a release brief out to worker threads
Switching models is the same, with no code involved. He just tells the coordinator once and it saves it to memory: use Neon for this, bring in a Neon advisor if Opus gets stuck on something complex, bring in Fable 5.2 to check security stuff. It'll even pick which of his machines to run things on, based on RAM and storage.
I literally zero my issues every day. You see this 50, they're going to be zero by the end of the day because of the coordinator, because of the triage skill.
The open issues list on the maddada/Ghostex GitHub repo, most of them tagged feedback
A lot of those come in through the app itself. Users write their feedback and can click a button to have an agent collect more data from their machine, which goes straight to GitHub issues. Then his triage skill pulls all the issues and PRs into one page with a recommendation for each one. He goes through it and decides, using Wispr Flow to talk rather than type, and anything risky, or where he wants more say in the UX, gets a live page first.
This just brings in everything to one page. So I can just answer this page and go to sleep.
He releases every day, sometimes twice, where he used to release every three days, and he says it's only a few hours a day of work.
The GitHub release notes for Ghostex 12.3.0, covering coordinators, live pages, tools and extensions
The bit that made me go "wow" was the testing:
I only do E2E tests, by the way. I don't believe in unit anymore. Honestly, unit, integration, all of these, I'm over it.
Extensions vs forking
This is where we've gone about the same problem in really different ways. Ghostex has extensions: a repo where the community adds their own (seven of them when we spoke), plus a lot of first-party ones, including a full VS Code built right in. Most of them are toggles, and that's the point:
They're built-in toggles that when you click it, it just disables the feature, completely takes it out of all of the menus. That's what an extension is to me.
0:00 / 0:00
That way people can turn off what they don't use and the app doesn't feel bloated. He framed it as how omakase you want to go: either "I'm going to give you the experience", or VS Code's "do what you want".
Threadbear goes the other way. To be totally honest I'm being a bit selfish with it, I made it not really expecting anybody else to use it. So instead of extensions, everyone forks their own copy and changes whatever they like, which means I don't have to maintain an open source project with all the issues and pull requests that come with it. I watch the forks, and if fifteen people have fixed the same thing I pull it into mine so new people get it. It also means I can just rip out anything I'm not using.
Yahia isn't a fan:
With agentic dev, maybe forks used to work before, but now you can completely shift the whole app from, I don't know, Electron to GPUI. How can you expect people to keep up?
He doesn't recommend forking at all, and reckons it limits me too, since I can't change how something works within a day with 280-odd forks depending on me. My answer was that I limit releases to once a day, people pull them in when they want, and if something clashes with their changes they just have a discussion with their agent about it. He did tell me he took the idea for Ghostex's pills above the chat box from Threadbear's patches though.
Patches are also how the Convex dashboard ends up inside Threadbear. Threadbear syncs through your own Convex deployment, and any project that uses Convex automatically gets a Convex patch with the dashboard built straight in.
The Convex dashboard open in a patch panel beside a Threadbear thread
My rebuttal
Then it was my turn to share my screen. Coordinators in Threadbear are still an experiment (I'd only really started on them that day), and the way I think about them is a bit like a database. The chat is the write-ahead log, a stream of everything that happened, and I don't think you ever need to read it. The panel on the right is the materialized view of the project, which changes over time.
Threadbear's experimental coordinator view: the conversation is a stream of coordinator updates, with open loops and the project brief on the right
My big sticking point with coordinators is this: if you ask for something, then do 10, 20, 50 other things, how do you know whether that first thing actually got done? Yahia's answer was that it's in the changelog, or failing that, just ask the agent:
Just tell it, remind me, what did we start? What didn't complete? It's like literally you're trying to solve a UX problem that is very easy to solve.
His comparison was diet tracking. We used to take photos and type the calories into an app, and now you just tell the agent "I ate half a pizza".
I'm still not sure. With threads, I know what's waiting for me because it sits in the inbox, and the thread is the record of that task. When it's done I archive it and it's gone. To me coordinators should be "playing like sweeper", watching over everything and doing things proactively, while threads stay the context for each task. And starting a new piece of work with a coordinator means finding the right coordinator first, where right now I just hit Ctrl+N, paste a screenshot and ask my question.
0:00 / 0:00
Me and Yahia on the call
Yahia called himself "a threadaholic", with hundreds of threads in his sidebar at times, and for him the hard part was always the follow-ups:
Every thread, you have to ask it: did we finish our work? Did we finish our work? Did we finish our work?
With a coordinator, anything finished just drops out of what needs you, and when a new prompt is related to something recent, it wakes that thread up and sends it there. As he said, it's "similar to your librarian concept" (the librarian in Threadbear reads your threads in the background and files them into projects), "but in agent form that you can talk to."
I also showed him the comparison canvas in Threadbear, where options from the agent go on a canvas you can zoom around, with videos, audio and arrows pointing at things, more like FigJam.
0:00 / 0:00
His point was that a live page doesn't even have to be about choices, it can just be an explanation. And he does almost everything from his phone, so his live pages are responsive. He makes his picks in bed before he goes to sleep, and when he wakes up the release is out.
Conclusion
So just to recap: Yahia runs one coordinator per project, only looks at pings and blocked, makes every UI change go through a live page first, and between a triage skill and E2E tests he gets his issue count to zero every day. Like I said in the chat, I think we agree on the fundamentals, like the memory and the way the agents talk to each other, we've just gone about it in different ways. I'm still not sure about coordinators versus threads though.
Me, mid-thought, at the end of the call
To end on a philosophical note: now that we have the power of AI and we can build anything we want, we've got this magic genie. Our question is now not what to build, it's what not to build.
Convex is the reactive backend platform that keeps up with you and your agents. Database, functions, workflow, sync, search, file storage, and more. All TypeScript, zero glue.