Back to News
Advertisement
mmikepollard_dev about 11 hours ago 5 commentsRead Article on github.com

HI version is available. Content is displayed in original English for accuracy.

We built HALO (Hierarchal Agent Loop Optimizer), an open-source tool for debugging and optimizing AI agents using their execution traces.

It’s a loop. Run your agent, feed the traces to HALO, get the report, apply the fixes, then re-run your agent.

HALO takes in OTEL compliant traces from AI agents using tracing frameworks such as Langfuse, Arize/OpenInference, or even just plain JSONL. It uses an RLM (Recursive Language Model) to more efficiently break trace analysis into smaller subproblems in order to find recurring patterns across large amounts of data and fix systemic issues that regular LLMs might typically miss.

You can also optionally provide a path to where your agent code lives to give the engine more context so it can more concretely provide useful insights.

The repo also includes a desktop app that you can run locally without having to sign up for anything or configure anything complex.

Check out the readme in the repo for more in depth information on what HALO is and how you can use it to your benefit :)

Advertisement

⚡ Community Insights

Discussion Sentiment

33% Positive

Analyzed from 302 words in the discussion.

Trending Topics

#context#claude#code#traces#rlms#long#agent#haven#https#rlm

Discussion (5 Comments)Read Original on HackerNews

andaiabout 4 hours ago
Very interesting. Haven't heard of RLMs before.

https://github.com/alexzhang13/rlm

> We propose Recursive Language Models (RLMs), a general inference paradigm that treats long prompts as part of an external environment and allows the LLM to programmatically examine, decompose, and recursively call itself over snippets of the prompt.

> We find that RLMs can successfully process inputs up to two orders of magnitude beyond model context windows and, even for shorter prompts, dramatically outperform the quality of vanilla frontier LLMs and common long-context and coding scaffolds [...] across four diverse long-context tasks while having comparable cost.

https://arxiv.org/abs/2512.24601

I had a similar thought the other day. When doing a research task, you don't want to crap up the context with all the web scrapes. But you want to ask follow up questions on the full context, not the anemic subagent summaries. So what you actually want is an "extended context" you can grep.

funfunfunctionabout 6 hours ago
Cool project. A team at work was building something similar to internal use.

I'm curious how this compares to just using Claude Code directly and giving it a dump of the agent traces? It seems like Claude could probably do some of the same diagnostics / trace grouping to identify failure patterns. Why use a custom harness?

mikepollard_devabout 5 hours ago
Yeah, fair question. For a small number of traces just dumping them into Claude Code can work well.

However, once you're at production scale the problem changes. You can't always fit 10,000+ traces in Claude Code and still have it be effective especially when the relevant pattern of agent failures may only become apparent when you pass that many in. That's where the RLM based methodology helps. HALO recursively decomposes the trace data into smaller investigations, analyzes those sub-pieces, and then synthesizes those up to determine the recurring harness-level failure modes better than Claude Code or Codex ever could at a large scale.

ilusionabout 2 hours ago
I'm very curious to see a benchmark for this - have toyed with the idea myself but haven't put in the hard work to test these hypothesis on extracting learning signal from deep-agent traces.
funfunfunctionabout 1 hour ago
There's some benchmarks in the repo for AppWorld. Looks promising