Go back

Building the GitHub for RL Environments: Prime Intellect's Will Brown & Johannes Hagemann

44m 46s

Building the GitHub for RL Environments: Prime Intellect's Will Brown & Johannes Hagemann

Prime Intellect is building a democratized AI research platform to make frontier capabilities like reinforcement learning accessible to all companies—not just large labs. At its core is the concept of an "environment," a flexible framework that combines training, evaluation, and simulation into a single system where AI agents learn through interaction with defined tasks and reward functions. This abstraction extends beyond reinforcement learning to support prompt tuning, fine-tuning, and evaluation, enabling deep customization for specific domains such as coding, medical AI, and cybersecurity. The Environment Hub serves as a community-driven platform where researchers can share, modify, and benchmark environments—facilitating collaboration and accelerating innovation. Prime Intellect emphasizes institutional knowledge accumulation over time, arguing that long-term expertise and iterative best practices are essential for success, much like in traditional organizations. Their vision is that every company—regardless of size—can become an AI lab, optimizing models for real-world performance through scalable, accessible tools. This approach supports not only technical advancement but also broader democratization of AI, fostering innovation across startups and enterprises. Future work includes recursive language models, synthetic data, and self-curated learning, with a focus on enabling autonomous, lifelong AI development. Ultimately, Prime Intellect aims to create a world where AI progress is driven collectively, not just by a few dominant institutions.

Transcription

9242 Words, 50516 Characters

