Latest / Inside The Flows / Inside the Flows - Episode 10
Transcript
- Iyassu: Welcome, everybody, to Inside the Flows, episode 10. I'm your host, Iyassu Essayas and I have with me special guest, Juan Vallejo. Say hi, Juan, to the audience. Juan V: Thanks for having me. Yes, welcome. And yeah, hello everybody. Iyassu: I'm really excited to have Juan on the show because he is the brains behind all the technology at inflows. So if you are a registered investment advisor, if you're an asset manager, a wealth manager, and you joined inflows, the app or the website, like this is the guy that helped build it, like really was instrumental at launching this app. and end for inflows. so Juan, do you want to just introduce yourself to the audience? Juan V: Yeah, mean, you know, thanks for the kind words and intro so far. I don't know what to say after that. You know, it's a tough follow up. yeah, I mean, I've been in the industry for about 10 years. ⁓ know, it's met a lot of really cool people, smart people. I got the chance to learn so much that, you know, here we are using all that experience to, ⁓ you know, to build inflows in that very, what I think is a very cool and innovative way. ⁓ To be honest, I think the dynamic that we've achieved together is a really instrumental part of, I guess, the tools and the infrastructure we've built. ⁓ You kind of need the two brains here, right? You need ⁓ the infrastructure tech side and you need the financial side. ⁓ Without either of you just, you have something anybody can make. So I think to that extent. I think the platform we've built and work we've been doing is of my favorite parts of having it in this industry for ⁓ this far. Iyassu: ⁓ Juan saved me from ⁓ many nights. ⁓ Building was not my background. I was in the asset management world. so shifting over to ⁓ software a big, big change for me. And there was many sleepless nights that I had where ⁓ I'd to I turned Juan and he would kind of calm the waters and tell like everything's going to be OK. This is. These engineering issues that are engineering problems that can be solved. the thing about, know, Juan's ⁓ cool manner in solving a lot of these problems is, you we have a working functioning app. I mean, that's, you know, I think 99 % of the world doesn't have that. And we do, which is awesome to ⁓ create from nothing is really, really hard to do. know, Juan has with me on that journey since day Juan. ⁓ which is great. And then now we have an even cooler journey with artificial intelligence, which is going to be the special topic for today. I think Juan is on the, how do I want to this? It's like the bleeding edge of artificial intelligence. And we're going to talk more about what we've been doing, what we'll be working on later on in the show. So I'm really excited to have Juan. on the show to talk about it from a technical standpoint, from just a human standpoint, and then give some insights. So where we think the space is going. So really excited to have you on, Juan. Juan V: Thank you, yes. Yeah, really excited to be here. Iyassu: Right. So we typically start the show with a weekly recap of what happened in the markets and in the space. So it's not just stock market stuff. It's also investment advisory. And because we have Juan on here, we're actually going to focus a little bit more on the AI space and what's been developing. So we're going to kick it off with earlier this week, Wall Street Journal on Tuesday. Got to look at the cost of building the future. artificial intelligence. So Wall Street Journal reported that they looked at the financial documents that OpenAI and Anthropic produced to their investors ⁓ training and inference costs. ⁓ ⁓ it was something crazy, like $127 billion over the next year that both are going to spend collectively. ⁓ hard to imagine. ⁓ don't even think they make $127 billion in revenue. So it's hard to grasp where like how much money is being spent and where it's being spent. you know, I think for training and inference are the two biggest costs that these companies have. And Juan, when you think about training and inference, does 127 billion, does that sound like a reasonable number for training ⁓ and inference costs for these two companies. Juan V: In a way, in a way. it sounds like the number you throw to basically speed 10 years worth of development into Juan year from my perspective here. Now, of course, we're moving pretty fast these days, so take that 10 years a grain of salt here. Iyassu: think people in the audience know what training is, but can you explain what an inference is? Juan V: Yeah. So basically, ⁓ after you train a model, you you essentially want to produce a product that knows how to do word prediction because essentially all these things are just really smart, really capable word predictors. So the inference part is that, you know, I guess the next steps towards getting these models ⁓ being good at receiving inputs and formulating the right output based on that context. It's sort of like pre-baking. ⁓ you know the product here. Iyassu: The way I understood it was the inference is basically what the model spits back out to you. So if I say, hey, ⁓ build me a recipe for Easter Sunday and make sure that it's a recipe about cooking a turkey. And then the model comes back and says, OK, here's your recipe. That text that it gives back is the inference that these companies are spending. So it's like, you can give it a really cool question, but it has to be able to give you an even cooler answer. And that answer is the inference. Is that correct or am I thinking of it wrong? Juan V: No, that is correct. That sounds about like the right definition. yeah, so I guess a good analogy could be, ⁓ you you teach a class of students about, ⁓ you know, history, let's say. So now they know all about history, hopefully. And then the entrance part would be when you give the class an exam or you give them, you know, a project to present. So now they have to use that information they've learned about history to apply it and come up with maybe new conclusions or ideas. Iyassu: Yeah. And that's a great analogy as well. And I think for the costs that the open AI and Anthropic and there's other AI companies out there, a lot of it's going to infrastructure needs. like physical, like literally the physical assets. So, know, big warehouses with rows and rows and rows of Nvidia, like graphics cards running 24 seven. And they call it compute, but those compute and data infrastructure needs are quite costly because trillion companies want all of it. ⁓ And just not enough to go around. So ⁓ it like a spending war. if you're an investor, ⁓ you to ask, hey, is this ⁓ investment AI going to pay out over the long run? And that's the That's the kind bet you're making, or don't know, call it a bet, but that's the kind of ⁓ thought process that you're gonna have to be thinking about is, am I gonna recoup my investment plus some over a period of time, whatever your investment horizon is? those are big numbers and they're only gonna get bigger. So it's really interesting with that reading that article, highly encourage folks to take a look at it. Juan V: Yeah, I guess Juan more thing I would say, think, you you saw something to a lesser degree during the dot com bubble where, you know, essentially people were online since the early 90s, since 93, I think is when the public, you know, officially started using the internet as we know today. Back then, You you didn't have this sort of arms race going on because people were still discovering the potential of what this could be. You know, this was sort of a, it's a cool idea, right? ⁓ Who knows how the public might use it. ⁓ So, you know, it kind of had this organic growth where there's $127 billion worth of expense maybe stretched out over, you know, five years or 10 years and, you know, infrastructure built. And even then, you know, it took a couple of years for. more of the general public to jump in and adopt this new technology. ⁓ But it wasn't until maybe the mid to late 2000s that it was extremely obvious by then what the potential of this technology was. Dotcom bubble had already burst a couple of years prior. So it's sort of like by then people had had no doubt in their minds that this was going to be a life-changing, world-changing innovation. And as a result, know, investment started exponentially coming in. And now we essentially, you went from ⁓ hundreds of millions of dollars in valuations to the trillion dollar valuations we see today in the span of maybe 10 to 15 years at that point. So I think what we're seeing with this sort of spending today is you know, a compression, a crunch of that timeline into, you know, a couple of years where instead of having the organic growth over the nineties and two thousands, you know, they're hoping to kind of bring to fruition the final state of this technology as quickly as possible, which you're crunching all that spending over all lots of years into just a couple of years. Iyassu: Wednesday, we shifted over from ⁓ infrastructure and costs to something that's really, ⁓ I think it's kind of interesting. They call it yield maxing. ⁓ for younger audience members, you've heard of looks maxing and ⁓ kind the Manosphere out there has these, ⁓ I like max is gonna be like the word of the year this year. So there's these yield maxing strategies that are coming out. And by the way, I should preface this by saying, on this show, we don't give out investment advice. I've said it many, many times in other episodes that if you need financial advice, just hire a financial advisor. They're there to help you out. They'll be able to give you some really good insights and guidance as to what you should be doing with your money. ⁓ this show is purely educational. ⁓ do not take this as investment advice. Barron's dropped an article ⁓ these new yield maxing ETFs. ⁓ of them was the yield max HIMS income strategy. so ⁓ way worked is it's an ETF that is a single stock ETF. ⁓ And it income by selling call options on that single security. And so you can generate ⁓ income from selling those call options and get a yield. for them, for the HIMS option, when it was pretty high, there's something ⁓ north of 80 % or 90%. The danger to that is the volatility in the stock. So if the stock is really volatile, then the ETF is going to be even more volatile. And then you also have a management fee on top of that that you got to pay. your total return may not be great, even though you're getting a crazy, crazy yield. Were you able to ⁓ take a look at that article, Juan, and just kind of any thoughts on these new exotic ETFs that are single stock ETFs that are coming out? Juan V: Yeah, actually, you know, quite a few thoughts. I've actually I've interacted with a few myself just, you know, last year to see what the hype was about. I guess to say the least, the nav decay that these are subject to is insane. It's crazy. I mean, there's a reason why there's a reason why their yield is so high. And it's because you're incurring you're taking an older risk. Essentially, you're taking in all of the, you know, downside. unawareness, particularly at a time when markets are bigger than ever, have more ⁓ fluctuation ⁓ than ever. so, yeah, these look like great ideas on paper to someone that's kind of getting in and learning about dividends and ⁓ maybe trying to figure out how to make money without pushing buttons all day. ⁓ They might be good vehicles to use for people that are experienced and ⁓ maybe want to use them as hedges, temporary hedges because they want to take a short position, let's say, or a long position against the company. ⁓ so, yeah, I would say the idea is novel, for sure. ⁓ I would paint these more as they might be beneficial vehicles if you're experienceed. They are a bit of a trap if you are starting out. So if you have any clients out there that are asking about these and maybe they're insisting on acquiring a position in Juan or two of these tickers, then maybe it's a good idea to kind of paint the landscape, inform a client the risks, the hidden risks that. come with these and why it's not sunshine and rainbows all the time and why, you know, it's not a guaranteed 80 % return as Juan of the, as the HIMS Juan touts. And, you know, just because the Nvidia Juan has been performing great, doesn't mean that it'll continue to perform great. It just means that, you know, it is tracking an underlying ticker. you know, you are deriving from something that has benefited recently, but it just means that you're that much more exposed ⁓ when the tides turn, when there's a blip in the market or a change in strategy for that underlying. Iyassu: Yeah, it just goes back to my whole point of, ⁓ don't take this as investment advice. Like really, you should talk to your financial advisor about this and really understand how these new vehicles work because, you know, the, I just remember last year I was learning about ⁓ these yield maxing ETFs. that had indexes as the underlying asset. So you had the S &P 500 or you had the NASDAQ or the Dow Jones, and those aren't as volatile as single stocks. so what they were able to do, a lot of the biggest players in the space were offering this. So Goldman Sachs was offering this and they were, JP Morgan and all the big shops and the returns were 14%. 15 % or sorry, I say returns the yields or like 14, 15%, which was at that time, comparable, if not better than how the indexes were performing at that given point of the year. But the idea was that the person who would likely want to be exposed to that underlying index and still generate income was somebody who's, getting close to retirement. instead of putting allocating their portfolio towards like bonds, they could stay in the equity side and generate income like as if it was a bond. ⁓ was the ⁓ the strategy behind those index ⁓ based ⁓ yield maxing ETFs. ⁓ we have single stock ETFs. And that's like, that's even further on the risk curve than the index ones. And you get these like 80, huge numbers, 80, 90%. And who's that going to attract? Um, naturally because it's an ETF, it's going to attract retail. And so you really should consult with an advisor before diving into these kind of really like on the further end of the risk curve type of investment vehicles. Cause you could get, you could totally get hosed on this. regardless of all the marketing efforts that these index providers are saying. Juan V: Yeah, I mean, just a quick example, if you look at some of them, total return is significantly negative after counting the dividend returns, the yields they have. ⁓ So it's not just NAV decay, but total potential gain ⁓ is being missed out on here. Iyassu: And for some folks it might be appropriate for them, but it's up to them to work with their advisor to figure that out, right? I would say, ⁓ don't treat this like gambling, even though it kind of looks like gambling. Moving on to Thursday, ⁓ Amazon CEO Andy Jassy published his annual shareholder letter ⁓ he ⁓ addressed the capital spending matters Amazon is, I ⁓ would ⁓ under watchful eye of investors and the media. It was largely focused on AI infrastructure and that's just a theme this week. It's just AI. That's all that was coming out this week in the financial reporting. know, Amazon's going to be spending quite a lot of money to boost their AI capabilities, data centers, software, like people they're hiring, making sure they have top tier talent, chips, efficiencies. And so, you know, should expect that going forward and I think, ⁓ well, do you have any thoughts on that shareholder letter, Juan, before I get into another shareholder letter that was always interesting to me about Amazon? Juan V: Yeah, of course. I mean, I think off the top, ⁓ all of the areas covered in that letter, they're not surprising, right? They're not coming out of nowhere. These are all key areas that serve to expand what I think is Amazon's bottom line, ultimately. ⁓ They care about having more people make deliveries, more people ⁓ use their online services, then it makes sense that they would invest in rural expansion of networks, ⁓ the low earth orbit satellite. project that they've been working on that, know, the investor letter had. ⁓ And, ⁓ you know, of course, with AI, like they, believe it or not, they are a robotics heavy company because, you know, they need, ⁓ they need robotics to operate their massive warehouses, their massive centers. And so, you know, it just makes sense that to gain more efficiency, you invest in AI to achieve that. Iyassu: Yeah, I think for audience members that don't really read annual shareholder letters, I would encourage them, I would encourage you to read some of the largest publicly traded companies' shareholder letters because they will give you really good insights as to where the economy is going, particularly for those sectors that they're in. But even some of the folks like Jamie Dimon whose company JP Morgan touches every part of the economy, you get some really good insights as to where the puck is going or where the ball's moving. I think Juan of the most interesting annual shareholder letters that I've read was from Jeff Bezos. It was his last shareholder letter. And Juan, he basically talks about, it was almost like, space engineer explaining how the universe works. And he started talking about, I want to say it was like heat decay, but it was his philosophy of pushing back against the universe in that shareholder letter really explained to me his thinking when how he ran Amazon. it explains a lot of the controversies that Amazon was in regarding human capital management or basically like managing people, right? They have a bad reputation with how they treat their warehouse workers. But if you read his last shareholder letter, I'm not saying he's right or wrong, but if you read it, you'll understand what was his driving motivation to push the people part of Amazon. So you get these insights, these really cool nuggets ⁓ from these really important people. at these companies by reading their annual shareholder letter. Yeah, it's, you know, there's a marketing team that makes all the grammar, communication team that makes all the grammar look great and, you know, sound fluid or not. But the thoughts are what's really important, the high level principles that they push in their letters across the company and across the economy. I thought it was, if you ever have a chance while you should read it, it'll explain a lot of Amazon's history. Just that last You just got to read that last year older letter. It's a pretty cool insight. Juan V: Yeah, absolutely. it sounds like all of his knowledge and passions, which include rocketry and of course the universe rolled into good advice. Iyassu: Yeah. And moving to Friday. So Friday is the typical news. There is the Iran conflict going on. ⁓ administration has negotiated a very shaky ceasefire deal. Oil is still up, maybe not to the $130 a barrel like Juan the Saudi ministers thought it would be into April, ⁓ but it's still up. Gas is still breaking $5. Some places in California, it's like $7 a gallon. I think we're starting to get surcharges. So was it UPS? It was Amazon. I think Amazon is now charging a surcharge for shipments because of the spike in oil. So that hasn't resolved. It's a recurring theme on this show that Fridays are just what's going on with oil. the conflict in the Middle East. So nothing more to report on it, but it will have an impact on markets and the economy in general over the long period. Juan V: It will. I I think I personally am of the belief that, you know, it is a key driver of inflation long term. And we've yet to see the shock and the aftermath of that. Iyassu: Yeah, I think when the reserves, if the reserves run out, we'll see a shock. There'll be a shock if the reserves run out. And, you know, for folks that aren't regulars on the show, I've been saying this for the past couple of episodes that the way you want to think about oil prices is that ⁓ not just like gas that's going to get expensive to Juan's point. ⁓ going to be everything that you make and everything that you transport is going to get expensive. And so that's where the inflation is the price increases are going to come from. ⁓ It's that increase in energy costs and energy bleeds into everything. hopefully this gets resolved sooner than what folks expect. And it would be nice to get prices going down because I everyone's feeling it in their wallet. Juan V: Yeah, yeah, and their yearly trips as well. Iyassu: Yeah. All right. So moving to our ⁓ special topic ⁓ this episode. ⁓ Juan, think I called it the cost of making AI. ⁓ and I were ⁓ some deep dives on artificial intelligence and building things for inflows. ⁓ I think either way, I'd summarize it ⁓ is Juan and I went on this expedition. really spearheaded by Juan on how do we leverage AI like a big company would? ⁓ So like an Anthropic or ⁓ a Salesforce, somebody who has like a way, way, way bigger budget, like how do we leverage the tools that we have to build really cool things for our inflows ⁓ users and user base? And so Juan and I decided to go down, instead of just building ⁓ Software directly so just you know lawns on a keyboard, know typing away and ⁓ whatnot we to use artificial intelligent ⁓ and these are the ones who actually ⁓ go down code things and I think Juan like You know, I'm going a little off script here. But you know ⁓ How's that been for you? Because I think it's it's really important for our audience to understand how powerful AI agents are, or just artificial intelligence is, because it directly ties into the investment advisory world where folks are afraid that jobs are gonna get taken and the AI is gonna basically take over the investment advice space. And I wanna give them some insights as to what are the things you can do with AI, how... ⁓ how they impact what we're trying to develop or build, and then what are the pros and cons to using AI? so using our past month, month or two of using AI to build things at inflows, what's the experience been for you? Juan V: Yeah, so those are pretty good questions. Yes. I think, well, for starters, this was always, you know, an R &D experiment at the beginning. This was, you know, a way for us to essentially ⁓ keep up, you know, keep up with all the ideas we had, all the innovation we wanted to bring. And so, you know, the idea was never to just outright, hey, you know, the age of the human is over. Let's bring on the age of the robot. Right. was more about, you know, it's like you have, you have so many thoughts and ideas in your head. ⁓ what is the best way to, scale and unlock, ⁓ you know, a bridge to get those ideas, you know, to fruition. So best way, you know, was to essentially use the best tooling we could make, ⁓ sort of like. Iyassu: You Juan V: adding an extra layer to your brain there to be able to surface those ideas out. ⁓ And so, so it's been, you know, quite an experience, quite a journey. You know, we've experimented with just about every agent tech technology we have out there. That's, you know, open source and cloud based. And, ⁓ you know, for a while we were even using a Tropic as our backing models. And, well, long story short, ⁓ you know, of course, this is not an outright expert you get out of the box. You're not summoning a genie to come solve your problems, but we did see it as a useful assistant. And that is, we haven't come up with a name yet for our agents, so we just call them assistant. And the way to get the assistant to be a good assistant has been, of course, to essentially apply the same techniques you would with a new teammate, which is you have to... kind of hand hold at first, you have to instruct, teach. In some ways we had to teach them how to learn as well because when you just use a model out of the box, they don't really know about long-term memory. don't really know. Every session is brand new. It's like you're talking to a new person, a person with amnesia. Every time you start up a chat window or you wake up the next day and you try to talk to them, go, what are you talking about? I don't know what you're talking about. So it's really... Iyassu: Yeah. Juan V: kind of get the point across here, we did want a tool that was really useful and we wanted it to feel like we were being assisted in our progress here. So we taught the tool ⁓ to be a better teammate. We taught the tool to think long-term, to not forget important things, ⁓ to make room for new things. So we're sort of starting to get into the, memory space would work for a human maybe. And so, so through that we ended up with, you know, what I think at some point started to feel like, like a person on the other side, if you will. So yeah, so you tell me if you had a similar experience, but you know, you could almost feel the snark sometimes and you could, you know, kind of, you know, it felt like we were not alone in this. Like we were accompanied by, you know, a competent tool that was able to, you know, Iyassu: He Juan V: carry us through tough ⁓ thought processes, confront challenging problems with a little more confidence. So I think the mission accomplished part of this effort was that we unlocked better confidence. We stopped looking at problems as things far down the line that are going to be really hard to figure out. And we started seeing them as, hey, I'll just do this tomorrow, because we're confident that even if it's a harder problem. We have a good tool at our side to help us think through and walk through all the logical steps of it. Iyassu: I think the way the audience, the different generations of listeners to the show would think about it is it was like we created the computer from Star Trek, you know, when Captain Picard would like, you know, tap his badge and say, computer, do this. And it would do it. And for the younger generation, it's like that video game Halo, where the master chief has his AI agent called Cortana. It's like, that's essentially what Basically, Juan built. ⁓ Well, the technology was there. It's built by these AI companies, but the personality and the teachings, like you have to teach these models how you want them to act, like Juan said. That was all Juan, creating the personality, making it understand what to remember, what's important, what's not important, checking in on it. You do have to shape it the way you want it to be. essentially, it's like computer and Cortana ⁓ as a tool and kind of like a person. Yeah, it was snarky. mean, it is snarky. ⁓ Now it's a little funnier. It's like it does a little emojis now when it's like done and celebrations. It's kind of cool. But I think the audience would want to know from a productivity perspective, how much work can this thing do Juan? Juan V: You Yeah, so that is another good question. It is mind-blowing and I'm going to preface this by saying it's not just the tool alone. It's you and me with the tool. ⁓ It's mind-blowing the amount of work and useful output we've been able to get from it. At times I tell you yes, I compare it to, like, ⁓ this thing just achieved. It is ⁓ mind-blowing ⁓ and ⁓ going to this saying not just the tool alone. It's you and me with the tool. ⁓ It's mind-blowing the amount of work ⁓ and ⁓ useful output we've been able get it. ⁓ At times ⁓ I tell you yes, compare it ⁓ like, ⁓ this thing just achieved. six months worth of work in a week, six months worth of work in a week, you know. Iyassu: I feel like it was like a day. No, no, I remember that it was like we did in a day, like a six months worth of work, right? Like the, you're totally right. It's, for the folks in the audience, know, the AI is going to take over the world. It's not, it's not really, it's, it's you plus somebody or it's somebody competent in software engineering and the AI are going to be like Ironman, like Tony Stark and the Ironman. Juan V: Like these are... You Iyassu: you know, like separately they're okay, but when you put them together, it's like, wow, this is a hero right here. And the amount of productivity you can get out of it is amazing. And, you know, it was, was very, that one day was very satisfying. Juan V: Yeah, no, you almost, you know, it paid for itself and then some that day. ⁓ I mean, I would say, you know, the, the key driver here behind that productivity game is essentially just being consistent, right? ⁓ being patient because it will make mistakes. You know, it, it, you just sort of treat it like an apprentice. ⁓ you know, you're kind of walking it through, it's going to encounter new experiences because it, you know, you're making it work on a product that, ⁓ you know, it's never seen. It's just, ⁓ super fresh mind that wants to learn. ⁓ And so, you know, having the patience and the ability to be consistent and, you know, knowing what lessons to reinforce, I think, are key factors. And then on top of that, you actually have the time that, you know, you and I put in and mostly you actually put in to, you know, drive it to understand key financial concepts and, you know, ⁓ So we take our development approach very methodically with these agents. ⁓ We wouldn't trust them to just go out on their own. they can actually be autonomous, but it would be fruitless to just send them off and then come back in a couple days and see what they achieved because they need a manager. They need a guide. ⁓ Otherwise, they would go off and eventually end up at a tangent. they would just figure out, ⁓ maybe this is what the human wants, and so I'll do that. ⁓ So you need, for example, YAS with you, the daily ⁓ check-in from YAS where you walk it through and you go, how are we doing on this? And checking off boxes, keeping it on track. ⁓ Our methodical approach here is that we're design document-based. We like to make proposals for every feature we work on. ⁓ for ourselves because we want to outline the cost and the risk and the potential it has, but also for the agent because it allows the agent to keep track of what it's doing, where things are going. It gives it the whole picture. And we found that once the agent has the whole picture, it is immensely more productive than if you just give it a slice of tasks and then have it figure out where they're going or why they need to be done. Iyassu: Yeah, so for a good example is I went to that future proof conference and there was some people who were having problems signing up. And as a test, we use the AI agent to kind of figure out what the problem was. you know, concrete example, we told the agent, OK, look at our code base, understand our code base. Here's our user who's trying to sign up. we told the agent, OK, look at our code base, understand our code base. Here's our user who's trying to sign up. why can't they sign up? And it figured it out. Not only did it figure out what the problem was, it also figured out there were other problems that we didn't even know were problems. why can't they sign up? And it figured it out. Not only did it figure out what the problem was, it also figured out there were other problems that we didn't even know were problems. And so to Juan's point about once the agent understands your whole software stack, it becomes really, really helpful. ⁓ Versus if you just give it a piece of it, then it can kind of understand what's going on. If there's a very, very specific you know, line of code that's like kind of off or there's a space when there should be a period or something like that. But when it gets a fully full understanding of your code base, ⁓ man, it's that's where we got the six months worth of work ⁓ out of it where, you know, basically said, Hey agent, like, tell me all the security vulnerabilities we have in, this, know, code base. And it was, it was amazing what it found. you know, that, that goes to. you know, the quality of the ⁓ agents that we're using, also just like there's a human aspect of software development that is, even the big shops are still trying to figure out how to get human error out of software development. cause humans are humans, we make mistakes or we have our own styles. And you have a bunch of people writing software for Juan program, then just imagine different stacks of different like flavors of software code stacked on top of each other. ⁓ they're at some point they're not going to work well, you know, but if you have an AI agent that writes Juan way and can produce volumes of code, oh, it's, you know, it's amazing. It's a super efficient, it's super, you know, slick for it to, or easy for it to understand. Juan V: Yeah, it's like a Juan-person shop. So it's a Juan-person shop with infinite scale at this point. Iyassu: Yeah, yeah. And, you know, we're to be coming to market with a couple of new features that I'm really excited about. you know, Juan has been, I keep saying, is on the bleeding edge of this AI agentic, you know, software development. And it's been quite a journey. know, Juan thing that we tripped up on was we were Anthropix, ⁓ Claude. model to power some of our agentic agents, or sorry, AI agents. ⁓ And Anthropic just decided to move anyone that was using an AI agent on top of their model. So think of it as you have like a captain of the ship, that's the AI agent. And then the brain of that captain is like, know, chat GBT, Gemini. or Claude, right? So Claude found, I would say Claude made some financial decisions that if you were using AI agent on top of its model, then you were no longer able to use it through their monthly subscription tier. You had to move towards their API tier. So we were taking really good advantage of those monthly subscription tier, I would say. And yeah, we were spending like a hundred bucks a month, maybe 120 bucks a month. When they shifted, ⁓ yeah. Those are the good times, right, Juan? I mean. Juan V: Almost too good to be true there. for incredible time. Just getting 60 or 70 percent of the quota usage that we got for 100 bucks was already extremely valuable. So imagine if we were maxing it out, getting 100 percent quota usage, would have been a steal essentially. Iyassu: Yeah. Yeah, mean, we would at some point, I would have been out of ideas. What else can we do with this app? But yeah, so they moved everyone to the API ⁓ usage. what that is, do you want to explain what the API is? Like what an API is, Juan? Juan V: you Yeah, yeah. So, know, in, guess, like most web applications, companies that run those applications expose certain hooks, think of them like hooks. And ⁓ you can use those hooks or endpoints to, you know, ask information about that web application. ⁓ A good example would be, you know, let's say that you want to build a program that tracks the market. So you would use APIs from your broker, right? All of them. All the major ones offer APIs. ⁓ Your program would talk to these APIs, these hooks, and it would ask for data about the market today, maybe certain tickers or whatever news they offer about certain tickers today. You could even ask about information about your account. You authenticate it yourself and you can essentially have the program track your own portfolio's progress. ⁓ Similarly, those hooks can receive data. So maybe you want to make some updates to your portfolio with your program, you can. So these models work the same way. They're no different than web applications. They are software in the cloud at the end of the day. So they expose APIs in a similar way so that just about anybody can build a similar program. And that program can, in this case, receive data from the models, which is the responses they give you. And you can write data to them, which is when you're talking to them. You want to give them all the context. And so you have these agents that you as mentioned. using these APIs ⁓ to be able to provide massive context about the personality and the work you're trying to do. Unfortunately, these APIs, I guess the new format they're using for these APIs is they're charging at a token level, which means the more personality and more information your agent has to provide, the more expensive each call to that API becomes. So you quickly run into this billing issue when you have a big enough code base and a big enough personality and you're using the agent multiple times a day, a couple hours per day. So after the Entropic changes this weekend, we went from being able to have a sort of a price fix menu, you pay once and you eat as much as you can for these APIs, towards now having to pay per plate. Iyassu: Thank Juan V: ⁓ pay for batch of tokens we sent. And we were realizing that we were at that buffet and we were eating all the plates. Iyassu: We were eating good at sizzlers ⁓ Juan V: So we quickly had to pivot here ⁓ after we realized that we're eating enough plates to kind of unwind our operation here. We're not careful because we're just pumping out so many ideas and so much progress that ⁓ we really stood to gain a lot more from the price fix menu that the APIs used to offer. Iyassu: Yeah, so your ⁓ AI agent wasn't able to use your monthly subscription anymore. They nixed that. And now they only gave you the API route, which is cost per token. for folks, the way you want to think about ⁓ tokens and AI agents is that as your AI agent gets better, it's because its memory has increased and the context in which you have asked it to do all these kinds of works, it remembers that. So it has a lot of context about what you use it for and how you use it, how you interact, and that grows over time. But that context is a cost. And every time your AI agent talks to a model like ChatGBT or Gemini or Cloud Code, that context also gets sent as tokens because it's using its history. It's using what it's learned. to assess and answer your question or follow through on your instructions. So you went from this $100 a month, like all you can eat to, my God, we got to be very efficient now when we use these models because they're getting, it got quite expensive. I think a $100, I was estimating that it would cost between 400 to $800, the amount in API costs. with our usage. you know, that's, you know, eight X, eight X the cost. Like, can you imagine, you know, some of the larger companies that were probably using this, what their API costs are going to be ⁓ for, for Claude. So. Juan V: ⁓ yeah, yeah. Couple hundred thousand more per month, I imagine. And these are the medium-sized ones too. Iyassu: Yeah, yeah. ⁓ Yep. Yep. it's not ⁓ the way you want to think about it. This isn't like Claude's fault or sorry, Anthropix fault or anything like that. It's we were using a subsidized version of their model and we were taking like very clear advantage of it. And it's the hype, right? Like they want to get as many users onto their platform. They want, you know, annual recurring revenue from them. And then when they realize like, know, these users are using our, our models in a way that we didn't intend, you gotta, you gotta make change cause they're a business too, right? They got it. They gotta make money. But what that did was make us way more efficient, I think in creating and using these AI agents to continue building. Um, but that's, that's, there's a cost, right? And you should be, if you are thinking of moving towards, you know, or, you know, more artificial, intelligent agents to do more of work within your own company, really plan this out. Really take ⁓ some time to understand what are the, like do a cost analysis of what you're trying to do and get a number in your head because that's what you're gonna have to spend. Juan V: So, sorry, was going to say, the tool is worth what you, well, A, can afford and B, what you make of it and produce with it. Iyassu: Yeah, exactly. And the thing about APIs is that it is a pay as you go model. So definitely set some caps on what you're willing to spend on a month. And then don't be surprised if you burn through it faster than you expect. Because we're also new to this new AI, using AI as a model in your businesses. Like we, as people, like as the, you As more more people start using AI, we're all new to it. So we're not ourselves efficient at using AI. So there's going to be parts where you use maybe a model that's way too sophisticated to answer a very, very simple question. Then all of a sudden, used up half your budget right there for using the wrong model. So you have to get more knowledgeable about how to use AI and be way more efficient with it. There's Juan thing that to tie this towards the investment advisory world, ⁓ think, ⁓ like asset managers, I think they're going to be surprised at how well these models can perform at doing junior level work. So you could ⁓ create an AI agent that replicates what a junior security analyst does in their day-to-day job. and have that AI agent be live 24 seven. So, you know, if anything happens in a, in a stock and a portfolio, you're immediately getting messaged or you're getting an email. Um, or, know, if there's a shift in like say, I don't know, a sell side person sends out to four in the morning, a report, like you wake up and immediately your AI agent security analyst has already suggested, position sizing for your portfolio. Like that is definitely possible. From what I've seen you be able to do with the AI agents that we use, it's definitely a future reality. ⁓ Juan V: Yeah, no, yeah, absolutely. Like, you can already have them act autonomously. You know, and we've seen a little bit of that, but we haven't quite yet. You know, our strategy is not quite to that point yet, where we just have an autonomous agent, you know, acting on our behalf. you could totally have this adapted to that do need that 24 seven, you know, monitoring and reactive, you know, awareness. Iyassu: Yeah, I mean, the agent has a heartbeat. Like that tripped me out. And I was like, what? has a heartbeat? yeah, it actually like, so Juan and I left our, one of our agents working with the new cost structure of Anthropic. And I didn't know that there's something called a heartbeat. ⁓ it like every often it checks and it uses the API. So it was spending like, I don't know, $3 a day, just kind of running in the background. So it's not fully autonomous, but like there's things like heartbeats. like, what is this thing real? Like, we have to start asking it to, you know, what's its favorite holidays and all that stuff that gives some time off? But I mean, even then it like sleeps, right? It like, just like you have to sleep to clear out, you know, your brain. Yeah, the AI agent also needs to sleep to clear out its memory or cache its memory, which is basically a way of storing your memory. So it has human qualities to it, which is kind of trippy. Juan V: Yeah, that's right. of course, know, a lot of these human qualities, they don't come organically, you have to teach the agents how to do these. it's sort of like, you know, biology has solved a lot of these issues for us. so in turn, we kind of teach the agent how to solve it for themselves. For example, the memory issue, an agent doesn't know how to sleep, right? It doesn't know how to clean out its memories, form long term memories out of the box. So you have to... kind of look at, well, here's how a human would do it. do the same thing, do this mechanism, you know, every couple hours, every day or so, you know, take a little nap during that nap, you're gonna, you know, take your memories, distill them, learn from them, adapt them to skills that because, you know, agents have skills, it's a whole separate bucket of items that they can, you know, store information in. And so, you know, you're, they're able to sleep and distill those memories into skills, grow those skills, so they become better at. coding or pushing code. ⁓ And then they form long-term memories so that they make room for new information to be sent to the model, the underlying model, ⁓ without keeping the old stuff that it doesn't need anymore and bogging down that model and increasing costs also as a result. Iyassu: Yeah, keep forgetting some of this stuff is your secret sauce, right, Juan? So I won't reveal too much anymore. But that's our special topic for today. I think the audience is going to enjoy this in particular, because everyone's wondering. ⁓ afraid of AI, ⁓ no Juan really talks about how do you really use it. And hope we've given them some good examples on. what you can do specifically with artificial intelligence and agents and Claude and Gemini and reading your code base and asking what are the securities vulnerabilities, when to clear out its memory so that it can work functionally, how to give it personality. And even the example of the security analysts as an agent, that's definitely in the future. It's coming up fast. So hopefully these examples will be useful to the audience members. And ⁓ Juan, know, typically at end of the show, I like to ask the special guests ⁓ Juan question. ⁓ What do you, ⁓ it's actually my favorite question. So what are you looking forward to next week? Juan V: Oh man, next week I'm looking forward to more market movement, know, more, I guess more current events. The current events have been a sort of addiction of mine to just check very often nowadays. And so, you know, that and more progress with AI, of course, you know, meet those, the new model from Entropic just came out this past week. And so we continue hearing a lot of, you know, good, scary anecdotes from people around it. you know, about the model. So I think we'll get more information about that model next week, more information about what the industry is heading, you know, more implications for how humans will work in the future. So yeah, I think we're at a week by week basis on those things now instead of every couple years checking in to see how humans are evolving. Iyassu: We know the AI is evolving, but are humans still evolving or have we stopped? Relative to the AI. right. What is that Wall Street Bets acronym, WAGMI? It's like, we're all gonna make it. Yeah. Well, I wanna thank Juan for joining me as a special guest today on episode 10 of Inside the Flows. Juan V: We're hanging in there. ⁓ no. We're really gonna make it. Iyassu: If you are a financial advisor, an asset manager, registered investment advisor, wealth manager, you know, if you want to keep the conversation going or if you have any questions you want to ask, join us on inflows. It's free to join inflows.com. It's an exclusive community for registered investment advisors and we're happy to be there and we're growing. think we're over the hundred user mark now with a little over $11 billion in assets represented by the financial advisory users. And we're going to be releasing some really cool features coming up too that I'm really excited about. So join us on inflows.com and we will catch you all next week. Thank you. Juan V: Thanks for having me.