Getting the transcript
Reading the captions from YouTube. A video nobody has opened here before takes 10 to 30 seconds; this page fills in on its own.
Getting the transcript
Reading the captions from YouTube. A video nobody has opened here before takes 10 to 30 seconds; this page fills in on its own.

AI Engineer · @aiDotEngineer
This video has no Most replayed graph yet: YouTube shows one only once a video has enough views. These are the moments viewers replayed most in AI Engineer's most watched videos.
Most replayed moment at 18:45
4.8x that video's typical replay level
that they're they're changing they're changing things in the database not yet. You want to run them through the ontology first and make sure that works. Okay. I only got an I've got I've got another I've just a short time. I'm going to try to show you some of the things that um that you can
Said at 18:37
Most replayed moment at 16:13
3.6x that video's typical replay level
method signatures, the program layout and the call stacks. So here's some examples. I don't think you'll be able to read this one, but this is like the level of abstraction we're at. It's how we're actually going to lay this stuff out and how these systems are going to interact. Dylan Mulroy from Cloudflare talks a
Said at 16:06
Most replayed moment at 13:49
2.3x that video's typical replay level
Fable uh and it runs into an unknown, ask it to log it, right? So that um you uh you can see where the deviations happened and then you can sort of figure out why as well, you know? It will usually give you some context about what happened.
Said at 13:43
The graph counts replays. It does not show where viewers stopped watching.
Words
2,433
Runtime
17:27
Speaking pace
139wpm
Reading time
10min
139 words per minute, below the 160 25th percentile of 349 measured videos. That distribution comes from the 349-video hook study.
Opening (first 30 seconds)
Hello and welcome to this online track talk for the AI engineer world fair 2026. Today we're going to explore the concept of RLM also known as recursive language models and how we can use those concepts or larger code bases. My name is Shashi. I a founder of super aentic. First of all, let's be clear that RLM paper has been published by MIT and friends. As you can
70 words, the words spoken in the first 30 seconds at 139 words per minute.
Free, no signup. See how the first 30 seconds hold attention, with rewrites.
Sentence shape
| Measure | This transcript |
|---|---|
| Sentences | 123 |
| Average words per sentence | 19.8 |
| Longest sentence | 170 words |
| Questions asked | 3 |
| Sentences containing a number | 1 |
Most used terms
Filler phrases
37 in total: basically 14 · like 8 · um 7 · kind of 4 · uh 3 · you know 1.
A literal whole-word count of the same phrase list the Prepublish browser extension uses, so a phrase inside another word is not counted and a phrase used in its ordinary sense still is. It is a count and not a judgement.
What this transcript is
Every word below is the caption track YouTube publishes for this video, pulled from the video itself and reproduced unchanged. It is not Prepublish's writing, not a summary, and not a re-transcription: it is the video's own published captions. English captions, generated automatically by YouTube, in the video’s original language. Source: the video on YouTube. A channel that would rather this page did not exist can ask for its removal through the contact page, and it is removed.
Hello and welcome to this online track talk for the AI engineer world fair 2026. Today we're going to explore the concept of RLM also known as recursive language models and how we can use those concepts or larger code bases. My name is Shashi. I a founder of super aentic. First of all, let's be clear that RLM paper has been published by MIT and friends. As you can see, there's a full paper. You can read about it. But the purpose of this talk is how you can use the concepts of RLM and you can use into your own workflow to implement your own harnesses.
So first of all, what's the problem? If you're using the coding agents for smaller repos or monor repos, they works exceptionally well. But if you have ever tried it with the monor repos with the large context you know there's a context problem as the context grows the performance degrade and if you're working with the monor repose this problem get worse. In this talk we will see we selected the code base and the concept of RLMs are relevant for the larger code bases.
If you have used the coding agents then you probably saw that there are different approaches that other coding agent harnesses have been taken to solve this problem. Most common approach is searching using the tools like grab. So basically there's a file system and the coding agent harnesses search using these tools. The second approach you probably seen that the semantic search or the local search. So idea here is basically you can search through the code and curate the context.
Another approach is the long context get compressed and you can use the summarized version of the context and there are some memory solutions available in the market as well that you can use to persist the memory for the coding agent. First of all let's explore the RLM idea. Core thesis of the RLM is you need to externalize the context management into programmable execution environment. Meaning you should have a separate dedicated environment so that model can operate on that.
In this case for example your whole repository is treated as a data that model can operate on. Then model can write the code to inspect slice and compute the relevant chunks value you can then feed into the main context window. So basically rather than putting everything into the model's context create a separate dedicated environment give them a coding agent or ripple and then model write the code to curate the context that can be used into the main.
So it's another context management technique proved to be very effective. Could be also be used as a memory layer for your coding agents. Let me summarize this giving you a simple analogy. Imagine you are a lead software engineer and assigned to the new project with a huge code base. Imagine that's a monor repo. How does that lead engineer deals with the code? So rather than reading line of code line by line engineer probably inspect the code base make some notes see what are the project's dependencies how it is structured if something else uh is not understood by the repository engineer probably asked to another engineer or expert to get some ideas and the same concepts applied in RLM so large project like the files and docs and texts and configs because repository has a lot of things and the programmable ripple it's kind of a notebook that engineer makes a note about the codebase that can be used researching he may be using other techniques or maybe it's writing some script to search something from the repo and then if he stucks then he ask another engineer or specialist where it come to the LLM query and LLM query is basically ally asking another model environment to get an answer from and once they get answer then the loop continues and at the end it returns the clean note synthesis.
So the recussion part here is engineer ask another specialist using LLM query that can be one question or that can be number of questions. So this is where the recussion comes in picture. Loop is basically your repo as your context and then the model writes the ripple code to get some relevant context that returns the bounded observation and if we if loop needs more information it passes through the llm query where it ask another language model or another system to get the response return the value and continue the loop. and the loop get terminated until we get a final results.
Why we talking about the code base and not the big context in terms of like other things for example books or dictionaries is different? It has directories, it has test, it has some imports, it has dependencies, it has tests, it has pictures, it has configuration files. So the codebase is not only just um the text, it is a structured data and the model need to understand and reason over the text. That's why I chose this scenario to use a code basis to prove these concepts of RLM.
Now let's switch the gear and talk about our own library that we created at super agentai called RLM code. You can see RLM codes landing page here where this is just a research playground where you can the concepts of RLM. We have um documentation that you can take a look and there's a the GitHub repository. It is completely open source project that you can use it and play with it. RLM itself is a concept and a pattern and you can implement that concept and pattern in your own way.
There are official authors also wrote some implementation in their GitHub repos. It's called RLM and RLM minimal. You can refer that implementation of RLM in DSpy. RLM. So Omar is author of RLM and he is also author of another popular framework called DSP. So DSP got RLM implementation inside it. However, you should treat they are completely different. So RLM is a pattern and you can implement in your own ways. You can find there are various other people implemented RLM in their own way and in the similar way we implemented RLM code as our own independent harness that we will be using in this live demo.
RLM code is just a reference implementation to demonstrate how the RLM concepts works under the hood. So we have implemented something called RLM mode. We are using RLM as it is. We are not adding anything on top of RLM's ideas and RLM's paper. We are using the same concept of recursive calls ripple execution. However, you can run it with the local model. You can run with run it with cloud-based model. You can plug into any observability framework of your choice.
And that gives you like a lot of flexibility around RLM. You can also plug it into the framework of your choice. For example, you can use padenti or Google ad or something similar framework and implement ideas of RLN over there. In order to demonstrate this, we have created a source code repository where you can try this concept by yourself using MIT's RLM paper and RLM code. And we will see how these things works in a in a practice.
So basically we will show you the loop this you will understand this once you once we see this live demo and what all these files are doing where where is the context has been created where the python ripple has written a code and where it's passed to the lm query and how we get the final results. So that will be covered as part of the live demo. So we can cover this everything here. So in nutshell how it looks like is basically it creates the ripple and then observation and the final recursive language output.
So let me jump into the live demo now. Okay, let's do the live demo of this concepts of RLM and RLM code and how it works in a the larger code basis. So I have a code repositories here I have checked out and let's open it into the editor so that we can see what's inside it. So as you can see there's a demo target which is um we are using RLM code source as a as a demo here and then we have some instructions that you can follow along um yourself.
So basically you have a readme file that you can use to use with your local model or so we are going to use with the Gemini. So we will try this script and see what happened. So right now you can see we're using the docker as a sandbox. If you see the docker container has been just started for this RLM. And now coming back to our execution you can see that execution had just finished. And in this execution what you have seen basically in the first step model has written the ripple code that you can see here.
And then it's built the evidence and after that it also made the calls to the LLM query with some prompt and got the result back and after that it gives the the final answer. And as you can see here we can have all this all the step coming back to the the final answer. And here you can see the it made the two tool calls and how many the tokens is used for this model that you can see it here and the good thing is that you can see all these traces in the RLM code repositories.
So for example you can see all the runs. This is the run that we just did. You can see all the sessions and all the observability that you can plug it into any of your obser favorite observability platform. So this is the CLI path we just demonstrated but we also have this um kind of coding agent style experimental harness where you can try the same thing. So first of all let's connect with the Gemini model. So you can connect with the Gemini model using the command connect.
You can you can have a provider and the model name. Now you are connected. So you can also run the doctor command and see if everything is okay. Seems like Dr. Command found some warning. But this is related to deep agent ADK and other frameworks which is not relevant to this demo. And an interesting part where we will be saying is basically you are sending the prompt. So for what we did now we run the command and we ask the question we specify the budget so that we don't not spending too much uh on this run.
But once we do that as you can see your maximum steps recussion depth and it completed it this run and coming back with the results. We can also see that this thing into the the research lab where we can see this spin has been completed. We can see some rewards. We can also see the trajectory which is important part where we can see the all the RLM loop for example the the ripple and the code and the final output. So and also we can see the the events when it started and when it ended.
So you can play around with this RLM code terminal user interface which is kind of harness and you can experiment your RLM ideas in here. So I'm going to quit this for now and let's switch back to the slides. In a nutshell, what we just saw basically our context has been loaded. We have some ripple code written to extract some snippets. We also saw the eleant query has been called to get some more context from another model.
This is where the recussion comes in picture and we got the final result and we got the the traces in JSONL format that you can import it into the any of the observability platform of your choice and we also saw this results coming from different files. You can take a look at the source code that will be available uh for you. Let's talk about the real thing how AI engineer could use this concepts in the real life and there are few things for example if you're dealing with the large source code and you want to for example root cause analysis or on boarding of the repositories or some unfamiliar repos.
So there are few use cases you can from here and probably try to use RLM concepts over there. Basically you can design your own harness um based on your needs. So that should capture the whole trajectory all these things like the planning coding observation sub call budget and the final output. Now coming back to the final point about RLM concepts and where it's been used. I have recently came across a lot of the post on X saying the RLM concepts have been being used into the some of the proprietary things like the managed agent dynamic workflows using the RLM concepts under the hood.
So they have implemented one or more for RLM inside their agent harnesses. Recently I saw that the codeex harness is writing the Python Python code in the ripple that you can see to curate the context that is one form of RLM I have seen myself and obviously the clouds manage agents or Gemini managed agents they're all kind of concepts of RLM so basically you can get the harness in the sandbox and then you can do the stuff and the recent things about the dynamic workflows where one agent given the given the task you can spot on multiple agents that have their separate sandboxes.
They can work together and give back the final results and the idea is basically generally coming from the um RLMS. A lot of software factories concepts are probably using the RLMs but we are not sure yet. However, some of the cloud code engineers from anthropic has accepted on X that they have used concepts of RLM. You can use this RLM concept on your large context repository. And if you have any questions then feel free to reach out to me.
And finally, thank you so much for listening to my
The words are the caption track's own and nothing is reworded or re-transcribed. Paragraph breaks are placed between sentences so the text reads as prose.
Free tools for your own script. No signup, no login.
Paste your draft and see where viewers are likely to drop off, with a rewrite for each weak line.
Paste the first 30 seconds of your own draft for a hook score and rewrites.
Check your draft against YouTube's advertiser-friendly guidelines before you record it.
Read this channel's public videos and transcripts, and download a writing brief for it.