KyroDB (@kyrodb) header
KyroDB (@kyrodb) profile picture

Give safe context to your AI agents and RAG

India
Joined October 2025
Photo by KyroDB (@kyrodb)Photo by KyroDB (@kyrodb)
KyroDB retweeted
Recently Padraig Ó Catháin, Ronan Egan and folks published a paper presenting a survey on all the recent progress on Hadamard matrices. It covered my work also on the large number of Hadamard constructions and T matrices I had published. You can have a look. Although after its publication, I have also published the construction of 7 more open one's: 2572, 3356, 3436, 3820, 4204, 5912, and 6796. The speed at which field is moving: by the time you finish reading this, another one will be solved. arxiv.org/pdf/2610.27175v1
1
3
105
KyroDB retweeted
----+++-++-++-+--+-+-+-+-++-+--+--+---+++-+----+---+---++++++--+-+-++-------+-+---+----++-++-++-++-+-+-++-+-+++-----++--++-++++-++++++--++-++++++----+--++-++--++-+--+----+---+---++++++--+-+-++-------+-+---++++-++++++--++-++++++----+--++-++--++-+-+---+++-++----++-+-+-+++++++---+---+---+++---+++-++----++-+-+-+++++++---+---+---+++----++-++-++-++-+-+-++-+-+++-----++--++-+-+++--+---+++------+--+-+--+++++++-+-+-++----++-++-++-++-+-+-++-+-+++-----++--++-+---+++-++----++-+-+-+++++++---+---+---++++++-++++++--++-++++++----+--++-++--++-+-+-+++--+---+++------+--+-+--+++++++-+-+-++-+++--+---+++------+--+-+--+++++++-+-+-+-+----+---+---++++++--+-+-++-------+-+--- +---+++-++----+--+-+-+-+-++----+-------++-++---+---+---+-+++++-----+-----++--++-----+++-++-----++--+-++--+-++--+++++--+---++--+-+-+++---+-+-----++-+--+-++----+---+--++---+---+---+-+++++-----+-----++--++---+--+-+-+++---+-+-----++-+--+-++----+---+--++--+--+++++---+-+-++------+---+++-++++--++--+--+++++---+-+-++------+---+++-++++---+++-++-----++--+-++--+-++--+++++--+---+++-++--+--++++-++-+---++++-+++++--++-++-+--+++-++-----++--+-++--+-++--+++++--+---+-++--+--+++++---+-+-++------+---+++-++++-+--+-+-+++---+-+-----++-+--+-++----+---+-++-++--+--++++-++-+---++++-+++++--++-++-+++-++--+--++++-++-+---++++-+++++--++-++-+-++---+---+---+-+++++-----+-----++--++--- +---+-+-------++-+-+--++++++---+---+----+-+--++--+++++---+-+--+-+-+--+--+--+--+++++-+-++--++-----+----++++++-+---+++-++--++-+---++-+++---++++++-++-+-++-------+-+-+--+--++--+++++---+-+--+-+-+--+--+--+--++++-+---++-+++---++++++-++-+-++-------+-+-+--++-+-+---+---+-+++++--+-++----+++--++--+-++-+-+---+---+-+++++--+-++----+++--++--++-+-++--++-----+----++++++-+---+++-++--++--++---+---+++-+----+-+-+--++++-+++++-+--+-+-++--++-----+----++++++-+---+++-++--++-++-+-+---+---+-+++++--+-++----+++--++--+-+---++-+++---++++++-++-+-++-------+-+-+---++---+---+++-+----+-+-+--++++-+++++-+----++---+---+++-+----+-+-+--++++-+++++-+---+--++--+++++---+-+--+-+-+--+--+--+--++++ -+----+---+++-++++++--+-+-+++-----++-++--+-+-++--++-----+----++++++-+---+++-++--++-+--+-+---+---++++++--++++++---+---+-+--++---+++-++-++-+--+-+-+-+-++-+--+--+---++++-+-++--++-----+----++++++-+---+++-++--+++---+++-++-++-+--+-+-+-+-++-+--+--+---++++-++--++---++++--+-++-----+-+++-+++-+-+--+-++--++---++++--+-++-----+-+++-+++-+-+---+--+-+---+---++++++--++++++---+---+-+--+++-+---+--+--+-++-+---+-+--+-++----+-+----+--+-+---+---++++++--++++++---+---+-+--++-++--++---++++--+-++-----+-+++-+++-+-+--+---+++-++-++-+--+-+-+-+-++-+--+--+---+++++-+---+--+--+-++-+---+-+--+-++----+-+---++-+---+--+--+-++-+---+-+--+-++----+-+---+-+-++--++-----+----++++++-+---+++-++--++
hello world, releasing Hadamard and skew-Hadamard matrices for 60+ new orders, including the four smallest open cases after 668: 2092, 2148, 2284 and 2292. The smallest open order is now 2396. Here is 2092: +++-+-++++++-+---+++--+-+-+++++---++--+-++-+---++--+--+-+-+-+--+-+-+-+-++++-+++--+-++-++------+-+++++-+--++--+-+--+---+++--+++++-+---+-+++++--++--++--++++-+-+-+---++--+++-+--+++-+--------++++--+--+--++--+-++--++-+----+-++-+-+--+-+-++-++-++++---++-+-++-++++++---++-++-+---+-++----+-+-+-----+--+++++++---++----+++-+--+--++-+++--+-++++-+---++--++--++-----+---++-+++-+-+++++++---++----+--+----+--+-+---+--+----+--++-++-+-++-+-----+-----+-+++--++++--+++-+--++--++----+-----+--+++--+--++-+-----+---++++++++++++--++++-+-+++-+-+--- ++++-+-+--++-++---++-----+----++--+-++++--+++--+-+---++-+++++-+++-+-+---++-+-++-+--------++++++++-+-+++----+--+-+--++--+++++-+-++---+++++++--+-++--+-+-+---+--+-++-+----+++--++-+++++---+-+-+-+-+-+++-++-+++-+++++--+---+++-+-+++++---+++++-+------++++++-++-+++-++-+-++--++--+++--++---+-++---+--++-+++-++++----+-+--+--+-+++---++-+++---++---+-+--+++-+-++--+--+--+-+--+-+-+++-+++--++---+-++----+---+----+----+++----+++--+--++-++-++-+--+-+++++++--++++++--+++-++-+--+-+-++-+---+-++++++-----++-++--+-+-+---+------+-----+++---+-+++-+- ++--++--+++---++++-+++++--+-++++---+---++--+---+----+--+---++++---++--++---++++-++-+-----+---+++-+-+-+-----+++++-+-+-++--++-++---++++------+--+-+--+--+-+++++-+---++-+++---++--+--+--+-+-+-+--+++-----+-++--++-++--+--++-++-++----++-+-+--++++--+++-+---+-+++------+-++-+-++--+++++-+-++-+-++++-++-++-+----+++-++-++++-++---++++---++-----+---+++--+---+-+-++++-+--++--+-+--+-+---++-++-++++++-++--+---+---+-++++-++-+---++-+-+++++--+-++----+------+++++-+----+++-++-----+--++++++++++-+-+-+++-++++-++-++-+-+++++-+--+-+++---+---++-+-++++ +++++++-+-++--+-+--+--+++++---+-++-+++++-+++++++-+---++--+-++-+-++-++-++--++++++---+-++---+++-++-+----+-++------+-+-+---+----++-+++-+-+--+-+++++-+++-+--+----+-+++--+++++-+-+++--++++--++-+-++++++++---++-+--+---+--+---+++++--+-+-+-+++--+-+-++++--+-+-++++----+-+---++--+---++-+++++-++-+++--+--+---++++--+-++++----+--+--++-------++-----+-+---+++--+-+-+---++---+++++++----+++++---++-++-+-+--------+++++-+--++---+++-++++--++++--++-++-+-+---+-+++++++++--+----+++++-+---+---+-+-+-+--+-++-++--+-+++-++--+++--+++-+--+++-++--++--+++-- github.com/vatskishan03/Hada…
1
1
4
137
KyroDB retweeted
There are too many false accusations and myths about data centres; let's debunk them one by one. - Water Usage: This whole water consumption thing is nothing but a hoax. Modern data centres use closed-loop direct-to-chip cooling combined with dry heat rejection; very early versions used evaporative cooling, which is very rare these days. In fact, a modern data centre requires water, which is equal to a medium-sized restaurant's daily consumption. - Energy and Power: "They consume too much power and drive up electricity costs for normal people". Of course, if you connect them to the regular electricity grid, which supplies power to homes, they will consume a large amount of power and drive up costs. The solution is to let these data centre companies or organisations build their own power plants. These data centres need gigawatt-scale power, so it is neither feasible nor sustainable for them to rely on the regular power grids, given the power required for them in the next 10 years. - Land Usage & Noise Pollution: There is enormous space available for a country of India's size for development of such structures. In fact, one can argue that data centres would fit in the highest ratio of land usage to job/value creation. The noise pollution thing is so silly; of course you can't be building these in front of residential areas. In rare cases where this may have happened, then the govt. need to bring laws to restrict those. Data centres are the foundation of AI progress, and AI is the greatest technology-building and wealth-building opportunity for humanity. Thus, India must not fall victim to these woke agendas, which the United States has already fallen into.
2
3
151
KyroDB retweeted
split the atoms, learn the world, transfer the mechanisms.
1
5
204
KyroDB retweeted
In Aug 2025, exactly 1 year ago, when I started @kyrodb, it all started with building a learned index, inspired by the paper of @JeffDean, 'The Case For Learned Indexes'. That index had performed 3x better compared to a B-tree; I just came online and shared those benchmark results; I had no idea that small tweet would get an appreciation from Jeff himself. Along with a few other factors, this appreciation was also a reason why I went full-time; the side project became a product after multiple iterations, and then a company. Thanks again, Jeff. The man inspires a whole league of researchers and engineers. Attaching that post in the comments.
Tomorrow will be my last day at Google after 27 years, and watching it grow from 25 people to 190,000+ has been an amazing journey. Below is a note I shared with many people internally at Google today. An excerpt is: It has been an absolute pleasure to work with you and to help build some of the most widely used and impactful products of all time. As a kid, I dreamed of helping build software that would be used by many people, and Google now has thirteen products used by more than a billion people (amazing!). Our work has had a tremendous impact in the world, and I have been lucky enough to collaborate and form friendships with many colleagues that I deeply admire, respect, and enjoy. It still brings me joy every time I see people out in the world using our products to find information, handle email, translate documents, watch videos, learn new things, navigate and understand the physical world, browse the web, use their phone, run large-scale computations on our infrastructure, ride in an autonomous vehicle, or perform complex tasks with the help of our AI systems. I hope you all share this sense of joy, because it is a shared accomplishment! Thank you to all of my colleagues at Google over many years! Now I'm excited to go start @DiscoLoopAI with my longtime friends and colleagues @Sanjay_Ghemawat, @OriolVinyalsML, and @quocleix. (Updated post: slightly redacted to not have some personal info)
1
1
3
227
KyroDB retweeted
Theorem 3.1 in Li, Kaba, Ravanbakhsh(AISTATS 2025) is FALSE. A smooth Gaussian counterexample gives two SCMs with exactly the same paired pre/post-intervention law, but incompatible required quotient graphs. Root-only perfect interventions do not identify the claimed causal abstraction. We also identify the failed equivariance step and give conditions under which a corrected identifiability result can hold. Paper in comments.
1
1
1
4
1,948
KyroDB retweeted
KyroBench paper is out, a benchmark focused on context correctness & safety-critical failures in real production agent/RAG workloads. Frontier systems still score 0 on certification. Link in comments.
Today we’re releasing KyroBench: a benchmark for context correctness in production-shaped agent/RAG workloads. A system can retrieve semantically similar text and still be dangerous if it is stale, cross-tenant, deleted, lower-authority, polluted by prompt injection, or missing proof. Currently, Frontier Systems scores 0 on the certification. KyroBench pushes agent/RAG evaluation toward safety-critical context behaviour. Designed for teams to catch failures that matter in legal, healthcare, support, SRE, CRM, and coding agents.
1
1
3
138
KyroDB retweeted
Plain vector retrieval is not enough; memory systems help; graph systems help differently, but production context needs freshness, deletion, scope, authority, and proof.
1
2
60
Proof is all what founders want to give nowadays for the work they do on their startup, That's too overrated for me , so I decided that now onwards just going to pick up my camera and give you a glimpse of everyday life while we build something for the world, This is day 1 , so follow along for the journey ahead while we build @kyrodb
3
3
3
187
KyroDB retweeted
DeepSeek V4 proved something significant with a 1M token context window. At 1M tokens, MRCR 8-needle accuracy drops to 0.59. That's a 41% failure rate on fact retrieval at depth. And that's after compressing the KV cache to 2% of the standard attention cost. So the needle problem at extreme depths still remains fundamentally unsolved by attention-based systems. V4's architecture is the best available evidence that the LLM itself cannot be the context system. Consider what CSA is doing: It compresses 4 tokens → 1 KV entry, ranks blocks by relevance, and drops the low-ranked ones. That is, in essence, a retrieval problem disguised as an attention problem. And DeepSeek solved it inside the model weights, meaning it's baked in, static, non-updatable, and blind to your actual knowledge freshness. But here's the catch: the model layer can compress context. It can retrieve better, but it cannot know that the pricing doc you fed it expired a week ago. The larger extrapolation of this is- as LLMs get bigger context windows, developers will stuff more into context, more docs, more history, more knowledge. The probability of stale/wrong information contaminating that context grows proportionally @kyrodb fixes this problem with a Context Runtime, giving AI agents fresh, verifiable, transaction-safe context as business knowledge changes Bigger context windows don't fix the accuracy/reliability problem; they make the surface area for stale facts larger.
1
1
5
129
KyroDB retweeted
🚨 78% of AI failures are invisible. That's right. AI gets something wrong, but no one catches it. Not the user, not traditional monitoring, not even a sentiment analysis. These failures cluster into recurring patterns: → The confidence trap- AI is confidently wrong, and the user accepts it → The drift- AI gradually answers a different question than what was asked → The silent mismatch- AI misunderstands but produces something plausible enough that the user doesn't push back These patterns persist across 93% of cases even with more powerful models, because they stem from interaction dynamics, how models present outputs, and how users communicate intent, not capability gaps. This is one of the core problems we are solving at @kyrodb . We believe, for the deployment of responsible and reliable AI, the real and critical bottleneck is the infrastructure around it, the harnesses with which the model interacts, not the model itself. We built the KyroDB runtime to fix one part of it- the WRONG CONTEXT. It contributes largely to the model hallucinating and even more blunder, answering something wrong that too, with confidence. KyroDB makes sure the context is fresh, safe, and reliable to use before it reaches your model. Check out KyroDB to stop your AI from lying with confidence. Link in comments.
🤖 Made with AI
1
1
3
83
KyroDB retweeted
Saw a reel in which a contestant pitched a context solution to @waitin4agi_ and he rejected that by saying 'Context won't be a problem in the long run' by giving an example of increasing context window in LLMs. I have great respect for Varun, but he is 100% wrong here. The idea of 'We can solve context problem by increasing the context window' is out of touch in so many ways. Bigger context windows help capacity, but they do not automatically solve selection, relevance, or pollution. 'Needle in the haystack and 'context rot' problems are one of the most complained issues when you visit developer forums(on X too). We are fixing this context issue at @kyrodb. Long context ≠ usable context Many frontier researchs also highlighted this issue. 🧵
2
1
1
6
189
KyroDB retweeted
Opening up my calendar to chat on AI agents, mostly around retrieval/context/memory. If you are someone working in this field or even interested in this, let's chat and discuss what's going on in the market. Link in comments.
2
1
4
151
KyroDB retweeted
Replying to @kyrodb
@kyrodb is designed to solve exactly this problem by making retrieval adaptive, predictive, and cache-first instead of vector-first. It avoids that trap with Hybrid Semantic Cache + learned prediction + tiered coherence, which turns RAG into something that stays sharp even as scale grows, especially for the agentic/voice/real-time use cases where collapse hurts most.
RAG is broken and nobody's talking about it. Stanford researchers exposed the fatal flaw killing every "AI that reads your docs" product in existence. It’s called "Semantic Collapse," and it happens the second your knowledge base hits critical mass. If you've noticed your AI getting "dumber" as you add more data, this is exactly why. Right now, companies are dumping thousands of documents into their AI, thinking it’s getting smarter. When you add a document to RAG, it converts it into a high-dimensional vector. Under 10,000 documents, this works perfectly. Similar concepts cluster together. But past 10,000 documents, the space fills up. The clusters overlap. The distances compress. Everything starts to look "relevant." It is a mathematical law called the Curse of Dimensionality. In a 1000-dimensional space, 99.9% of your data lives on the outer edge. All points become equidistant from each other. That perfect, relevant document you are looking for now has the exact same mathematical similarity as 50 completely irrelevant ones. The Stanford findings are brutal: At 50,000 documents, precision drops by 87%. Semantic search actually becomes worse than old-school keyword search. Adding more context doesn’t fix the AI. It makes the hallucinations worse. Your "nearest neighbor" search isn't finding the best answer anymore. It's finding everyone. We thought RAG solved hallucinations. It didn't. It just hid them behind math.
1
2
1
6
784
KyroDB retweeted
Get safe cache + retrieval brain in one system for your agents. Get @kyrodb
1
4
87
KyroDB retweeted
Cache invalidation is supposed to be impossible for Vector databases; we solved it
1
2
59
KyroDB retweeted
HNSW + LRU is broken
1
2
120
KyroDB retweeted
High and precise recall is a necessity for agentic search now. For traditional search workloads (find me the top-10 similar movies), 97% recall is fine. For agentic reasoning loops where a single missed document can cause the agent to hallucinate or take a wrong logical step, even a 2% recall drop is potentially catastrophic. Every document the agent fails to retrieve is a reasoning failure that cascades through the entire chain. @kyrodb gives you exactly what these agents need, extreme high recall at high dimensions
1
3
126
KyroDB retweeted
Hey @bernhardsson, I had submitted the benchmarking PR on the 'ann-benchmarks' repo. Please accept the benchmarks. @kyrodb is a self learning vector database optimised for RAG and AI agents' workloads. It is performing SOTA across all datasets. Here- github.com/erikbern/ann-benc…
1
1
6
1,188