Video: Build Your Own AI Software Factory | Duration: 5400s | Summary: Build Your Own AI Software Factory | Chapters: Welcome and Introduction (3.61s), Engrams Introduction (138.81s), Software Factory Vision (286.975s), Cortex's Level Four Journey (454.865s), Product Walkthrough (650.345s), Automation Workflows (1098.045s), System Architecture (1288.155s), Cost Optimization Strategy (1526.71s), Platform Q&A (1682.13s), Security Architecture (1799.31s), Integrations and Automations (1989.37s), Custom Automations (2178.815s), Licensing and Strategy (2491.41s), Improving Automations (2686.26s), Q&A and Wrap-Up (2772.92s)
Transcript for "Build Your Own AI Software Factory": Hi, everyone. Welcome to the webinar. We will get started in just a few moments. If you haven't checked out Ngrams yet in the meantime, feel free to scan the QR code on the screen and take a look at the website and some of our docs, and we'll get started in just a minute. Just as a reminder, if you have questions throughout, feel free to put it in the q and a channel or in the chat. We've also added a few links to docs that you can take a look at so you can pull up Ingram's on GitHub. You can join our Slack community. You can also take a look through Ingram's docs as well. I'd love to hear where everyone's tuning in from today. Alright. Well, without further ado, I'd like to invite one of our cofounders, Nikhil, on stage so we can get started. Hey, everybody. Hey, Nikhil. Welcome. Thank you. Thank you so much. We'll also invite cofounder Ganesh on stage. Thank you so much. And, and, Julie, remember to throw chats in the q and a. Thanks, everyone. Sweet. Let's kick it off. Alright. Let's do it. Thanks, everyone, for joining. Today, we're gonna be talking about engrams, which is our self hosted open source software factory for your coding agents. It's a lot... Mouthful of words, but we'll talk a lot more about what that means and get get into the nitty gritty details of how it all works. And I'm excited to, start with a demo as well. Let me figure out how to do these slides again. I will do some quick introductions. Actually, Nikhil, my... Maybe I'll hand it over to you for just a second. Do you wanna kick us off. with something something cool and and shiny? Absolutely. So instead of just talking about it, let's kinda show you what we're talking about here. So we have this channel internally at Core Tex called Project UX Continuous Improvements. Essentially, any sort of, like, UX quirks that any employee notices, they'll kind of drop it on the channel and and complain about it. But now with the power of our software factory, we can easily kind of pluck one of these and and work on it. So for example, one of our designers noticed that our skeleton loaders, you know, don't fit properly to the row. It's not aligned to the columns. So we can tack our, stopper factory and grams. Hey. Can you take a look at this book? Maybe the attached linear issue. Understand. I don't know if the PR or the fix in the the brain app repo. And immediately, it uses something called a profile router, which I'll get into soon, and then starts session in engrams. So. this is, you know, purely like a cloud based cloud code launched. It has all of the original context, and it's even multiplayer. So, Ganesh, if you want to jump in that thread, maybe you. can do it. some additional, details. let's add some details and then, we'll jump over to what exactly we're doing. Let me find this thread. From October 23. Awesome. Alright. Now we've shut this off. Now let's get back into the slides. Who are we and what is Ingram's? So I'm Ganesh. I'm the cofounder and CTO of Cortex. Cortex is an engineering operations platform that helps in your organizations safely build out their AI native SDLC. And, Nikhil, I'll hand it over to you. I'm another one of the cofounders of Cortex and chief architect. Came to Cortex kind of from from Twilio, kind of experiencing firsthand how crazy, microservice architectures got at scale and imagining it. But for the last six months or so, I've been focused on n grams, which I'm. excited to talk about here. So we're gonna go through a couple of slides talking about what engrams is, why we built it, and then we'll go back and look at what happened with that session we just started, with our... At engrams in Slack. So we're gonna start with, you know, why why build our own software factory? What is what is... Where software engineering heading? Why did we build our own software factory? What is Ingrams? Get into the weeds a little bit of how it all works. We'll talk about how we use it at Cortex internally, and then we'll open it up for questions. And, alright. So starting off, what is software engineering becoming? Like, why are we building a software factory in the first place? I think it's useful to start with the North Star and then work backwards from there. You know, we really believe that the evolution of software engineering, over the next handful of years is heading to our... Towards a world where developers are going to be building and managing software factories rather than writing code by hand. And for what it's worth, we're kind of already there. Right? Like the fact that most of us are steering coding agents and, you know, using agentic software development practices versus writing every line of code ourselves, means we're already on this journey to software factories. We eventually will become software factory designers and architects where we are designing the systems that produce code, designing the systems of the systems being produced by that code, and not really writing every line of code ourselves. But the reality is most enterprises are still very early in this this, software factory build out. Right? If we break this down into the five levels of the software factory, at the first phase, we have evangelists where, you know, you have folks that are just experimenting with AI. You know, it's very small, portion of the organization. From there, we have automations. You know, a lot of our enterprises without being able to roll out putting agents more broadly to the entire organizations for cost, security, reliability reasons, they start with automations. So we believe that, you know, by focusing on very specific tasks or use cases, you can actually drive a lot of value because those things can be monitored very closely. You can manage costs and security while you figure out how to roll out coding agents more broadly to the organization. This is where most enterprises are. From there, we get to human driven agent assisted where humans are in this... Are in the driver's seat. They are driving agents. They are the ones, kind of owning the outcomes, end to end. There we get to level four, which is human assisted agent driven. So the agents are actually doing the majority of the work while humans provide judgment and oversee that work. And then finally, we have the the, quote, unquote, dark factory or autonomous software delivery where humans are kind of out of the entire loop and the factory builds software all by itself. And so where are we today? We're automations. Most organizations, you know, the enterprises that we work with are somewhere between level two and level three where, you know, either they're still in the in the early phase rolling out coding agents more broadly or they have, you know, started to roll out coding agents to the broader organization, but still very early in terms of, you know, agentic software development. So this is where we believe the, the industry is heading, and we we we feel it's good to start with the definition of where we think the world's going before we talk about how we can actually get there ourselves. So with that, let's dive into our own journey to level four. So at Cortex, we are very much in level three, and I think we're we're actually... I think the last two or three months, I would say, you know, since we we build this initial slide, I think we're pretty confidently into to level four across most organization. Our, our output has, you know, more than two, two and a half to three x, over the last year. Our incidents have actually gone down by 80%. So we are moving very, very quickly. We've gotten to a world now where we're actually, you know, able to merge about, 15, 20% of our PRs without human review, and that number will continue to grow over time. What enabled this? We actually built our own software factory called engrams to unlock level four. Engrams, at a very high level, is a harness and cloud agnostic software factories. It provides sandboxing, automations, browser use, secure on demand integrations, and a lot more. And, Nikhil will talk a lot about about this in detail in just a few minutes. But what is Ingram's power for us? We have a internal code review agent that we built that is powered by Ingram's. We have automated bug fix flows. Like we just started the demo initially fixing one of the UX paper cuts in our product, and we'll see what happened with that at the end of this presentation. We handle dependency upgrades, flaky test fixes, automatic triaging of errors from our observability monitoring stack, human driven background sessions where we can actually run a lot more sessions in parallel than you might have if you're able to run those on your local machines. So engrams actually powers a lot. At the end of the day, what engrams is, it's a foundation for us to build our level four factory on. So rather than having a set of fragmented tools, it provides us a single foundation to build our factory on, and you'll see why, as Nikhil gets into the actual platform in a few minutes. But before we dive into that, I wanted to open it up for a poll, to the audience here. Between the five levels, evangelists, automations, human driven, agent assisted, human assisted, agent driven, and autonomous software delivery. Where are you today? And, you might say, well, we're actually at a whole bunch of these levels all at once, which is very normal, but pick the one that best describes the majority of the organization today. Give another ten seconds. And, I think this is pretty representative of, you know, what we see, across our customers and, you know, folks that we talk to. Still very early. Level four is a is a long way away. And, you know, what we hope you you take away from today's presentation is some ideas on how you can unlock l three and l four, from... With something like n grams. Alright. Thanks for, sharing your insights. And with that, I'll pass it over to Nikhil to talk us through... Show us Ngrams then, talk a little bit about what what it is. Absolutely. So first, before I kinda jump through the product walk through, just to read what Ganesh said, it's a cloud AI software factory. It, supports cloud code and codecs out of the box, but it's an open protocol. So if you have pi or your own custom harness, you can plug it in as well. The things that we really wanna focus on is enterprise and security first, and I'll kind of touch on that in a bit. It's sort of like a meta harness across all other harnesses. So you get a single product experience across cloud code, codecs, or your own harness. And because it's running in the cloud, it doesn't have to be human driven. Like, you can, build entire automations, kind of build up your factory, all fully automated from scratch, which I'll, touch on in a second. And, again, it's fully self hosted, free. So it's your cloud, your dev images, hosted in your VPC with your credentials. But, yeah, let me kind of walk through the product a little bit. Let me grab the screen share again. We can check-in on our Slack message, by the way. It's been slowly chugging along on it. It already put up a PR, which is awesome. Even attached screenshots. It's still not aligned, which I can give feedback that. was the before. There's an after one as well. Oh, nice. Beautiful. This is clearly great. And then we can kinda check on the PR as well. And engrams itself, is an automation that we have. It's reviewing the PR itself, and soon it'll have some results. But it looks like it's failing CI, so I can tell it. At engrams, that PR is, you know, CI. Can you take a look? Okay. So let me dive into the product. So this is kind of the the web view of it. There's also two which which I'll touch on soon. So, essentially, what that Slack webhook did is it kind of attached the, the previous message on the thread, sent the message... My initial message. It attached Ganesha's message as well. But, essentially, it kind of looks and feels like a native Cloud Code session. You can pick various profiles, which I'll cover in a second, but, you know, you can pick between what harness you want. Do you want to directly route to anthropic, open AI, etcetera, or do you wanna go through open router? This one also enables, like, a ton of open weight models. So if you have different workloads, like, the bug triages, maybe all go to open weight models because it doesn't have to be so serious. Or if you're planning a serious project, then you wanna route directly to, you know, Fable 5.2 or something. And similarly, there's there's a plan mode or or or not, and this is sort of agnostic to to all harnesses. Kind of, like, underpinning those are, first, I'll cover images. So, if you all have used any sort of, like, cloud developer environment, this will will feel familiar to you. But it's essentially like a bundle of the initial disk that the the session launches under. So for example, for our stack, we have a Dev Brain image, which clones all of our repos, builds it so that everything's warm, and then, takes a snapshot of it. So when I launch a new session for the cortex development, I can ask it, like, what repos do you have available? What are their commits or something? Latest commits. And our internal workload, workflow is that we build these images continuously every thirty minutes. So you just pull the latest across all repos and then rebuild it and then push that up as a docker image. So the second you launch a new session, it's that snapshotted. If you notice all these dates are up to date, Helm chart we haven't pushed you in a while. But you get it as it's this continuously always hot session, ready to run that's sort of continuously updating. So these are kind of like, that's kind of the building blocks of the images. With that, you can also decide, you know, initial secrets that you want, environment variables you wanna pass to it. You can choose the size of it. So our cortex image is very large. We have a very large monorepo, and so we need 32 gigs to launch it. But that's no problem. Engrams kind of packs them really tightly across all the nodes. The one thing that I've kind of mentioned a couple times is this notion of a profile. Profiles are essentially bundles of security settings and images that you want to launch new agent accessions in. So, for example, this is our sort of canonical profile for all of cortex development. It uses that same DevBrain image. You can choose a default harness, but, of course, you can switch it to whatever you want, and then a a a host of integrations that it has, connected. So, of course, we have a Cortex integration. We have Datadog, GitHub, all these ones out of the box. But you can add your own integrations as well. So if there's, like, an internal tool that you point to or a cloud tool that we don't support yet, you can essentially just add a new one, upload a logo, choose how you wanna authenticate it, choose what operations you wanna have it allow, which is just like, an allow list for for APIs. And then you can have a new connector in in your in your, in your catalog. I'll kind of pause there. Maybe I'll jump to the slides. Anything else, you wanna cover, Ganesh? No. I think you touched on it all. It's, I guess the the best way to think about all this is, like, it's a series of building blocks that allow you to build your own factory. Right? And then I think that's the most exciting part of this is you can kinda stitch together the pieces in a way that makes the most sense for your organization. Right? If you want an automated loop from a PR to, like, CI to auto, fixing p... CI issues like we were just, doing through our Slack channel, you could totally do that. You can actually run integrations. Like, it it really is a series of building blocks to build your own thing. And that's... I think that's what is most exciting about this is we don't have any strong opinions on what your factory should look like. We think that most organizations will actually have a variety of factories internally where, you know, a, a factory building an iOS app versus a a, a React application for the web versus a back end versus, you know, I don't know, pick pick internal tool. Everything will look very different. And so not only will those profiles look different like Nikola was just showing, but the actual series of steps in the factory could look very different. Just to give you some ideas of how you might use these integrations and profiles together, think about, you know, an automation that, you know, when you, attach a label to a linear ticket, it automatically picks that up and fires off an automation to create a tech spec. And then that tech spec is dropped in Notion. You know, it slacks somebody to review it. That review, then gets picked up by engrams. Once it's approved, it creates tickets. Those tickets are then automatically picked up by engrams. It opens PRs. Those PRs are opened by engrams for reviews. Like, you can imagine how, like, each of these steps can be, all part of the factory and automations allow you to design that entire factory system on your own with different models, weights, effort levels, integrations across every single one of those phases. So that's kind of the power of of the system that we built here. So... Yeah. Back over to you, Nico. Yep. Great point. I'll touch on automations because, I have slides on this, but I think it's better to just kinda see it for yourself. So you don't need to stitch together these cloud sessions, like, on your own through, Webhooks. Like, Like, we have an entire product sort of built around this that powers a bunch of automations that we use internally as well as the the... Even the Slack thread that you just saw is really just an automation that takes in a Slack webhook and kicks off the session. So for example, here's kind of a simple one. For engrams, the project itself, there's an automation that posts a weekly change log on... We have a beta testers program where, you know, every week, it'll kind of pull up all... What are the latest commits, kind of summarize it using AI, and post links to it. So it's a very simple automation. It just happens every Monday at, I guess, 9AM, and and then it launches a new cloud code session, with this initial prompt, which is essentially just look at the latest commit since last week. One thing to note here is, like, we don't need necessarily to pay for, an Opus five five for this. So we're using a very cheap open weight model that does the exact same thing through OpenRouter with the Cloud Code harness. So it costs us, like, a few cents to kind of have this this small automation, and we do the same kind of across the board. So, let's see. Here is another sort of automation which, kind of cleans up our Terraform repo. Again, this one, maybe it's a bigger model, but it's still open weight and still cheap. So we we choose DeepSeq before. You can create a new automation kind of by hand, which kinda feels like a natural workflow builder as well, But you can also build it in engrams. So if you just tell engrams, hey. Here's the automation that I want. I want it to respond to, every time the... A linear ticket is created, send a web hook to start a session to work on it or something. And you can kind of chain automations together as well. And if you can kinda picture it, you kind of build up this this factory over over time. But let me jump back to the slides, kind of dig into some of these things. So, again, like, why build our own? One is where... Cortex is a a tool to sort of help customers navigate that journey. Like, we we don't believe that you could launch in engrams and just fully just go lights out, you know, fully autonomous software factory. But we still did wanna understand, like, what exactly are all the pieces to build a software factory, and so we wanted to build it from scratch so so that we could be experts on it and help our customers kind of on their journey. Secondly, there was no sort of clear open source enterprise option available, and so we wanted to build one. And lastly, a big focus of engrams is cost effectiveness. So, when a cloud session goes idle, we can tear down the VM and store it in blob storage and then rehydrate it very quickly, so that you're only paying... You can have millions of idle sessions, but you're only paying for, the sort of unique bytes that that live in in Blob Storage. Let me kind of touch on the architecture next. So it's a very simple deployment. There's two state microservices. One is called the orchestrator, which is written in bun and TypeScript. It sort of is, the product layer that you see around. It handles webhooks. It, powers the web UI, so on. The next is the coordinator, which is kind of the control plan for all the VMs. It's written in Rust. And then Postgres, obviously, for all the metadata tracking. And for the actual compute, we have an auto scaler on any sort of Linux nodes that support KVM. And we can pack each of those nodes with VMs that we tear down when we don't need them and rehydrate when we need them. So it's very easy to spin up a session, and it takes a hundred milliseconds to launch a new one. You can message an old session from two months ago, and then it'll it'll repack it on the host in just a couple of seconds. And, again, you're only paying for what's in blob storage. And and we have garbage collection on that as well. So if you wanna set retention policies like, you know, idle sessions older than thirty days should be fully wiped from from GCS, you can do that as well. If you wanna retain them indefinitely, you you you can do that as well, and it's it's not too expensive. Oops. So tasks are are, this abstraction that we have around launching a new session. So the definition of it is it's a prompt, it's an agent, and it's a VM that sleeps when the agent does. Sorry. I'm struggling with the slides. This is kind of a a visual representation of what I just talked about. So, a person or an automation or a webhook can launch a new task on a profile, which is an image. It's the repos. It's your security policies, and that packs it onto, one of the hosts as a micro VM, which launches the harness. It launches your sort of base image and then an in guest daemon that sort of coordinates with the control plane. And every single byte that exits out of that micro VM goes through an egress proxy. And the actual thing that it allows or denies, again, is sort of tied to that profile. So, it's... This is really, really useful for automations, especially when it's... You you know, a human is not in the loop necessarily for all of it, and you wanna make sure that it's not, responding to prompt injections or leaking credentials. And so you can white list exact host that you wanted to choose, for example, you could deny, NPM JS, you know, given all the security instance that they... That that they had. Or you can only, enable it to talk to your internal host and never external, leave the Internet. And the same works for all of, your integrations. So when you enable the GitHub integration, it exactly allows api.github.com and nothing else. And so that way you can kind of, like, really fine tune it and be sure that when you, you know, let these things out in the loose that the blast radius is really small. Sorry. I'm just trying to change the slide. Lifecycle of a task. So you can create it. It it becomes active, and there's time out. So if, the agent stops talking after thirty seconds, it, again, just tears it down, and you're not paying for it. And you can rehydrate it the second you send a a second message to it. Okay. Sorry, Ganesh. How do I change slides? I'm, like, struggling every single time. There's, like, arrows underneath underneath the slides. Do you see one? Hang on. Underneath the slides. I'll I'll I'll hit next for you. I'll try. Thank you. It's my first time using. audience, we're clearly very capable of building software factory, but, you know, using software is a different question. Yep. Yeah. In terms of how this sort of all works and keeps everything cost efficient, we've done, like, a ton of work on optimizing the hell out of this. So, how it works at a at a glance is each of those development images... So, for example, Dev Brain, we chunk it up in, content address chunks. So, for example, 32 gigs of RAM is sort of, like, chopped up, and we store that in blob storage. When you launch a new session, you kind of... You chain all those together, so you get your 32 gigs of RAM back. But the second that there's a divergence in either RAM or disk, you are only paying for that delta. So our Dev Brain image has some 24 gigs of random crap that we need to to to run Cortex. But when you launch a new session, you're not paying for that 24 gigs every single time. You don't need to pack that on, like, a real disk. You're only paying for the divergences. So it's copy on right for both disk and memory. So, again, this kind of keeps costs down. It makes it very easy to tear down and rehydrate when you're only paying for the deltas. And this was a very... This is a concept that we sort of discovered, later on in development, but we found it's, like, a very important social factor. So who the task runs as is actually very important. So we've made the distinction of run by a human versus run by an automation. So, for example, what I mean is, when we first launched engrams, every sort of PR that was put up what... Had the engrams bot on it, and it was sending Slack messages to people. And it was very confusing to know, like, why should I care about this? Who launched this? The sort of, like, social friction we we felt very early. And so we have this distinction of if I launch a session through a Slack tag or if I go on the web UI and and launch there, it'll use all of my own Nikhil credentials. So it'll use my GitHub identity, my Slack identity, my LinkedIn identity, so on. But, in the sort of closer to l four, l five part of the software factory where it's like automation's building these things, then it has the engrams, identities on it. It helped a lot with the PR review process because, you know, a lot of engineers are putting up, you know, all these engrams PRs and nobody's reviewing them because there was no context or no, sort of social pressure attached to it. And so we kind of made that distinction very early on. A couple of quick questions in the chat, and I'll just quickly touch touch on our... Because I think it's relevant to what we're just talking about. We're going to be touching on, secrets and, egress and secret brokering in just a few minutes. So we'll talk about that. Then, agents have traded for running agentic workloads. Yes. It's something we've we've thought about. Like, the whole thing is is, you know, multilayer. Like, if you look at the architecture of engrams, there's, like, the sandboxing layer, the orchestrator, like, the coordinator that handles sandboxing. There's, like, the actual application run time. So in theory, it's quite straightforward if you wanted to switch out, some of those pieces. But it it is, fully open source. You can take a look at the entire code base there. Does Ingram support decision models? You can bring whatever model you want. Any kind of model router can be, like, can be consumed. Any harness you want can be brought in as well. Models hosted locally in your own hardware. Yes. I mean, as long as you're able to connect to it and route to that as a, you know, as a compatible API layer, nothing stopping you from using that as a, as a model for sure. EKS or GKE only? Good question. I think it just Is Kubernetes with, KVM support? Is this what's required? Right, Nicole? Or is it only GKEKS by default? It's only EKS GK for the... We we have, auto scaling sort of... We we hit those APIs directly. So you you can launch it on any sort of Kubernetes with KVM nodes, but we have, like, kind of, like, special features for auto scaling just for AWS GCP. And, you know, if there's something that you guys are interested in, obviously, we can help build it out. So it... It's possible just like you get less of. the the auto scaling. Cool. Alright. Next slide. Yep. So, again, the images can be truly just any Linux image as long as it has sort of shell on it. We support, any OCI image. So if you just wanna push a docker image that represents your dev image, that's what we do internally. It's very easy to get started. And if you can see from this kind of snapshot on the screenshot on the left, you can kinda see how it works. You point to the image URI. You give it a name. You tell it what's its work directory, or it'll pull it from the doctor... The docker work directory, and then sizing. One feature that I didn't cover that we use internally is the idea of a warm snapshot. So one thing we do for our cortex development image is we literally start the app so that everything is hot. So when you launch a new session, it's, like, just a a snapshot of that memory. So you can have, like, a a... An app that was at least 30 old, kind of always running if you want quick demos. And then I show this in the demo, but, yeah, we support open router for all harnesses. So, we'll kind of pull in all the available models there. If there's a model router that you guys are interested in, we're happy to build that out. It's sort of abstracted away. But today, it's it's just open router. Yeah. So the console to router is native. We just happen to support open router, right now as the default. We're very easy to swap in new ones. Cool. And then, yeah, this is the part that we really wanted to focus on from day one, getting security right. This is sort of on the heels of all of those, you know, the hugging face hacking incident and all of that. Like, it happened to leak through DNS. So this is a a very, a problem that Ingram solves. So every single byte that leaves a VM goes out through the egress proxy. So that's, HTTPS and DNS. And what it allows is based on your profile. So it's the set of all of the integration APIs that you need to talk to as well as explicit allow listed hosts, maybe Gradle or NPM packages, so on. Next slide. Because every single byte has this this central choke point to the egress proxy, we can also sub out credentials. So if you, don't trust that your session is going to leak your API keys or API credentials or secrets, you put all of that in the policy on the profile. And so when a byte tries to leave for api.github.com, if the GitHub credentials on that profile, it'll sub in the actual authorization header, at egress, and at no point does the VM or the AI see what that thing is. It's just a substituted value within the VM, like GitHub placeholder. But when it leaves the egress proxy, it's like your actual personal access token or or GitHub app credentials, essentially. And we have a centralized secret store. Again, we we have native integrations for GCP and AWS. So if you wanna use their secret stores to put these secrets, you can do that as well. We we support both. Cool. And then for integrations and automations, so we have 23 integrations built out of the box. But it's a generic platform, and an integration is fully defined by a JSON file, which is, like, its name, its icon, its, its authorization scheme, and a list of APIs. So for example, for GitHub, you could have, a a profile say, I want this to be able to write contents to a repo but not run GitHub actions files in case, you know, an AI goes rogue and wants to run something on your compute. And it's it's totally flexible. So I kinda showed that in the in the demo, but you can add your own as well. But if you wanna commit to the engrams repo, it's literally just a JSON file that kind of fully represents the integration. Cool. And then lastly, automations, I think, are where this kind of finally starts to take form and become like a real software factory. So you have webhook triggers or cron triggers. You have a set of, automation blocks like starting a task. Somebody in the chat, mentioned a decision model. We have, like, a JEV decision model through open router as well. So that's what powers the the Slack webhook. So when you send a message to Slack, we use JEV to figure out which profile should this route to. If it's less than 85% confidence on that, it'll ask the user, hey. Which profile did you mean? But it's a it's a generic block. So in any sort of automation, you can kind of plug in JEV or any sort of precision API, in in the automation. It's really cool. And then here's just kind of a sample of of some of the blocks that we have. So, some of the triggers are integration events, crons, webhooks, and and it's a generic webhook as well. So if you wanna plug in your own, you can, manual, but that could also be an API. So if you have, your own automation outside that wants to trigger it via API, you can. And then the actual blocks, you can start new, agentic sessions. You can wait on it to finish. You can exec shell commands inside it if you want. We use that for our review automation. And then a bunch of integration ones out of the box. So, leaving comments on GitHub PRs or sending a Slack message, you know, so on. And then the usual sort of control flow stuff that you would expect. So filter branch loop, and one is, we have this in Cortex as well. But if you wanna run JavaScript to be your control flow, you can. We run it in a sandbox, Wasm thing, so you can get really, really flexible with it. And just to show, like, kind of how powerful the automations framework is, the pull request review that we saw that commented on the PR and the original Slack message that I sent are just examples of automation. So they use kind of all the same building blocks that your own automation has, But we wanted to build, like, kind of a first class product experience around it. But really just show that all it is is just using those same building blocks that you can use for your own factory. Cool. And then kinda touching on some of the automations that we use, our custom automations. First one is, kinda that level three software factory of just dependency upgrades and and CV resolution. Yep. So it just looks at dependabot PRs and and and shepherds them along. It fixes any sort of failing CI, pings for, reviews as well. This makes us just stay on top of all of the... Especially today with with all the vulnerabilities and CVs coming out, it's been really helpful. Next one uses, our Datadog integration. So, we have a monolithic app at Cortex, which sometimes has these big memory hot spots. And so it periodically, takes profiles from Datadogs, looks like, you know, a a huge allocations that are being made for a request, and then puts up these sort of, micro optimizations to to speed up those those hot spots as PRs. Next one is, we use bug tracking in Datadog as well. And so every time that a new bug, pops in, one engram session does a triage on it. Is this, like, a legit bug, or is it maybe just some weird client, config for... From the browser? If it is a legit bug, it'll launch another session, which actually works on the PR, and then puts that up. And then lastly, this one I'm I'm very excited about. It kind of really does feel like a real software factory. So the automation is it owns a linear project, and it owns a Slack channel. And so, we had a project recently where we migrated from Superblocks to an internal tool. And so I created a bunch of, linear tickets for it. I gave it a Slack channel. And every single day, it posted an update. Hey. Like, I worked on these PRs, and then I can chat with it in that same Slack channel, which acts as a control. So here's, in the screenshot, you can see it sort of posted its daily review. I took a look at its work, and then I commented, hey. One of the PRs is failing in CI. Can you fix it? And you get this real, like, cool multiplayer mode where, other engineers can pop in and tell engrams and kinda steer it in the right direction. And, it it really feels like it's just a fully automated project end to end in terms of software development. All I'm doing is just code reviews. One last thing I'll add on that is even the code reviews from GitHub make it back to that same automation. So I can leave comments in the Slack channel, or I can give it a GitHub review on one of its PRs, and it'll all kind of rock to the same agentic session. But... Yeah. Any questions? I'll pause there. Let's go through the chat. I think I answered a whole bunch of these. How many devs are using engrams at once at Cortex? It's pretty widely consumed across the org, so I probably say, like, you know, 50, 60 to, like, folks can be using it at once, from our testing. But the thing to flag is that's just humans, in the loop. Like, a lot of our usage is automations. Right? So we have tons of agents, and sessions running at the same time, for those kind... Those kinds of automations. And we've we've kinda scale tested it out as well. Right now, I'm just open source. But, given how kind of early this is as a project, you know, both Nikhil and myself are kind of actively engaged with our initial early design partners and customers, who are adopting Ingrams. So I guess that is the enterprise version as of right now. But, yeah, more than happy to chat about what, like, an actual support package and stuff would look like. But it it is fully open source from top to bottom right now. How easy does it... Is it to build tasks? Well, maybe I'll pass that one over to Nikhil, but I'll quickly touch on the last question. We use n grams to build n grams. Yes. 100%. We have an n grams profile in n grams, so they can run n grams inside of n grams, which is super meta. But, yes, we we do use n grams to build n grams. In terms of, do you mean automations for that? It's pretty simple. So, like, the building blocks are kind of all standard. But depending on how complicated the automation you wanna build is, it could take... It could be sort of lengthy. So I I kind of touched on this a little bit in the demo, but you can use engrams to sort of build an automation as well. If you just tell engrams, hey. I want to, you know, stitch together all these various integrations and hook them together with AI. Whatever the prompt is, you can just fire that off in an engram session, and it'll build the automation for you. So I think pretty much all of our actual automations that we use today that are live in in production were built via engrams as opposed to by hand, but depends on preferences. There are no changes. Actually, I'll touch on the fine tuning, the prompts, and automations. Yeah. I mean, you can, the automations, you can fully control the prompts and stuff inside of the automations if that's the question. It's fully configurable. You can kinda think that automations is just build those building blocks. But I'm... Maybe I'm... Maybe maybe I'm not understanding that question properly. Is there a plan to change a license policy from AGPL to Apache or MIT license? As of this time, no. So AGPL basically allows you to fork, modify, you know, do whatever changes you need to if you're running it internally within your own network. We did quite a bit of work on the licensing, their legal team before publishing this AGPL. So as long as you are not selling it or offering it as a offer... A SaaS hosted offering it to your end customer, you're selling it, outside the organization. You can fork and modify to your heart's content. It is only if you plan to, host and sell it yourself that AGPL licensing kinda really kicks in, which was the intentions that, you know, to the question earlier, if we do decide to offer an enterprise version of it, it gives us some control over that. So most of the kind of, like, bigger open source projects, provided by enterprise companies are AGPL these days. So, that's kinda where that came from. No. We have no plans, to to to rep pull this for sure. Like, Nikhil made a comment earlier. You know, we believe that, you know, Cortex's core offering is the machinery around the factory. Like, how do we help you build, maintain, and actually take advantage of the factory? Like, how do we help you as an organization move through those levels from l one to l five? We candidly believe that the factory layer like engrams is crowded and, commoditized. And I know maybe it's not the thing to be saying on a factory webinar, but, you know, generally, we believe that there are so many, you know, companies popping up in the factory space that, you know, it doesn't make a ton of sense for us to just offer it as, like, you know, one of 500 competitors, which is why we open source it. You know, we actually think it's more interesting as an open source project where we can provide this to the community and, you know, folks can build on top of engrams and, you know, fork it and modify it and contribute back to the system. You know, the the reason we did AGPL is in case somebody else, like, funded startup wants to go and just build off with the community's work and sell it. That's not something that we want to encourage right now. And we have zero plans to to rep pull or offer this because we actually think, as a business, the value will accrue to Cortex in helping you understand the, you know, the governance, the visibility, the context layer, you know, cost management. So, like, that layer is where we think the value will accrue to us as a company, not the factory itself, which is why the entire thing is open source and it's why we used, we didn't use any off the shelf sandboxing engines or things like that either. Like, the sandboxing engine is also open source so that you can run it freely without wondering about, like, oh, like, it's, you know, tied to, you know, sandbox provider x y or z and, you know, having to think about that. So, yes. Let's see. If I create a create a screen in a web app automation, the output is subpar. How do I improve my automation? A chained Claude sessions. So this is the kind of thing where, you know, we believe Cortex can can help or we are, you know, one of the things we're kind of a sneak preview for those of you at the webinar. We are publishing events in the in the coming months and hotel connector for, coding sessions. So we can actually look at more trace data for your your cloud code at work, and we can help you optimize where those sessions are maybe going off the rails or where costs are accumulating. And so we can kinda help you get that visibility. But you can actually just ask engrams to improve the automation. That's kinda the idea behind the software, actually. And they can keep me honest here. But if you see that, you know, your automation doesn't have the right outputs, you can just point engrams and say, like, hey. This automation, you know, is failing in these specific ways. You know, look at this trace data and help me improve it. That's actually how we improved our own code review agent built inside of engrams. We just point engrams at it and said, hey. It's finding all these, you know, these are the emails. These are problems that are code reagent. Please please fix the automation. So it's a kind of a meta, meta harness if you if you really will. Alright. Any other questions? Feel free to keep the questions coming. We will stick around for a couple of minutes if you have any other questions come in. If you're looking to get started with engrams, you know, you can pull it, run it locally. We do support local virtualization. So Apple Silicon, if you're using Apple containers, you can run it locally with that. If you're using Linux, you can use that with KVM. Deployments to cloud, we have a native setup for that. So if you're using AWS or GCP, it's very, very straightforward to get deployed in the cloud, Terraform for pretty much everything, and we have Helm charts for, for deployment. And the roadmap, like we said, it's fully open source. You have feature requests, drop them in as issues in, in the GitHub repo. If you wanna make changes, open PRs. We could take a look at... I I don't think it should be that difficult to add Azure support. Nicole, to get me honest, it was pretty straightforward. We're a GCP shop. We added AWS support pretty easily. More than happy to add Azure. So, yeah, happy to work with you on that. If you can just drop that as a, issue in the GitHub repo, we'll take a look at that afterwards. But, yeah, feel free to open PRs against the, the repo as well as some total open contributions. And, we have a Slack community. So if you wanna chat more about this, you wanna talk all things software factories with three different, QR codes here. It's like QR mania. So we got a Slack fact... The Slack community here on the left. Feel free to join that one. We have the actual repo, github, .com/cortexapp/engrams. Please do start. Would really appreciate everyone's support. I'm gonna drop it here in the chat. There we go. Feel free to, drop issues, open PRs. And, yeah, please do start the repo. I'd appreciate everyone's support here. And then last but not least, you can use this calendar, link to request a meeting with us in reInvent. Myself, Nikhil, are both gonna be there. Happy to chat all things software factories, how we built our own at Cortex, about Ingrams, about Cortex, anything in between, more than happy to chat. Like I said, we have done a lot of work internally to get to a place where, you know, we are merging a non negligible percentage of our PRs without human reviews. It it was much more, involved in that sound. We built a lot of tooling around that, over the last year from PR verification harnesses to risk scoring to code review bots to automations and everything in between. So we're more than happy to chat about that, and share our learnings for what's worked for us at Cortex. So, definitely meet him with us at reenvent if you're gonna be there. But, otherwise, we'll stick around for a couple minutes, if folks have questions. Otherwise, thank you everyone, who attended. I hope this was interesting, useful. You know, feel free to use n grams, adopt it, share your feedback with us in the Slack channel, chat with other people who are using n grams, take ideas from it for your own, whatever you think makes the most sense for you. We really want this to be a, something for the community. It was label... Labor love for the for the community, and we have spent a lot of tokens just as well. So excited to to get your guys' feedback on it. Alright. We'll wrap here at the fifty minute mark. Thank you everyone for attending. And, if you have other questions, drop them in the Slack channel. We'll be monitoring and happy to answer and drop issues in this... In the the repo as well. Alright. Thanks, everyone.