AIAI EngineerAug 1, 2026· 21:15

Rethinking Environments for Long-Horizon Work — Rayan Garg, Theta Software

Rayan Garg and Gurveer of Theta Software argue that progress on long-horizon AI agents depends on environment and verifier design, not benchmark headlines. They define long horizon via METR-style human time thresholds, such as 50% success on tasks taking humans 16 hours, alongside noisy model units like tokens and steps, and say real difficulty comes from sequential complexity—where a bad early query cascades—rather than artificially chained subtasks. They explain why soft verifiable work needs judge models with detailed rubrics, and why judges must be agents themselves: able to inspect final environment state (e.g. GitHub/CloudWatch logs) with read-only permissions, query long trajectories through sub-agents, and avoid collapsing valid solution spaces. They critique finance benchmarks GDPVal, ToolBench, and Apex agents for average human hours far below METR thresholds, saturation, narrow breadth, and weak reward signals. Theta's own finance tasks average 15 human hours across a 50-task sample, take models long trajectories, and still require mean@5 evaluation.

  1. 0:00Intro
  2. 0:48Time Horizon
  3. 2:22Model Metrics
  4. 4:18Two Lenses
  5. 6:36Env Complexity
  6. 10:01Verifier Challenges
  7. 13:39Judge Design
  8. 17:18Rubric QA
  9. 18:22Benchmark Flaws
  10. 20:30Closing

Powered by PodHood

Transcript

Intro0:00

Gurveer0:13

It's great to see all of you here today. We're super excited to talk about one of our favorite topics here at Theta. Before we get started, we just want to introduce ourselves. So, hi, I'm a co-founder and CTO at Theta Software.

Rayan Garg0:25

Hi, I'm Rayan. I'm a co-founder and CEO at Theta Software. Prior to this, I was previously a founding engineer at Deep Silicon, where we did research into ternary models.

Gurveer0:34

Awesome. So I can get us started with the topic today. We're going to be talking about RL environments within the context of long horizon tasks. And I think the most important thing for us to start with at the beginning is just talk about the trends and what long horizon actually means.

Time Horizon0:48

Gurveer0:48

So, you know, we all know that the horizon at which AI agents can work autonomously is accelerating really fast. This is just some of the metrics that you can look at to see how this progress is really accelerating.

But I think it's really important to actually define what the time horizon here actually means. We've gotten this data from one of the most common benchmarks out there that you've probably heard of for time horizons, for you've seen in your Twitter feed all the time.

It comes from Meter. And Meter kind of has one response or answer to this really important question about how do we actually define long horizon. It's really important to understand because what we considered long horizon a year ago probably isn't really long horizon in our definition today.

And what's long horizon today probably won't be long horizon in a year or two. And I think that gets to our first point, which is that long horizon is really kind of a scalar metric. It's useful for kind of measuring relative tasks.

Like one task might be more long horizon than another. But it's really hard to define into kind of a binary category of this task is long horizon and this task is not, especially as the kind of scope changes over time.

So I think the first way we can talk about defining this is how Meter kind of looks at it, which is human horizon. Meaning, can we use humans as a benchmark of, oh, this task takes humans a certain amount of time.

So if AI agents can do that, then they've reached this certain critical level of kind of a time horizon. And the way Meter kind of does it is they have thresholds for the tasks they care about. So, you know, they have a 50% threshold, meaning, you know, if a certain model reaches a 16-hour threshold on this benchmark, that means it can achieve tasks with a 50% success rate that take a human 16 hours.

And, you know, there's a really rigorous methodology of how they actually measure how to take human 16 hours. But we will kind of avoid some of those details. The other way we usually think about what long horizon actually means is not with the reference of humans, but instead the reference of models.

Model Metrics2:22

Gurveer2:37

So some of the relevant model units that we usually care about are things like tokens, how many tokens are consumed in a trajectory, how many steps to took, how many tool calls it kind of takes. And these can be really noisy,right?

Because I'm sure you guys have used different models. Like, you know, a lot of the Codex models are seen as more token efficient than some of the Claude models. And it's a pretty noisy estimate for a couple of reasons.

