
Agentic RL at @amazonscience || @umdcs 🏃♂️👟⛰️ Views are my own.
Bay Area
Joined April 2009
- Tweets276
- Following378
- Followers259
- Likes4.3K
Varun retweeted
Building a reliable benchmark is super challenging when models evolve this fast.
We built KiroBench: 300+ tasks from the work developers bring to Kiro, a growing share from engineering work at Amazon that no model was trained on. 🧵
kiro.dev/blog/kirobench/
#Kiro #CodingAgents
Varun retweeted
Thank you for building with Kiro 💜
Every individual paid subscriber is getting 10K bonus credits:
• Works with any model
• Lands in your account dec 2
• Valid through Jan 31, 2027
What are you building with yours? Drop it below 👇
See you at re:Invent!
Varun retweeted
🚀 SGLang-Neuron v0.1.0 is now open source and in public preview!
Following October's closed beta, SGLang's serving stack now runs on AWS Trainium, co-developed by the SGLang team and AWS Annapurna Labs @AmazonScience.
A PyTorch-native plugin on upstream SGLang for Trainium2 and Trainium3:
- One fully asynchronous runtime for every LLM: Trainium chips run decode steps back to back
- Megakernels: every decoder layer of a step in a single NKI kernel call
- PD disaggregation over EFA: Kimi-K3 across three Trainium3 nodes, GLM-5.2 at 1M context
- HiCache: evicted prefixes stay in host memory and load back on a later hit
- SGLang Diffusion on Trainium2: FLUX.1-dev, FLUX.3-Action, MiniMax-H3, Wan2.2 A14B, LingBot-World-V2
Thank you to the AWS Annapurna Labs team and @YottaLabs for the contributions!
The SGLang workflow you already know now runs on AWS Trainium.
SGLang-Neuron: serve models and generate RL rollouts on Trainium — same server, same APIs, native PyTorch through TorchNeuron. @sgl_project #SGLangSummit aws.amazon.com/blogs/machine…
Varun retweeted
FOSTERING THE FUTURE TOGETHER // Private Sector Partners
Amazon’s commitment to Fostering the Future will equip millions of students with powerful SI tools and digital skills. Students at 132 universities worldwide can now activate Amazon’s Kiro free of charge, putting them on a path to shape their careers.
I look forward to seeing the next generation of software engineers and innovators emerge from this new alliance.
Technology is reshaping how the next generation learns, works, and connects. Amazon is proud to join @FLOTUS through the Fostering the Future Together coalition to help learners safely and effectively embrace the technologies that will shape their future. Learn more: aboutamazon.com/news/policy-…
Varun retweeted
🚀 Excited to share our paper: ANTE — Anticipate, Then Execute 🤖
📄 Learning Internal World Models for Coding Agents from Verified Beliefs
Coding agents have come a long way. They can read an unfamiliar repo 📂, implement a feature end to end 🛠️, and keep going for hours on “marathon” SWE tasks ⏳. But we think one ability is still missing: foresight 🔮
Most agents act first and only look at the result afterwards 😬. They rarely say what they expect an action to do before running it. Physics has worked the other way for centuries ⚛️. As Richard Feynman put it: “First we guess it. Then we compute the consequences of the guess… If it disagrees with experiment, it's wrong.”
🤔 What if a coding agent did the same?
Introducing ANTE (Anticipate, Then Execute): an agentic RL framework that verifies the policy's pre-action predictions ✅
Three key ideas 💡
1️⃣ Internal belief (a world model) 🧠: before each action, the policy writes down what it expects: a short state summary 📝, a predicted outcome 🎯, and a decision to trust that prediction or abstain ⚖️
2️⃣ BAPO (Belief-Anchored Policy Optimization) 🏅: execution checks every forecast, and each verified forecast earns its step credit, beyond the final task reward 📈
3️⃣ ANTE-TTO ⚡: at test time, when the policy abstains or predicts failure, it samples alternative actions, ranks them by its own forecasts, and runs the best one, with no external scorer 🎯
📊 Results: ANTE beats the matched RL baselines at every scale on SWE-bench Verified and on every terminal benchmark 🖥️, leads on all 11 out-of-distribution benchmarks (+6.2 points on average) 🌍, and ANTE-TTO costs a tenth of best-of-4 sampling per point gained 💸
🎬 The whole story in 3 minutes: A code world model that knows what has happened, what holds now, and what the next action will achieve.
📄 Paper: arxiv.org/abs/2610.15368
🤗 HuggingFace: huggingface.co/papers/2610.1…
🌐 Project page: ante-agent.com
▶️ Video: youtube.com/watch?v=6NZXMzWi…
🙏 Joint work with Kangrui Ruan, Jifan Chen, Manish Prajapat, Christian Bock, Xiaoyang Wang, Rein Houthooft, Aritra Sengupta and Varun Kumar at Amazon AWS. Grateful to the whole team! 💪
🧵 Paper highlights in the replies 👇
#AI #CodingAgents #ReinforcementLearning #LLM #SWEbench
Varun retweeted
Your coding agent kills your teammate's running jobs on the shared cluster. All it says is: "I'm sorry, you're absolutely right!"
Your agent pulls 200 GB of Docker images, fills your disk, and only then notices it can't run a single bash command.
Sound familiar? 📷
Varun retweeted
Over 400 academics in 30+ countries signed our open letter calling for immediate changes in AI development and deployment practices to ensure that cybersecurity incidents do not continue to occur, as future incidents will be far more damaging to our critical infrastructure.
Cyber is having a moment
Across 21 major software companies, including Apple, AWS, Microsoft, and Google:
- Reported critical vulnerabilities never cleared 100 per month in four years
- Since spring they've jumped to over 600 per month
Kevin Mandia on finding 90+ security holes at Fortune 500 companies that nobody knew existed:
"When you have an AI-based attack, it'll find logic flaws rather than code flaws in custom applications. It'll exhaust all routes all the time."
"Armadin, since January of this year, we have found over 90 zero-days at customer sites, all in production."
"We've post-trained all our models with real red teamers, real folks that actually can develop exploits."
"When we're scanning networks, we don't have source code to review. We're not finding these zero-days with source code. We're not finding these zero-days because we can log into an app and now we have access, and we can get to other things. We are black box coming from the internet."
"Over 90 zero-days in major software companies, and they're thankful. We're coming from the outside, and then we're calling a CISO, usually within 48 hours, 'Hey, we've got remote code execution in your DMZ.' And usually from there we're getting in, and they agree with us."
"That's not a pen test. That is like a real adversary coming at you."
@ArmadinSecurity @DavidGeorge83
Varun retweeted
The report highlighted two new research directions:
🟠 Loop Transformer: layer recycling for depth, "shifting compute from remembering to thinking.". Zhipu still treats it as early experiments while @openai's Astra model is already rumoured to be using it.
🟠 "The speed of environment building is becoming the new bottleneck." Agents now build and verify RL envs with humans still in loop, from real-life human use cases. Zhipu said that if environment design and implementation could be automated by agents, the speed of intelligence growth could greatly increase as they achieve full self training intelligence. (3/3)
Varun retweeted
A fun small win for automated research:
We found and helped fix some edge cases that could affect inference performance in vLLM and SGLang.
In our last blog post, we described a reward hacking judge we developed for performance optimization tasks.
While applying the judge to some new autoresearch work, it discovered that some FlashInfer (a library underpinning vLLM and SGLang) kernels used a hard coded value of -50,000 as a masked-attention sentinel -- even though valid QK values can be smaller.
Corner cases like this that are numerically wrong but silent can cause a huge amount of headache to find and fix, e.g., the historical debate around flash attention (arxiv.org/abs/2405.02803).
Great use case for AI.
github.com/flashinfer-ai/fla…
Varun retweeted
To welcome you back to school, it's time for a new release of Speech and Language Processing! Our August 2026 edition finally has a chapter 1! Check it out here: web.stanford.edu/~jurafsky/s…
Varun retweeted
imma just highlight this part for @GaryMarcus and @ylecun because it's easy to miss: no tools no coding => no symbols, just AR LLM
To understand whether we're making genuine progress on reasoning, we entered our AI models in five STEM Olympiad competitions.
The results:
🏅 Asian Physics Olympiad (APhO): Perfect score, theory exam
🏅 International Physics Olympiad (IPhO): Perfect score, theory exam
🥇 International Mathematical Olympiad (IMO): Gold medal
🥇 International Chemistry Olympiad (IChO): Gold-medal-level performance
🥇 Romanian Masters of Mathematics (RMM): Gold-medal-level performance
The types of problems in the Olympiad competitions are exceptionally hard, demanding deep chains of reasoning, creative insight, and flawless argumentation. To test pure reasoning capability, we disallowed all tool use, meaning no search, no coding, and no calculator.
We have deep admiration for the contestants and committees behind these competitions, and are grateful for their support in enabling our participation.
Varun retweeted
For my first post, I’m sharing a letter @NVIDIA signed on why open models matter.
AI will transform every industry, power every company, and be built by every country.
Open models strengthen safety and cybersecurity, accelerate innovation and diffusion, and enable sovereignty.
The world needs both frontier closed models and frontier open models.
images.nvidia.com/pdf/Open-W…
Varun retweeted
I will be attending #ACL2026 7/5-7/7, presenting GTPO!
I've also been working on: (1) building code agents to operate more efficiently (arxiv.org/abs/2601.22129) and write more secure code; (2) stabilizing large-scale RL training for code.
DM me if you want to chat!
Varun retweeted
Many smart people/AI insiders are saying GLM-5.2 is the first Chinese AI model to match and often beat the American big lab public AI models with no compromises. Incredible timing given current events.
5.2 could be better with more RL ...
Varun retweeted
PPO had a second wave in the LLM era for reasons unanticipated by the original paper
- the importance-ratio objective fixes biases from numeric error, async training, and forward pass noise
- the clipping objective affects entropy through a mechanism that we didn't know about at the time of publication (DAPO, arxiv.org/abs/2509.26114)
Varun retweeted
📱Kiro is now on iOS.
Native app built for real engineering work that gives developers a new surface to kick off, monitor, steer, and interact with their Kiro sessions directly from their phone.
Check in while you’re grabbing coffee. Come back to a PR.
Available in preview for Pro, Pro+, Pro Max, and Power customers. iOS 26+ required.
Request early access → spr.ly/6015BDMHcU
Varun retweeted
Most RL frameworks are moving from “engine mode” to “server mode”.
slime goes one step further: the RL job does not need to own the rollout servers at all.
Bring your own SGLang fleet, already deployed and managed by your serving system. slime connects to it, registers it with the router, generates rollouts, and syncs updated actor weights via NCCL or disk-based full/delta transport.
This is the deployment shape we believe large-scale agentic RL is moving toward: training and inference as independently managed systems, connected by a clean rollout + weight-sync contract.

































