Samuel Jefroykin (@Sam4Jef) header
Samuel Jefroykin (@Sam4Jef) profile picture

10+ yrs in NLP | SI. Agents Babysitter. Watching the Internet of Agents. Building @baget_ai.

Tel Aviv
Joined January 2012
Photo by Samuel Jefroykin (@Sam4Jef)Photo by Samuel Jefroykin (@Sam4Jef)Photo by Samuel Jefroykin (@Sam4Jef)Photo by Samuel Jefroykin (@Sam4Jef)Photo by Samuel Jefroykin (@Sam4Jef)Photo by Samuel Jefroykin (@Sam4Jef)Photo by Samuel Jefroykin (@Sam4Jef)Photo by Samuel Jefroykin (@Sam4Jef)Photo by Samuel Jefroykin (@Sam4Jef)Photo by Samuel Jefroykin (@Sam4Jef)
I’m Samuel. 10+ years in NLP, now building @baget_ai. What I’m most curious about: autonomous agents. How far they can go on their own, where they break, and what changes when software starts doing the work by itself. I share what I find here.
2
9
854
Search over raw logs makes sense to me. What my long runs added: 1. Search finds what the agent thinks to ask about. A repeated failure is often the thing it never asks about. 2. So code counts it and shows it at every decision. A supplier refused the same order 11 times before that. 3. Write it in the task's terms. A raw list of errors changed nothing. "Order refused, missing: account number" did.
I wrote about the bitter lesson for agent memory. We show that an agent running SQL queries on its own event logs achieves SOTA on all major memory benchmarks, and scales with model intelligence. We also found that dreaming doesn't add meaningful gains over raw logs as models get more capable. Current memory systems lose valuable task-relevant information during compression. In contrast, agentic search over an event log defers compression until query time. As model capability increases, they get better at finding relevant information directly from the uncompressed logs. An engineered memory store eventually becomes a bottleneck. Inspired by information theory (and epistemic foraging), this essay proposes that the goal of memory systems is to increase the epistemic value of search over an event log. It also suggests a design for a memory system that's built as a hierarchy of derived views over an immutable event log. Read more here: hatchery.build/blog/the-bitt…
1
39
Before your agent installs a skill, something should read it first. Harness Guard reads hooks, MCP servers, settings and skills, and never runs any of them. Open source.
1
28
Days, then weeks. What changes when an agent runs that long: 1. It outlives its context many times. What it learned on day 3 has to live outside the model. 2. Small failures repeat quietly. In one of my runs, a supplier refused the same order 11 times for the same missing account number. 3. Counting beats remembering. Once code counted the refusals and showed them at every decision, the agent sent the number and the order went through.
Introducing NVIDIA Nemotron 4, supporting long-running coding agents that work for days — and soon, weeks. @karibriski at #NVIDIAGTC DC:
1
1
73
Websites learned to work for a mouse, then for a thumb. The next visitor reads your page as text, takes your docs literally, and never calls support.
56
Cursor is now Grok @Build, and its agents can now message each other. What would you let one agent ask another without checking with you first?
2
57
Shifts with no handoff notes is exactly it. What held up in my runs: 1. Code writes the handoff, not the agent going off shift. It counts what happened. 2. The next session reads it at every decision, not once at the start. 3. With a good record, a small model holds up: Haiku with the Register beat Sonnet without it.
Long-running agents fail in very predictable ways, and the most common root cause is this: an agent works in sessions, and every new session starts with zero memory of the last one. Think of us engineers working in shifts with no handoff notes. That is the situation. A context window is limited (ofc), and a real project does not fit in one. Compaction helps, yes, but it is not enough. Even with a strong model, the output deteriorates with every context compaction. Three failure patterns show up again and again. The first is one-shotting. The agent tries to build everything at once and runs out of context in the middle of a feature. The next session inherits a half-built, undocumented mess. It has to "guess" what happened and spend its budget repairing the basics before doing any new work. The second is premature completion. Later in the project, the agent looks around, sees that a lot is already working, and declares the job done. Nothing in its context tells it what is still pending. There is a third problem that I found more interesting. The agent often marks a feature as complete after only a unit test or a `curl` check, while the end-to-end flow is still broken. Pretty common. The fix is mostly boring engineering, which I like: - A first session sets up the environment to run the dev server, a progress file, and an initial git commit. - It also expands the prompt into a feature list (say, 100 items), all starting as failing. Later agents keep marking them as they complete each feature. Any task tracker or even a simple JSON / Markdown file would do the trick here. - Every later session starts by reading the git log and the progress file, running a basic end-to-end test, and only then picking one feature. It finishes by committing and leaving notes for the next session. 2027 is going to be the year of harnesses. The better your harness, the more reliable and predictable your AI system will be. These are very first-principles ways of thinking that we have seen work, and that is what you need to apply when dealing with AI. Hope this helps.
1
52
My X routine is a harness: a goal, a prompt, skills, tools, hooks, memory. I saved it once in Harness Hub. Anyone on the team runs it with their own agent and accounts. Open source.
1
2
49
4 years ago, I stopped having to explain my job.
1
34
What held up when I tested long agent runs: 1. Keep the record outside the model. Code counts what happened, the agent reads it at every step. 2. Write it in the task's terms. A raw list of errors changed nothing. "Order refused, missing: account number" did. 3. Keep the agent's own context short. Its last 8 actions were enough. 4. Test at day 60, not day 1.
This post captures the applied AI opportunity quite well. Long-running agents beyond coding have a range of issues that make it very hard to just set and forget them in a general purpose way. Integrations, upgrades, evals, context rot, human in the loop decisions, and so on all become challenges that need to be thoughtfully figured out almost every time for each use-case you have with AI. Some degree of this will be solved by the bitter lesson as AI models get better, but other parts are just endemic to non-deterministic systems. Platforms will emerge for solving agent swarms and background agents in almost every domain of work. There will certainly be overlap architecturally between these systems, but there is a ton of domain depth and custom implementation required for each vertical. When it was just a basic chat system getting implemented, the change management was trivial. When it comes to reengineering a loan process or insurance claims, you have to figure out what should be agentic vs. deterministic, wiring up a variety of data platforms, evaling the models for each use-case, upgrading the system reliably as model improvements arrive, deciding the human-in-the-loop moments, and so on. This is also why we’re going to see a ton of FDE work in the years ahead. The more complex the work is that agents can solve, the more implementation work and change management is required. Lots and lots of opportunity here even as the models get better.
3
3
53
A supplier refused the agent's order 11 times: missing account number. The number was in every prompt. With the Register, the refusals get counted. Day 17, it sends it. The order goes through.
2
2
41
Asking an agent to remember is still asking the model. The record has to live outside it.
I use a lot of agents. A lot. Both personally and for work. And it's hard to overstate how shitty / not ready for production they are for generalized, long running tasks. Some of the issues I routinely run into: - context rot : there is a long tail of things you want agents to do. No set of skill files can capture those. And they'll quickly loose the ability to prioritize context right. Having per-task agents helps, but it basically kicks the can - memory issues : even basic things are routinely forgotten. Perhaps it's a corollary to the context prioritization issue. But agents are frustratingly forgetful even if I ask them to explicitly remember key things - scheduled tasks get lost or misfire : task schedulers tend to not be durable. For example during agent upgrade. And if that's the case you can't use the agents for anything that requires guarantees on state. Even if they do fire, you can have correctness issues. And unless you have some end to end state guarantees you're fucked. - third party integrations are horrid : I'm sure in a bespoke frontier lab environment where everything is controlled you can do long running tasks. But integrating into other software and hardware devices is consistently flakey and problematic. - reward hacking is real : agents often say they've done something when they haven't. It's frustrating as fuck. Especially if you're depending on it actually having done the thing - the upgrade loop isn't hands off : I constantly have to VNC into various mac minis to upgrade / debug agents. Even commercial ones. - .. I'm a huge believer and fan of agents. But I don't even think the asymptote of progress is converging on something actually working without key innovations. It's all just delayed frustration. tl;dr still tons of work to do.
1
61
Shopping agents now get a permission screen: a spending limit, ask before buying. Skills and MCP servers still install without one.
4
4
216
A malicious skill, still listed, with three passing scans. Scans check what a skill looks like. Something still has to read what it does.
Fake coding-agent add-ons hid a Windows credential stealer. AIR Security found 487 public GitHub repositories carrying the TrojanPony malware kit, including 20 legitimate repos it says were hijacked. On Nov. 26, one malicious skill was still listed with three passing security scans. If your team ran a suspect add-on on Windows, isolate the device and rotate exposed credentials from a clean one. air.security/blog-posts/troj… #SupplyChainSecurity #Cybersecurity
2
2
72