In this episode, Christopher Grainger, founder of Amplified.ai, joins me to discuss the intersection of Elixir and AI, particularly focusing on Lang graph functionality and agentic workflows. Christopher shares his journey from academia to founding a successful patent search platform, and how Elixir's unique characteristics make it particularly well-suited for AI/ML workloads. We explore how OTP primitives provide natural solutions for agent-based AI systems, discussing how Elixir's actor model aligns perfectly with modern AI architectures. Christopher explains how Amplified.ai transformed their tech stack by moving from Python to Elixir, resulting in significant cost savings and improved system efficiency. The conversation dives into the challenges of the patent search industry, the importance of semantic search in patent analysis, and how AI is revolutionizing this space. We also discuss the future of Elixir in the AI landscape, examining why its concurrency model and fault tolerance make it an excellent choice for building robust AI systems. A fascinating discussion about practical applications of Elixir in AI, scaling businesses with small teams, and the future of technology in the patent industry. Connect with Christopher:Amplified: https://www.amplified.ai/BSky: https://bsky.app/profile/cigrainger.bsky.socialWebsite: https://cigrainger.com/ SUPPORT ELIXIR MENTORElixir Mentor: https://elixirmentor.com/
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Testing Secure your Elixir apps with paraxial IO. From code analysis and bot defense to dependency checks, they've got you covered. Elixir first design with GitHub integration. Elevate your security at paraxial dot IO. What's up? I'm Jacob Litzow, your Elixir mentor, and welcome to another exciting episode of the Elixir Mentor Podcast. This is where we discuss everything related to Elixir, from interviews with enthusiasts, pioneers in the
community, to innovative projects and libraries shaping Elixir's future. Today, I'm joined with Christopher Granger, creator of Amplified dot IO, who's bringing lane graph functionality to Elixir for powerful and and genetic workflows. Why did I just do that? Because I'm live. But Chris, you can correct me. And why don't you give a brief introduction of yourself and what you're doing? Yeah.
So it's amplified dot AI. That's my my first correction. Oh, what did I? Say you got me as you got me as IO, but you know it's one of the one of those TLDS. You know that one of the fancy TLDS, right? I'm just butchering everything in my intro. I I will butcher plenty, don't worry. I, yeah, I have been working with Elixir for I guess it's about 5 years now. I don't know what year it is
anymore. And Amplify's been around for about 7. So, you know, we made a, a transition to Elixir pretty early on. We made a transition to kind of go one step in, in terms of, you know, consolidating our our web application from an Elixir back end and a React front end to live view. And that was back in 2020. Then in 2022 we made a transition from like all of our Pythonic stuff, all of our Python AI stuff, a bunch of big ETL stuff.
We transition that all to Elixir and yeah, I think as the times are they are changing. Things are becoming much more LLM based generative workflows, identic workflows, that sort of thing. And Elixir is really, really well poised, I think to I've lost connection and there I'm back, I think are. You still here? Oh, no. Let's check. We lost Chris, we'll give him a second to join backup and he's
back. I apologize I have changed Internet connection and hopefully that will see us through. So where? Where was I, if if anywhere when I dropped off? I think it was. Times are changing and we're starting to see LLMS enter our workflows quite a bit more. Yeah, no, that's, that's pretty much where I lost things too. Yeah. So yeah, the times, the times they are changing, we're seeing a lot more in terms of LLMS and
what LLMS can bring to, you know, web development, SAS, all sorts of, I mean, everything, right. And I think Elixir is particularly well suited and particularly well positioned to be a powerful player. You know, Python owns everything. Everybody uses Python for everything. But there are some fundamentals to Elixir, particularly, you know, OTP gives us a lot. And I think that Elixir is really well situated for agentic workflows in particular and
chaining together LMS, doing all that kind of good stuff. So that's kind of where my brain has been recently and something that I've just kind of started working on. Nice, that's cool. You know, I'm kind of excited. I like briefly was chatting with ChatGPT like to help me like architect a project idea and it actually suggested Elixir and I was like that's I wonder if it's because of my profile or if Elixir's getting a little more well known in like LLM space and
stuff. Yeah, entirely possible. And, you know, it may just be it's getting fed a bunch of stuff from, you know, Hacker News and everybody loves Elixir on Hacker News, right? Yeah, I love that. Why don't we start off with Landgraf? Like, why did that become a project? Why is that something you're working on? And yeah, why are you? Why are you working on it?
Yeah. So still really early days, there's nothing open yet, not sharing anything, but we're starting to dog food, some things that amplified and starting to work on that. There's already Lang Chain in Elixir. We talked a little bit before the show about that. You know, Mark Erickson has been working on that and doing some really excellent work. Lang Chain. The idea there is, I think to make things a bit simpler, a bit easier to bring together some of the, some of the more powerful work flows that you can, you can
get with LLMS. So you know, it's, this is kind of a, a major crux of the, the limits to what AI can do, right? It's related to the limits of what AI can do. I think if you just go and you ask AI something, if you're chatting with ChatGPT or what have you, it's going to come back with sometimes, sometimes really great results, sometimes really like flabbergastingly great results. But often it's going to require a little bit of back and forth. It might require putting some some constraints on on things.
And so the premise behind Lang chain is both in terms of making it easier to get started as well as easier to do exactly that chain those calls together. So, you know, it's the, the LLM is a lot better if you can automate some of that back and forth if you're trying to achieve a task. So you might ask it one thing and then you might ask, you might chain a call that says now based on that response that you
got back, refine it in this way. And just doing that in separate steps can lead to significantly better results who say, hey, can you correct this answer that I got back already? Kind of like, you know, the, the classic thing about how do you get an answer on the Internet? It's, it's put up, you know, the wrong answer and somebody's going to correct you. So Lang Chang gives you that. It also gives you tool use, which with LLMS, what that means is you can define a function by
its, by its parameters. Effectively, you can document those parameters and then you can provide that as a tool for the AITU. So it can make a choice when it comes back. It can say I either I've I've given you an answer or I'd like to use one of these tools that you've you've offered me so that I can get some more context, a little bit more information, or I might want to do something like use a calculator. And so Lang Chang gives you that, right? And that's, so to back up just a tiny bit with that Lang Chain is based on a library in Python,
which is significantly larger. It's it's tries to bring in the whole kitchen sink with everything, right? That the same people who made Lang Chain also made a library called Lang Graph. And this is a little bit of a, a simpler concept concept in terms of what it brings, right? It doesn't have to bring the whole kitchen sink, but it's more about orchestrating the workflows. So Lang Graff takes that idea of chaining and moves it on into exactly what it sounds like. It moves it into graphs where
you can start to do things like you can cycle, right? You can make decisions about what step you should do next. So one of the concepts there is like a router, right? And you might ask the AI based on, you know, the context that you have and the information that you have, what's the next step that I should take? You might want to do things, you know, patterns like fan out, fan in. You might want to, you know, to give you an example for something like that. You've got what's called, you've got a chain of thought prompting where you say, hey, give me your
reasoning as well as your final result. And we've seen really, really big improvements in the outputs from LLMS when you prompt it that way. One of the things that you can actually do is you can get let's say like four or five to all reason and then you can choose the best chain of reasoning and then get the final answer from that. So you can do this kind of like forking, you know, all this sort of stuff. And so I feel like that's something that we're missing in the Elixir community right now. There's a little bit more to it as well. I have some opinions about how
pluggable it should be and just the ability to take advantage of some of the primitives that we have, like behaviors to define really nice contracts and produce this kind of very highly modular approach and how like, and then bring that in with agents and then and these agentic and graph based workflows. So that's that's where I think that we're really missing the kind of functionality that you can get with Python. But it's also I think where
Elixir is poised to shine. You know, I don't know if you're aware of Microsoft's Autogen, but they spend a bunch of time and effort to basically replicate actor based concurrency because that's what they needed for agentic work flows. And then out-of-the-box with Elixir we have just processes that we can run right, which is. Exactly. It kind of. And so that's perfect. Yeah. No, it does exactly. So that's, that's kind of the
the next step. So graphs give you all of that, and that's really, really powerful. And then there are agents, right? And the agents are things that need to run independently. They might run for a long time. They might need to be able to access memory, They might maybe need to be able to receive messages or send messages or communicate and organize. And that's where you have these OTP primitives. We can just talk about them as Genservers, right? And if you've got this kind of structured contract of how you're defining these Gen. servers and giving them things like tools, giving them things like graph work flows that they
can run, giving them the, you know, the knowledge of, for example, our project process registry, we can tell it. We can say, hey, we know that these are these are also running. These processes are running. We know that they're at these Pids and we can send messages to them and get responses back. And they might retain memory of that conversation. They might, you know, they might retain or they might actually go off and do something else. We've got this, this really powerful kind of primitive and and paradigm that we're able to just bring directly to the
concept of LLM agents. That's really cool. So you're basically an agent is a Gen. server that's holding state, it's your stateful process and can do whatever you want in the process of your LLM worker prompting. And what you're saying is, sorry, I think my mic's a little far away. Like we've all played around on ChatGPT for people that aren't like super involved in working on LLM projects or machine learning projects on their
day-to-day, which we talked about. I feel like I fall behind not doing it. But you need to break down steps. You can't ever tell Claude to write you a full blown app, right? You have to be like, I need this function, it needs to do this, my output should be this, and it will usually do a good job with its baby steps, right? And so agents are the automated version of me making small
prompts essentially. Yeah, basically, you know, they, they've got these kind of like you can give them goals effectively and you know, you can get this kind of back and forth and and chaining going on and they can make a decision, you know, is this good enough? Do I need to, am I ready to start working on the next thing? They can hold things in memory as you mentioned. So that's not just in the process memory. They can also, you know one of the behaviors and defining is a is a memory module that can be,
you know, ecto, it can be elastic search, it can be ETS, it can be whatever. But they can make decisions like, you know, when you are chatting back and forth within a with AI, right? There's a conversation and there's a history of those messages, right? But the, the agents, they can choose do is this in that you think about that as your like your working memory, The agents can choose, is this something that should be in working memory or is it something that I should actually hold onto for later?
So maybe I retain, you know, a key value store somewhere where I got things that I can look up or I can access particular databases, what have you. Yeah. Yeah. All right. That's really cool. How how are you implementing it in like Amplitude? What? Well, actually, why don't we start with what is Amplitude and what what do you do there? Amplified. Oh my gosh. It's cool. It's cool. No, don't worry.
It's a yeah. It so amplified is basically it's, it's an AI powered knowledge management platform for intellectual property. I say basically at the start of that and there's a whole bunch of words in there that all are doing a bunch of work. But it basically comes from some a meeting of, of minds with a, a friend of a friend who's working in intellectual property. And I was working on a PhD in
innovation economics. And this is back in like 2013, 2014, when I was, I was doing that, trying to figure out ways of doing effectively what, what we all know now is vector search doing like document embeddings, but pretty early days, right? So I was working on climate policy and trying to understand the ways in which like climate change policy can affect the rate and direction of innovation. And in order to do that, I wanted to pull the much more
like nuanced information that was in patents to do econometric models. Most of the people who were doing this sort of work were using the classification codes on patents and stuff like that. And I saw an opportunity to use some of the, the emerging stuff like at that point it was like word to vec, Dr. Vec. There were, you know, different kinds of models that are very, that seem very old fashioned compared to what we have now. But the premise was to get this
dense vector to represent a patent and then use that in the econometric models. Turns out that if you can get a dense vector of, you know, of a of something, then it's really good for retrieval. And we've all learned that lesson now. It's very, very common, but pretty early days with that. And so I found it amplified with Sam, the guy I mentioned before in order to solve problems around basically information retrieval in patent with with
patents. So started off with the idea that, you know, there are a bunch of bad patents that are being granted. And part of that is just that it's really difficult to find the relevant prior art, which is anything that exists, any patent that exists for a given invention. And so we really wanted to democratize that and make it easy to find, reduce some of this waste. And so we were trying to, you know, build this kind of search platform. And then from there we started, you know, attending the
different needs and, and realizing that the, the value can be relatively earlier in the chain and can work towards the democratization aspect that I mentioned, getting it in the hands of like R&D users and allowing them to, to start collaborating with their IP team directly. They're like on the patents with the patents actually doing things that, you know, don't require them to be IP experts. Yeah, well and patent search in manual is it's hard.
It is and there's a lot that there's a lot that goes into it, right? So the, the, the people who are writing the patents, particularly the lawyers, they, they're trying to do so in a way that actually makes it hard to find. So the, the basic premise of a patent, the, the social premise, right, is that you share what it is that you've invented so that you, and then in return you get a, you know, a monopoly over it. And the idea is that there's a
social value to sharing that because it allows other people to take advantage of the, the innovations that you've made. As long as they're not infringing or, you know, they, they may be able, they may pay whatever. What ends up happening is that companies try to make it really, really difficult to find their, their patents because they want the, the monopoly protection, but they don't want to share the innovations that they've been making. And so they, they purposefully write things that won't be found with like keyword search. They try to obfuscate their,
their like application or the, the assignee names, all that sort of stuff. And so that having this more like semantic approach where we get a, a dense embedding, a vector representation of a patent kind of, we saw that as an opportunity to, to solve that problem or to improve the ability to retrieve things based on the semantic meaning rather than on the, the content of the particular keywords and things like that. Nice. In a different life, I actually considered going to law school
to be a patent attorney. And then and then I went the software route because I was like, I don't like reading that much. Yeah, fair. It's it seems like very, very difficult work. And honestly, sorry to any patent attorneys out there. Very tedious work, like extremely tedious work. There's a lot of like pouring over very specific words And you know, when you're when you're talking about like the the claims for a patent. If you ever read the claims for
a patent, man, there is that is some some language. Right. I don't even know if there's enough caffeine to keep me awake to read patents all day, No. I, I look at it immediately fall asleep. It's dangerous. You know, I'll be programming, I'll be working on the the SAS app and all of a sudden I'll flip over to a patent and I'm asleep. I feel like like Amplified is like such a great product. It just from the the aspect of being able to find things quickly and to even know if you're infringing on anything
with what you're building. Yeah, that's kind of, you know, the, the, the push that we've been making recently and where we've seen a ton of value come out is with R&D teams, right. And knowing early whether the, the idea that you have is worth pursuing. Because that's where, you know, you lose millions of dollars when you, if you start out on something you, you say, OK, you know, this seems like a, a promising path of research. We're going to dump the R&D budget into it and R&D budgets are huge, right?
On top of that, your IP budgets are really tiny. So you've only got a few people who are working in IP and they're getting all these requests from all the different, all the different, you know, R&D folks and they're really overrun and, and all of that. And yeah, we've been able to to kind of build a lot of collaboration features, just a whole, a whole bunch of stuff to make that process easier for people. Now are you internally using your lane graph library or is it a work in progress? Anything implemented on that end yet?
We, we started using it for structured outputs. So there's, there's, you know, there's, there's a library already out there called Instructor, which is awesome. It's really, really good. It uses Ecto. I wanted to go a slightly lighter weight route for that. One of the things about using Ecto and these these schemas is that you kind of you have to do it at compile time. Whereas the, the approach that I've taken with this, this
library is to use Nimble options and convert Nimble options into Jason Schema, because Jason schema is what structured outputs from like open AI and Azure and all those use. It's also, you know, what Anthropic expects. So, and I, I wanted to be able to define them dynamically, like kind of just as, you know, as things come in, certainly, you know, we can define modules and stuff, but it just, it just was a little bit more straightforward.
There's some issues, I don't know actually, I think that they might have been addressed in the most recent version of instructor, but some issues with when you when you document a, when you document a schema, it those documents, unless you say don't strip any of my documents or don't only don't strip these particular modules in your in your mix dot exs, you end up you end up stripping away the documentation and that can be a problem when you're trying to prompt using the documentation
for each field. So I found that this this approach using Nimble options and using and yeah, and converting it to Jason schema was, was a little bit more lightweight, a little bit simpler. We started using it for, we've got a a feature where you can we call it ask amplified basically where it allows you to define a question or a prompt and you're going to run it across and different patents, right. You want to ask this question across a whole bunch of different patents.
And one of the things that we wanted to be wanted to enable was the ability to get back something like a boolean or an extracted number or something along those lines to then allow you to filter or sort that set based on what the the the AI has returned. So using structured outputs for that and just literally just a few days ago implemented that. How? How does that work? Does the person submitting the questions like designate what
they want the output to be like or? Exactly. OK, cool. So, so right now it's as simple as, you know, a boolean, you choose whether you want to have a boolean response or a numerical response. Working actually on this kind of goes back to what I was saying about dynamic schemas before. We're working on the ability for the the user to define an output schema within the app as well. So build up, you know, I want it to respond with this, this and this and these are the this is the documentation and things like. That how are you handling that for persisting data with a
dynamic schema like I'd be curious is it just an embedded Jason at that point? Yeah, that's OK cool. Very cool yeah, all right, nice. That's that's interesting. How do you so like if if you have dynamic schemas everywhere, I'm guessing like every response then potentially just has a different schema? Or are are there things that always have to be there? So it, it depends in the case
that in the case of what we have right now, where we're allowing users to just choose between like a boolean or numeric response and it's just, you know, you have answer. And then actually we're using chain of thought and a little bit, a little bit of a tweak on chain of thought where we're getting back the, the answer, we're getting back the reasoning steps and we're actually getting back like a short canned explanation from the AI as well. We found that really, really useful for our customers. If they get like a yes, no, they want to know why. Why?
Like based on reading this entire patent, why did you give me a yes, no on this question here? Yeah. But but yeah, I know it's like, so a particular question will be associated with a particular output structure and just save that just based on the the the structure of what they've saved there. OK, so you're just saving basically a block of text and then you're querying an embedded, embedded Jason for
data. Yeah. All right, cool. Simple enough. I like that approach because I mean, I feel like it's going against everything you learn with like relational databases, but it's. This is, this is, you know, there's there's not much reason that we have right now to do things like joins and and things like that with with the data that's coming back here. Maybe that'll change in the future. But also Postgres is really good
about Jason B, so. Yeah. Yeah, you know, well, and really, all you're doing with your data is it needs to make sense to someone who's reading it right, like. That's exactly. Right, yeah, so you just need to be able to query things and return readable prompts or values to people. Yeah, no, that's exactly right. So we've got the answer right, which in this case right now we've got, like I said, boolean or numeric. But you, you know, if you define your own schema, that's going to be keyed with that answer there.
So we're always really going to have answer reasoning and explanation, you know, at the top level. And then whatever the answer is, the answer might be a struct or it might be it might be a a single, you know, like a a single value. Cool that yeah, this stuff is wild to me, but it's cool. I'm excited to see like I I started recently attending a local Elixir meet up here and
it's nice because it's in person and you know, you start seeing people in person again and be able to talk shop with people. And we were actually just discussing like the generic LLMS, like your Chat GPTS, your claws and all those. And I feel like there, there's going to be a ceiling that we hit with things like that. But then all these like niche LLM use cases, like we're going to start seeing a lot of
companies, you know, like Amplified, you're going to have your own LLM that's so specialized in patents and patent look up that you're not, you're not going to need these giant LLM models out there for being able to answer just any question thrown at it. Yeah, I actually, so I actually think like this is kind of the the thing about the the agents and the approach here. Yeah, certainly fine tuning smaller models definitely makes sense. I think fine tuning smaller models for specific tasks
generally is a pretty good approach. There is, there's an approach that's come out of Stanford and I'm blanking on the name of the library right now where basically they're they actually are fine tuning prompts rather than fine tuning the models and optimizing the prompt based on some synthetic data and stuff like that. Is it fused some prompts? No. Well, maybe I can tell you really quickly.
In fact, I can use the computer to tell you really quickly. Natural language processing with deep learning, prompting and. It's D Spy. D Spy. That's the name of the framework. Yep, there it is. Cool. Yeah. So their, you know, their whole premise is you get some, you get some training data effectively, right. You can do synthetic data as well that you're happy with and then it will optimize the actual prompt based on interaction with an LLM, which I think is pretty,
pretty incredible and pretty powerful. It does mean that you have to, you know, you have to do some training before you actually deploy the prompts, but it's pretty it, it ends up being, you know, a bit more cost effective, it ends up being a bit more transparent, that sort of thing. But to come back to your, your original point, you know, I, I haven't had a reason yet to, to fine tune a model and I question the direction of, of fine tuning them. And I think that the, the, the power, the, the place where
we're going to start to see a lot of improvement is around, is around these agentic workflows. It's around the orchestration. Like it, like I mentioned earlier on, I think, you know, you ask a really powerful LLM for an answer and fantastic, you might get a good answer back, you might not. You can actually ask, you know, much smaller, much, you know, less intelligent LLMS for questions and then pass it around a few times. And even within that, you know, that set of of interactions, it might be faster, it might be
cheaper and you'll get a better, a better response. So I think that yeah, maybe you know, we're moving towards fine tuning or or you know, specialized models, but I think particularly we're going to move towards orchestration of models and and you know, and self support of of models to get really good outcomes. Yeah, I love hearing your take on it because like, obviously I'm coming from like a very general point of view. But when you hear, when you hear
about like Google, you know, ChatGPT and all these companies wanting to like build nuclear power plants just to support everything that they're doing. That's why like I see the limit in these general purpose LLMS, right 'cause is that sustainable? Yeah. No, we don't. We don't have an alternative, an alternative approach to building LLMS. You know, we're, we're really, we're kind of running out of ideas in terms of how we can pack more information into the
size of the model. And we're already up against, you know, a bunch of constraints about like model size. And you know what that implies for, as you said, energy use, you know, water use and what it implies for, you know, just things like the, the memory overhead of getting a response right. So, yeah, I, I think that we're, we're, we're running up against that cap. And I think that that's why you saw this massive exciting change
from like, you know, you had GPT 2 and then GPT 3 and then 35 and then four and then four O. And if you notice like 4 OO, things have kind of stopped after four O. And now we've started to see the rise of reasoning models, which are slightly different. They're, they're not, they're basically doing this sort of like orchestration internally. There's a it's, it's, it's actually reinforcement learning, but they're doing this kind of reasoning internally, the same
kind of reasoning that you think about with like chain of thought. It's a little bit more complex than that. And that's where you see something like like deep research that's coming out where they're starting to, to put these things together. That's an agentic workflow, right? Deep research is, is literally that is those are agents coming together. And that's kind of where I think the best opportunities for gains and improvement and gains and intelligence for these models is, is going to be. I, I, I just, you know, we don't have anywhere else to go in terms of architecting the model in terms of architecting the
LLM. And as you said, we're, we're spending a ton on energy and water, Although even if we make them more efficient. Jevin's paradox is, you know, I don't know if you know the Jevons paradox, but it's 19th century basically said, you know, we can make things more efficient when we're burning coal. And actually in doing so, you induce demand, it drops the price and you actually on, on in the aggregate, you do more, you
use more coal, right. So even if we make the models more efficient, we're we're going to end up using more energy. But yeah. Well, it's it's with any, you know, big technology leap, right? Like it's fun and exciting at the beginning and only the diehards use it, but then it becomes mainstream. Definitely, yeah. And the hope, I guess, is that, you know, we get enough value or there's enough application and we get enough, you know, intelligence and all of that from these models as they become
more efficient that they justify the increased energy and water use. But we shall see. Yeah, I don't know, it's interesting. And like I I always used to kind of just like be against what? Well, one, I don't think like AI and please correct me if you think I'd love your opinion on this, but I think we have quite a few years before we have to worry about them, like replacing software engineers and things like that. Just because you still need to understand like the full data
architecture of something and how you're building something. Because like I said, you can't just give it a giant prompt and be like, all right, build me this marketplace. It's not going to compile. And if you don't know how to already code, you're not going to be able to fix any of the output that it returns you. So I think like we're, how do you think we're pretty far away from like being able to do like huge iteration of jobs and tasks or is that where the agentic workflows come in and that? I think the agentic workflows
are going to help, I think, but that that doesn't change my. So both basically, I, I, I think that it's, it's going to be we're, we're moving towards a, a place where it's significantly more possible to build large, you know, large code bases with fully autonomous AI, right? So things like, you know, your rag based workflows, retrieval, augmented generation, the ability to, OK, let's, we'll break down parts of the, the
code so that we can, you know, go and access the relevant portions when we need to. We can, you know, because, you know, the, the context window is usually not big enough to fit an entire code base in. So you have to figure out ways of improving that. And then you can do things like, you know, you can have a, you can have a, a draft, you can have a, you know, APR agent, which is basically just saying, Hey, this isn't good, this is good, whatever. You could have an agent that does things like that, has tools available to it, like sees if things will compile and can test
if things will compile, get back artifacts. So, you know, with Elixir, you can run, you can access some of the code stuff. I think that there we're, we're getting to a point where if you wanted to build something that did stuff you, you probably could at, at the same time, I don't think that it's going to replace humans for a good while yet. And it's, you know, I, I've been kind of beating this drum. It amplified for a long time. You know, we had a lot of patent searchers that were worried that AI was going to take their jobs and, and all of this stuff. And it's, you know, you see it in a bunch of different forms.
It's it's, you know, people saying, Oh, well, AI is not going to take your job, but somebody using AI is going to take your job. And I think that that that's probably the direction we're going. Right, I agree because it's a tool and I always tell people like AI is great for like helping you solve problems or, you know, like rubber ducking off of. But if you don't have like the a good bad code smell and you can't say, no, this is wrong, we can't go that direction. You, you're not going to be very successful using it as a tool. Like you still have to know the fundamentals of whatever
programming language you're using to build a product, right? Absolutely. I'll, I'll actually I'll come back to amplify for this is that, you know, one of the things that we, you know, I, I, I'm sorry, I mentioned earlier that that we wanted to try to solve this problem of retrieval, right? And we wanted to solve this problem of making it difficult to find prior art. And I would say that, you know, we got a good ways there and then learned that you simply can't. And the reason that you can't is that every time you go to
search, you have a whole bunch of tacit information in your head. And it's not just about similarity. It's not just it's not just like I've defined this, I've defined, you know, this invention. Find me relevant prior art. Well, relevant in what way? Relevant is not a a, you know, a 01 thing. It's not a it's not even a continuum. It's it's multi dimensional. There's different ways of thinking about the, the similarity. And So what, what we, you know, where we ended up moving was
building really powerful iterative structures that utilize the best of both worlds, right? So you can sort based on the AI's determination of of similarity, right? Just vector based similarity between these documents. But then you can do things like you can include keywords, you can include really, you know, your old school queries, you can include all sorts of things to filter. And then on top of that, you can go and you can look at a A2 dimensional map where we actually plot the, the vector representations down into two
dimensions and see the similarity in 2 dimensions rather than the, the single similarity dimension of a list. Right. And giving those tools to the patent searchers has been extremely powerful. They're able to, you know, to iterate through and to change what they're doing to, to zoom in really far and then choose things that they think are relevant. And then we take into consideration that relevance. And then they zoom back out to the whole set and all of a sudden it's sorted in a different way where they're finding things that they wouldn't have been able to find with the filters that they were putting on before.
And I think that it's a very similar kind of thing with with AI in the, the that kind of, you know, finding good work flows, finding good ways of, you know, interacting with this system that can empower you to do your job better rather than replacing you. Yeah, well, like I, I, I use AIA little bit if I'm like right in a database query or something that I'm not super familiar with and I'll like be hacking my way through and I just need a little bit of fine tuning done to it.
So like AI is great at helping with like small tasks, right. And I love like I've been using cursor a lot as my IDE and I love the auto complete like especially if you're doing like a massive refactor, it'll just like, you know, that tab button and it catches on pretty quick and so like. Those little things like quality of life, things with it are really nice. I agree, best auto complete really. Like I don't want it writing the whole thing, but it's, it tends to know the, you know, if I've
got a pattern going on and I don't want to have to type it out a whole bunch of times or, you know, I've just changed something or up in the, you know, the top of the the file and all of a sudden I want to go make a change below to accommodate that. Yeah, it's excellent auto complete. Yeah, and I no longer have to remember all my shortcut keys to highlight the same thing on multiple lines. And I just. Yeah, yeah, yeah. Thank. Thank you, AI. Thank you, Claude. Yeah, no, I agree. I think it's I think it's really good for that. I think it's really good for, you know, it's, it's a better version of like, you know, TLDR
on the command line. Like I can't remember how to do this particular thing with said or what have you really good for that. And then I think I think so the very small things. And then I think some of the big things that can actually be really good with as well where you're, you're, as you said, kind of like doing brainstorming, stuff like that. I find it to be a really good rubber duck for stuff like that. I find it really good as like a, as like a sanity check in a lot of ways, particularly if you're
using something that has access to the Internet, right? So like perplexity or or you know what, I what have you, there's a lot of like, hey, is this, is this a reasonable way of going at this? Is this a sane way of going at this? And yeah, you get a, you get, I think you get pretty good responses with that sort of stuff. But then it's the in the middle stuff that's that's problematic. It's the. Real. Yeah. It'll be hit or miss, right? Yeah. Yeah. And like, what's nice, like, especially like in the world of remote work, rubber ducking with
it is nice because you don't really have, you know, another software engineer sitting over your shoulder that you can like bounce ideas off of and be like, you know, then you're like, oh, I was staring at a simpler solution this whole time and I just discovered it talking with a fake, a fake person. Exactly. And I think that you know the the act of writing, the act of telling someone, right? Like that's why rubber ducking is so powerful. Very frequently you rubber duck with someone you you come to your answer. You solve your own answer
usually right, Just starting to talk about your problem. Exactly. And I think that this is also where it comes down to the expertise and trust. I think that if you're rubber ducking and you're trusting what's coming back, you're gonna often make mistakes. So it, it just gets things wildly wrong sometimes. You know, you, you give it, you say I'm getting this error. I don't, I don't know why, why I'm like, what's what's going on here? Which by the way, stack traces, it's excellent at that. But yeah, you end up, you get
some nonsense back sometimes. And you really, you really need to have the, the, the code smell issue. You know, you need to be able to to sniff what's going on and then it's really powerful. But I guess it's the same thing, you know? How much do you trust your colleague? Yeah, well, just enough to get your brain moving, right. You gotta have it flow. Exactly. But like, yeah, I'll use. I'll use it a lot to write unit tests for a lot of my code and, and it's nice because it kind of helps me kind of get, it gets
most of the use cases that I want to think of, but it also gets my brain going like, oh, and now I'm missing this use case and this use case. And then I don't have to write all these unit tests over and over. And you know, they pass. I don't 60% of the time but and then but it gives you a good starting point at least with writing your your edge cases. I think that makes a lot of sense. You know, I, the advice is often, you know, to say, write your tests and then have the AI
implement, do the implementation rather than the other way around. But I, I think that what you're saying about thinking of the edge cases, thinking of the, the partition like the potential inputs and all that kind of stuff. I I think it it ends up helping you out a lot there. I'm working, I have a big problem. I actually need to start doing more test driven development because it the, the planning is what helps you write better code. And I actually just had a conversation with a colleague of mine and he was like, just write down what you're going to do
before you start writing code 'cause like I'll have my problem where I like, I'm so excited to fix a problem or write a feature. I just like dive in and start writing code and like, I always end up at a really good solution, but it's probably taking me a little bit longer because I jumped into writing code too quickly. So like, put in the little bit of planning by like writing tests first, writing down your approach to the problem before actually writing code is it's, it's a, it's a problem that I'm
working on. I, I'm super guilty. I, I, I think a lot of folks are, I think I like to say that or blame it on my, my past as a, a data scientist and that it was, you know, everything was high iterative. Everything was very like repo, repo driven development. You just try it till it works and then it's often throw away stuff anyway. And so keeping that, trying to change that mindset when I'm, you know, doing more crafting as opposed to just like bashing out a problem. It's it's it's tough. And I'm definitely guilty as
well. Yeah. I have a lot of respect for people who can, who can think clearly and sit down and, you know, really hammer it out. Yeah, they're like the Jedi's of software developers like and like when, when, when shit just blows up too. And they stay calm and they're like, it's OK. They had throw a little laugh in there and they're like, this is how we'll approach this. That's it. My, one of my, my colleagues, Simon, he is just, he is just the most even keeled, everything can be exploding around you and
he is able to just keep just the coolest head and go and figure out, you know, the what needs to be done to to solve it. And I'm, I'm not quite there yet. I I panic and run around like a chicken with my head cut off sometimes but. I'd like to say I'm calm, cool and collected, but I I'm the same way, yeah. I'm like, why isn't this working? I'm freaking out. And it's like, Oh, well, you've just typed it all wrong because you wrote it in a panic and you know, you're and The thing is still down and yeah.
Yeah, a lot of like early on projects before you start getting like your CI and CD implementations. So you're doing like a lot of manual deploys. I've had so many panic moments where I've just like, taken down my entire server and I'm like, what? And then you like panic and it takes you an extra 10 minutes because you just aren't thinking. You're just like panicking and banging on your keyboard, you know? Yeah, No, exactly. Or you do something, you know, something silly like, you know,
you bring, you do, you bring down, you take down something that you know takes 15 minutes to get back up and you didn't actually need to take it down. And it was, you could have fixed it while it was while it was live. And yeah. I've done like, like I, I always like to use like Docker containers and things. And I've done the kill all way too many times when I didn't need to. And I'm like, why did I just do that? Because now I'm going to sit here and watch this damn thing build for 10 minutes. Yep. Just the, you know, with great power comes great responsibility, and I'm just
sitting there just wiping stuff out. Right, like OK, I'm going to drop my database. It's cool I have a backup. When was the last time you tested your backup right Like. It's true. You know, Like I have a bunch of side projects and I, I have pretty good automations in place that, you know, just do my backups to S3. But like, yeah, it's true. Like when was the last time I grabbed one of my database dumps and used it? It's been a while. I had AI had a situation a few months back actually, where
Elastic Search had decided to choke on its snapshots and I lost like, I don't know, like a good two weeks of ETL updates. And I mean, you know, fortunately ETL updates like I can just, I can RAM them through within a few hours if I really need to, But that was, that was a very stressful time to say the least. Yeah, that sounds horrible. I had a, a buddy that he kind of understands databases, but he's
more of like a CAD engineer, right? Like so he does like automations for like engineering drawing programs. And they had, they were, they had a sales guy who was using a pirated version of some Microsoft product. And while he brought in a Trojan into their company and it sat on their servers just long enough that it was on every single backup.
So like they kept like 30 or 60 days of backed up data, right? And it, it went live and it was like, what is it when you know a pay us or else what is that called a ransom? A ransom, a ransom Trojan? And so all their data was corrupted and it ended up being a huge nightmare to rebuild it. But yeah. I bet. Yeah, stuff like that. Worst nightmares ever.
Like and it's all like because some sales guy pirated software when you probably should have just gave him a Microsoft suite because he's your sales guy. Yeah, this is the knock on effects of of trying to save money, right, Right. You you end up spending a a lot more. Yeah, yeah. So yeah, yeah, it took them down for like weeks too. And that is, that's a very long time. That's yeah. Yeah. OK, I I haven't quite had hit
that that level of of pain yet. I don't think I'd be. Able to sleep one time, yeah. No, no, it would be weeks of no sleep. I'd be up, I mean, you know, small start up and I'm the CTO and founder. Like I I wouldn't be sleeping. Regardless, I'd be manually manually entering database records and honestly like if I didn't know what else to do. Yeah, I think so. I mean, just just how fast can I type? Yeah, oh man. But So what brought like what
even brought you into the space of patents and amplified? I said it right this time. I don't know why amplitude keeps sticking in my head but. Amplitude's a thing and I think amplitude is also an IO. So I think you got you got 2 for one there. I'm gonna, I'm gonna look it up right now just to see why are they in my head? Nah, it's yeah, go for it. But yeah, what brought you into the space? So, I mean, it was, it was mostly the research for my PhD, right?
So, OK, yeah, I was, you know, I kind of got I, I moved in this direction towards climate policy and just was increasingly geeking out. I actually did a history undergraduate, wasn't quantitative, didn't do a lot of computer stuff, then ended up doing a In the UK you do one year masters so I wasn't going crazy but I did. I end up doing 2 year 2 masters, 21 year masters and the first one was in sustainability and transport. And in doing that I did an economics dissertation and
learned a bunch of R and really actually enjoyed it. I, I jumped onto the R train right when Hadley Wickham was like super active and was making things a lot more functional. So I kind of had this like functional approach to statistical computing and a programming approach rather than using something like, you know, Stata or SPSS or whatever it was, it was actual programming. And I just kind of ended up running with it. I really, I really enjoyed it. Did another masters in environmental economics and
energy economics at at UCL. Stuck around there and did did a, you know, started a PHDI dropped out to do the startup. So don't don't take the impression that I actually have a PhD. Oh wow, I was going to call you doctor and I can't now. Oh yeah, you can anyway if you want to. It's not illegal here. I think it's Germany. It's it's against the law. Oh, wild. Yeah. Yeah, yeah. But yeah, so I kind of just went in in this direction of becoming more technical, working on, you
know, on econometrics in particular. And I was really interested in the ways that, you know, understanding effectively the social cost of particular approaches to environmental problems. So, you know, I was really influenced by there's a, there's an economist at, at he's at MITI think, or Harvard is at MIT, Darren Asimoglu, who did a bunch of work on basically the, the
social efficiency, the social cost of energy transitions and, and, you know, environmental shifts from clean to dirty technology or dirty to clean technologies. Because along, you know, when you, when you make those shifts, when you make policy choices to try to reduce, you know, carbon emissions or, or whatever, whatever you want to do to improve the, the environment, there are what, you know, distributive costs. So you know, it can be.
It can actually be really regressive. So you deploy a lot of the. Hardest hit? Yeah, a lot of policies can end up being detrimental because they'll they'll force things before we're even like technologically prepared for it already. Yeah. And so there's there's that's the other aspect of it, right, is the balance of how do you try to induce technology? How do you induce in investment? Because, you know, when we talk about technology from an economics perspective, we're talking about something that is,
you know, it, it's a product of spending, It's a product of how much effort and time and money that we're putting into it. You know, it's a, it's an imperfect relationship, but we have a pretty good idea, you know, of, OK, we spend so much, but there's a bunch of stuff that goes with it, a bunch of dynamics that go with it. So, you know, when I was talking earlier about trying to hide the invention, one of the things that that ends up affecting is what we call spillovers, where you, if you have a, a, a, you know, a new technology, you have
a patenting inventions. The, there's a, there's a value that comes to society from having made that public because there's investment in that technology. It creates a, a new kind of direction for technology. And so different policy interventions, they have different outcomes when it comes to technological change, right? And the investment and in particular technologies. And so I really wanted to understand that because it's one thing to discount how many patents you have or to, you
know, the Holy Grail is to try to get spending on, on the actual investment. But companies tend to not give that up or you have to get specialized access to, to get that information. But it's another thing entirely to understand, OK, this direction is starting to grow more more quickly than this direction. And when you, when you can see that, you can start to take, you can take that into consideration and start to understand how that technology may play out in terms of like the distributive effects, the network effects, you know, all of these different
things. You can start to understand the transition costs in a better way. And you can you, you know that like you can then you can start to get a better understanding of of the the cost and benefit, right? So how fast is this going to transition us? Is it going to cost more to society than the actual increase in emissions or then the then the decrease in emissions might give us. It allows you to really focus and to make better and more informed decisions from a policy perspective. So yeah, that was that was kind of my interest there and it
ended up growing into all sorts. Yeah, that's really cool. I'm curious, like, do you start to notice like industry trends from how people are using your platform before they start popping up? No. And the reason, the reason for that is that we tend to be very, very, very careful about user data. You know, this is some of the most sensitive data that that these companies have. So we have it's, it's basically
the data and particularly like the things that they're searching for and the things that they're trying to understand. We keep as much under a lock and key as possible. And it's very much under like a, a, you know, minimum access even for me, right. Like I'm not, I'm just not able to look at what they're doing. Yeah. Yeah, it's always like the when you enter certain like startups and businesses, you know how serious they are about security, whether developers have access to prod or not. Yeah, exactly.
'Cause it, it's a, it's a sensitive fence to walk on, right? Because it makes your life as a developer a lot harder if you can't troubleshoot with some production queries and things like that. But also you have to worry about all your users and clients sensitive data. Exactly. So you know, for us we're, we're you know, ISO 27,000 and one certified. And the main thing with that and getting that certification was just creating a process for it,
right. So the default is we don't access it, but we have a process whereby we can, if we need to, just in response to particular situations, right. So yeah, it's just again process writing things down, kind of like at the beginning of coding, which I should do more of. Yeah, well, I'm glad that I'm not the only one that doesn't do it. Yeah, it's, it's like you were saying, like I, I always, I write my tests 2nd and it's like, dude, why don't do that? Like every like test driven
development's amazing, right? The when like in concept and theory. And I'm like always very impressed by people that can do it consistently, but I struggle. I like, I'll try and then I'm like I just want to write code. Yeah, I, I think for me as well. So this happened with Explorer and it's kind of happening now with this library. The, the thing, you know, that I get hung up on is the, the intuitiveness of an API and how easy it is to use.
And so, you know, I'm doing a lot of like I'm implementing things and trying to get to like get from zero to one in that initial level of value. And then I'm just playing around with it and in, you know, and trying to, to refactor and change things and all this stuff. And I'm sure that they're, they're, that the test driven development people out there will be going, you absolutely can do this with test driven development, but like, I am not good enough at it to do that. And so I, I'm, you know what I'm writing and rewriting and trying to find these, these comfortable
points. I, I'm doing that without tests, right? Like maybe I have some tests, right. I've got some integration tests or some like high level things going on, but I'm just doing a lot of debug, you know, print debugging and and looking at what I've got. Dude I'm also I'm really bad at not using the built in like debugging tools and you know modules and I'll just be an IO puts guy and inspects trucks and things and that's how I function but it's just quicker.
For me, I started to do yeah, I've started to do a lot of the same. Just with the built in debug, I realized that I had been missing out on a lot in life. When I started having having doing pry on debug calls and actually being able to get into IEX and look at the look at the environment and see what you know the state of things is, I was like, I don't have to. I can actually just go in and interrogate it. It is really nice when you use it and then like I always like, revert back to just line
outputs, you know? I found it, it's particularly useful for me with Phoenix, right? And with, with live view. And you know, some, some of our views are really big. And I know that there's some, some good tools out there now, some like browser based tools. I saw one just recently, I can't remember what it was called actually, that had like really good introspection on the current state of things. But yeah, just doing pry with debug when I particularly like in like a really deeply nested
leaf of my componentry and it's my whole world changed. Yeah, that's awesome. So like on the day-to-day, I'm just a back end engineer and at our Elixir meet up, we, we usually have like someone demoing things, right, They'll do something Elixir related. And one of the talks this time he built like just a simple Genserver live view like poker app and kind of walked through it. But he implemented live view tests and I've never seen live
view tests before 'cause I don't, I don't do much of it. And it was, it was cool to see how simple writing like, you know, just front end tests are. Yeah, it's, it's nice. It's, it's a, it's a really nice way to do that. As someone who has played with, you know, JavaScript front ends and dealt with like Jest and all of that stuff, I, I find it a breath of fresh air to do that with live view.
Yeah, we have someone, someone as want us to give them a shout out because they think this is a pre recorded stream, but it's not. There's the chat. I just popped it up on my face. So what's up LO B.Tech? Oh, we got another Chris in the comments wondering if Christopher has thoughts on projects like Beaver and the future of MLIR in the Elixir ecosystem.
OK, so Apollo would have been a better person to talk about this. MLIRI believe that that is the the default for for the EXLA now. So I could be mistaken about that, but I'm pretty sure MLIR as a compiler and and back end is the the default for EXLA or sorry as a compiler rather so yeah so.
Can you? Can you like for, you know, us simple folks just briefly explain what it is? I I'm very much a simple folk when it comes to this stuff as well, but it's basically intermediate representations and it's kind of how NX works and how NX is is able to do what what it does. But it effectively there, it's multi step and multi stage compilation. And there are a number of kind of implementations of the the
kind of sort of the mid level to byte level encoding or compilation steps that happen. There's a number of implementations. So there was XLA, there's MLR and they all kind of they sit in different places. So I'm kind of glossing over some of the the technical relationships, technical differences, partly because I'm I, I'm trying to hold a lot of this stuff in my head at once and forget most of it. I forget everything and then I
have to just, like, read documentation again and be like, Oh yeah, like, that's just my life, you know? But but yeah, it's it's basically. So you've got a subset like, yeah, a subset of Elixir in def N in NX. And that gets that gets converted into an AST. And that AST is then passed
along to MLIR, which then produces an intermediate representation of it, compiles it to an intermediate representation of it that can then be compiled to particular targets. So it can be compiled to CPU code, GPU code, you know, different, different types of of code there. So. Yeah, well, dude, when I had Paulo on talking, like when he got like he, I mean, he still stayed like, you know, up here with me, you know, but like you could tell, you could tell like
he could go really deep into, into all the machine code and like, yeah. He, he's one of the most brilliant people I know. It's it. I'm, I'm constantly flabbergasted at the work that that he does and the ideas that he has. He's just and, you know, really nice guy on top of it. Yeah, super nice. And actually like, pretty good at breaking down the complexity of the things he works on to just like have a conversation with me because like, I, I don't know, like it's, it's wild. But like, yeah, super cool guy
for sure. No, I think he's, I think he's a great communicator as well, for sure. Yeah, which you always hear about, you know, really smart, especially in the software world, you always hear about those antisocial people. And honestly, I feel like it's rarer and rarer because I have a lot of really smart people on that can just talk for an hour and a half and I just have to sit here and nod. It makes my job so easy. You know what the, the talking in other, other areas of my life is considered the antisocial behavior.
And it's just, it just so happens that it does well when, you know, when we sit in a room and and chat back and forth and I'm expected to be on air. I think it's why I like to go to the go and talk at the conferences as well. Just get up and talk at people for an hour. No, yeah, no, it's I, I, I agree. I and I think, I think there's something particularly special with the Elixir community. I think there's a lot of people who are kind of on the, you know, the, the, the curve, the, the, the, the beginner mastery curve. I think that a lot of people end up on the, the mastery side
coming around to elixir. At least that's, that's what I like to believe. You know, it's simple and it's really, really powerful. Well we've had our nightmares enough. Like I spent like 8 years with like node and Express and then when you find Elixir and the power of, you know, Beam, you're like, my life has changed. Yeah, no, exactly. I, I for me, you know, R and then and then a lot of Python. And I I really don't like
Python. Well, like I know I I probably sound I so I've not, I've like written Python, but like for super small things like mostly just playing around. So I can't really speak to that. But I've always said if I started with a functional language and immutable language, I think programming would have been a lot easier for me. Yeah. Oh, absolutely. I immutable, immutable data is like I, I first encountered it with closure actually, and was just like, oh, OK, this is, this
is the, this is the way that it works, right. And particularly coming from a a data background, I was like, oh, well, you know, data is just, we're just passing one piece of data through some functions. And, you know, data science is just passing one piece of data through some functions and getting something out the other end. Right? Yeah. And it's a lot easier to do that when you don't have to worry about some mutation happening along the way that you weren't expecting some single. Some Singleton holding state
somewhere that a million functions can interact with. Uh huh. No, exactly. Oh dude, I just remember. So like I when I first started, I was just like an iOS developer. And when you, when you struggle, well one you are struggling with the idea of object oriented programming. And then I feel like you learn to improperly use singletons and Singleton patterns and things like that. And then you Start learning what race conditions are like you
have this like you slowly build of things not to do right. Like, yeah, what is the Dunning Kruger curve when you're at the top of Mount stupid and you think you know everything. And then you slowly start finding all these things you've been doing wrong over and over. But I feel. Like it's my whole life. Yes same but like you slowly I feel like you would really cut that down in an immutable language cuz it prevents you from doing from creating bad
patterns. Yeah, no, I, I think so. I think you know, it was just A's talk from Elixircon's EU. And his patterns one exactly so good like if anyone has not watched that I can't recommend like that is one of the best talks. It was fantastic, Yeah. And that's just, you know, that's that I think that's exactly it, right. Like I think Elixir, I mean, number one, at the end of the day, it's, it's, it's a pretty
small language, you know, comparatively, it's got the power of OTP. It's got some very clear, you know, some very clear mechanism, some very clear ways of doing things. And yeah, I, I don't know, I just, I feel like the, the, the, the, the primitives that we have and things like like behaviors and protocols, they solve a lot of problems without the need to do these kind of, to do patterns
necessarily. They're just, they're just there. They're, they're ready to go. Yeah, it's, it's technically implementing a pattern, right? But you don't need this full, this, this whole like song and dance of I'm gonna do this sort of pattern or I'm gonna do this sort of pattern or what have you. It's just there. It's just you're ready to go. Daniel Bergholtz just said Christopher is looking like a villain from a James Bond movie. Oh yeah, no, I, so I went to Melbourne over Christmas and I, I, my, my wife was like, you
know, you gotta, you gotta lean into the Melbourne vibes and do the, the. Stash because I just, I love the stash. That's hilarious. Yeah, I, so I, I, I shaved it off and, and I'm just pushing it now. I'm just seeing how long I can get away with it, you know? There you go. It's been a couple of months now and I haven't gotten yelled at properly yet, but I'm glad that I called out on the Internet for looking like a Bond villain. Yeah, I love it. You got to like freshly, freshly like Bick the head too, so it's like shiny. I mean, I'm not, I'm not fresh,
sorry. I. Apologize or like super. Super shiny and just and buff it. Yeah, maybe like Austin Powers get a white cat. And OK, I've got a black and white cat. That could work. It could work. Yeah. Oh man, that's. Funny. Now that distracted me for what what we were actually talking about, but. I think this is this is significantly more important. Absolutely, absolutely.
To be called a Bond villain, like it doesn't get better than that. I mean, I need let's see how this isn't particularly Bond villainy, but I'm trying to. I'll try to. Like honestly you're wearing too light of colors. You got to like get more black on. You need like a darker background. I know this is like, yeah, just flip the lights off in here. We'll work on it. Maybe like when I have you on again, we'll have to. Yeah, it's, it's really funny. The guys I'm, I'm at a Co working space and the guys that I work with are this is like
their podcast room and it's actually set up like there's like, you know, mics and there's cameras and all that stuff. And I just, I didn't catch them in time to be like, Hey, can you set me up for a live stream? Cuz I can do it. Like there's, you know, there's like lights and all sorts of stuff. Yeah. Yeah. So, you know, do this again and I'll, I'll make it real pretty. I'll, I'll get some purple lights. We can, you know, vibe and match and. Yeah, well, you're gonna need like red or something, you know? Yeah, it's gotta be red.
It's, I mean, maybe I can just throw up a green screen and emulate some flames or something. Yeah, you need something evil, you know, and hope you know, we can if you get this a little Bush here. We like it, maybe. Yeah, let's get it out here. Yeah, there we go. I, I don't know that that would capture the Melbourne vibes that that. Moment, yeah, you're kind of getting outside of that, the surfer mode at that point A. Little bit, a little bit, but, you know, avant-garde. That's funny, My my
brother-in-law is Australian and so him and my sister live in Adelaide. So cool, I I get to get out that way a little bit. Yeah, it's a beautiful part of the world, SA and the beaches in South Australia and just like right there near the city and not a laid are fantastic. Yeah, Yeah, we've got the hills right there. It's it's a pretty wonderful place. Yeah, it's pretty cool. But they always come here because they want to ski. It's either, you know, Jackson
Hole down here in Utah or Japan. Those are their choices. I say like, you know, there is some skiing in Australia which people are surprised about, you know, but it's. Not it, is it? So like, yeah, they do get snow and it it's basically like wet, sloppy spring snow, but they have it. Yeah, but like, so up in the mountains in the, in Victoria in particular, there's there's some ski resorts and stuff there's like, what is it?
Mount Hawthorne, Hawthorne, Mount Haltham and there's Mount Buffalo and a couple of those and some of it's some of it's pretty good. There's a pretty decent season. It's high enough. People are always surprised and there's like I. Know it is well because they just think of Australia being hot, right? But you know. For the most part, it is. Well, where, where everyone lives. It is right. And then, you know, get out in the Outback. You have desert and mountains and altitude. Yeah. Yeah, exactly. Yeah, some, some beautiful
spots. There's this kind of like there's a whole, the eastern, they actually call them the the Alps, you know, as do the the Kiwis in New Zealand. They have their own Alps as well. But yeah, the, the, the chain that goes up in Victoria is, is pretty good. It's pretty good. I went up with my kiddo and did some, some sledding. Oh, nice. This is really fun. Yeah, that's awesome. I think I'm incredibly spoiled where I'm from right now because like, I grew up in the Midwest and I don't think I'll ever ski in the Midwest or East Coast
ever again in the US. Like it's not worth it. Yeah, yeah, I, yeah, I'm, I'm, I've not ever been a real skiing guy. Maybe it's because I grew up in Florida and just spent a lot of time, you know, at the beach. But yeah, it's, it's very flat in a lot of a lot of these places. I have, I have another sister that lives in Florida as well. And she would, she would, she would probably join you with that. She does. She does not like vacationing to cold climates. I don't understand it.
Oh, no, I, I love vacationing to cold climates. In fact, like I, I love cold climates generally. I there's a reason I'm not in Florida. I was just peace, you know, I was, I was got out as quick as I could. So I, I like the cold. I like the cold. I just, I haven't ever really situated myself somewhere where I've got a lot of time to go and ski. Yeah, yeah, it's a problem. I I discovered the mountains in like my early, my early 30s and now I don't want to live anywhere else. And I used to think I was like, I was like in Southern
California. I was like, Oh yeah, I'm never going to live anywhere else. Like 70° every day, every day of the year. Like. Why would I want anything else? And then I found the mountains and. Seasons, seasons are a wonderful thing. I think they really are. You know, it's a, it's been one of the, the big things moving to the Netherlands from being in Australia for a while is getting back here and seeing, you know, seeing the leaves turn, getting some snow sometimes getting, you know. Do you just take advantage of living wherever you want just
for because you can? Or are there reasons that you're in Netherlands and Australia? It's a long story, a little bit of both. I have the freedom of working remotely, but yeah, kind of. But also don't want to be moving around the kiddo too much and all that stuff so. Yeah, yeah. It's hard to move kids around, especially once they're in school. Yeah, no, exactly. But yeah, kind of get to. I have the ability to choose where I want to be, which is pretty great. Yeah, that is nice.
That is one nice thing about being a software developer. We actually have a good question that you might. It's kind of off topic but like you're a CTO so you're in charge of probably hiring people and all that good stuff. We have Carl Lewis. Hey guys I have a question not regarding to what Chris does but I believe it's a good question. I'm learning elixir, I'm loving it. I do have back end experience with PHP and node JS but now I want to work in Elixir. I can't find any jobs for it.
Any recommendations? Yeah, This is, this is kind of the, the perennial problem. I think that, you know, we've, we all have kind of tried to figure this out at some point or another. Part of it, part of what's going on is I think Elixir makes you really, really, really productive. And it means that outfits that run and use Elixir are typically not doing a ton of hiring.
They don't need the big kind of swathes of themes, swarms of people make it a little tough. There are some good like niche job boards. You know, and I think being just being active in the community, it's pretty, I think you'll, you'll end up finding people pretty quickly. But yeah, it's, you know, compared to juggernauts like Python or or, you know, or JS or what have you, it's there's just a relatively fewer jobs. Yeah, like, so I mean, if you
want my advice, because I basically created my own Elixir work for four years until I got, you know, a full time Elixir job. And you kind of have to like just keep side projects going where you're using Elixir and yeah, get yourself in front of the community because it is a small community. And when you start meeting people and like, I don't know, like start a podcast and then you start having CTOS on and people that start really cool
companies that are all using Elixir. And then you start those awesome networking connections and you start just meeting people. So just get involved, even if it's just like a local meet up. Just know people. Yeah, I mean, the, the local meet up is how I started to, to get to know people. It was actually in Melbourne, which the, the, the Melbourne Elixir meet up I think is, is still running. It's been kind of dropped out during COVID and stuff. Yeah. I mean, you know, I, I, I wouldn't recommend starting a
company so that you can choose your own tech stack, which is kind of where I'm at. It's, you know, cart before the horse and all that stuff. But I, I would, I would definitely echo the, the get, get involved in, in the community. People are really, really great. They're really kind. It's, you know, you've, you've literally got Jose running around like just an absolute crazy person responding to everything all the time. I don't know how he does it. Jose came on my podcast like episode 12 or 13, like I barely had an audience and he came on
like it's pretty cool. He's just got, he, he makes, he makes so much time for people. And then on top of that, you know, he's incredibly productive and actually putting out code and thinking of things. I, I just, I don't know how he does it, but I would say that, that, that energy, it's, it's spread through the whole community, right? People make time for each other. It's just a really welcoming, really kind place. So, so that's my best advice is get out in the community. Like check out the, the, the
Erlang ecosystem foundation, the EF check out, you know, I don't know, there's, there's a whole bunch of stuff the, the community has seemed to have moved over to blue sky these days. So I think a lot of the community is there and just find something. Don't worry about looking silly. Don't worry about making mistakes. We all do. And what matters the most is just kind of being involved and, and sharing what you're doing and, and talking to people. Yeah, go watch. Good people. Go watch some of my like first videos I put up on YouTube.
Like I won't go back 'cause I'm I'm worried to watch them, but they exist and they're out there for everyone. So. But like, yeah, everyone makes mistakes and if you learn from them, you're good. But what? I forgot what I was going to say. It was something along this topic, but it doesn't matter. It'll come to me when when we move on to another. When you're going? Yeah. When you're when you're going to bed tonight, you'll. Yeah, be like, Dang it, that was such a good like it would have changed everything in that
conversation. Yeah, exactly. Oh I was going to say because I I I laughed when you said I wouldn't suggest like starting a company just to choose your own tech stack. I most definitely quit my day job too soon. And to start, I started like a fitness marketplace and I chose Elixir and like 'cause like once I got my toes wet, I was like, dude, I love Elixir. I don't want to, I don't want to write Swift code anymore. I don't want to write node JS. And I just quit and I burned up
all my savings trying to bootstrap a startup, but I learned so much. So like, can you put it like, like I learned a lot. I would have spent a lot of money going to like get my master's degree as well. So I don't know balancing act right? It is, yeah. All's well that ends well, right? And I will say I did sign up. I was in a master's program for software engineering at one point, and I dropped out because all we were using was Java.
I was like, I can't. Do this. I don't blame you. I don't. Blame you. Yeah, it. Was bad. Let's see, Chris has another question. My primary thesis is that Elixir is the future and the world hasn't seen the potential yet. Every facet of NX replaces whole ecosystems and SAS platforms in other languages. Yeah, I agree. Yeah, I mean, I, I've been, I've been trying to spread that gospel for a little while now and I like Live Book is
incredible. There's a, there's a whole bunch of stuff that's that's come out with that that's spectacular. I think one of the frustrating things about NX is the timing that it, that it kind of that, that, yeah, the timing of it was, was challenging. So it's incredibly powerful. It's it's, it's so useful. And it it came out right at the time when people were starting to move away from training their own machine learning models and starting to use LLMS.
Now that doesn't mean that you can't use it for big for LLMS. You can like Bumblebee can run, you know, can run Mistral and Llama and, and all of these things. But just generally there are enough services out there that in many cases it doesn't make a lot of sense to host your own LLMS these days. And so you had had this amazing massive project that does incredible work as kind of, I think that the real big herd of developers just we're moving to,
I just want value from the model. I just want the LLM to give me a response. I don't care about developing it myself. I don't care about actually training models and and doing all of that stuff. That stuff still there. It's still really, really good. But I, I, I do, I think, I think Elixir is the future for the LLM side of things as well. It's actually, funnily enough, it rhymes with the reason why I went to, to Elixir in the 1st place, which was actually to talk to AP, is that I was developing in, in Python.
I said I, I really need something with a really good concurrency model for, for building my back end, right. I need to be able to, to handle all these concurrent calls to different places. And I think that that concurrency model is what makes it so powerful for the LLM world. And I think I, you know, I think that one of the things, there are a whole bunch of things around adoption and around trying to pull people from adoption. I think one of the things is just the ease of getting started.
And then this, I guess there's two things is the ease of getting started. And then there's the ceiling, right, with what you can do with these agentic workflows and with LLMS. And I think that as long as Python holds the the stranglehold on that, like it's all the the mind share there, it's gonna be a struggle. And I think that that those are the two places that we need to kind of be attacking to try to bring eyes onto Elixir and to show that, OK, you can do all of these great things. And then I think the other thing is just showing how it fits into the, the broader ecosystem and why it's so powerful.
So it's not just that you've got a great concurrency model. This is partly it comes from the concurrency model. It's, but it's the ability to do things like, OK, I've got a, I've got a really great concurrency model. I can go and, and run these agentic workflows. And those agentic workflows, they can do things like we can add like a, a post message hook that calls out to Pubsub and actually just updates every live view client that's connected. Really, really simply, we can just have them, you know, we, we can, we can update progress, we can update the, the, you know,
the actual results, the intermediate results that are coming in. There's a whole bunch of stuff that becomes, you know, that's readily available when you start realizing and thinking about like this whole ecosystem is just based on processes. And they all can talk to each other and they can all do awesome stuff. And you link that in and get your imagination going with LLMS and what you can do with agents. I think it's, I think the the Sky's the limit. And I think that we're going to be able to do things that people in the Python Python ecosystem wish that they could do or spend a lot of time and effort trying
to replicate. Yeah, well, like, just like the concurrency alone's what drew my attention too. I was like, I'm building this marketplace where I need to stream lots of videos and whatever I'm doing to multiple people all like working with like Node JS and Express. You start seeing the limitation and like the only solution in JavaScript world is to throw money at your servers, right? And that's how you scale. But it's not affordable if you're a bootstrapped or barely making money.
And Elixir, Elixir changes that 'cause you can now have so much efficiency and then like Node clustering and distribution and all that is like so simple compared to other systems. It is and things like supervision trees, for example, like when we talk about like when we talk about agents, you know, I've been talking about this message passing and stuff like that. But how about running fleets of agents or having agents, you know, having agents that send
messages when they shut down or when they crash or ones that can restart and come back from, you know, from the state that they they had before. You know, you can, you can do these much more powerful things and have these much more powerful workflows by taking advantage of the OTP primitives. And it's just, there's just nowhere else, I mean, you know, aside from Erlang and Gleam and places like that, that, that have access to these amazing primitives. And, and I think that when you have a, a, you know, what we
have right now, I think is what, you know, everyone, everyone who was around at the time of likethe.com boom, where they were around at the time of like the, the social media boom, all these sorts of things. They were like, how do I get in on the ground floor? It's like we're, we're at the ground floor right now. We don't know what the best ways of interacting with LLMS are yet. We've got all these different things and we're just in this massive experimentation phase. We're in a phase where, yeah, there's, there's a ton of money. There's already starting to be
some pullback and, you know, pushback to that because, you know, people are throwing LLMS and things because it's a, it's a buzzword and all that stuff. It's a good way to get funding. Yeah, it's a great way to get funding, especially when you know, it's it's not I, I have a good solution to, you know, it's like I have AI have I have a solution and therefore it's show me problems as opposed to I have a. Problem it's kind of like it's kind of like NFTS but with just throw LLM on their AI word like. Yeah, I know exactly.
Yeah. And, and I think, I think that as we start to, to really see the direction that this is going and I and I, I, I just think it's going in a natural direction where the technology makes sense. It it, it meshes up really beautifully with what OTP does. And that's, you know, like that can potentially be a, you know, once in a generation kind of opportunity. You know, it was, it's a technology that was developed specifically for telephony, right?
And I don't, I don't know if there's if there's been a clearer fit since then, right? Like agents make a ton of sense as Genservers. And I also think people really like, I mean, I don't think we overlook that. But like you brought up supervision trees, like the power of not taking down your whole system if you have a process crash on you, right? And yeah, like, yeah, a piece of your app might break, but your entire app is not breaking.
And then it can reboot and fix itself and it's like self repairing and people don't understand like the power of fault tolerance right there. Absolutely. And having a you know, having a supervisor that can do something when it's when it's child dies, right. Like you can, let's say you have other agents, right you can send them all a message. You say, hey, this one died. You know, like you've got, you've got stuff that you can, you know, you've got the, the, the like obvious the, the things that map from the things that you're trying to achieve to the
actual code and to the, the telling the computer what to do. And when you've got that such a clear 1 to one mapping between those two things, I think the Sky's really the limit. I agree. All right. We have a couple questions that are kind of related. We'll kind of try to group them up. Basically, how do we show potential to the world building SAS that are highly scalable, recording tutorials, showing the performance. And then another one is like, how do we like show our workplace that this is a good move and scalability. And I, yeah, I think, you know,
writing blog posts showing performance increases, answering the whys, right? Because I think tech, we have our our eco chambers, right? And everyone wants to go with the most popular solution. And the most popular solution isn't always the right solution, but that's what people will assume. And so I think we're in these bubbles and that's why people choose bad tech stacks is because, well, everyone else is using it, so it must be good. And yeah, so I don't know, Elixir isn't as popular, but I
also think it's we don't want it to be super popular. I don't know. I think not super popular too quickly. I think like I think we're might might be moving a little too slow. But at the same time, do we want to be like as crazy as like the Rusk community? I don't know. I mean, they're, they're having their own problems right now. They definitely. Are. Yeah, I, I, I can't really give a good answer for how you
convince your employer because mainly I've been the employer and I kind of went from academia into to having a company. So I don't know how to play well with others and all that kind of stuff. But I think the answer to the first question is mostly to solve problems and then just communicate how you were able to do it. I, I, one of the one thing that I, I'm I kind of see much more frequently than than I expected is people who are like people
taking Elixir for granted, Elixir developers taking Elixir for granted and being able to solve problems and then not really pausing to reflect. How challenging would that have been if I had done it in JavaScript or in Python or, or what have you? And then I think, I think the other thing is, you know, when you're solving problems and thinking about the, the, you know, the, the business problems that you're solving. And maybe that that speaks to the second one as well. I think it's worth thinking about communicating the uniqueness of the solution and
the, the openness and the, the increase in the kind of creativity that you get. I think that this was the the biggest thing for me and something that I'm constantly trying to communicate and often kind of struggle with is, well, the solution itself ends up being quite simple in Elixir terms. And I think that that often discourages people as well. I think people think why this was a really simple thing to solve. Why would I go and brag about it on the Internet? My Elixir friends aren't going to think it's particularly special, but it's not necessarily them that you're
talking to. But I think the thing that that I'm constantly trying to, to get across is just, I can think about solving problems in a much different way. I'm much more creative. I'm much more able to just think, think with the tools, with the primitives that are available to me. And I think if we can figure out how to communicate that, I think if we're able to able to, to communicate, I was able to solve this problem in this way. And I wouldn't have even thought about it if I hadn't been
working in Elixir and using OTP and all that stuff. Getting that. That's really, really powerful. And sometimes you just need to have your hands on it to do it. But I think that we can start to communicate that in a more effective way. Yeah, I agree completely. I mean, just tell your employer to be smarter and then they'll agree and change the text stack. I mean, listen, I, I'll plug myself and say, I've, I've got a, a couple of talks from Elixir conf and from code Beam where I've talked about the transition
that we made at amplified and the choice that we made to drop Python, drop, drop JavaScript and then and drop Python. And I mean, we saved a ton of money. We saved a ton of money. I mean, order of, you know, a good portion of our, our five, you know, 5 digit AWS spend and more than that, it's the, the, the, the siloing was reduced. You know, we were able to like circle the wagons and consolidate. And I'm just constantly looking
at like, you know, Sasha's table of all the different technologies that you need to, you know, to, to make in Erlang. And it, it extends it, it's constantly extending and you know, ETL and, and AI and ML are all on there now. And I think that having all of those things together just makes teams incredibly efficient. It makes people, you know, it, it, it what's the, the, the, the rails thing is the one person,
the one person framework. And I mean, if that's the case, then then it'll, you know, Phoenix ends up being the half person framework or the part time framework, you know, whatever. Yeah, yeah, it's wild because it won't like I I also think it's a great choice for like MVP and prototyping because you can just move so quickly. Like you, you really can do a lot with a one man team. You can do an incredible amount and I think that that's, that's the, the, you know, another one of the draws, like you said,
it's, it's simple enough and powerful enough that you can, you can get up and running so fast and you can, you can be incredibly productive as a one person team, but you don't have to then switch technology as you grow and scale. There are paths to scaling and paths to, you know, if you're, if you're struggling with performance, you can use things like Rustler if, or you can, you know, you've got accelerated, accelerated baths with NX. You've got all of these different tools that you can lean on and you can distribute,
so there's not a ceiling either. You're not running into the same kind of problems with concurrency or with performance that you end up with with Rails and certain types of projects. Yeah, well, what's nice too is you can start building an elixir. Not even touch. The fancy things, OTP, Genservers, whatever you might be doing, right, you can build things, you can build things poorly. But as you learn and have to like, you know, tighten on your performance, you're not leaving your ecosystem, you're just doing things better.
You're doing refactors. You're throwing a Genserver open worker to do like an async process instead of doing everything synchronously. And so you can like you can learn and grow with your project. Yeah, I think that that's that's exactly right. And I think that's such an appealing part of the of the whole the whole shebang. Like I. Didn't touch. What makes it fun? I didn't touch OTP or Gen. servers for like a year of building my marketplace just cuz I didn't know.
I was like I don't have time like I don't. I don't know what I would use them for yet, but I know they're gonna be great in the future. And then when I finally found the need, I learned what a Genserver was and how it worked, and it was the most amazing thing in the world. But it's one of those things I tell people not to rush into using Genservers because then they'll turn into your your global state and you'll use them wrong and all of that stuff. But yeah, I feel like it's just like there's so much power under
the hood, you can slowly reveal it as you run into issues. Absolutely. I mean, 99% of the time you you don't need to write a Genserver even when you think you need to, right? Exactly. Most of some days I'm like, do I get to write a Genserver? I'm like no, no, I don't actually need to write a Genserver. But I want to. I want to. Actually I just did a really fun project. We built like a very small like multiplayer Peggle game, you know, you drop the ball, hits, pegs. And I got to play with
Genservers, so I made, you know, I, I have a game state Gen. server and then individual user state Gen. servers and then just message passing and it's like beautiful. And it was so much fun to build and it was a really good excuse to use Gen. Servers I I don't like yeah, I'm super jealous I like I like having good reasons I I maybe that's actually why I'm working on agentic workflows and in a like. It is it totally? Is just 100% excuse to work with Gen. servers.
Yeah, for sure don't feel obligated to disclose this, but like how many engineers do you have on your team? Do you have a relatively small? Team I, I share it all the time, and it's tiny. There's two of us. That's awesome. Very cool. Yeah. And we? Were bigger and yeah. Both Elixir devs. Yep, exactly. Yeah, we had, we were, we were bigger and made the switch to live view and had to had to let a few people go at that time, which was, you know, not a not a nice thing. It's. Never fun when you have to let people go but.
No. But you know, and then after that slowly, you know, over time, over the years, we just kind of had people drop off and do their own thing or what have you move on. And we've just not needed to go and hire to replace them because we've just been so productive. And so we will probably expand back out relatively soon. You know, we're looking in that direction. And running a company on two devs is exhausting sometimes,
but we're very much able to do it, and with a surprising amount of comfort. Yeah, I think that's awesome. And that also shows the strength and power of, you know, choosing the beam VM for the stack. Yeah, that's cool. Yeah, very cool and company in real like real life production alive for seven years. So you made it over the the startup hump? Yeah, we're, we're we're profitable. Yeah, profitable on Elixir.
That's amazing with that dude. If anyone has ever started a business, hitting that profitable line is a huge benchmark. Yeah, it's definitely a celebratory moment. For sure. Well, that's very cool. Wow, it's hard. We've already been going for an hour and 45 minutes, so I think we can wrap this up. And dude, Christopher, it was awesome having you on. I really appreciate your time and everyone that has been tuning in and even the non
believers of the live stream you know? What do I have to do? Do I have to like, like go shave the head right now and prove it? I don't know. Yeah, but no, this has been awesome. And always feel free to reach out and come back on if you ever have any updates or anything you want to share or just if you feel like live streaming and talking about Elixir, let's do it. Yeah, let's do it. No, it's fun, fun chatting. So I'm always, I'm always in for that. Awesome. All right, guys. Thank you so much for tuning in
Francesco Cesarini, founder of Erlang Solutions, and Allen Wyma, hosts of BEAM There, Done That, join Jacob for a live crossover of both podcasts. They trade origin stories, compare what the Erlang and Elixir...
Jason Cohen, founder of WP Engine and Smart Bear, joins Jacob to talk about his new book Hidden Multipliers. They dig into why engineers avoid marketing, the onboarding math behind SaaS trials, finding your ideal...
Filipe Cabaço, team lead on Realtime at Supabase, returns after two years to talk about his side projects: Vitro, a browser for every AI agent with a replayable timeline of what each one did, and Ampoule, which packs an...
Peter Ullrich returns to talk about Pushin.eu, the European GitHub alternative he's building in Elixir. Five months in, it has about 700 confirmed registrations after going viral on Hacker News, and Peter walks through...
Nathan Hessler, organizer of ExMex and RBQ Conf, is back four weeks out from ExMex 2026 in Austin. We cover MCing Rails World, how he picks speakers and keynotes for a single track, what running a Ruby conference taught...