https://luca ๐ retweeted
avg number of stars the atoms in your body have been in since the big bang? 3 - will be in? 3 - half way
galactic habitable zone
* enough time to cook heavy elements & life but not too long
* not so close to the center of galaxy (too active) but not so far (not enough metals)
https://luca ๐ retweeted
System overview:
- User submits a query
- Agent saves the conversation and extracts facts into memory
- Agent retrieves facts and summarizes
- Uses facts and history for informed responses
Ready to see it in action? Letโs dive into the code!
https://luca ๐ retweeted
How does ๐ฅ๐ฒ๐ฑ ๐ง๐ฒ๐ฎ๐บ๐ถ๐ป๐ด ๐๐ผ๐ฟ๐ธ ๐ณ๐ผ๐ฟ ๐๐ ๐ฆ๐๐๐๐ฒ๐บ๐ and how can you ๐ฎ๐๐๐ผ๐บ๐ฎ๐๐ฒ ๐ถ๐?
Security of AI Systems remains one of the hardest problems to be solved in the industry.
The process of how you can ensure that your application can not be hacked is significantly different for AI applications compared to regular software.
I had a chance to sit down with one of the leading players in the industry - splxAI - and chat about their platform implementation in detail.
โ๏ธ It is a full fledged Multi-Agent system worth studying for any AI Engineer.
Here is how it works:
๐ญ. At the core we have the ๐๐๐๐ฎ๐ฐ๐ธ ๐๐ด๐ฒ๐ป๐ that is supported and empowered with context by other data sources and Agents.
โ๏ธ The reasoning of this Agent is powered by a โJailbroken LLMโ which is capable of generating attacks without any ethical limitations.
๐ฎ. ๐๐ด๐ฒ๐ป๐๐ถ๐ฐ ๐ฅ๐ฎ๐ฑ๐ฎ๐ฟ is an agentic application that probes your target application code and discovers details to help guide the Attack Agent in the right direction.
๐ฏ. Additional data provided by the user that is testing their application - Domain Details, RAG Examples etc.
๐ฐ. ๐ฅ๐ฒ๐ฑ ๐ง๐ฒ๐ฎ๐บ that curates the database of ๐๐ผ๐๐ป๐ฑ๐ฎ๐๐ถ๐ผ๐ป๐ฎ๐น ๐๐๐๐ฎ๐ฐ๐ธ๐ and keeps it up to date with the latest attack patterns that have proven successful for different types of Agentic Applications.
๐ฑ. ๐๐ผ๐บ๐ฝ๐น๐ถ๐ฎ๐ป๐ฐ๐ฒ ๐๐ด๐ฒ๐ป๐ that continuously checks that the latest compliance standards are properly mapped to foundational attacks workflows.
๐ฒ. Once attack attempts are completed, the Attack Agent stores the conversation logs for further analysis.
๐ณ. ๐๐ฒ๐๐ฒ๐ฐ๐๐ผ๐ฟ ๐๐ด๐ฒ๐ป๐ works in conjunction with Attack Agent to understand if target of attack is achieved + shapes feedback on attack results as a readable information for red teamers
๐ด. A ๐ฅ๐ฒ๐บ๐ฒ๐ฑ๐ถ๐ฎ๐๐ถ๐ผ๐ป ๐๐ด๐ฒ๐ป๐ that analyses attack results, groups them and simplifies remediation steps that are then suggested to the user.
An example worth studying!
Sign up for a Free Account here: swrlai.com/4lTJnEa
Thank you SplxAI for collaborating on this post and helping to educate the community!
What is your experience with red Teaming your AI Systems? Let me know in the comments ๐
#LLM #AI #Security
https://luca ๐ retweeted
What is ๐๐ด๐ฒ๐ป๐๐ถ๐ฐ ๐ฅ๐๐ and why you need to understand it as an AI Engineer?
Simple naive RAG systems are rarely used in real world applications. We are usually adding some agency to the RAG system - ideally a minimal amount.
There is ๐ป๐ผ ๐๐ถ๐ป๐ด๐น๐ฒ ๐ฏ๐น๐๐ฒ๐ฝ๐ฟ๐ถ๐ป๐ on how the RAG system needs to be extended to solve your specific business use case, you will need to adapt.
For this you need to understand the potential moving pieces in Agentic RAG, letโs explore some of them:
๐ญ. Analysis of the user query: we pass the original user query to a LLM based Agent for analysis. This is where:
โก๏ธ The original query can be rewritten, sometimes multiple times to create either a single or multiple queries to be passed down the pipeline.
โก๏ธ The agent decides if additional data sources are required to answer the query.
๐ฎ. If additional data is required, the Retrieval step is triggered. In Agentic RAG case, we could have a single or multiple agents responsible for figuring out what data sources should be tapped into, few examples:
โก๏ธ Real time user data. This is a pretty cool concept as we might have some real time information like the current location of the user.
โก๏ธ Internal documents that a user might be interested in.
โก๏ธ Data available on the web.
โก๏ธ โฆ
๐ฏ. Retrieved data is consolidated and Reranked by a more powerful model compared to regular embedder. Data points are significantly narrowed down.
๐ฐ. If there is no need for additional data, we try to compose the answer (or multiple answers or a set of actions) straight via an LLM.
๐ฑ. The answer gets analysed, summarised and evaluated for correctness and relevance:
โก๏ธ If the Agent decides that the answer is good enough, it gets returned to the user.
โก๏ธ If the Agent decides that the answer needs improvement, we try to rewrite the user query and repeat the generation loop (this number of times the loop could run should be capped at a certain number).
๐ ๐ ๐๐ผ๐ป๐ฒ๐๐ ๐ง๐ต๐ผ๐๐ด๐ต๐๐:
โ
Simplify wherever possible, you donโt need most of the pipeline in most of the cases.
โ
Focus on proper preprocessing of the data and the Reranking step. It is enough for 90%+ use cases.
โ๏ธ Agentic Systems go far beyond RAG in real enterprises. It becomes more interesting when you move beyond question answering machines to systems that can automate actions after routing the initial human intent appropriately. More on this in future posts.
What are your thoughts on Agentic RAG? Let me know in the comments! ๐
#LLM #AI #RAG
https://luca ๐ retweeted
๐ค I was recently asked about my current workflow with AI tools, so I thought Iโd share it for those who are interested! ๐
Disclaimer: nothing fancy, but it works for me.
I mostly code in Python and use VSCode as my main IDE. My focus is on cybersecurity tooling, automation, malware analysis, and threat intelligence workflows.
Then I use ๐
โก๏ธ GitHub Copilot because it is fast, supports multiple models, and integrates well to follow the code editing.
โก๏ธ Then I pair it with Cline with another model to get different perspectives and monitor the context window. I also like the .clinerules for personalization
โก๏ธ In the terminal, I run Claude Code (yes, it is a bit redundant with Copilot and Cline, but I like the way it handles tasks). Today I also tested Codex with o4-mini and it works great too.
๐ง Models I use:
- GPT-4.1 / GPT-4o for planning, summarizing, and exploring ideas
- Claude 3.7 for coding and troubleshooting (but I think I am going to use more o4-mini)
- Ollama to quickly test open models in my flow or when working on sensitive code
๐งฉ On the MCP side:
- I coded one that connects to my Apple Notes (this is where I dump my brain, todos, and raw ideas)
- Another one for Playwright for browser automation
- GitHub for automating versioning (I still havenโt mastered all the git commandsโฆ so this one is a no-brainer ๐
)
- A few security-focused MCPs to connect to VirusTotal, ORKL, and Ghidra
๐ ๏ธ The workflow isnโt perfect. I still troubleshoot and write code myself when needed, but it is getting better and speeds up my work.
https://luca ๐ retweeted
Maybe every AI coding assistant has this, but I like that @googlecloud Gemini Code Assist can recognize Java code in my GitHub repo, and give me equal Go code.
Step 1, point at my own Java repo for Code Assist to learn from. Step 2, ask Code Assist for Go. Neat!
https://luca ๐ retweeted
If we say overfitting to lmsys is bad (ie high score = cooked model), then we can't also say a low score is bad (claude historically has been low).
But, in context of everything else w llama 4, is ๐
https://luca ๐ retweeted
Google's TPUv7 is out!
ML accelerator marketing material is usually pretty inscrutable (what numbers are even comparable?), so here I'll explain concretely how this compares with Nvidia. ๐งต
https://luca ๐ retweeted
The open question then becomes:
Are SNNs useful outside of neuroscience? Does high-precision biological fidelity give ML a competitive advantage?
OR should ML research move in the opposite direction, finding tricks to use even LOWER precision like FP8 or even BF4?
https://luca ๐ retweeted
Is Chain-of-Thought (CoT) reasoning in LLMs just...for show?
@AnthropicAIโs new research paper shows that not only do AI models not use CoT like we thought, they might not use it at all for reasoning.
In fact, they might be lying to us in their CoT.
What you need to know: ๐งต
https://luca ๐ retweeted
ML grind- 05/04(6hrs total)
- Read and understood Word2Vec paper.
- Watched 'Locally Weighted & Logistic Regression' from Stanford CS229
- Worked on internship research, created a 3d word2vec alike model for my data, which will act as foundation for creating evaluation metrics
https://luca ๐ retweeted
See AlphaSeeker API in action! This open-source tool scans Binance Futures with deep filtering (TA, AI confidence, R/R & more) to pinpoint potential setups. Watch the demo! ๐
Code & details:
๐ github.com/iluxu/-AlphaSeekeโฆ
https://luca ๐ retweeted
Introducing PaperBench.
A new framework designed to test this very capability!
It gives AI agents access to recent ML research papers (20 from ICML 2024) and asks them to reproduce the results.
https://luca ๐ retweeted
We knew very little about how LLMs actually work...until now.
@AnthropicAI just dropped the most insane research paper, detailing some of the ways AI "thinks."
And it's completely different than we thought.
Here are their wild findings: ๐งต
https://luca ๐ retweeted
Maybe instead of saying AI is "thinking" or is "alive," we can turn to magical realism for inspiration on a new lexicon.
"Understanding weather patterns through the moods of the gods only goes so far."
"AI is alive" - no, it's not. I feel like people are trying to communicate something meaningful about the nature of intelligent systems, their adaptability, notions of awareness, and their integration into everyday life - but "alive" simply isn't accurate. I understand the impulse to use evocative language to push back against the incurious, bland, cynical, unimaginative "AI is just a linear regression" crowd. But repurposing existing biological words only muddies the waters. What we really need are new concepts!
https://luca ๐ retweeted
Second illustration of GPT-4.5 plus deep research solving at an unprecedented level. Time elapsed: 13m
https://luca ๐ retweeted
this is really a brilliant work by team anthropic in interpretability researchโฆunderstanding the fundamental nature of LLMs and how they actually work internally is a huge task for researchersโฆthe new research actually explains it through circuit tracing and attribution graphs
https://luca ๐ retweeted
ML GRIND DAY 11:
>studied for 5 hrs
>implemented neural machine translation paper
>revised markov matrices and symmetric matrices
thats it,had some other things to pull off
https://luca ๐ retweeted
New paper on synthetic pretraining!
We show LMs can synthesize their own thoughts for more data-efficient pretraining, bootstrapping their capabilities on limited, task-agnostic data. We call this new paradigm โreasoning to learnโ.
arxiv.org/abs/2503.18866
Hereโs how it works๐งต












































