Register and share your invite link to earn from video plays and referrals.

alex zhang
@a1zhang
phd student @mit_csail @nlp_mit, previously undergrad @princeton 🫵🏻 go participate in the @GPU_MODE kernel competitions!
1K Following    38.1K Followers
Introducing Speculative Programmatic Tool Calling (sPTC)! A general class of technique for speculating on tool calls during code generation in a harness and queuing them early to overlap with token generation + REPL execution time. Blog:
Show more
0
58
1.8K
205
Forward to community
I am building a full fledged RLM harness in rust using fast-rlm It's coming along nicely. Every context, prompts, file content is a python variable. Every tool runs inside the python repl. It's WIP but super excited about it! PS: deepseek-v4-flash is pretty good as an rlm
Show more
We ran the largest open experiment on how frontier models do AI research. 100+ autonomous runs across 10+ models, sandboxed on 8xH200s for up to 8 days, iterating on the nanoGPT optimizer track. Best runs closed 82% of the gap to a record built by dozens of humans over months.
Show more
0
73
1.9K
212
Forward to community
to add to this, i've seen way too many instances of well-into-their career individuals / phds dunking on others, esp younger ppl on this site. like chill out LOL like i can't imagine walking into csail and some random 5th year comes into my office and starts going off on me😂
Show more
the other part of this is how almost everything with traction in the AI sphere is increasingly a lightly-veiled quasi-technical meme or a shallow dunk of some kind by surprisingly many bitter people; this is X of all places but there really used to be substance not long ago
Show more
Prime Agent on Factorio! The FLE leaderboard is very outdated (we've seen production scores of 1M+ fairly easily) so I'm really hoping it gets revived :p
We are running a live eval stress-testing Prime Agent on Factorio
Prime-agent is indeed a good general harness for long-horizon tasks GLM 5.2 results on FutureSim Q2
"RLM harness" is a buzzy term right now, what does it mean? RLM = recursive language model. In practice this means a supervisor model can break down a task into smaller pieces and recursively call itself on those smaller tasks. Here's how you can use RLMs w/ deepagents!
Show more
@PrimeIntellect did PI-pi, so here i am doing pi-PI. introducing pi-rlm prime intellect did a thing i wanted to do for a long time, they fused a stateful jupyter kernel with an agent. pi-rlm is that idea on top of bun and typescript. it takes over all of your available tools and swallows them into a single tool called `execute`, which runs code in a persistent evaluator. a single-tool pi that does everything. shell is Bun.$, pi's own tools are mounted inside as tools.*, subagents are a function call that returns a handle. @badlogicgames's pi stays untouched until you ask for it: pi install npm:@shift-labs/pi-rlm pi --rlm (btw variables survive across turns, sessions, and restarts, have fun)
Show more
Today, we’re extending our RL stack beyond individual agents to multi-agent systems. You can now express arbitrary agent interactions and train them.
Last thing! The unsung hero who wrote most of the code is @kevinjosethomas, who is super cracked and deserves the spotlight for this release :) If you aren’t already, you should pay attention to him and his work moving forward!
Show more
Introducing Prime Agent: A self-improving RLM harness for coding and long-running autonomous tasks. Designed to be both token-efficient and expressive through programmatic tool calling, context as a variable, multi-agent messaging, and a self-modifiable harness state.
Show more
That answers it I guess Prime Agent isn’t an RLM thank you BrainsAndTennis Jokes aside, I have answered this question many times in the past. The purpose of the RLM paper is to explain: “what type of abstraction lends itself well to a system around LMs calling LMs calling…?” Programmatic tool / sub-agent calling + context as a variable is the main tldr; which lends itself well to composition. Having a capped long recursion depth is a config exists for you, as the user, not to having exploding token costs. In the first place, a common misnomer here is that depth=1 is not equally as expressive as depth=infty for an RLM (I’ll let you think through why this is the case, but not for an arbitrary sub-agent calling system). The ability to recurse infinitely is not what makes something an RLM. It’s fine that you think RLM is a “research ditty”, despite both Codex and Claude Code, and now even Muse Code now having this core feature as an available abstraction to use. We can go back and forth about what this means, but no, it’s not “code execution being important” either. Aside from ARC AGI 3 which is a great result but of course is a gameable benchmark, the rest of the numbers in the blog speak for themselves, and the actual agent is useful in my own experience. And don’t forget about Continual Harness, which is arguably more important for the ARC AGI 3 result.
Show more
whenever something is crazy hype and is followed up by an armada of PR, you gotta bring out the bullshit detectors so i cloned the repo and did a little digging and found a lot of sound and fury. please enlighten me if any of these facts are untrue, would love to be educated RLM claim either overblown or false this doesn't even appear to be RLM ( RLM is "cool" as a concept because there's a premise of going infinitely deep to do arbitrary decomposition of a problem. in practice though it's not really hard, you just make subagents callable as functions and wrap that in a code execution tool. the reason RLMs have not been productionized and is just seen as a research ditty is that 1) going arbitrarily deep down the stack is a shitty thing to do in production without guardrails, 2) most problems do not need more than 2 layers of decomposition, and 3) agents are bad at banana phoning each other and will fail to preserve the subtleties of human requests, leading to a lot of inefficiencies and bad behavior. to solve these problems, there needs to be a fair bit of innovation, either on model training end or on harness end, to mitigate these issues. so what were the innovations in prime agent? they set RLM_MAX_DEPTH = 1? ... ok what? so theres no innovations, it's just calling subagents like every other harness in existence. if RLM MAX DEPTH is 1, it's not even RLM? it's just... a harness? so now i try to look up to what depth the ARC AGI 3 hillclimbing was done at. not surprisingly this doesnt seem to be disclosed on the blogs / posts. if it's just 1 layer deep, that's just shady marketing. a real innovation or contribution to harness engineering would be to detail the things that were improved to get a max depth of >3 to work without blowing up your computer, wasting a bajillion tokens, taking forever, or having agents go off the rails. i didnt find any 97% is just overfitting after hillclimbing on a public eval ok folks. it's nice that opus5 does better than sol than terra, but at the end of the day, we're looking at a public eval in which problems and solutions are open access, so any agent harness can arbitrarily overfit to the task set however much it wants to. if you do a codex or claude loop with some semi shady prompting to just get 100%, im pretty sure it will too. now obviously this is almost certainly not what the prime intellect team instructed their agents to do (otherwise you'd see that terra get 100% after a couple iterations), let's just all remember that there is no train / test split, and that ARC explicitly says - Public-set scores are vulnerable to task-specific overfitting. - They are “emphatically not” valid evidence of progress toward AGI. - Real generalization should be tested on the 55 semi-private or 55 fully private games. It's difficult to assess the degree of overfitting in Prime Agent's self-improving harness (which, btw, is not terribly different from nous agent or really any self-improving system that just looks at old JSONL agent trajectories and suggests skills / memories / system prompt appendments / tools / extensions). the more overfitting, the less impressive the 97% performance is. a counter-example that i found to be legitimately impressive was -- minimal / almost no overfitting, stupidly simple and general solution, and 95% on ARC AGI 3. i think the fairest thing to say about this system, given it's independent daemon system for managing subagent lifecycles, is that Prime Agent contributes a fairly robust persistent asynchronous agent-process tree. It does not demonstrate a solution to scalable deep recursive agency
Show more
I also want to shout out @patience_cave and @myainotez, who actually ran the evals for Prime Agent on their respective amazing benchmarks (MazeBench & PMPP-Hard) for us. These results are included in the blog. Even on short notice they were able to get all the results in! Go check out their wonderful benchmarks as well, they’re really good :)
Show more
Prime Agent was designed as a coding agent, but also can be used for general agentic tasks in any domain. Prime Agent can autonomously run on challenging long-horizon settings like Factorio and MazeBench and yield strong results relative to existing harnesses.
Show more
SITUATION DETECTED: Prime Intellect is releasing Prime Agent, a self-improving harness for coding and long-running autonomous tasks. The team reports 95.5% on ARC-AGI-3, above the human baseline, and says the gain is not benchmark-specific.
Show more
0
90
2.5K
160
Forward to community
am I allowed to say this is an RLM?
Introducing Prime Agent: A self-improving RLM harness for coding and long-running autonomous tasks. Designed to be both token-efficient and expressive through programmatic tool calling, context as a variable, multi-agent messaging, and a self-modifiable harness state.
Show more
Introducing Prime Agent: A self-improving RLM harness for coding and long-running autonomous tasks. Designed to be both token-efficient and expressive through programmatic tool calling, context as a variable, multi-agent messaging, and a self-modifiable harness state.
Show more
0
399
8K
834
Forward to community
Turns out when you get super smart people (@a1zhang @sethkarten @omouamoua and @kevinjosethomas) to collab, you simply get SOTA. Without even trying for specific evals, it just works. Been using this internally for a while, it’s great! Really pushes models forward
Show more
Prime Agent, our new general CLI agent, is out. We show a huge narrative violation where models have the potential to outperform their native harnesses across a variety of evals Huge shoutout to @a1zhang @omouamoua @kevinjosethomas for working on this together
Show more