One is that which model you're using, like I just said, and different harnesses you care about have a pretty big impact on how many tokens are actually consumed on a task,right? So this can be pretty hard to interpret when you're not holding variables constant.

You know, if a task takes GPT model 500,000 tokens, that doesn't really tell you a lot about what that task will look like for Claude models until you actually run it on those Claude models. But despite it being a pretty noisy metric, it's actually really useful and important for us to understand because, you know, the amount of tokens that are consumed tells us a lot about how difficult a task actually is for an AI agent to kind of tackle it autonomously,right?

We have to deal with things like compaction over long horizons. You know, they don't really stay coherent over enough steps or trajectory length that you kind of achieve. So even though it's kind of a noisy metric, it can be really useful when, you know, if we look at what a GPT 5.5 model can do now, and then you use the same model generation and kind of see, oh, now it can actually achieve a million trajectory based on an increased context window or improved compaction endpoint.

That tells us a lot about how autonomous AI agents can actually go for long periods of time in that sense. And it really defines for us what the technical frontier actually means for modelsright now. Maybe not really human adjacent.

It's really hard to say how many tokens a task takes for a human because we don't really think in tokens, but still very useful in that kind of sense. So these are two different approaches we can think about.

Two Lenses4:18

Gurveer4:18

But what's actually theright way to think about this? The answer is that we probably want to think about all of these. And if we just look at one of these metrics in isolation, it's probably not a great way of measuring things.

So I went through some of the weaknesses with measuring with, like, model-specific metrics like tokens and steps. But there's also a lot of weaknesses in the other approach of kind of relying on humans. You know, what's long horizon for a human isn't necessarily that difficult for a model, depending on what the actual task you care about is.

You know, there's a lot of tasks that are really tedious and time intensive. Maybe like, you know, some financial analyst has to go into, like, an Excel file and fix a bunch of formatting issues throughout the task. Maybe they're changing, like, the theming of, like, the colors in the actual file,right?

That might be really tedious for a human to take. It might take them, like, days to do that if it's a really big Excel file. But for a model, it can maybe write a Python script or find some other cool trick to do that really quickly.

And that's not really hard for it to do. But you never really expect a financial expert to do that because, you know, most of them don't really know how to write these Python scripts. So I think that's one thing to note.

And the other that I kind of briefly touched upon before is that the methodology of how we actually measure this has a really big impact. And if you, you know, someone is out there saying, hey, we have some tasks or environments that are 16 hours long on average, someone else says 20 hours.

That's really hard to compare across people because there's so many different things in the methodology that really impact kind of what that actually means. It can mean, you know, the quality of the experts you're using. Some more experienced experts might actually be way more efficient at doing a certain type of financial or coding task, whatever it kind of is.

And I think this becomes really, really important as we start shifting towards kind of the frontier of even human capabilities. So, you know, as Meter talks about this, but as you shift towards more long horizon tasks and tasks that only the top 10%, the top 1%, the top 1% of humans can really do, these estimates start to get really, really noisy.

And it's something that we really have to consider. And I think, you know, the way agents work is kind of developing in its own separate path. And there are a lot of different bottlenecks and different things that AI agents are better at than even the way humans work.

And with that in mind, you know, as these tasks kind of diverge of how humans do work and what their limitations are and what agents do and what their limitations are, it's really important to kind of keep both these metrics in mind because they kind of tell and paint different pictures of what's actually relevant.

And you don't really get the whole picture by just looking at one in that sense.

Env Complexity6:36

Rayan Garg6:36

Yep. So now the question becomes, how do you measure model capabilities? And this is a really important question because fundamentally, long horizon tasks aren't the only thing we care about. This is the larger question that we want to think about every time we're trying to create tasks, create environments to train our models.

And so the first way we can think about this is environment complexity, and specifically environment complexity related to tool coordination,right? So how many tools or external dependency does the agent have to coordinate? How many tools or external dependencies does the agent have to move information across?

So if we start off kind of thinking about what the world looked like before a long horizon task, you know, world, we'll notice that there was, you know, a low complexity world where the agent maybe had to read one file or one set of files in a code base.