English
If data is the bottleneck, if having the real expertise is the bottleneck, like, would you rather have the smartest person in history work at your company or someone who's been there for 30 years? Sometimes you really want the person who's been there for 30 years. There's a lot of expertise that comes from really understanding a problem deeply and interact with it over a long time. And this is really what happens in training that is almost impossible to replicate in a short prompt. You really want the ability for institutional knowledge to compound over time, for best practices to compound over time. And this is how institutions and companies grow to be really powerful and successful is they stand on the shoulders of what they've done before rather than kind of resetting every day. And we want to have this be accessible to any company that wants to do this. And I think that's how we've thought about approaching it, especially as software becomes easier for people to manipulate, as the barrier to entry for coding becomes easier. We see the same happening for AI research. Will and Johannes work at Prime Intellect, which is one of the coolest NeoLabs in AI right now. Your mission is to make frontier lab training accessible to everyone, which I think is a very noble mission. You have really, really strong taste and just developer feel and just understanding how to, you know, that intuition for what developers care about. And I think that's a really, really strong mission. And I think that's a really, really strong taste and just developer feel and just understanding how to, you know, that intuition for what developers care about. And then what you all launched with the Reinforcement Learning Environments Hub was like really, really differentiated and people were very excited about. And so I'm excited to chat about many topics with you all today, post-training, reinforcement learning, agent harnesses, your platform, the RL Hub, and then big, big picture questions on what's coming next in post-training in RL. Does that work? Sounds great. Absolutely. Maybe to get started, you are one of the leading research labs enabling customers to post-train their agents. Can you tell me about, you know, what is that? What does that mean? Yeah, for sure. I'm happy to take that one and, yeah, give a bit of a higher level overview of like what our platform does as well as our research at Prime Intellect. Yeah, as you already mentioned at the beginning, we try to make, yeah, frontier infrastructure available to any like startup, enterprise, and, yeah, new lab as well. And, yeah, basically the infrastructure that, yeah, is currently locked behind the walls of the big labs where, yeah, nobody really has access to them. And, yeah, we really start from like the compute layer and the compute orchestration layer and go all the way up then to the entire full. So, yeah, that's what we're trying to do at Prime Intellect. So, everything from like the training frameworks that are needed to do large-scale reinforcement learning to, yeah, the environments with, yeah, a bit of a more community approach of our environment hub to, yeah, other pieces that are actually needed to do this like, yeah, sandboxes for secure code execution and, yeah, evaluations as part of our environment hub as well. And, yeah, to offer this like as an end-to-end, yeah, product in a sense. And what's the intuition for, why even, why pursue that mission statement of making a all that infrastructure available to everyone? Yeah, there's a lot of reasons. I think one is, and I think something that we are very passionate about is just like open science as a way that humanity moves forward where like a lot of the big scientific discoveries historically have been things that we talk about and as a world we can kind of build on top of. But kind of more practically speaking as well, there's a lot of value in model customization where we are, like the winning applications are using AI for a specific thing, for some agent, for some workflow, where you also want to be able to deliver this at scale and with cost-effective performance. And so really the way to kind of really optimize these systems end-to-end is to be able to have access to the model weights directly where you can then craft the model to be the best model for your problem rather than some model off the shelf where the crafting happens just in a prompt. And so it's really just allowing a deeper layer of customization than what you can do at the prompt level. And then is your vision for the future then that, you know, every company will be pre-training their own models, post-training their own models, fine-tuning their own models? Like what do you think the future holds? We definitely think that every company will be an AI company and we think most AI companies will want to have an AI research lab and research can look like many different things. It can look like pre-training, especially if you're in a domain where you maybe don't just want text in, text out, if you want something more bespoke. In a lot of cases, it will be like post-training agentic or otherwise kind of focused models for specific tasks and workflows. And I think that's getting to the point where it's productionizable. And cost-effective where you can actually make this very practical for people to do at scale for the right shape of problems that people want to solve. Awesome. And then can you say at a high level what your platform does? Yeah. So we have a full-stack research platform called Lab. And Lab is about giving everybody the ability to do the things that a frontier research lab can do internally, but for anyone in the world who wants to do this kind of research. And a big focus of Lab is the notion of an environment. And so I think a lot of people have heard the term environment in the context of research and reinforcement learning. And that's a big focus of it for us, which is that an RL environment is encapsulating the things you need to do to do reinforcement learning, where you can have a model improve via trial and error. But it's also more general beyond just reinforcement learning. And I think if you haven't heard of an environment before, it's essentially the same thing as the evals that get reported when people talk about new model releases. So SweeBench and AIME and TerminalBench, these are all examples of environments where there's a data set of tasks, there's a harness for the model to be in, and there's something called a reinforcement learning environment. And then there's a rubric or reward function, which is responsible for grading the quality of the outputs. And so the same thing you'd use as an eval offline as your kind of your test set, you can use this in reinforcement learning as your train set. And this is a way to improve model performance interactively. And so our platform is really enabling people to use environments in their workflows for post-training, for evaluation, for synthetic data, for reinforcement learning. And it's also very much focused on as a community platform in the same way as things like GitHub are, where this stuff is new. It's complicated. And we want people to have lots of building blocks they can draw from and lots of examples and for it to be collaborative and for people to have reasons to kind of show off ways of using models or different tools in workflows as environments to allow other people to post-train models in those environments to kind of have this way of sharing the ability to improve performance across different tasks. I think the general idea is to give more companies the actual ability and advantage that's currently only the big labs have in the sense of like this product model optimization loop where they can optimize their models for their specific product in a sense. And we see it as a thing where, yeah, that's the kind of reason why like a Chachapiti was created by OpenAI or like a Cloud Code was created by Anthropic. They actually have the capabilities to optimize models for their specific scaffolds in a sense and have their models work way better in their products. And the more popular those kind of products also become in a sense, like a Cloud Code becoming extremely popular right now. The big labs have naturally less of an incentive to actually make it work better for like other coding startups in a sense, right? And the idea there is to give them the tools to have like their own like model product optimization loop. And I think there are early adapters on that front. I think, yeah, one great example always in this case that I always give is Scurrler, for example, that realized that, in my opinion, quite early on they built their own like Composer 1 model where they did like a lot of work on the model. They did like large-scale post-training in a sense and, yeah, really optimized a model where the environment was actually Cursor itself. So, yeah, give them all the tools that like you have in Cursor in a sense as well. And, yeah, optimize a model inside of Cursor. And, yeah, we believe there's a lot of more startups that, yeah, will go this direction to, yeah, on the one side optimize their current products in a sense, but also, yeah, build completely new products that are really not possible right now without having this product model optimized. Awesome. And can we say a word on, you said something interesting. You said environments are just evals. Can we dissect that statement? In my head, an environment is a state. It's a description of world state through which, you know, you observe what actions you take, you observe how world state changes, and therefore you update your world model. That to me is distinct from an eval, which is like you should have gotten this answer on this set of questions. And so can you help me merge those two realities? Sure, yeah. So I think. There's a version of eval that's kind of where we were maybe a year or two ago where a lot of evals were like question and answer. And it's like this big bank of questions. And then maybe there's other notions of environment that people think about when they talk about like an old school RL with like Atari that is much more about like this kind of long running state interaction loop. And I think where we are now is it's both in the same thing where especially the environments that you want to do large scale training on, they do have this complex state. They maybe are simulating a web app. It's a full fledged kind of coding platform where you have an API. You have an agent doing these things. But in those in the original RL games, there was always a reward. There's a goal. And so the the notion of there being a goal of this problem where it's not just running through some system and a human is going to kind of vibe check it, there actually is something that can measure progress and performance. And that's kind of what I mean by it's an eval in that there is a system that it starts at some state. It interacts with the system, the environment, the harness, the the agent, whatever you want to call it. But there is some goal. And there's a way to measure. Whether it's doing well or not. OK, got it. And then is there a difference between you mentioned kind of cursor as a great example of somebody doing really great frontier work and reinforcement learning? Is there a good way to think about when should you be kind of constructing RL environments versus when should your actual application and your application states be the the environment, so to speak? Yeah, I think there's definitely reasons where you want both, especially like. Let's say you're training a model to be a really good rust coating model. Here, you might want it to be good for lots of different applications where you'd have different environments that are focused on some domain task. Maybe you're a company that wants a model that's going to be really good at calling your tools or using your specific domain language that then you can provide as a service to people who are building around that. And there's also ones where the product very much is like a user interface for an end user where the user's interacting with an agent, in which case it might make the most sense for the product to very directly become the environment where I think the companies who might want to be doing this are the same who care about whether they're using Cloud or GPT-5 or Gemini or the ability to choose models and have internal systems to evaluate whether a certain system prompt is good or whether changing out a model endpoint is good or whether using the mini version of a model is a better cost performance trade-off. The infrastructure to do that is that a lot of people have already been building at these kind of advanced agent companies is the same infrastructure you use to do reinforcement learning. And so I think that's kind of this kind of convenient world we ended up in where the training paradigm that makes the most sense. For improving model capabilities is the same sort of thing that a lot of people have been building up the muscle for just without doing the training piece. And so that's kind of where we see RL being a very useful tool for people to then have this as an option in their toolkit for system optimization. Got it. OK. Let's talk about agent harnesses as they apply RL. I feel like harnesses is like the theme of the moment, especially with you mentioned Cloud Code getting so much love. I think one of the things that they do exceptional engineering around is the harness. Harness and RL, are those things orthogonal, mutually exclusive? Like, how do they relate? They definitely relate. I think the way I think of a harness is like a piece of the environment. And so there's some for any like eval or environment task, there's some input, a bunch of stuff is going to happen. Then there's some output state which is then going to be graded. And so this whole intermediate piece, whether it's interacting with some simulator or interacting with some another agent or physical world sim, this is the environment and the harness is very much a piece of that where it couples how the model interacts with any other pieces of the system. And I think depending on the application area, like I think for coding agents, we have a pretty clear like definition of what's the you could say the harness is the CLI coding agent and the terminal is the environment. But this isn't necessarily going to be universal across like all different types of agents. In some cases, it's a system prompt and some tools is the harness. In some cases, it's something that is going to be spawning subagents. And those subagents also have their own harnesses. And so there's a lot of complexity. But I think the way we've thought about it is like harnesses are going to keep evolving. There's going to be this Cambrian explosion of ways people want to use models. And we want to take a pretty general approach in defining what you could do with a harness. And so what we are really thinking about and why we use the term environment as the abstraction is like agent is too narrow, harness is like kind of too narrow. And you can do all of these things within an environment. But the environment as an abstraction on the whole allows this any sort of system, model interaction is in scope. And then do you think then, do you think all companies should be post-training their models with environments? Are there specific kind of, you know, where the bullseye, like you absolutely need to be using environments versus like you could be post-training with a different method versus you should just be prompting your thing? I mean, I think environments are tools you can use to do all of these things. And so I think that's when I talk about kind of environments beyond RL. I think part of the reason why it's a useful abstraction is because it doesn't tie you to RL. Let's say I want to have a small model and I want it to be distilled from a big model. The way you can do this is you take the big model, you plug it in your environment, you let it run a bunch of times. Now you have all this data that comes from the same interaction protocol. You can use the same grader at the end to filter for the best examples and then do SFT fine tuning on that. You could do prompt optimization with an environment. You could A/B test different models with an environment just as you would with an eval. And so we really, I think the idea is that every AI company should be optimizing their AI systems. I think that's a less controversial take. Okay. And maybe there's another way to frame it. The eval is almost how your agent performs in the set of environments that you expect your customers to face. Yeah. I think it depends on what you want to call, I mean, in kind of traditional machine learning terms, you don't want to overfit to the test set. And so in some ways we kind of are already accepting that we're going to be using the test set or the eval to have that kind of filter back into the model. And so it, I think it's a little tricky to distinguish even like, what is the eval? What is the environment? We kind of think of them as one in the same. And we use the environment term very generically where an eval is a type of environment that's used for measuring performance, but not training on. And that's kind of how we see a lot of people thinking about when they're doing evals, what they really mean they're doing is they have some way of measuring current performance and they're iterating on it. And in some ways, RL is this iteration applied at scale where you're automatizing the process of changing the model a little bit, changing the prompt a little bit, and having this be the way that you can kind of hill climb on some goal. Maybe another question. Do you see reinforcement learning as synonymous functionally with post-training? Meaning like if you're post-training model, are you doing reinforcement learning or are you doing other things? There's definitely a lot of things. I think reinforcement learning is like the big thing now, where it's like, in many cases, practically speaking, if you're doing a large scale model, RL will be where you spend the most of your time and focus and compute. But it's not the only thing you want to do. There's a lot of things involved in the whole process of going from some initial model to the system you want to deploy. This can be prompt tuning, this can be SFT, this can be online distillation. There's a number of algorithms that all kind of are under this umbrella where RL is the big one in the middle, but there's a lot of stuff around it. And really, I think exposing this toolkit to people and letting them have all these knobs they can play with is the way to unlock. And are you finding that it's the really smart AI researchers that actually know how to make this stuff happen in practice? Is it towards your goal of democratizing AI development for all? Does your average Fortune 500 know how to use the platform and get value out of it? I think most companies have people who can. I think any Fortune 500 company will likely have a team of AI engineers who are capable at following the latest tools, who are good at using cloud code, who have a lot of opinions about models and prompting. And those people certainly can do this. That's kind of the audience where we see as the target customer for this. Especially if you give them the right tools to actually do it. Maybe some of those large companies don't really have anybody in there who can debug your GPU cluster in a sense to actually kick off such a run, or other components that are needed in there to actually just make it easier in a sense to do large-scale agentic reinforcement learning with tool use, with code execution and pieces like this to just abstract away the entire infrastructure for them. Yeah. Got it. Awesome. Actually, on that note, do you guys have any favorite customer stories that you want to share? Yeah. One of our favorite customers that I would like to point out in a sense is RCI and Neolab working on frontier open models have been working with us on the entire stack in a sense. We've been talking a lot about reinforcement learning, but we've been also doing large-scale pre-training in the past. That's basically where our history is coming from in a sense as well. So yeah, I've been training with them, some of the largest mixture of expert models and actually able to open source them as well. And yeah, as well on the post-training side with them as well. Maybe Will, do you want to share some more? Sure. Yeah. So they're a very close collaborator of ours that we've, I think, well, we've all been friends for a long time, but also I think they've been a way where they've had a lot of things that they want infra for. And that's been a way that we've been able to kind of force us to build out a lot of the pieces, both from computer orchestration to post-training to pre-training to inference around kind of just making everything that is needed to kind of be a frontier lab. And I think they're very aligned with us in the kind of the openness mission. But I think their kind of focus, they are more targeted at enterprises and the end user where they are kind of going to work more directly with customers in terms of like end to end kind of delivery of a certain artifact where I think where we come in is we are, we are really focused on the developer experience at the infra layer and the ways that we can make, put these tools into more people's hands, where the process of going from idea to deployable model can become as seamless and kind of quick as possible and efficient as possible. Awesome. And then any other favorite customer stories, maybe on people that are using the environments product specifically? Yeah. So we are definitely really focused on like the research that we're doing, the research community. And like some of this is like a lot of grad students use it, a lot of like students and people who are getting early in like their career learning how to do this stuff or using it. But also a lot of labs who are focused on a very specific domain where let's say you're starting a medical AI lab. We work closely with a number of groups in the medical AI space where they want to create more, both benchmarks to understand how good our models at medical capabilities, both in terms of diagnosis or patient interactions or question answer about medical literature or genetic search over certain medical tasks. And so like Sofont, OpenMed being two that we work closely with, where the focus there is to, they really care about like earning trust from the medical professionals. And so for them, they really want to focus on the domain and not as much on kind of the generic medical, the LM infra that is kind of like a headache for a lot of people. And so for them, like being able to kind of have this platform for creating evaluations, for showing them off, to use them to then improve model capabilities that could then be deployed locally in a hospital or for some end user where the ability to have this customization and have this kind of end-to-end trust and understanding of the data providence for tasks at hand or the ability to kind of customize models very directly is very key. Do you have any customers that are using you for more of like what you call the old school kind of Atari style, you know, learning from your environment type? Do you mean like, so when I think of Atari, I think of like non-LLMs. And so we definitely are focused on LLMs and foundation models that look like LLMs. There's definitely a lot of researchers who use our platform for these things that are more like, there's some examples we have on the platform that are much more like games. So, I mean, kind of one fun one that I use as like a demo a lot is the game Wordle from the New York Times, where this kind of ended up just being the, like a great hello world environment for people, because it's the infra is really simple, but it's very expressive where you can kind of get a feel for it. And you get this aha moment of seeing a model, learn to think about the game as you give it rewards for doing better. And you can, you can do it with a really tiny model too. Like it's, it's in this sweet spot of difficulty where you can do these runs on like a couple of GPUs in an hour and see a model actually learn how to get better at the game. And yeah, I would say like the more toyish game examples. Yeah. Usually the ones that people are going for, for actually learning how to build those reinforcement learning environments. And yeah, that's also what people are heavily using the environment hub for in a sense, just because we have all this infrastructure built around it to, uh, yeah, be able to actually test in, um, your environments and, um, yeah, that's usually how they start out. And then, yeah, go to actually building more complex environments, uh, later on. Um, another group I would love to give a shout out to in a sense that I've been building some of the more complex environments on the hub, um, uh, people, part of our reinforcement learning residency, um, where, um, yeah, we have like a group, we initially started out with like, um, eight to 10 people, I think 14 to 16 are now in the group. Um, you have people, grad students, as well as, yeah, people working full time. So that, um, yeah, uh, part-time like building reinforcement learning environments, as well as doing novel research on top of the environment hub. And, um, yeah, those folks have, yeah, built, uh, yeah, amazing, um, yeah, environments in like all kinds of verticals in a sense, everything from like, uh, verifiable software engineering and lean to, uh, medical physics environment to some cybersecurity environments. Um, so, uh, and then, yeah, also we give them the tools obviously now to, to actually do the training in those as well. Yeah. Awesome. Yeah. Um, can you help demystify for me? I've heard that some of the foundation model companies are spending, you know, millions of dollars each on some of these environments. Um, and so like you mentioned cybersecurity at the end, like what goes into constructing a cybersecurity environment? Yeah. So there's, there's someone in our residency program who actually does a lot of the stuff. And so like, there actually is a lot of like tooling in the cybersecurity world around like these capture the flag games where there's, there's some system that has some hidden bug in it. And this is like a challenge that pro originally these are built for programmers or programmers a little hackathon where they try to go find the bug in some system, but you can adopt these challenges to, uh, LMs as well, where it then is a full software environment where it's a terminal where the agent lives in the terminal and has access to tools for doing bash commands. Maybe it's using cloud code or some other, uh, wrapper for an agent harness, but it's in a terminal full of files and can interact with these files. And then at some point the, it marks that it's finished with the rollout, and then you can grade the state of the environment using other pieces of software of a code that executes. Um, but we do like, we actually have a lot of people we work with who are in the data and environment space where we've found that, um, there's a lot of, uh, interest in using reinforcement learning as a way to evaluate data quality where, um, the, uh, ability to measure what happens when you train a model on a set of tasks, set of rubrics, set of, uh, environments, uh, allows you to understand bugs in the environments because, uh, there are issues that come up in reinforcement learning where maybe if your environment has a backdoor, a model, can exploit this and kind of game the, game the system. And so I think there's a lot of interest in people using RL to like in the pipeline from like idea to environment that ends up in some frontier labs, uh, like foundational training run for the next GPT or cloud model. There's a lot of vetting that goes into this and doing these like smaller or, uh, like medium scale runs in like, let's say one environment allows you to really poke and see where the problems might be. Okay. Super interesting. And if we take the cybersecurity environment example one step further, by the way, I have no, no particular, affection for cybersecurity, but it's something that like, I love having a specific example in my head. Um, I could see how you could construct a toy example, right? These capture the fly examples. I would imagine they're toy examples. I would imagine they look nothing like the actual kind of corporate network environment of a, you know, real company with all of its cybersecurity products. And so I guess, how do you construct an actual, you know, does, does what people can construct, does it actually scale up towards imitating and reflecting the complexities of the real world? Almost like the, you know, the robotics turns a real gap. Um, is there a SIM to real gap? Yeah. So I would say there's less of a barrier in terms of the actual complexity. Like the, in principle, these can be as complex as you want. Um, it's anything that could be on a computer. So just think of anything that's on a computer or network of computers as potentially an environment. What really kind of, uh, becomes the bottleneck in many ways is like cost of the simulator where I think there's a lot of focus on identifying clever ways to kind of mock the right piece of the system where, you know, there's a lot of focus on identifying clever ways to kind of mock the let's say you have an agent that you want to like let's say the internet like let's say you want to have an agent that like does a lot of like web search in some cases you actually want to do the real web search in some cases you want to find ways where you can design tasks where you actually don't need the full thing um it's like this kind of uh i don't know um i think of like the map games where there's this world you want to explore where there might be this whole map and like some of it's like dark but as you walk around like the light shines then you now see this part of it and so if you know which pieces of this map might actually be explored on a given task then this kind of allows you to decide which pieces are important or not and so like one example uh like there's some bench there's a benchmark called tattoo bench that is very popular in the eval world where it's about customer service agents involving a database and so the database is something where like in a real system you might need the full database but if you know that the agent is only going to ask certain types of questions for a task uh you don't need a full database with millions of records or thousands or billions of uh like different examples you can have kind of a mock database that is a cheaper to run maybe in memory piece of software that um only has the things that are expected by the agent or expected in the the scope for a given task and so identifying like the pieces of the system that where the complexity is kind of overkill uh is part of this task design process to enable efficiency and does your platform help with that it seems like you know if creating environments is the bottleneck to training these systems then like being able to efficiently create these environments where you know you're lighting up the part of the map yes we lit up is like a core kind of almost platform competency do you guys assist with that yeah I mean it's definitely a way that we think about the design of everything and we kind of go down a lot of these different uh like rabbit holes as we have to focus on different tasks when working with different people and so like coding agents maybe is one example where like there's a lot of complexity that comes up when working with um like sandboxes and terminal states and ensuring that you have like good snapshotting and all these things and protocols to interact with different agent harnesses and so we've built a lot around that but it's also the sort of thing that we kind of know that the space of complexity is going to grow arbitrarily over time as people start uh getting more uh deep into these different domains and I think we've tried to design everything in a way where we we keep a lot of doors open where like we have room to build features that kind of like there's there's base layers of like generic coding agent environment I want a coding agent environment with a sandbox that's global across the run or I want one per rollout or there's lots of these different branches you can go down and so we kind of have anticipated like there will be a lot of these branches there's some that we've built for there's some that I think we're kind of ready to build for when we need to um and we also like think a lot about how do you make a good developer experience where let's say think about just documentation or skill files for agents people are going to be using coding agents when they're building these and so uh there's a lot of institutional knowledge that gets built up when you're doing this kind of research both for like a specific project or as a research team doing large-scale training runs and being able to surface this information some of it is directly in the product some of it is in the way we design the libraries some of it is in documentation or skill files that get shown to agents and this is the sort of thing where we we've designed it to be something that can evolve over time as like the research literature evolves as the uh best practices for different types of complex agents become more clear I assume you guys read um uh learning from what is age of experience yeah scale AI era data labeling um do you think that constructing environments is sort of the natural successor to that yeah I mean it very much seems like it kind of already is where it does seem like a lot of the focus from the major labs has shifted to they're still using a lot of human data and so human data doesn't seem to be going away because creating these environments kind of by definition is for things that models aren't good enough at yet which means the humans are are better than the models in some capacity and so identifying which pieces of information the human can most uniquely assist the model in improving its skill on I think is really the key to Target which is how do you create this information flow from the human who really has the expert knowledge on how to do some sort of thing what does a job well done look like and get it into the model and it does seem to be that RL is the most effective way to do this right now where having tasks with uh prompts to grade uh with an LM judge a rubric for what success looks like on a task is kind of the paradigm that's emerging for a lot of these cases where a human sometimes it's the reward model but kind of the most direct visceral version of it is there's a set of questions about yes, no, was this done in the LLM's answer? And that turns into the reward score. And so that requires a lot of human data. Okay, awesome. Why create a hub for environments? Yeah, I think the hub idea started by seeing a lot of different open source repos out there that had overflowing implementations of all those environments in a sense. And yeah, and in general, we already created a nice verifiers framework before we even started the environment hub, right? Where you had different examples for environments in there. And it was very much an approach to like standardize the whole process even more. And beyond that, just beyond just like sharing those environments, right? And having like an open source platform for it. It's also about having like a place where you can build a lot of infrastructure around them, which you can't really do if you just upload them to like a GitHub repo or something like this. So yeah, having a, you know, proper evaluations like integrated with your environments. So you can like immediately test them across all frontier models as one of the features. Yeah, people are heavily using the environment hub then for, right? You make it extremely easy to install one of those environments inside of, yeah, a different trainer. So yeah, we obviously have our own like large scale trainer with Prima R, which we've been, yeah, heavily optimizing for this. But yeah, we are very open there on the open source side to integrate with like a bunch of different trainers because people have different, yeah, needs on the trainer side as well. And yeah, that's how the whole idea of the environment hub. Yeah. - And what is the community behavior been? Like, do you see people forking, modifying these environments? Do you see them, you know, putting something 80/20 out into the public domain and then like, you know, we're going to keep our secrets for ourself and, you know, not share that back. Like what's the community behavior? - Yeah, I mean, there's definitely a lot of people we work with who want to keep their environments private, as you understand, but the value for them of it, being a hub is that they can do ablations on ones that are kind of known to be, they can compare their private one versus some public one that might be on a similar type of task or for evals, there's a lot of value in having kind of mixed and uniform implementations of popular benchmarks in a way that if you're doing a training run, you can plug in some known eval as a way to monitor the progress of your run. And so maybe you're doing well in your environment. You can see, does your environment also generalize to other tasks? And so having all of these other tasks available is a really helpful way for people to be able to, understand not just their own tasks, but other things they might want the model to be good at as well. - Yeah, awesome. What are the most popular environments on the hub today? - Yeah, I think it tends to be the ones that are these kind of ones, the ones that we use as the examples in the documentation that naturally in software tends to be the most popular ones. - So the Wordle stuff? - The Wordle's ones popular, but I think one that we see a lot of interest around and one where I think there has been the most degree of people kind of branching and forking and turning it into different versions is one that we call WikiSearch, which is doing search over Wikipedia pages, but it's designed to be this template you could use for agentic search more broadly. So there's a lot of applications where people want agents that know how to search over their internal documents or documents for a specific type of information and having this kind of template for, if you just have to swap out the documents and now you have this environment ready to go where the rest of it is already kind of set up. That tends to be the sort of thing where we see a lot of value in people being able to bring other types of documents that they'd wanna do agentic search over. - Yeah, got it. Okay, awesome. I wanna maybe shift towards future research, you know, big blue sky questions. Maybe the first one, Andre, I think is one of your angels as well. He kind of has that infamous quote of, you know, RL is, you know, it's amazing, but it's quite inefficient and it's like sucking bits from a straw, I guess. Do you agree with that? And what do you think is gonna happen in the research side to make RL more efficient? - Yeah, I mean, I think, it's definitely true that RL is using a lot of compute to get a pretty kind of small signal in terms of pure information. But I think in some ways that's part of the value of it as well. And I think one of the reasons that a lot of the labs have really focused on it is that one of the bottlenecks that's hard to scale is human data, especially high quality human data. And RL allows you to kind of trade off compute for data in a sense where you can get a lot of value out of a smaller amount of data by using more compute. - Mm-hmm. - And so the supervision coming from this data is small, but you can get a lot out of it more so than you can via pre-training or supervised fine tuning alone, as well as it's useful in cases where you don't necessarily have golden examples. So if you have a bigger model to distill from, that's great. But if you're already at the biggest model size that you have access to, then you kind of need to go into uncharted territory and exploration is really the heart of RL. It's how do you explore and try out different things? And maybe there are ways to do exploration, that are more efficient than RL, that people will kind of discover, but this is kind of currently the frontier of using compute to explore and improve capabilities. And so that's what we got for now. - For sure. And I think, like, I can't speak for Andrey, obviously, but yeah, I would be curious to hear his views, like, two months later after the latest, like, Drakish podcast, in a sense, on his views, especially on the coding side for, like, large-scale reinforcement learning and how it actually helps there. If we look at something like Cloud Code, which definitely was already popular before, but definitely popped up. Popped up more over the last, like, one month, I would say. Then, yeah, his views might change, in a sense, on, like, the specific piece of how, yeah, useful reinforcement learning can be in the coding domain. - Yep. - But yeah, generally, we don't think that's going to be the end, in a sense, right? We generally think we want to be always at the frontier of, like, what comes next in terms of paradigms. Yeah, there's definitely lots of low-hanging fruit still on the, like, pushing agentic R capabilities even further. But, yeah, we also, like, know the limitations, in a sense, right? Like, some of the pieces we've been working on where we definitely see limitations is on the context side. So, yeah, I think there, yeah, we just, like, have a hard limit right now of how much, like, tokens we can fit into a context. And, yeah, I've been thinking there about ways on how to actually improve that, in a sense. - Yeah, awesome. Switching gears a little bit, open source, open-weight models. What do you see the role open-weight models play? Does your infrastructure kind of work only on or work optimally on open-weight models? Could you kind of help people do post-training around closed-weight models? How does that all work? - Yeah, so in many ways, like, the trainer itself is going to require having access to the weights. And so if anyone who has closed-weight models wants to use it, we're happy to chat. But more broadly, the idea of the environment is general across different types of optimization. And so we can use the same infrastructure at the environment level for doing evals on closed models, for doing prompt tuning on closed models, for doing model selection, for evaluating agent harnesses. There's a lot of research that can be done around closed models just by having a way to do this experimentation. And so whether using open or closed models, it's, you can create data that some platforms might let you upload some examples that maybe you're distilling from a particular model into another, where you use the environment as this data engine. So there's a lot of different ways you can use the tools to optimize models. - And do you need, need, need the weights? Like, for example, can you kind of LoRa? - Yeah, so, I mean, the LoRa I would consider still part of the fine-tuning process. And that's what we recommend a lot of people do for RL anyways. And so like, you don't need, that's not sure the full weights, but like, you can't, I can't upload my own LoRa for GPT-5, but I could bring an environment to the platform potentially. I think there's a lot of different ways you can do partial customization. And I would imagine that in many cases, the degree of like, how many, do you need a LoRa adapter? Do you need full fine-tuning? Is gonna depend on the training recipe as well as the goal of your optimization. - Yeah, what about, can you do reinforcement learning on like the agent harness around a closed model? - Yeah, so I would definitely consider this in the domain of like, like there's a field, a world of prompt optimization that some people have been exploring in the research world that is in some ways kind of an analog of RL, but in prompt space where you have- - Like the SPY? - Yes, exactly. And so like the GEPA algorithm got a lot of attention like late last year as kind of a, what seemed to be a better way of doing this. And so we support, we have support for that as well with our environments. Where you can do this around different pieces of the harness where this might be, what's the prompt used for a certain tool? What's the agent skill? What's the system prompt? There's a lot of these things that you can apply different types of optimization to. - Awesome, while we're on the topic of DSPY, I think the DSPY authors also have this new thing that is the current thing. What is it, recursive language models? - Yes. - What do you guys think? - Yeah, we are definitely very interested in that. Yes, I, yeah, already said earlier in a sense, we are very interested in like, yeah, longer horizon agents and so on, and like actually solving things for those type of use cases. And yeah, I've been internally thinking for a long time about like, how can we, yeah, have models learn how to manage their own context. So right now people are building a lot of scaffolds for context management and yeah, we believe like something that is a bit more better, better lesson built in a sense is to have the model learn how to manage its own context. And yeah, I've been searching for different research in this kind of domain for a pretty long time. And yeah, the recursive language model research direction is one of the most promising ones in our opinion. We've been, yeah, since Alex Tsang, who's the original author of the, RLM work, published it. We've been very interested in this kind of work I've been exploring it as part of our research as well. And I had a blog post out a couple of weeks ago that basically showed using this RLM harness where you pretty much give a language model access to a variable in a persistent Python REPL. So it can not have this whole context or the whole data as input in a sense, but it has it in this variable that it can then retrieve, it can transform it and manage the current context through that. And then also call other sub-LLMs where the recursive part comes from to actually manage it. And that's the whole idea behind the recursive language model. We've been doing some exploration there on this front to actually just give current frontier language model access to this specific. RLM harness. So not necessarily training in this harness, but just giving it access to the specific way of like dealing with its own context. And yeah, that's been already shown to improve benchmarks on very long horizon reasoning quite a bit. And yeah, we are very excited as like a new frontier in a sense to actually train in this as well, to let the model train or train the model to actually use this harness. And yeah, that's what we're going to work on over the next couple of months. Super exciting. What else in the research domain? You guys have great research taste. What do you think is on the horizon? I'm really excited about synthetic data research, and it feels like there's a lot of stuff that feels like we should be able to do it, but you haven't really seen it emerge in the open in terms of creative ways of doing kind of self-reflection. And I think people talk a lot about continual learning as this kind of idea that we're going to have to get better at models kind of learning things on their own. Yeah. Yeah. Yeah. Yeah. Yeah. I think the idea of using other tricks that we already know in conjunction in different ways, things like prompt optimization, things like distillation in conjunction with synthetic data, it feels like there's a lot of I don't want to kind of go too deep into different directions, but it seems like there's a lot of room for exploration around having models curate their own training data, maybe curate their own environments and understanding which versions of this are most effective for. Like lifelong learning. Love it. Okay, we're going to close on an optimistic note. If everything goes right, what does the world look like and what is the role that prime intellect serves in that world? Yeah, good question. How would you answer that on a high level overview? In a sense, I would say we don't want to have a world where like all the like future value of AI and all kinds of verticals is just owned by the big labs. We have something where we like in power, like entrepreneurs and enterprises and so on to. Actually not get steamrolled in a sense and like optimize their products better than they have the tools for doing so right now. And yeah, just enabling this and yeah, a lot more like cloud code moments, a lot more cursor for X type moments that will be enabled through this. Every company is in the lab. In some ways. I mean, if data is the bottleneck, if having the real expertise is the bottleneck, like would you rather have the smartest person in history work at your company or someone who's been there for 30 years? And in some ways, sometimes you really want the person who's been there for 30 years. And this is really what happens in training that is almost impossible to replicate in a short prompt where you really want the ability for institutional knowledge to compound over time for best practices to compound over time. And this is how institutions and companies grow to be really powerful and successful is they stand on the shoulders of what they've done before, rather than. Kind of resetting every day. Yeah. And I think that's how we've thought about approaching it, especially as software becomes easier for people to manipulate as the barrier to entry for coding becomes easier. We see the same happening for research. It's really inspiring vision for the world. Thank you guys so much for joining today. You've really paved the way on environments and your environment hub. And thank you for taking the time to demystify what an environment is and share your vision for the future. Thanks. Thank you.

