Most AI agents only move when you talk to them. The heartbeat is how you get an OpenClaw agent to work on its own, nonstop. In this session Ariel builds one from scratch: a dedicated agent with its own browser, logged into X, that wakes up on a schedule, scrolls the feed and reports what’s interesting. The demo runs at the minute level, but the same setup works for days or weeks.
Step 1: a dedicated agent
Everything runs on a laptop with OpenClaw installed (Linux). Ariel already has an agent called Batman, but for this job he creates a new one named for X: Xon. One openclaw agents add command in the terminal, and in the local OpenClaw panel, under Agents, Xon shows up next to the default agent.
A small habit worth copying: when he opens the new agent’s files, there’s always no memory file, so he creates one himself. Without it, he’s seen agents fall back to the main agent’s memory, and he doesn’t want that.
Then he simply talks to it, locally, in Hebrew (no WhatsApp needed): “You’re Xon, my X agent. I’m Ariel. Your job: I’ll give you a heartbeat, you’ll have an open browser, scroll X, and every now and then send me what’s interesting.” The agent, running on Kimi K2.6, updates its own files and even writes its own HEARTBEAT.md: when the heartbeat fires, check the browser is working, start it if needed, go to X, look at “For You”, scroll, and look for AI tech, security and cool projects.
But here’s the catch Ariel points out right away: in the config, no heartbeat was actually set yet. All of the agent’s heartbeat talk was theoretical. It had written the instructions, but nothing would ever trigger them.
Step 2: a real browser, not a headless one
Next he asks it to open a browser. It opens a headless one (no visible window). Ariel tells it to kill that and open a normal browser: “you’re on a laptop, you can do anything here.” It takes a while to figure out, partly because his Chrome has lots of profiles now, but eventually a real window opens.
Why insist on a visible browser? Because he wants to watch it, help it and get screenshots. And because of login: he signs in to X himself, with Google and phone MFA. His co-host asks the obvious question: can’t it just do all of this in the background? Ariel’s answer: you can log in yourself and copy cookies over, but it’s hard and not recommended, and a hidden browser also makes it harder for the agent to see what’s on the page, like images. On a VPS you can force everything to work if you learn how, but the easiest setup by far is a laptop or your own computer.
With X open, he runs a first test: scroll, read about 10 posts, summarize anything interesting. He asks what tabs it sees, then tells it to remember that only this one tab is its working tab, describe that tab to itself, and write the description into both TOOLS and HEARTBEAT. Then: “Read your heartbeat file and do what it says.” It scrolls, finds more posts and sends an update. In Hebrew, which surprises the co-host. Ariel: that’s just a question of whether the model understands Hebrew.
Step 3: actually scheduling the heartbeat
Ariel explains the concept plainly: the heartbeat is an MD file in the agent’s workspace with instructions, and the system runs it every X amount of time.
He asks the agent to set its heartbeat to every four minutes. It edits the OpenClaw JSON config, but sets it in the wrong place, so the other agent’s heartbeat would also start running every four minutes. Not what he wanted. He deletes the change and restarts the gateway. A lesson he flags: OpenClaw is built so that if something in the JSON config is wrong, the whole gateway fails to run.
So he tells the agent: you failed to update the settings, go online and learn how to configure a heartbeat for one specific agent. Notice where it looks: in its own source code, inside its node module. Ariel recommends that move in general.
Then he does the edit himself (he likes doing it by hand, though you can let the agent or the terminal do it): under the Xon agent, a heartbeat object with every: "4m". He also tries setting a delivery target of webchat, and the config is rejected as invalid: there’s no heartbeat target by that name. He removes it, the gateway restarts cleanly, and he asks the agent to dig through its source for the valid target options. (For the record, the current OpenClaw docs list owner, last, none, or a channel ID.)
While waiting, one more tip: agents usually start with a default coding tool profile. Ariel bumps his to full, because that’s how he likes it. But for an agent whose only job is to watch a browser and send you a message, you can go lower, down to messaging, as long as it still has browser permission.
It works… sort of
Then, without anyone touching it, the panel shows “just now”: the heartbeat fired by itself, opened the browser, checked the tab and reported. Robots, humanoid robots. Success!
Except it was the same posts as last time. The HEARTBEAT says to refresh and look for new posts, but the agent didn’t scroll and didn’t refresh. The page sat in exactly the same place.
And that’s the real lesson of the video. Defining a heartbeat means sitting down and slowly teaching the agent what “working correctly” looks like. The next step would be: “You didn’t manage to refresh. Prove to me you can refresh,” and once it succeeds, “write exactly how you did it into HEARTBEAT.” Training an agent isn’t a two-minute job; it’s hours or days. Ariel’s example: a research agent for a client took about 30 iterations over roughly three days before the results were what the client wanted. And that’s fine.
๐ฅ Roast Corner
Let’s take a step back and admire the project. According to Al Jazeera, the average person spends about two hours and 39 minutes a day on social media, more than 40 days a year. Humanity looked at that and said “we should cut back.” Ariel looked at that and said “we should automate it.” He built a robot whose entire job is to doomscroll X for him, every four minutes, forever. Most people at least get to blame the algorithm. Ariel is the algorithm.
And credit to Xon, because it nailed the human experience on its first day: woke up, opened X, saw humanoid robots, didn’t scroll, didn’t refresh, and reported the exact same robots again four minutes later. That’s not a bug. That’s a teenager at 2 AM.
The best part? To make his bot more independent, Ariel had to log it in himself, approve the MFA on his own phone, pick its tab for it, write its memory file for it, fix its config for it and restart the gateway for it. Congratulations, Ariel. You didn’t build an autonomous agent. You had a baby.
๐ค AI for Humans
Xon’s whole job is to look at a screen and describe what it sees. For some people, that same trick changes their life. In Atlanta, the Center for the Visually Impaired (CVI), the only comprehensive low-vision clinic in Georgia for 60 years, partnered with Meta to give more than 50 visually impaired veterans free pairs of AI smart glasses, along with hands-on training.
The glasses use built-in cameras and AI to read documents, street signs and store signs aloud, and describe the surroundings in real time. One of the veterans, Dennis Darnes, started losing his sight at 50 to glaucoma and cataracts, and the vision loss cost him his job and eventually his home. “I was afraid to cross the street, afraid to ask people for help,” he told CBS. Now 70, he pairs the glasses with the Be My Eyes app: he can ask it to direct him to the lemon pepper seasoning at the grocery store, tell him the color of a shirt, or find a quarter he dropped on the floor.
“There’s no box, ain’t no box,” he said. “I have a better quality of life.” CVI’s board chair put the goal simply: a technology guide available regardless of age or income. That’s an AI that looks at the world and tells you what’s there, used for exactly the right person.

๐ฌ Comments