And that's kind of what a task entailed. But now we can see increasingly as these tasks become more long horizon, what is important to define for measuring model capabilities is, OK, the agent should be using a ton of different tools like Grafana for observability to parse logs, or GitHub for CI/CD, or AWS Cloud Watch, or reading and writing to a database.

And we're going to notice that as we sort of start to have these agents and these environments use many tools, that we also start to think about environment complexity in regards to state changes, which is effectively the degree to which the environment changes throughout the task.

And so fundamentally, the way we want to think about this is,right, all long horizon tasks aren't equal. So, for example, one task can, you know, maybe be made by artificially long horizon by chaining together unrelated independent tasks. However, that doesn't actually tell us or meaningfully measure the model capabilities.

Instead, a key component of this is actually being able to have the earlier decisions in the environment influence the later decisions. And this comes back to how the agents are asked to interact with the tools, how these tools change the state of the environment, et cetera.

So we can look at a concrete example for this. One example where you'll see parallelizable complexity, which is effectively not involving a lot of state changes, is when you can maybe have an agent analyzing a large code base.

And then the agent needs to spot off multiple sub-agents. And it can very easily parallelize this,right? You can look at a lot of the different files in parallel, come back to the master agent, and then kind of wrap this all up,right?

But meanwhile, if we look at sequential complexity, we'll see if you have to use a dashboard or logs, a bad early query or a misread can cascade into these downstream steps that really start to have major consequences later on,right?

It's all dependent on how you use those tools and how the state of the environment changed. So the third area that we also need to consider for measuring model capabilities is ambiguity,right? And ambiguity is defined as the information you give the agent and the environment when starting the task.

So this could be the instructions, this could be the artifacts, et cetera. And increasingly, as these agents work with more artifacts at the start,right, we want to have them mirror the work that humans really do. And the work that humans really do has a lot to deal with ambiguity,right?

They always don't have the most complete information, and they want to let exploration happen. And so we believe that to measure model capabilities, we need to test the model's ability to explore and explore throughout the environment as well and explore these artifacts similar to how a human would.

Now, the trade-off with this,right, is that if you are going to have ambiguity in the materials you give, there's a lot more possible paths that the agent could take. There's a lot more ways the agent could beright. And that means that standardized evaluation gets much, much harder.

Verifier Challenges10:01

Gurveer10:06

Awesome. So I'm going to talk about one of the hardest things there are to build environments. And one of the most complex things to really think about, where there's a lot of nuance, which is the verifier in the environment.

How do we actually know that the work the agent did was correct and give it some reward signal during the training process? So I think there's a few challenges here. You know, I think just to give a high-level overview, you know, tasks are getting more complex, the environments are getting more complex, the trajectories are getting longer.

And we've shifted a lot from, you know, a lot of the early RL that we were doing in recent times was really in hard verifiable domains. And that's why we saw these gains in math and kind of like data structure style coding problems.

But what's happened over time is now we really care about a bunch of economically valuable work in soft verifiable domains is a way to put it, where, you know, we can't just run a Python script or run test cases or write a proof to really see whether or not the output was correct or whether or not the environment was changed correctly.

We have to start using other techniques. And the main way we're really going to use that is kind of introduce a judge model or a critic model, as some people put it. And they kind of can add a lot of nuance to how we actually look at a few things here.

You know, very critical for how we actually determine correctness and assign reward. They'll look at two things mainly. One is usually either the final state of the environment and kind of how it was impacted. And the other is looking at the trajectory of how the model that you're actually training made kind of changes to the state of the environment as well and what kind of correctness looked like there.

So, you know, why do we actually use judges and usually rubrics as a technique? I think that's really important to understand before we can even understand how to use them properly, which, you know, I think there's a few reasons.

One is that, like I said, for these soft verifiable domains, there's like an entire class of problems that are really important. And a lot of the problems we care about that really you can't really write a deterministic verifier for.

They'd be really impractical, brittle, or just downright impossible, depending on what the problem setup really is. And, you know, I think the other thing also is that, like I said, we're going to look at the trajectory. And, you know, not all solutions are really created equal.

And not all paths to those solutions are equal either. You know, the worst case of a bad solution we can get is some reward hacking that happens. Lots of different types of reward hacking can happen depending on the setup or the task you kind of care about.

