Varun (@varunnlp) header
Varun (@varunnlp) profile picture

Agentic RL at @amazonscience || @umdcs 🏃‍♂️👟⛰️ Views are my own.

Bay Area
Joined April 2009
Photo by Varun (@varunnlp)Photo by Varun (@varunnlp)Photo by Varun (@varunnlp)Photo by Varun (@varunnlp)Photo by Varun (@varunnlp)Photo by Varun (@varunnlp)
Anyone serious about agents already runs their own evals and gyms. Should happen sooner. Bullish 📈
By 2030 every company will be an rl environment company.
2
159
getting the initial spec right is critical part for verification. We need a lot more innovation in the UX for humans and agents to refine specs together.
I keep seeing so many people online talking about formal verification of AI generated code. My thoughts: 1. It’s cool but also kind of a cop out. It seems somewhat like people want to defer rubber stamping AI code to some formal Lean proof. 2. Formal verification answers the question of “How do we know the AI generated code is right?” My take: How did we know any of the human code was right in the first place? 3. I think it is a bit overhyped. People are just putting much higher standard / burden of proof on AI generated code compared to traditional human code. 4. If the Lean spec is wrong - then the formal verification is worthless. The initial spec has to be correct.
2
112
Expected. The difficulty of a task is very much tied to its verification. For most tasks, if it's easy to verify, it's easy to solve.
We are publishing 4 new benchmark reviews: 1 benchmark is Verified, 3 are Flawed. Another 4 benchmarks lacked sufficient information to assign a verdict. 🟩 Verified: the benchmark can broadly be interpreted as described by the developer, and any errors don’t substantially affect results. We publish a full review, including weaknesses and limitations. 🟥 Flawed: the benchmark has one or more substantive flaws users need to know about to interpret results, most often >20% of tasks with accuracy-impacting errors. We publish a limited write-up of the flaws. ⬛ Not Enough Info: we couldn’t access enough to assign a verdict. Developers get a week to respond before we apply this label. Details from Verified and Flawed reviews are below, along with a link to our full rubric.
1
94
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!
58
50
24
288
43,327
Agentic coding means more and more software will be built for exactly what your business needs. Much cheaper and faster.
We built an inference engine for DeepSeek V4.1-Flash from scratch in Rust and CUDA. 4xB300: ~1,740 TPS decode 8xB300: ~2,060 TPS decode 1M-token prefill in ~12s It's open-source.
3
113
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!
5
8
4
60
33,282
If you build RL envs or run evals: Testing with AWS should be frictionless 🚀
4
267
This is cascading. Start small, escalate to a stronger model when the work demands it. Everyone's betting on routers but routing assumes you know a task's complexity up front. In most cases, you don't, you learn it by attempting the task and gathering context. Cascade kiro.dev/blog/model-cascade/
Replying to @claudeai
Fable and Mythos are best for the most ambitious, open-ended technical work. For most coding and knowledge tasks, we recommend starting with Opus 5.5, our strongest daily driver, then moving to a different model depending on the scope and complexity of your work.
1
8
521
Open source at its best. @deepseek_ai open-sourced DeepInfer, and both @vllm_project and @sgl_project raced to match it. Everyone gets the speedup. Huge respect to both teams 🚀
DeepInfer set the bar. SGLang pushed it higher! 🚀 SGLang now matches DeepInfer performance on BOTH prefill and decode: • Prefill: Up to 1.04× throughput on 4× GB300 and 4× B300 • Decode: Up to 7.4% throughput on 64× GB300 We also provide an end-to-end reproduction guide and a full serving stack to run it in production.
1
1
10
453
On harness design, one needs to keep evolving with frontier model behavior, and ideally keep it lean. Subagents solved context rot for their moment and delivered value. In fact, early 2026, Claude Code, Codex, and OpenCode all shipped an Explore/context gathering subagent. Today the default is main agentic loop + progressive disclosure.
Anthropic is now recommending that companies REMOVE unnecessary subagents from their AI systems. This is a pretty significant shift in agent architecture, with their team finding that a single agent equipped with skills can frequently outperform complex multi-agent systems, and one customer seeing roughly 2x faster execution. The emerging rules of thumb: → Skills: Teach the agent HOW to do something, including procedures, expertise, and instructions. → Tools / MCP: Give the agent the ability to DO things through APIs, actions, and live data. → Subagents: Use for parallel work, isolated context, or tasks a single agent struggles with. The interesting part is progressive disclosure. Instead of spawning specialized agents or stuffing everything into a giant prompt, one agent discovers and loads skills and tools as needed. Their advice is to fold existing subagents into the main loop, turn their instructions into skills, expose their actions as tools, and run evals to see if performance holds up. As models have gotten smarter, improving agent architecture is becoming less about what you can add and more about what you can delete. claude.com/resources/article…
20
2
81
7,257
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-…
81
294
18
1,270
125,958
Lot of value in rethinking agentic workflows from system 1 POV. Where can we we use fast models without having deep reasoning. Clairic is another good step in that direction. What else belongs in System 1?
2
211
🚀 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
6
2
1
14
811
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? 📷
2
5
6
385
Apple could become your local cloud. Expect more companies to release models that can run locally. Local+cloud hybrids has potential to become default LLM offering.
Replying to @finkd
Congrats to the team! Amazing to run a model of Muse Spark Open's caliber and scale this efficiently, right from your desk. Mac Studio keeps pushing the boundaries of on-device AI!
2
197
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.
16
60
12
135
20,265
Varun retweeted
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
67
145
81
922
430,249
My big model smell test: no search, just "what do you know about me?" LLMs store ~2 bits of knowledge per param, so long-tail facts need scale. Works iif an individual is not famous :)
2
85