Deepak Sharma (@deepaks4077) header
Deepak Sharma (@deepaks4077) profile picture

Memory and Continual Learning for Long-Horizon Autonomous Agents for Enterprise at Microsoft, ex-MILA @deepaks4077@sigmoid.social

Montreal, Canada
Joined December 2013
Photo by Deepak Sharma (@deepaks4077)Photo by Deepak Sharma (@deepaks4077)Photo by Deepak Sharma (@deepaks4077)Photo by Deepak Sharma (@deepaks4077)Photo by Deepak Sharma (@deepaks4077)
Day 2 of building Annex: Annex now has memory, but it asks first 🍍🍕
2
108
Claude - "Nothing needs you right now"
1
87
Day 1 of building Annex: Annex is a private workspace on your Mac where an AI helper (Alex) does real work, on copies of your things, in its own sandboxed computer.
1
1
2
173
Training SLMs can take up a lot of tokens 🥲
93
Google cooked with Gemini 4 Neon, I'm really enjoying using it as my research partner to jump back into model training and data ablations, but now I need some resets 😅
2
6
566
Maybe proof that frontier models are being trained on mech interpretability research?
We asked GPT-6 Astra to edit Qwen3.5-0.8B weights to improve math. It directly changed only 0.016% of weights, fixing 0.8B's reasoning loops & improving math up to 6x and even instruction following 3x, without gradients or training. We call this Weight-Space Programming: frontier LLMs can now natively read/write neural network weights! 🧵 Blog: rikiyat.github.io/blog/weigh…
Readers added context they thought people might want to know
LLM was given weights explicitly as text in prompt and used code/forward passes (per authors' logs) to ablate Qwen looping direction, a known thinking-mode issue per model card. Primarily fixed repetition in that mode, not general 'natively' improving weights/math. rikiyat.github.io/blog/weight-sp… github.com/RikiyaT/lm_und… huggingface.co/Qwen/Qwen3.5-0… huggingface.co/RikiyaT/Qwen3.…
1
1
121
Anybody figured how to scale creation and grading of generated 'worlds' for enterprise evals?
2
111
Never thought I'd regret not taking a formal verification class
2
123
This could be huge for labelling and clustering agent traces at scale.
After co-inventing ChatGPT, I kept asking myself: why have superhuman chat models not led to AGI? I’ve spent the last 2 years in stealth building a new way to train models (RLCD), and a new type of frontier AI model that we are releasing today: Jev • 20-200x faster • 40-400x cheaper (w/ output tokens free) • Frontier composable intelligence optimized for decisions AFAICT the shortest path to AI-based economic revolution
2
3
561
Deepak Sharma retweeted
After co-inventing ChatGPT, I kept asking myself: why have superhuman chat models not led to AGI? I’ve spent the last 2 years in stealth building a new way to train models (RLCD), and a new type of frontier AI model that we are releasing today: Jev • 20-200x faster • 40-400x cheaper (w/ output tokens free) • Frontier composable intelligence optimized for decisions AFAICT the shortest path to AI-based economic revolution
3,996
8,236
6,821
76,397
40,253,656
Deepak Sharma retweeted
I applaud this but any mature audit ecosystem has *auditor conduct standards*. Was surprised to learn a METR investigator for the HF/OpenAI incident is married to an OpenAI board member, many access contracts are highly constrained etc. PCAOB in accounting exists for good reason!
This kind of ongoing accountability is going to be open up a lot of really valuable possibilities for safety, and I'd love to see similar things elsewhere:
13
32
7
262
23,886
We are all line managers of software factories now...
1
2
196
Deepak Sharma retweeted
Enterprises are seeking ways to manage AI cost, like rightsizing models, using open source, and doing RL. But, as we frequently remind each other at Databricks, 90% of that journey is data. Building evals to measure the tradeoffs of reducing agent cost. Marshalling realistic environments to make RL possible. Training is the final 10%. If you want to go on the journey to manage AI cost, getting your data, environment, and evals in order is the preparation for and measure of success. If data is 90% of the journey, consider your effort and your budget accordingly. This is the advice we constantly give to our customers and repeat to ourselves.
5
23
2
114
12,314
Generational Montreal summer this year <3
2
109
Deepak Sharma retweeted
Replying to @eladgil
BS. Attention was born in Montréal PyTorch in NYC. AlphaGo in London AlphaFold in London ESMFold in NYC Llama 1 in Paris. Llama 2 in Paris+NYC+SV DeepSeek in Hangzhou Plus: DINO in Paris JEPA in Montréal+Paris+NYC SV is 3 mos ahead on topics SV is singularly obsessed with.
175
487
100
7,680
746,061
I’ve had loadsss of fun building an agent for multi-record entity extraction from enterprise documents. It uses gpt41mini, ~20turns with parallel tool calling of 5-7 tools. Biggest surprise has been how much agentic and reasoning behaviour you can get out of ‘legacy’ chat models <3
1
115
Deepak Sharma retweeted
what. what. what. gpt-image-2 almost passes the pelican test...in a screenshot of a code editor.
🤖 Made with AI
67
99
47
2,836
322,501
I’ve found this to be a super useful mental model for agent harnesses.
Harness, Memory, Context Fragments, & the Bitter Lesson this is a work in progress mental dump on interesting intersections between how we use and design a harness, implications for memory being accumulated over long timescales, and the search bitter lesson we can’t escape this is v30+, HTML diagrams help me iteratively refine + chat to roughly “see” and alter the mental model Harnesses & Context Fragments: a very important job of the harness is to efficiently & correctly route data within its boundaries into the context window boundary for computation to happen the context window is a precious artifact. Harnesses make decisions on how to populate, manage, edit, and organize it so agents can do work. Each loaded object can be thought of as a Context Fragment and represents an explicit decision by the user and harness designer of what needs a model needs to do work at any given time. many ideas on externalizing objects + loading into the context window are pioneered and very well described by @a1zhang with RLMs Experiential Memory: we’re in the very early days of deploying agents and agents produce massive amounts of data in every interaction they have. this is akin to humans doing things and remembering things they did. however agent memory has a massive advantage as it can be accumulated across all agents which are easily forked and duplicated (unlike humans). @dwarkesh_sp does a good talking about this massive benefit of artificial systems memory can be treated as an externalized object. the harness is tasked with doing good contextualized retrieval which means pulling in the right data from accumulated memories across all agent interactions Search & The Bitter Lesson: As we deploy agents in our world over year timescales, there is going to be a hyper-exponential in the amount of data produced by those agents. We should want to: 1. Own that data for ourselves. Open ecosystems are important here 2. Use that data This means that we’ll have to search over, distill, and organize massive amounts of data. Our brain is exceptional at doing this. Both contextually using prior experience and mostly committing the right stuff to memory with enough intentional practice. Our current infrastructure systems and algorithms will be put to the test and often break as we get used to this new data regime some open questions: - how do we efficiently distill experiences (Traces) into higher level memory primitives that capture the important parts? How do we do this over ultra long time horizons? - How much of the future is Search just-in-time vs Search that gets integrated into model weights? - How do we make models much better at self-managing their context window? How do we reduce error rates in recursively allowing agents to operate over external objects? i’ll be expanding on, altering, and adjusting these mental models but these feel like an important subset to me on the future of designing agents practically
1
109