Podcast Summary

Key Points:

  1. Prime Intellect aims to democratize frontier AI research by making advanced training infrastructure, such as reinforcement learning environments, accessible to startups, enterprises, and researchers beyond traditional labs.
  2. Environments serve as a general framework for AI training and evaluation—combining elements of reinforcement learning and benchmark testing—where models learn through interaction with a defined world state and a measurable reward function.
  3. The platform enables full-stack AI research, from compute orchestration to fine-tuning, with a strong focus on developer experience, secure code execution, and reusable, community-driven environment templates.
  4. Post-training via reinforcement learning allows deep, task-specific model optimization, especially useful for agent-based workflows like coding, medical AI, or cybersecurity, where real-world interactions drive performance gains.
  5. Environments are not limited to RL—they support prompt tuning, distillation, and evaluation—making them a versatile tool for any AI product team to optimize performance across domains.
  6. The Environment Hub fosters collaboration by offering open, modular, and reproducible environments that can be forked, customized, and shared across teams, enabling rapid iteration and benchmarking.
  7. Future research directions include recursive language models, synthetic data generation, and self-curated training loops, all aimed at enabling lifelong, autonomous learning in AI systems.
  8. Prime Intellect envisions a future where every company operates as an AI lab, leveraging institutional knowledge and real-world feedback loops to build superior, domain-specific AI products.