You know, an agent can escape a sandbox. Maybe you see privileged information it shouldn't be seeing about maybe a hidden test suite for, like, a coding task. This is all behavior that we want to prevent, obviously, because those are not actually really valid solutions we really care about.

And, you know, a lot of this mitigating this is going to require strengthening your verifier and your environment setup. But the judge is really, really important in actually catching this behavior. And that's an important reason of why we actually look at the trajectory that the agent actually took to get there.

Yeah, and I think there's a lot of careful things we want to be doing here. One is that there's nuance in how much guidance or, like, explicit rigidness we want to add to the trajectories that the model can actually take.

If we kind of enforce this too tightly, we collapse the state space of how many actual paths the agent actually explores. And that can be really bad, especially because I think some of the more simple approaches we've seen with judges early on is, hey, we'll just give it a reference answer or a solution or maybe a sample trajectory of what a good solution looks like and then just compare against what the model did and say, hey, does it match up with that?

And that really does not work for these more ambiguous or open-ended tasks because there's so many possible correct solutions. It's basically impossible to account for every single one. And we want to check for more robust methods that allow for these different solutions.

So now that we've kind of established why we use judges, we want to go through some of the general heuristics and kind of principles we think about when we're designing good judges, some of the things that we think about at data.

Judge Design13:39

Gurveer13:39

So, you know, I think the first important consideration to make is that judges are agents too. You know, so as environments get really complex, oftentimes a consideration we kind of have is like, hey, we have to make sure the harness can kind of scale and kind of match up with whatever environment you kind of have.

Maybe that means introducing a bunch of new tools and making sure your harness can support those tools really well. The agent has clear observability of what's happening in the environment. But I think, like we said, the way the judge determines correctness is that it oftentimes has to look at the state of the environment itself as well.

So a lot of the harness that you've designed for the agent might also be reused for the judge as well. I think the best way to illustrate this is the example we have here. Let's say you've defined a task where, you know, there's some deployment failure with a software engineering task of some platform you're deploying.

And the agent's task is to, like, sift through the CI/CD logs on GitHub, look through the Cloud Watch logs, figure out whatever happened, kind of apply the change that you care about to the code base, and then open a PR and kind of kick off a redeploy there once the PR is merged.

For a lot of that, if the judge actually wants to verify whether or not this is correct, besides just, like, looking at the tool calls the agent made, which are usually not very reliable, it actually has to also check the GitHub logs.

It might check the AWS logs or the GitHub logs after the deployment happened to make sure, oh, are things actually working properly? So it's really important that the judge has access to the environment in the same way, with some important safeguards, of course.

One is that we don't want the judge to make an accidental mutation in some way to the environment after the agent is done. So you want to be very careful about that. Maybe that means enforcing read-only permissions for a lot of this information.

It can't actually kick off a deployment or anything like that. So those are things to be careful about. But I think this is really, really important, especially where there's a lot of open-ended approaches. And the only way we can really verify correctness is to actually look at the state itself.

The answer isn't obvious of whether or not the agent completed the task just from looking at the trajectory. So I think that's one example where this approach is really, really important.

I think the other thing to be notable of is, you know, as these environments get more complex, the agent structures get longer and longer. And part of the reason we also need the judge to be an agent is that you can't just use this really basic approach of taking the trajectory and stuffing it in the context window of the judge and kind of have it be a basic LLM call.

These structures can get really, really long and really, really complex. So we need to do a lot more thoughtful processing of the trajectory in some meaningful way. So, you know, that might mean we put it into some database, we use sub-agents to actually enrich certain information.

Maybe we parse out specific phases that the agent was actually in. Maybe the beginning part was it going through logs, the second part was it actually writing code, the third part was actually it checking what happened after that.

These are all different things we want to do. And in that sense, we need to make the trajectory itself queryable. So that might mean enriching of information, like I just said, or some other metadata we can kind of look at at certain steps.

And it's really important so the agent can find critical steps, you know, like failure points, and verify whether or not those are actually failures. Making that kind of usable for the agent is really, really important.

I think another important thing to consider is learnability of our environments. You know, the most important thing here is just the density of the reward signal. And a lot of that comes from your rubric and kind of how the judge is defining that.

