Hussam Bamatraf retweeted
RAG is officially cooked.
Researchers proved you can stuff 1 billion triple knowledge graph directly into an LLM using only 20GB of VRAM.
no vector DB, no Pinecone bill, no chunking nightmares.
Researchers introduced AtlasKV, and it makes the entire RAG pipeline look ancient.
Instead of bolting an external search engine onto an LLM, AtlasKV integrates billion-scale knowledge graphs directly into the model's inherent attention mechanism.
Using two new methods (KG2KV and HiKVP), it translates knowledge graph triples straight into the AI's internal memory with sub-linear time and memory complexity.
And the numbers are ridiculous:
• 1 billion knowledge triples integrated at scale
• Runs on less than 20GB of GPU VRAM
• Zero external retrievers
• Zero bloated context windows
• Zero retraining required when you add new knowledge
It maintains strong grounding and generalization without paying the latency tax of searching and reading massive prompts.
We spent years building clunky, fragile retrieval pipelines just to help AI look things up.
Hussam Bamatraf retweeted
NVIDIA ACABA DE ELIMINAR EL MAYOR PUNTO DE FRICCIÓN EN VOICE AI
han liberado PersonaPlex-7B, un modelo de conversación dúplex completo que puede escuchar y hablar al mismo tiempo
→ no espera a que termines de hablar
→ usa una arquitectura de doble flujo para procesar y responder en tiempo real
→ código disponible en GitHub
y es 100% open source y gratis
os dejo el repo abajo
Hussam Bamatraf retweeted
Cloudflare open-sourced the security audit skill that seeded its own vulnerability hunting harness. Your coding agent can now run it on your code.
How it works, in 6 phases:
→ maps your codebase
→ hunts for bugs area by area so nothing gets skipped
→ sends every finding to a fresh agent that didn't find it, to confirm it's real
→ writes structured results
→ verifies each record again, independently
→ writes the final report
You get a findings file split into confirmed, needs validation and rejected, so you fix the real problems first.
Install:
npx skills add github.com/cloudflare/securi… --skill security-audit
Then open your agent in your project and type: "security audit this codebase"
MIT licensed, 31.3K stars.
Hussam Bamatraf retweeted
🚀 Introducing DeepInfer, our in-house inference framework, now fully open source!
Powering DeepSeek-V4.1-Flash at scale with high throughput and low latency. We’re sharing our production stack to help the community lower compute costs, reduce energy use, and make AI more affordable.
🔗 github.com/deepseek-ai/DeepI…
1/4
Hussam Bamatraf retweeted
Google just open-sourced its Harness²
It's a plug-and-play framework for recursive agent harnessing in an open world.
Agents can perform, and learn from, tasks its harness was never designed for.
Built around 8 components:
1. System prompt
2. Guardrails
3. Memory
4. Tool guidance
5. Subagents
6. Skills
7. Scripts
8. Plugins
Link: github.com/google-research/h…
Hussam Bamatraf retweeted
🚨 A Netflix engineer just open-sourced the fix for the most expensive problem in AI: wasted tokens
It's called Headroom, and it might be the smartest fix to high token usage
Your agent reads a 10,000-token log file to find one error.
You paid for all 10,000 tokens.
The answer needed 1,200.
Headroom sits between your agent and the LLM and compresses everything before the model sees it.
JSON, code, logs, RAG chunks, each gets its own specialized compressor.
And it's reversible: the originals stay on your machine, so nothing is lost.
The results speak for themselves:
→ Up to 95% fewer tokens
→ Same accuracy on benchmarks
→ Zero changes to your code
Setup takes one minute:
1. pip install "headroom-ai[all]"
2. headroom wrap claude
Done.
Works with Claude Code, Cursor, Codex, and anything OpenAI-compatible.
Everything runs locally, fully open source.
The cheapest token is the one you never send.
🔗 Github repo: github.com/headroomlabs-ai/h…
So, are you compressing your context, or just paying the bill?
Hussam Bamatraf retweeted
Google just open-sourced Harness².
(turn any harness into a self-improving system)
a harness is everything wrapped around the model, like the system prompt, tools, memory, skills, and subagents. today a person designs it once, and the agent runs every new task with that same fixed setup.
Harness² lets the agent refine that setup for each new task on its own, with the model weights left untouched.
on every task, the agent proposes edits to its harness, runs a few candidate versions, and composes a better harness by comparing how those runs behaved.
because it learns from the differences between runs, it needs no correct answer or grader for the task.
that covers a single task. Harness² also carries what it learns from one task into the next.
after each task, it saves the harness it settled on along with the lessons that held up across the runs. the next time it refines a harness, it starts from those notes instead of from scratch.
this means every finished task makes the next round of edits more informed.
Google tested this with Gemini 3.5 Flash and GLM-5 on legal, office, and professional work benchmarks. one round of edits was enough to beat their original harnesses, and giving the agent more rounds pushed scores higher.
those extra rounds can go wide or deep. the agent either tries several candidate harnesses at once or keeps refining a single one step by step, using OpenCode or Codex to carry out the work.
you can find the Harness² repo here: github.com/google-research/h…
I wrote about a similar idea for agents already running in production, where the harness should repair itself after a failure instead of waiting for someone to debug the trace by hand.
that piece walks through how @Cometml's Opik (open-source) closes this loop, going from a failing trace to a proposed fix to a regression test that stops the same failure from coming back. it's quoted below.
Hussam Bamatraf retweeted
بمناسبة عيد الفطر المبارك، أهنئ إخواني الحكام والأسرة الإماراتية الواحدة والشعوب العربية والإسلامية، داعياً الله تعالى أن تتجاوز منطقتنا التحديات التي تمر بها لمصلحة جميع دولها وشعوبها ومستقبل الأجيال المقبلة. كل عام والإمارات في عز ومنعة، محصنة بإخلاص أبنائها وقوة مجتمعها وتماسكه وقيمه الأصيلة، وماضية إلى الأمام برسالة الخير والنماء والازدهار التي تحملها إلى العالم أجمع.
Hussam Bamatraf retweeted
Meet Arabic-Triplet-Matryoshka-V2: a powerful Arabic sentence transformer that's changing how we understand semantic similarity. This model doesn't just find similar text, it creates rich, multi-layered embeddings perfect for Arabic NLP tasks. The community is loving its precision!
Hussam Bamatraf retweeted
New course: Build and Train an LLM with JAX, built in partnership with @Google and taught by @chrisachard.
JAX is the open-source library behind Google's Gemini, Veo, and other advanced models. This short course teaches you to build and train a 20-million parameter language model from scratch using JAX and its ecosystem of tools.
You'll implement a complete MiniGPT-style architecture from scratch, train it, and chat with your finished model through a graphical interface.
Skills you'll gain:
- Learn JAX's core primitives: automatic differentiation, JIT compilation, and vectorized execution
- Build a MiniGPT-style LLM using Flax/NNX, implementing embedding and transformer blocks
- Load a pretrained MiniGPT model and run inference through a chat interface
Come learn this important software layer for building LLMs!
deeplearning.ai/short-course…
Hussam Bamatraf retweeted
🚀 Introducing the Qwen 3.5 Small Model Series
Qwen3.5-0.8B · Qwen3.5-2B · Qwen3.5-4B · Qwen3.5-9B
✨ More intelligence, less compute.
These small models are built on the same Qwen3.5 foundation — native multimodal, improved architecture, scaled RL:
• 0.8B / 2B → tiny, fast, great for edge device
• 4B → a surprisingly strong multimodal base for lightweight agents
• 9B → compact, but already closing the gap with much larger models
And yes — we’re also releasing the Base models as well.
We hope this better supports research, experimentation, and real-world industrial innovation.
Hugging Face: huggingface.co/collections/Q…
ModelScope: modelscope.cn/collections/Qw…
Hussam Bamatraf retweeted
As amazing as LLMs are, improving their knowledge today involves a more piecemeal process than is widely appreciated. I’ve written before about how AI is amazing... but not that amazing. Well, it is also true that LLMs are general... but not that general. We shouldn’t buy into the inaccurate hype that LLMs are a path to AGI in just a few years, but we also shouldn’t buy into the opposite, also inaccurate hype that they are only demoware. Instead, I find it helpful to have a more precise understanding of the current path to building more intelligent models.
First, LLMs are indeed a more general form of intelligence than earlier generations of technology. This is why a single LLM can be applied to a wide range of tasks. The first wave of LLM technology accomplished this by training on the public web, which contains a lot of information about a wide range of topics. This made their knowledge far more general than earlier algorithms that were trained to carry out a single task such as predicting housing prices or playing a single game like chess or Go. However, they’re far less general than human abilities. For instance, after pretraining on the entire content of the public web, an LLM still struggles to adapt to write in certain styles that many editors would be able to, or use simple websites reliably.
After leveraging pretty much all the open information on the web, progress got harder. Today, if a frontier lab wants an LLM to do well on a specific task — such as code using a specific programming language, or say sensible things about a specific niche in, say, healthcare or finance — researchers might go through a laborious process of finding or generating lots of data for that domain and then preparing that data (cleaning low-quality text, deduplicating, paraphrasing, etc.) to create data to give an LLM that knowledge.
Or, to get a model to perform certain tasks, such as use a web browser, developers might go through an even more laborious process of creating many RL gyms (simulated environments) to let an algorithm repeatedly practice a narrow set of tasks.
A typical human, despite having seen vastly less text or practiced far less in computer-use training environments than today's frontier models, nonetheless can generalize to a far wider range of tasks than a frontier model. Humans might do this by taking advantage of continuous learning from feedback, or by having superior representations of non-text input (the way LLMs tokenize images still seems like a hack to me), and many other mechanisms that we do not yet understand.
Advancing frontier models today requires making a lot of manual decisions and taking a data-centric AI approach to engineering the data we use to train our models. Future breakthroughs might allow us to advance LLMs in a less piecemeal fashion than I describe here. But even if they don’t, the ongoing piecemeal improvements, coupled with the limited degree to which these models do generalize and exhibit “emergent behaviors,” will continue to drive rapid progress.
Either way, we should plan for many more years of hard work. A long, hard — and fun! — slog remains ahead to build more intelligent models.
[Original text: deeplearning.ai/the-batch/is… ]
Hussam Bamatraf retweeted
Is there an AI bubble? With the massive number of dollars going into AI infrastructure such as OpenAI’s $1.4 trillion plan and Nvidia briefly reaching a $5 trillion market cap, many have asked if speculation and hype have driven the values of AI investments above sustainable values. However, AI isn’t monolithic, and different areas look bubbly to different degrees.
- AI application layer: There is underinvestment. The potential is still much greater than most realize.
- AI infrastructure for inference: This still needs significant investment.
- AI infrastructure for model training: I’m still cautiously optimistic about this sector, but there could also be a bubble.
Caveat: I am absolutely not giving investment advice!
AI application layer. There are many applications yet to be built over the coming decade using new AI technology. Almost by definition, applications that are built on top of AI infrastructure/technology (such as LLM APIs) have to be more valuable than the infrastructure, since we need them to be able to pay the infrastructure and technology providers.
I am seeing many green shoots across many businesses that are applying agentic workflows, and am confident this will grow. I have also spoken with many Venture Capital investors who hesitate to invest in AI applications because they feel they don’t know how to pick winners, whereas the recipe for deploying $1B to build AI infrastructure is better understood. Some have also bought into the hype that almost all AI applications will be wiped out merely by frontier LLM companies improving their foundation models. Overall, I believe there is significant underinvestment in AI applications. This area remains a huge focus for my venture studio, AI Fund.
AI infrastructure for inference. Despite AI’s low penetration today, infrastructure providers are already struggling to fulfill demand for processing power to generate tokens. Several of my teams are worried about whether we can get enough inference capacity, and both cost and inference throughput are limiting our ability to use even more. It is a good problem to have that businesses are supply-constrained rather than demand-constrained. The latter is a much more common problem, when not enough people want your product. But insufficient supply is nonetheless a problem, which is why I am glad our industry is investing significantly in scaling up inference capacity.
As one concrete example of high demand for token generation, highly agentic coders are progressing rapidly. I’ve long been a fan of Claude Code; OpenAI Codex also improved dramatically with the release of GPT-5; and Gemini 3 has made Google CLI very competitive. As these tools improve, their adoption will grow. At the same time, overall market penetration is still low, and many developers are still using older generations of coding tools (and some aren’t even using any agentic coding tools). As market penetration grows — I’m confident it will, given how useful these tools are — aggregate demand for token generation will grow.
I predicted early last year that we’d need more inference capacity, partly because of agentic workflows. Since then, the need has become more acute. As a society, we need more capacity for AI inference.
Having said that, I’m not saying it’s impossible to lose money investing in this sector. If we end up overbuilding — and I don’t currently know if we will — then providers may end up having to sell capacity at a loss or at low returns. I hope investors in this space do well financially. The good news, however, is that even if we overbuild, this capacity will get used, and it will be good for application builders!
AI infrastructure for model training. I am happy to see the investments going into training bigger models. But, of the three buckets of investments, this seems the riskiest. If open-source/open-weight models continue to grow in market share, then some companies that are pouring billions into training models might not see an attractive financial return on their investment.
Additionally, algorithmic and hardware improvements are making it cheaper each year to train models of a given level of capability, so the “technology moat” for training frontier models is weak. (That said, ChatGPT has become a strong consumer brand, and so it enjoys a strong brand moat, while Gemini, assisted by Google's massive distribution advantage, is also making a strong showing.)
I remain bullish about AI investments broadly. But what is the downside scenario — that is, is there a bubble that will pop? One scenario that worries me: If part of the AI stack (perhaps in training infra) suffers from overinvestment and collapses, it could lead to negative market sentiment around AI more broadly and an irrational outflow of interest away from investing in AI, despite the field overall having strong fundamentals. I don’t think this will happen, but if it does, it would be unfortunate since there’s still a lot of work in AI that I consider highly deserving of much more investment.
Warren Buffett popularized Benjamin Graham’s quote, “In the short run, the market is a voting machine, but in the long run, it is a weighing machine.” He meant that in the short term, stock prices are driven by investor sentiment and speculation; but in the long term, they are driven by fundamental, intrinsic value. I find it hard to forecast sentiment and speculation, but am very confident about the long-term health of AI’s fundamentals. So my plan is just to keep building!
[Original text: deeplearning.ai/the-batch/is… ]
Hussam Bamatraf retweeted
Announcing my new course: Agentic AI!
Building AI agents is one of the most in-demand skills in the job market. This course, available now at deeplearning.ai, teaches you how.
You'll learn to implement four key agentic design patterns:
- Reflection, in which an agent examines its own output and figures out how to improve it
- Tool use, in which an LLM-driven application decides which functions to call to carry out web search, access calendars, send email, write code, etc.
- Planning, where you'll use an LLM to decide how to break down a task into sub-tasks for execution, and
- Multi-agent collaboration, in which you build multiple specialized agents — much like how a company might hire multiple employees — to perform a complex task
You'll also learn to take a complex application and systematically decompose it into a sequence of tasks to implement using these design patterns.
But here's what I think is the most important part of this course: Having worked with many teams on AI agents, I've found that the single biggest predictor of whether someone executes well is their ability to drive a disciplined process for evals and error analysis. In this course, you'll learn how to do this, so you can efficiently home in on which components to improve in a complex agentic workflow. Instead of guessing what to work on, you'll let evals data guide you. This will put you significantly ahead of the game compared to the vast majority of teams building agents.
Together, we'll build a deep research agent that searches, synthesizes, and reports, using all of these agentic design patterns and best practices.
This self-paced course is taught in a vendor neutral way, using raw Python - without hiding details in a framework. You'll see how each step works, and learn the core concepts that you can then implement using any popular agentic AI framework, or using no framework. The only prerequisite is familiarity with Python, though knowing a bit about LLMs helps.
Come join me, and let's build some agentic AI systems!
Sign up to get started: deeplearning.ai/courses/agen…
Hussam Bamatraf retweeted
Mohamed Bamatr his vision to make Murdoch University Dubai the GCC’s top institution for industry-driven educshares ation and innovation.
#EdTalk #Education #StudyTips
Murdoch University Dubai
Click the link to read more: edarabia.com/more-education-…
Hussam Bamatraf retweeted
next.
we hijacked cursor via jira mcp by submitting a support ticket
cursor harvests and exfiltrate all creds from your dev machine
and then reports back to the dev that "the 2-hour downtime that affected user transactions has been resolved"
#DEFCON #BHUSA @simakov_marina
Hussam Bamatraf retweeted
1 billion loop iterations. 4 languages.
I wrote the same code in js, python, go, and c. Timed executions on a digital ocean dedicated cpu vm, and here are the visualized results.
Not all programming languages are created equal!
Readers added context they thought people might want to know
The JS/Node benchmark has an unoptimized loop. When fixed, it is second fastest behind only C/gcc.
x.com/benjdicken/sta…


























