Meeting Title: Prompt Consolidation Discussion Date: 2025-10-27 Meeting participants: Samuel Roberts, Mustafa’s Loom Notetaker, Mustafa Raja
WEBVTT
1 00:01:22.760 ⇒ 00:01:23.280 Mustafa Raja: Hey.
2 00:01:23.280 ⇒ 00:01:23.990 Samuel Roberts: Hey.
3 00:01:25.510 ⇒ 00:01:28.079 Mustafa Raja: Okay, so let’s get started.
4 00:01:28.230 ⇒ 00:01:32.579 Mustafa Raja: So regarding, what’s it called?
5 00:01:33.020 ⇒ 00:01:34.700 Mustafa Raja: Client hubs,
6 00:01:34.700 ⇒ 00:01:35.450 Samuel Roberts: Yeah.
7 00:01:35.820 ⇒ 00:01:45.219 Mustafa Raja: I’d, I’d want to ask, what’s a good, implementation or a V1 that we would want to see,
8 00:01:45.720 ⇒ 00:01:54.470 Mustafa Raja: From what I understand, we want to have a generalized prompt, and then each client hub would have its own bits after that.
9 00:01:54.820 ⇒ 00:01:56.390 Samuel Roberts: That’s kind of what I’m… I’m…
10 00:01:56.500 ⇒ 00:02:03.569 Samuel Roberts: generally thinking, like, I don’t think we need… I don’t want us to be duplicating a ton of stuff every time we get a new client. Yeah, yeah.
11 00:02:03.680 ⇒ 00:02:07.660 Samuel Roberts: And so even though… even now, like, I’m looking at the Interlude Client Hub.
12 00:02:07.910 ⇒ 00:02:15.319 Samuel Roberts: And the system instructions for the agent. There’s not a ton in there, I thought there was more, to be honest, and maybe other.
13 00:02:15.320 ⇒ 00:02:16.400 Mustafa Raja: ones have more.
14 00:02:16.740 ⇒ 00:02:18.400 Samuel Roberts: But, like, there’s a couple things.
15 00:02:18.400 ⇒ 00:02:19.200 Mustafa Raja: I agree.
16 00:02:19.750 ⇒ 00:02:20.370 Samuel Roberts: Sorry?
17 00:02:20.750 ⇒ 00:02:23.250 Mustafa Raja: I think it’s pretty much the same thing for all of them.
18 00:02:23.250 ⇒ 00:02:28.960 Samuel Roberts: Okay, yeah, I see it’s got, like, some things that can be updated, like, the…
19 00:02:30.000 ⇒ 00:02:36.820 Samuel Roberts: Slack ID of the client hub, Slack member ID… there’s a couple things that I just think we need to, like, plan out.
20 00:02:37.190 ⇒ 00:02:42.049 Samuel Roberts: what’s gonna… Need to be input into them, you know?
21 00:02:48.590 ⇒ 00:02:51.860 Samuel Roberts: Yeah, there’s less here than I was thinking. I thought there was more stuff here, but let me…
22 00:02:57.440 ⇒ 00:03:03.050 Samuel Roberts: Yeah, I think we just need to make sure that they’re generic, and then what gets passed into them as arguments.
23 00:03:03.720 ⇒ 00:03:12.910 Mustafa Raja: Oh, yeah, so… For the arguments. You mean variables in the system prompt in Langfield, right?
24 00:03:13.900 ⇒ 00:03:20.720 Samuel Roberts: Yeah, exactly. So, like, I’m… here, let me… I mean, I can share my screen, but it’s… it’s pretty basic here.
25 00:03:24.820 ⇒ 00:03:26.680 Samuel Roberts: Let me… let’s see…
26 00:03:27.460 ⇒ 00:03:36.760 Samuel Roberts: Let me share this one. So, like, so this is just… I just opened up the Interlude client hub, went to the agent, right? Because everything else here is pretty much just code.
27 00:03:36.990 ⇒ 00:03:47.510 Samuel Roberts: That will be around the master agent, and then this is actually what will be implemented. And here, there’s only a few things that I think we probably need to update. You know, like, this is all pretty generic.
28 00:03:47.680 ⇒ 00:03:52.870 Samuel Roberts: This is all fine. You know, it has this Slack ID.
29 00:03:53.990 ⇒ 00:03:56.710 Mustafa Raja: That can be a variable or something.
30 00:03:56.710 ⇒ 00:04:00.060 Samuel Roberts: this as well, I think.
31 00:04:00.870 ⇒ 00:04:04.699 Samuel Roberts: And honestly, like, this stuff can probably start to get generated.
32 00:04:06.950 ⇒ 00:04:08.170 Mustafa Raja: Like, this is…
33 00:04:08.530 ⇒ 00:04:14.099 Samuel Roberts: This is Insomniac Cookies, for example, so that’s a whole other thing, like, you know what I mean? Like, there’s issues like that, where…
34 00:04:14.100 ⇒ 00:04:15.600 Mustafa Raja: Yeah, yeah, yeah.
35 00:04:15.600 ⇒ 00:04:17.829 Samuel Roberts: Basically, like, we want to make this…
36 00:04:18.230 ⇒ 00:04:22.380 Samuel Roberts: A generic thing that, like, will get filled in with
37 00:04:22.750 ⇒ 00:04:30.670 Samuel Roberts: just like the way the date gets filled in, like, the team can get filled in, the Slack ID can get filled in, this can get filled in, this can get filled in.
38 00:04:30.670 ⇒ 00:04:37.749 Mustafa Raja: Okay, so for the filling in thing, LangFuse does have, variables in it.
39 00:04:37.820 ⇒ 00:04:38.390 Samuel Roberts: Okay.
40 00:04:38.390 ⇒ 00:04:44.419 Mustafa Raja: Is that your idea of using those variables in the system prompt?
41 00:04:44.420 ⇒ 00:04:50.910 Samuel Roberts: Maybe? I… I don’t know between LangFuse and, like, what Mastra can do, you know what I mean? Like…
42 00:04:53.570 ⇒ 00:04:57.630 Samuel Roberts: I don’t… I don’t know where the best place for that is. That’s definitely something to explore, like…
43 00:04:57.630 ⇒ 00:05:17.600 Mustafa Raja: Yeah, for now, if we want to stay in an attend, we cannot have the variables in LangFuse. The reason is the… for once, the LangFuse node that we have does not allow us to play with variables at all.
44 00:05:18.080 ⇒ 00:05:24.510 Mustafa Raja: Okay. Although I feel using regular expressions, we can, replace some values and
45 00:05:24.790 ⇒ 00:05:29.760 Mustafa Raja: Still able… still… we should still be able to, use variables in some way.
46 00:05:29.830 ⇒ 00:05:31.070 Samuel Roberts: Sure.
47 00:05:31.070 ⇒ 00:05:35.639 Mustafa Raja: And the second thing is… let me share my screen, actually.
48 00:05:35.640 ⇒ 00:05:36.540 Samuel Roberts: Yeah, go for it.
49 00:05:38.850 ⇒ 00:05:39.640 Mustafa Raja: Okay.
50 00:05:42.440 ⇒ 00:05:46.359 Mustafa Raja: So, you see, we have the ability to do folders.
51 00:05:46.530 ⇒ 00:05:55.320 Mustafa Raja: Oh, great, that’s… Yeah, but the issue is, the API doesn’t let us, fetch if the thing is in user, if the thing is in folder.
52 00:05:56.690 ⇒ 00:06:00.280 Samuel Roberts: Oh, interesting. So we still have to have distinct names and everything?
53 00:06:01.200 ⇒ 00:06:03.549 Mustafa Raja: It has to be in rude.
54 00:06:03.710 ⇒ 00:06:04.740 Mustafa Raja: is the thing.
55 00:06:04.970 ⇒ 00:06:07.260 Samuel Roberts: You can’t even fetch from inside a folder?
56 00:06:07.260 ⇒ 00:06:15.210 Mustafa Raja: Yeah, and I think this is… this is an issue specifically with their API and the Nether node. I think that.
57 00:06:15.210 ⇒ 00:06:16.430 Samuel Roberts: Oh, okay.
58 00:06:16.430 ⇒ 00:06:18.600 Mustafa Raja: solution with the SDK.
59 00:06:18.810 ⇒ 00:06:25.030 Mustafa Raja: But the raw API and the node that we have right now, we cannot do this.
60 00:06:25.030 ⇒ 00:06:28.979 Samuel Roberts: Okay, okay, so that… but, like, for Moscow, if we’re gonna move the client hubs…
61 00:06:29.680 ⇒ 00:06:35.580 Mustafa Raja: Yeah, this should, this should then be good. If it isn’t going to live in, NHN at all.
62 00:06:35.580 ⇒ 00:06:51.729 Mustafa Raja: then we can have a client hub folder, and throw those system prompts in there, but right now we cannot, and this is something that I did spend quite a bit of time figuring out, because I wanted this to work, because
63 00:06:51.900 ⇒ 00:06:54.189 Mustafa Raja: Yeah, it’s a great way to, you know.
64 00:06:54.490 ⇒ 00:06:56.100 Samuel Roberts: Yeah, I agree.
65 00:06:56.100 ⇒ 00:07:02.129 Mustafa Raja: And this… this doesn’t work, and this works. So, yeah, that’s a…
66 00:07:02.660 ⇒ 00:07:07.229 Samuel Roberts: Yeah, I think I want to kind of focus on getting the client hubs out of N8N.
67 00:07:07.570 ⇒ 00:07:08.990 Samuel Roberts: Anyway…
68 00:07:08.990 ⇒ 00:07:10.120 Mustafa Raja: So I’m.
69 00:07:10.120 ⇒ 00:07:19.600 Samuel Roberts: I’m thinking we should figure out the best way to do that regardless, like, forget about updating them in N8N for now, and just think about, if we’re gonna move them to Mastra, what do we need in length use?
70 00:07:20.860 ⇒ 00:07:30.449 Mustafa Raja: Okay, if you want to do that, I guess then we would be also… we would also be using the LangFuse, what’s it called, SDK?
71 00:07:30.580 ⇒ 00:07:36.019 Mustafa Raja: We can then, do the variables within, landfuse.
72 00:07:36.780 ⇒ 00:07:44.469 Samuel Roberts: Yeah, I… let me… Master… I’m sure there’s a way to do it
73 00:07:44.840 ⇒ 00:07:46.550 Samuel Roberts: And I just don’t know what’s best there.
74 00:07:46.550 ⇒ 00:07:50.019 Mustafa Raja: So, also does this, prompting.
75 00:07:51.180 ⇒ 00:07:52.690 Samuel Roberts: From management thing?
76 00:07:52.690 ⇒ 00:07:53.580 Mustafa Raja: I’m asking.
77 00:07:53.580 ⇒ 00:07:54.670 Samuel Roberts: Oh, do they?
78 00:07:54.910 ⇒ 00:07:56.679 Mustafa Raja: I’m asking. I don’t know.
79 00:07:56.680 ⇒ 00:08:00.109 Samuel Roberts: Oh, oh, that I don’t know. I’m just wondering about, like, if we were to store them…
80 00:08:00.390 ⇒ 00:08:02.610 Samuel Roberts: You know, like,
81 00:08:04.500 ⇒ 00:08:07.770 Samuel Roberts: I don’t… I don’t think so. I think we probably want to make use of something…
82 00:08:09.090 ⇒ 00:08:14.129 Mustafa Raja: I think then, if you want the variables, we should, just let them live in landfuse them.
83 00:08:14.130 ⇒ 00:08:21.519 Samuel Roberts: Yeah, I think that’s probably true. So I think that’s where we want to make them as generic as possible, fill in the context when we call them.
84 00:08:21.520 ⇒ 00:08:22.200 Mustafa Raja: Yeah.
85 00:08:24.160 ⇒ 00:08:25.490 Mustafa Raja: Yeah, yeah, true.
86 00:08:26.150 ⇒ 00:08:35.370 Mustafa Raja: Because… because the agent will still be different agents, right, in Mastra. It’s not going to be the same agent used for all of the.
87 00:08:36.659 ⇒ 00:08:40.569 Samuel Roberts: I don’t know, I’m not sure the best way yet to do that, because I don’t want too many…
88 00:08:40.570 ⇒ 00:08:43.910 Mustafa Raja: Because each agent has its own tool, no?
89 00:08:46.450 ⇒ 00:08:48.300 Mustafa Raja: Wisdom… Yeah.
90 00:08:49.480 ⇒ 00:08:56.910 Mustafa Raja: Each agent has its own tools, so it’s going to be a lot of tools if you want to do this with one agent only, no?
91 00:08:57.460 ⇒ 00:09:01.609 Samuel Roberts: Well, do the tools need to be independent, or can they be…
92 00:09:03.870 ⇒ 00:09:04.360 Mustafa Raja: Yeah, that’s.
93 00:09:04.360 ⇒ 00:09:11.520 Samuel Roberts: No, I… Yeah, that’s… I’m just trying to think, like, how… how much duplication do we need, you know?
94 00:09:11.890 ⇒ 00:09:12.560 Mustafa Raja: Yeah.
95 00:09:13.360 ⇒ 00:09:21.490 Samuel Roberts: Can we say, like, Pass this name through, and it’ll always get to the right table, or… .
96 00:09:23.560 ⇒ 00:09:26.160 Mustafa Raja: Like, filtering or something on my creator.
97 00:09:26.640 ⇒ 00:09:32.219 Samuel Roberts: Yeah, I’m just wondering, like, you know, if we want to have one generic client hub that can take in…
98 00:09:32.440 ⇒ 00:09:36.479 Samuel Roberts: the name of the client, or the ID of the client, even better.
99 00:09:36.640 ⇒ 00:09:43.850 Samuel Roberts: That way, we’re only… maintaining… like, one code.
100 00:09:45.420 ⇒ 00:09:52.929 Samuel Roberts: glow, I just don’t know, because that might mean a little more… Yeah, so, like, those Zoom…
101 00:09:52.930 ⇒ 00:09:55.690 Mustafa Raja: We can, we can do that.
102 00:09:56.040 ⇒ 00:10:04.230 Samuel Roberts: Yeah, I think that’s… I think that’s the best thing to do, because most of this is… you know, we don’t want to have a tool for each client, because then we’re going to have to still create those every time.
103 00:10:04.790 ⇒ 00:10:05.510 Mustafa Raja: Yeah.
104 00:10:05.820 ⇒ 00:10:12.449 Samuel Roberts: I think we want to have a generic tool that takes an input, looks up something, and then does the right,
105 00:10:13.880 ⇒ 00:10:15.129 Samuel Roberts: does the right.
106 00:10:15.260 ⇒ 00:10:17.200 Samuel Roberts: Table with that, for example.
107 00:10:17.820 ⇒ 00:10:23.420 Mustafa Raja: Yeah, I guess, I guess for the… So we are getting tables, from here.
108 00:10:23.920 ⇒ 00:10:25.510 Mustafa Raja: Right.
109 00:10:25.620 ⇒ 00:10:31.999 Mustafa Raja: And then we also have query name, and I guess we can… we can populate… populate this stuff in this table.
110 00:10:32.690 ⇒ 00:10:34.740 Samuel Roberts: Yeah, I think we might just have to.
111 00:10:35.260 ⇒ 00:10:39.019 Mustafa Raja: This table is also being used in platform, so…
112 00:10:39.020 ⇒ 00:10:39.570 Samuel Roberts: Yeah.
113 00:10:39.700 ⇒ 00:10:42.109 Mustafa Raja: I think, I think it, it makes sense.
114 00:10:42.610 ⇒ 00:10:44.659 Samuel Roberts: Yeah, and there’s the Slack channel, and…
115 00:10:44.660 ⇒ 00:10:51.940 Mustafa Raja: Yeah, and also, also… yeah, yeah, and we can have our variables live in… live in here too, right?
116 00:10:52.050 ⇒ 00:10:53.890 Mustafa Raja: I think so, yeah.
117 00:10:54.490 ⇒ 00:10:55.590 Samuel Roberts: That’s my thought.
118 00:10:57.850 ⇒ 00:11:07.189 Mustafa Raja: So, what do you think? Should I, should I start, start, with a generalized prompt, or should I just leave it for now?
119 00:11:07.910 ⇒ 00:11:13.849 Samuel Roberts: I kind of want to start building out a test client hub, maybe, and then we can start adding the prompts.
120 00:11:14.330 ⇒ 00:11:15.350 Mustafa Raja: Okay, yeah.
121 00:11:15.350 ⇒ 00:11:16.080 Samuel Roberts: we need.
122 00:11:16.690 ⇒ 00:11:29.910 Samuel Roberts: So, yeah, I think if it’s gonna be an NA then, it’s gonna have to be the same. I don’t really want to… I don’t think it’s worth the effort of you to go in and copy each one, so… I think that’s fine for now, and then as we start to build up the Mastra Client Hub, we’ll start using LangFuse for that.
123 00:11:29.910 ⇒ 00:11:31.630 Mustafa Raja: Yeah, yeah, that makes sense, that makes sense.
124 00:11:31.630 ⇒ 00:11:32.330 Samuel Roberts: Okay.
125 00:11:32.640 ⇒ 00:11:35.680 Mustafa Raja: Okay, and…
126 00:11:35.940 ⇒ 00:11:47.380 Mustafa Raja: Yeah, I guess then, other than, what’s it called? Client hubs, I, I’ll continue working on consolidating them. It’s just that, what’s happened is…
127 00:11:47.860 ⇒ 00:12:04.200 Mustafa Raja: And it has updated, and as I’m going through these prompts, I’m also testing the workflow if it’s working fine or not. And the code nodes that were in Python aren’t working anymore.
128 00:12:04.370 ⇒ 00:12:07.849 Mustafa Raja: So I’m just updating those also, so it’s taking some time.
129 00:12:09.090 ⇒ 00:12:09.800 Samuel Roberts: Okay.
130 00:12:10.060 ⇒ 00:12:13.530 Mustafa Raja: And for this workflow, we have 10… 10 agents.
131 00:12:14.100 ⇒ 00:12:16.379 Samuel Roberts: Oh my goodness, okay, this is which one?
132 00:12:16.880 ⇒ 00:12:21.130 Mustafa Raja: This is Zoom. I think this is…
133 00:12:21.490 ⇒ 00:12:24.359 Mustafa Raja: to add Zoom in our circles or something?
134 00:12:25.050 ⇒ 00:12:26.970 Samuel Roberts: Okay, alright, yeah, I guess…
135 00:12:27.150 ⇒ 00:12:29.170 Mustafa Raja: Summary generator is over here.
136 00:12:30.080 ⇒ 00:12:31.480 Samuel Roberts: Oh, interesting. Okay.
137 00:12:32.370 ⇒ 00:12:33.690 Mustafa Raja: This is something else.
138 00:12:35.680 ⇒ 00:12:44.640 Mustafa Raja: I think they might be generating some embeddings, and so… Okay, well, this is stuff that we’re gonna have to map out and move anyway, I think, because…
139 00:12:45.570 ⇒ 00:12:46.870 Mustafa Raja: Okay, so…
140 00:12:46.870 ⇒ 00:12:49.970 Samuel Roberts: Don’t worry about that right now. I think we need this to still work, you know?
141 00:12:50.860 ⇒ 00:12:57.300 Mustafa Raja: No, no, no, what I’m asking is, do I do the… Prompt transfers?
142 00:12:59.780 ⇒ 00:13:00.620 Mustafa Raja: For this.
143 00:13:00.960 ⇒ 00:13:03.889 Samuel Roberts: I wouldn’t bother to do the prompt, I would just keep the code working.
144 00:13:05.330 ⇒ 00:13:06.050 Mustafa Raja: Okay.
145 00:13:06.050 ⇒ 00:13:06.680 Samuel Roberts: For now.
146 00:13:07.690 ⇒ 00:13:14.620 Mustafa Raja: Okay. Yeah, this, this, this, I think this is working fine, let’s… Let me double check.
147 00:13:16.070 ⇒ 00:13:18.859 Mustafa Raja: This would be…
148 00:13:22.620 ⇒ 00:13:23.330 Mustafa Raja: Hmm.
149 00:13:23.630 ⇒ 00:13:25.570 Mustafa Raja: Which is…
150 00:13:29.960 ⇒ 00:13:31.760 Mustafa Raja: Oh, this is failing.
151 00:13:33.710 ⇒ 00:13:40.009 Mustafa Raja: JSON. Yeah, so this is Python, and you see that this is… this has been deprecated.
152 00:13:40.330 ⇒ 00:13:41.220 Samuel Roberts: What?
153 00:13:41.540 ⇒ 00:13:43.149 Samuel Roberts: How does that make any sense?
154 00:13:43.370 ⇒ 00:13:44.650 Mustafa Raja: in NITM.
155 00:13:44.830 ⇒ 00:13:49.069 Mustafa Raja: So, yeah.
156 00:13:49.230 ⇒ 00:13:50.949 Mustafa Raja: I don’t know what this workflow…
157 00:13:51.120 ⇒ 00:13:59.019 Mustafa Raja: does is, because our meetings are getting in the platform, I don’t know what this is doing for us.
158 00:13:59.830 ⇒ 00:14:00.840 Samuel Roberts: Oh, okay.
159 00:14:02.400 ⇒ 00:14:07.279 Mustafa Raja: Because this has been from last month. This was deprecated last month.
160 00:14:08.170 ⇒ 00:14:10.270 Samuel Roberts: And it’s still go- alright, so, like, here, let’s.
161 00:14:12.750 ⇒ 00:14:16.269 Mustafa Raja: And we haven’t noticed it, so I don’t think it’s something important.
162 00:14:17.130 ⇒ 00:14:21.840 Samuel Roberts: Yeah, this is where maybe we need to just do, like, an index of all these things, and, like, a whole…
163 00:14:22.310 ⇒ 00:14:31.670 Samuel Roberts: Because I don’t know what is… yeah, like, if this is breaking and isn’t important, like… Yeah, I’m worried.
164 00:14:31.670 ⇒ 00:14:39.900 Mustafa Raja: Okay, yeah, I guess I can ask Casey if he has any context on this, and if this is important or not.
165 00:14:39.900 ⇒ 00:14:43.610 Samuel Roberts: Yeah, I do find that out, because if it’s not important, then let’s not worry about it.
166 00:14:43.610 ⇒ 00:14:48.839 Mustafa Raja: Yeah, I’m not going to, transfer the… transfer these forms to Langfusion, right?
167 00:14:49.050 ⇒ 00:14:50.189 Samuel Roberts: Nope, don’t bother.
168 00:14:50.640 ⇒ 00:14:55.399 Mustafa Raja: Okay, yeah, I just wanted to confirm that before working on… Okay.
169 00:14:55.400 ⇒ 00:14:59.559 Samuel Roberts: Yeah, no, that’s good, that’s good. I think Linefuse is gonna be more useful once we’re in Maestra.
170 00:14:59.870 ⇒ 00:15:04.509 Mustafa Raja: Oh, yeah, definitely, because I feel we aren’t able to fully… fully use.
171 00:15:04.510 ⇒ 00:15:05.080 Samuel Roberts: No.
172 00:15:05.080 ⇒ 00:15:08.039 Mustafa Raja: What it’s, providing to us.
173 00:15:08.040 ⇒ 00:15:08.550 Samuel Roberts: Yeah.
174 00:15:08.660 ⇒ 00:15:17.820 Mustafa Raja: once we… once we, have a better architecture that we can utilize it with Langchin, I think… I think we’re going to see the difference.
175 00:15:18.350 ⇒ 00:15:19.300 Samuel Roberts: Definitely.
176 00:15:19.300 ⇒ 00:15:20.990 Mustafa Raja: This is nice.
177 00:15:20.990 ⇒ 00:15:22.719 Samuel Roberts: Yeah, it is nice to see it, yeah.
178 00:15:23.030 ⇒ 00:15:28.070 Mustafa Raja: Yeah. Okay, I, I guess, I guess this was, this was all that I…
179 00:15:28.270 ⇒ 00:15:31.890 Mustafa Raja: Thank you so much for your time.
180 00:15:31.890 ⇒ 00:15:33.160 Samuel Roberts: Yeah, no problem. Thank you.
181 00:15:33.760 ⇒ 00:15:34.690 Mustafa Raja: Thank you, bye.
182 00:15:34.900 ⇒ 00:15:35.900 Samuel Roberts: Alright, bye.