So I think you'd be very careful with just, you know, overloading with density in your rubric. A lot of times, especially for frontier problems that models aren't really capable of yet, judges will really struggle to apply that rubric consistently.

So there's a lot of QA we kind of need to do to make sure judges are able to apply that information correctly. You know, there's other learnability factors that we care about and we measure in environments, like the distribution of tasks and the actual underlying data there is.

And these are all kind of things we think about for learnability. And it's really important. Otherwise, you're just wasting a bunch of compute on problems where the model can't actually effectively learn.

You know, these are some emerging rubric judge patterns we've seen. I'll quickly skim over this. You know, oftentimes you deterministic verifiers aren't completely dead. Oftentimes we use them in tandem with judges, maybe generating an artifact for the judge to actually look over, where you're maybe collecting metrics.

Rubric QA17:18

Gurveer17:31

Or an interesting thing that we could also use is dynamic evaluation time rubrics where we're actually generating, you know, we're maybe giving partial credit where we've baked in some assumptions that the model's made and assume they're correct. It's like grading a test, assuming, like, if you got the first part wrong, let's just assume it's correct.

Did they get the rest of the partright? That can be really important as well for kind of assigning credit there.

Rayan Garg17:54

I'll skip over this part.

Gurveer17:55

I will let Rayan just close things off with some things about QA for rubrics.

Rayan Garg17:59

Yep. So for each rubric we produce, we run a couple of different tests. We won't go into all of them. Some of them are pretty basic,right? Gold, no op variance. These are tests you want to be considering, regardless for your verifiers.

But I think increasingly, you know, as you involve AI in the process of even creating rubrics or verifying rubrics or aiding experts, you need to have more and more tests, especially as the tasks become more long horizon. And so that really touches on the coverage and the expert agreement.

But I think what we wanted to close off with today is why a lot of this stuff matters,right? We spent a lot of time earlier in this presentation defining what long horizon means. And a huge reason we did that is because we feel like a lot of the literature and data, a lot of the literature shows that a lot of the data being producedright now and being used to train and evaluate models is actually flawed.

Benchmark Flaws18:22

Rayan Garg18:40

So we present three major benchmarks in the area of finance predominantly. And so this is GDP Val banker, tool bench, and Apex agents. There's a couple of notable issues here. First, if you look at the average human hours per task, based on what METER has defined for a lot of the leading frontier models, a lot of these different average human hours per task fall far below that.

And so they wouldn't actually be considered long horizon tasks. The second notable issue here,right, is that we see that these benchmarks are already reasonably saturated. And we think this is a downstream effect of the average human hours per task.

So it's really important to look at the metrics that are being used here. If you look at, you know, the Apex agents IB section of this benchmark that they put out, pass at one effectively means that for, like, 57% of cases, the tasks are 100% solved.

That is effectively telling us that, like, there's a large part of these tasks that models are solving, similar to what we've seen already. But I think a third key important part here is the breadth. For each of these different benchmarks, particularly GDP Val, they have a very narrow set of Excel tasks that they consider for finance.

And for Apex agents, they're largely focused on IB. What this means is that a lot of these more important areas for learnability, like, you know, credit, debt, risk in the domain of finance don't really get covered. And then I think lastly, I'll note there, the reward signal, as Gurveer mentioned, is really important.

And in regards to the reward signal here, we'll notice that there's, like, really, you know, if you look at what you need for a rubric, you need very granular, detailed reward signal. You need, you know, we have 20 different subcriteria and 10 different subcriteria per criteria.

So I think there's a lot of room that's left when you read these benchmarks into how granular reward signal they're giving, which is really important for being able to go ahead and train your models. With that, I think I wanted to round off with a couple of stats about the data we produce.

Closing20:30

Rayan Garg20:30

Here, we, you know, you can look at some statistics for our finance data. We can see that the human time to complete one task on average is 15 hours over a 50-task sample set. Furthermore, it takes models a pretty long time to work through these tasks.

And after all of that, across all the domains we care about, within finance, for example, they still struggle significantly. And so here we provide mean at five, notably different than, you know, all of these previous scores we see here.

So thanks for taking the time to talk with us today.

Yeah. Thank you.