Headlong: A microharness for persistent agents

laude.org

122 points by lbw1215 2 days ago


MikhailTal - 2 days ago

Very fascinating, super interesting engineering. Although i do find it very funny how they just bypass a massive vulnerability, basically zero data isolation (even between good actors, let alone bad ones) with 3 sentences. Only in the llm space you can slap a massive limitation like this in the middle of the article and continue like nothing happened

> Whatever anyone tells Audel becomes part of the single experience that every other conversation draws on. In practice, Audel is bad at keeping secrets. Ask it what it’s been working on with someone else and it will often just tell you, even though we’ve asked it not to. We also haven’t studied what happens when two people give conflicting instructions. For now, we assume anything you tell Audel is shared with everyone on the team.

theturtletalks - 2 days ago

A lot of harness launches recently but this one actually stood out to me. Just like the Prime Intellect harness that launched recently, this one also leverages RLM (recursive language model). It’s supposed to allow a persistent agent.

The specifics are really interesting. The model itself can change the user input and when you message it, it gets entered into “its stream of consciousness.”

I have a software factory going with Pi, might swap the main orchestrator with Headlong and have it be persistent to drive the other sessions without me.

vedtam - 2 days ago

"turn -> FINAL -> schedule wake-up", this is where my excitement has faded unfortunately. Many of us are probably wondering about the same idea: bridging the gap between a reactive agent and my daily workflow or existence. But, this still feels too close to how Claude (or any other agent) runs as a process in the background (always ON), where you can use a custom channel to feed the dialog with external signals like chat, CI/CD events, whatsapp, etc.

Humans aren't scheduling a wake-up to the next thought. Ideally, a sub second agentic loop with no FINAL / wake-up, always "spinning" would get closer. I'm conscious about the waste of resources this would drag with it (because of current architectures), but exciting still.

PS. I love the take on using bash instead of Python (one less abstraction layer!) and using UNIX fundamentals as stepping stone when composing tools as agents are naturally drawn to using it on a box anyways.

0xbadcafebee - 2 days ago

> Audel designed experiments to spawn recursive shellm sub-runs to work on subproblems. Most of the experiments failed, because shellm has a safety watchdog that kills any command that stays silent for 30 seconds. Audel fought the watchdog for about 40 minutes and mostly stopped using shellm sub-runs. Results from recursive sub-runs of shellm merged back into Audel’s mind 64 times in its first two days and 12 times in the twelve days since. We’ve since revamped the watchdog, and we’ll see if we can convince Audel to give recursion another shot.

This is why "I made it think in a loop" doesn't result in significant improvement in LLM performance. It's not learning. You need RLAIF, STAR, IDPO, etc to retrain the model to learn from its mistakes. And you need a human to review it so it's not compounding mistakes. It's expensive and time-consuming. Doing it wrong leads to bad outcomes. But not doing it leads to no significant improvement.

yewenjie - 2 days ago

Are there any objective metrics/ benchmarks that people test harnesses by?

There are just so many now that it's hard to personally test them all or just trust the vibes.

walrus01 - 2 days ago

Can we please not normalize telling people to install things by curl piped into bash? I hate this trend. And particularly not for a very new, mostly untested by a wider audience piece of software from a company that few have ever previously heard of.

It even says, quoting from the website: "Headlong is alpha research software."

Yeah that's totally something I want to curl thing.sh | bash , great idea.... Wow.

I understand that people want to get people using their software as quickly as possible and with the absolute minimum of friction, but let's put some more thought into how this could be done in a less sketchy way.

It's like we've regressed to the days when you would download a .exe file from tucows and blindly run/trust it on your windows 98SE PC.

weinzierl - 2 days ago

The language composition is interesting. The source is half Shell, a quarter Python, almost a fifth Typescript. Among the rest is 2.3% Rust and 1.3% Swift.

If you wonder what the Rust is for: It is the Ratatui TUI.

jnwatson - 2 days ago

It buries the lede. Prime Agent sounds like a very cool project.

forestcall - 2 days ago

Really hard to support these types of projects without subscription options. BYOK API only approach can run huge amounts of money. I budget for $200 Pro subscriptions. Just using Openrouter for a dark factory kanban ticket system using frontier models will run you $50-$150 which is about 1 ticket.

tesnorindian - 2 days ago

Looks very interesting. Best suited with Local LLMs with unlimited tokens.

airocker - 2 days ago

Sub Question : IS there a real successful agent product today that uses a library for harness(like langgraph etc)? Building our own worked for us. Works with our components(postgres, events ...) and scales naturally with our system.

russellbeattie - 2 days ago

> "Headlong is a complete agent harness with a core of less than 10K lines of Bash..."

Wow. So, be nice or I'll replace you with a very large shell script?

JacobAsmuth - 2 days ago

The Googlers must be vague posting about something internal.

weinzierl - 2 days ago

The page has a nice little easter egg if you click "Dr. K" in the footer.

deadbabe - 2 days ago

Harnesses really are the new 'javascript framework' aren't they?

docheinestages - 2 days ago

But did it produce anything meaningful? If so, show me.

- 2 days ago
[deleted]
simianwords - 2 days ago

Why compress by recency rather than something else?

efitz - 2 days ago

It’s written in 10k lines of bash? Why?

imagetic - 2 days ago

that imaginary line. this crossed it.

dominotw - 2 days ago

> inspired by human inner monologue

most of the training data is the output of inner monologue. ie ppl dont write their inner monologue on the internet( not as often anyways).

inner monologue isnt just thoughts that you keep to yourself. There is a different stucuture and meaning to it. isnt it?

bbor - 2 days ago

  Every Headlong agent has a name and at Laude we named our shared agent Audel. We’ve spent the last few weeks interacting with Audel over Slack, Telegram, and a mobile app. Many team members talk with Audel, and each of those conversations shows up in the agent’s single stream of inner thoughts. The agent decides if and when to respond. It sets its own interests and priorities, and it comes up with its own projects.
P(doom)++
falcon_tech - 2 days ago

[flagged]

janeabegail1 - 2 days ago

[flagged]

13639366668 - 2 days ago

[flagged]

manganate06 - 2 days ago

[flagged]

TokenLat - 2 days ago

[flagged]

jing09928 - 2 days ago

[flagged]

runtime_lens - 2 days ago

[dead]

luciana1u - 2 days ago

[dead]