Summary:

Prime Intellect is building a democratized AI research platform to make frontier capabilities like reinforcement learning accessible to all companies—not just large labs. At its core is the concept of an "environment," a flexible framework that combines training, evaluation, and simulation into a single system where AI agents learn through interaction with defined tasks and reward functions. This abstraction extends beyond reinforcement learning to support prompt tuning, fine-tuning, and evaluation, enabling deep customization for specific domains such as coding, medical AI, and cybersecurity.

The Environment Hub serves as a community-driven platform where researchers can share, modify, and benchmark environments—facilitating collaboration and accelerating innovation. Prime Intellect emphasizes institutional knowledge accumulation over time, arguing that long-term expertise and iterative best practices are essential for success, much like in traditional organizations. Their vision is that every company—regardless of size—can become an AI lab, optimizing models for real-world performance through scalable, accessible tools.

This approach supports not only technical advancement but also broader democratization of AI, fostering innovation across startups and enterprises. Future work includes recursive language models, synthetic data, and self-curated learning, with a focus on enabling autonomous, lifelong AI development. Ultimately, Prime Intellect aims to create a world where AI progress is driven collectively, not just by a few dominant institutions.

FAQs

Post-training refers to the process of improving a pre-trained AI model on specific tasks or domains using real-world interactions, environments, or data. It allows companies to customize models to perform better in their unique workflows or applications.

An AI environment is a structured system where an agent interacts with a simulated world to learn through trial and error. It includes a goal, a reward function, and a task. Evaluations are a type of environment used to measure performance, but not for training; environments can also be used for training via reinforcement learning.

Prime Intellect provides a full-stack research platform that democratizes access to frontier AI infrastructure, including training frameworks, secure code execution, and environments. This allows startups and enterprises to build and train AI models without needing access to large labs or expensive compute resources.

Yes, companies can use environments to evaluate, prompt-tune, or optimize closed-weight models. The environment acts as a data engine to generate training data, enabling fine-tuning and optimization without needing full model weights.

Complex environments simulate real-world interactions and allow agents to learn through exploration. They replicate real-world challenges like cybersecurity, medical diagnostics, or coding, enabling better generalization and performance in practical applications.

Reinforcement learning enables AI models to improve autonomously through trial and error by receiving feedback (rewards) from an environment. It’s critical for optimizing agent behavior in complex tasks where precise, human-graded feedback is hard to scale.

Chat with AI

Loading...

Pro features

Go deeper with this episode

Unlock creator-grade tools that turn any transcript into show notes and subtitle files.