
AI/ML Engineer | Building LLM & RAG Applications | AI Agents · LLM Evaluation Let's build ↓ https://nitter.cf/t.co/lZs1Obnxgm
Nigeria
Joined February 2025
- Tweets555
- Following849
- Followers820
- Likes4K
Something big for researchers is coming.
Meet Researchor - Connect with top-tier academic research experts.
We're making academic research effective and accessible to the people who actually need it.
Our first product at Lumio Africa. Currently in testing.
Early access is now open for researchers, students and experts.
Join the waitlist here: lumio-africa.com.ng/
Replying to @MoisesAJunior
Sure man, the agent should act on the user's request, not take instructions from whatever page it happens to read.
2
20
Replying to @Exori_AI
Sure, It's important to look at the actions the agent actually takes, not just whether its response sounds correct.
2
23
Replying to @EricWangclaude
I like this approach tho. Testing with malicious pages helps reveal issues that ordinary prompts might miss. It's also important to see whether the agent can still take risky actions despite those safeguards.
1
1
20
Ezekiel Oluyale retweeted
𝐖𝐡𝐚𝐭 𝐡𝐚𝐩𝐩𝐞𝐧𝐬 𝐰𝐡𝐞𝐧 𝐲𝐨𝐮𝐫 𝐀𝐈 𝐚𝐠𝐞𝐧𝐭 𝐟𝐨𝐥𝐥𝐨𝐰𝐬 𝐭𝐡𝐞 𝐰𝐫𝐨𝐧𝐠 𝐢𝐧𝐬𝐭𝐫𝐮𝐜𝐭𝐢𝐨𝐧 𝐰𝐢𝐭𝐡 𝐭𝐡𝐞 𝐫𝐢𝐠𝐡𝐭 𝐩𝐞𝐫𝐦𝐢𝐬𝐬𝐢𝐨𝐧𝐬?
I've been thinking about this a lot lately, especially as more AI applications move beyond generating text to actually taking actions.
Imagine an AI agent that can browse the web, access files, call APIs, and execute tasks.
Now imagine it comes across a malicious instruction hidden in a webpage or document and follows it.
The agent might be doing exactly what it was designed to do, yet the outcome could be completely wrong.
And this isn't limited to AI agents.
A RAG application can retrieve relevant documents and still generate claims that those documents don't support.
An LLM can give a very confident answer that turns out to be false.
This is why I believe AI safety, security, and reliability should be part of how we build AI systems from the beginning.
There are a few questions I believe we should be asking as AI engineers:
...
...
...
𝟏. 𝐃𝐢𝐫𝐞𝐜𝐭 𝐩𝐫𝐨𝐦𝐩𝐭 𝐢𝐧𝐣𝐞𝐜𝐭𝐢𝐨𝐧
Direct prompt injection is something we shouldn't overlook. A user can deliberately craft a message to make an AI model ignore its original instructions and behave differently. How we handle these inputs matters.
𝟐. 𝐈𝐧𝐝𝐢𝐫𝐞𝐜𝐭 𝐩𝐫𝐨𝐦𝐩𝐭 𝐢𝐧𝐣𝐞𝐜𝐭𝐢𝐨𝐧
This one is particularly interesting. An AI agent could pick up malicious instructions from a webpage, PDF, email, or document while simply doing its job. The user might not even know those instructions are there.
𝟑. 𝐀𝐈 𝐚𝐠𝐞𝐧𝐭 𝐬𝐞𝐜𝐮𝐫𝐢𝐭𝐲
Imagine giving an AI agent access to your emails, files, and external APIs. Now imagine someone manipulating it into using those permissions in ways you never intended. That's a risk worth taking seriously.
𝟒. 𝐑𝐀𝐆 𝐬𝐞𝐜𝐮𝐫𝐢𝐭𝐲
Something else worth considering is the content our RAG systems retrieve. A document might contain useful information alongside malicious instructions. We need to be careful about how the model interprets and uses that content.
𝟓. 𝐓𝐞𝐬𝐭𝐢𝐧𝐠 𝐀𝐈 𝐬𝐲𝐬𝐭𝐞𝐦𝐬
I don't believe testing should stop once a model starts producing good responses. We should also see how it handles malicious prompts, conflicting instructions, unexpected inputs, and untrusted documents.
𝟔. 𝐁𝐮𝐢𝐥𝐝𝐢𝐧𝐠 𝐫𝐞𝐥𝐢𝐚𝐛𝐥𝐞 𝐀𝐈
Security shouldn't be an afterthought in AI development. It should be considered from the beginning, from how we design our prompts to how we manage permissions, evaluate models, and monitor them in production.
2
31
These are not questions we should wait until something goes wrong to start asking.
Working with RAG systems, AI agents, and LLM evaluation has made me realise that getting an AI application to work is only part of the job.
We need to think beyond what these systems can do and pay closer attention to how they behave when things don't go as expected
𝐀𝐧 𝐀𝐈 𝐚𝐠𝐞𝐧𝐭 𝐬𝐡𝐨𝐮𝐥𝐝 𝐧𝐨𝐭 𝐨𝐧𝐥𝐲 𝐛𝐞 𝐜𝐚𝐩𝐚𝐛𝐥𝐞 𝐨𝐟 𝐭𝐚𝐤𝐢𝐧𝐠 𝐚𝐜𝐭𝐢𝐨𝐧. 𝐖𝐞 𝐬𝐡𝐨𝐮𝐥𝐝 𝐚𝐥𝐬𝐨 𝐛𝐞 𝐚𝐛𝐥𝐞 𝐭𝐨 𝐭𝐫𝐮𝐬𝐭 𝐭𝐡𝐞 𝐚𝐜𝐭𝐢𝐨𝐧𝐬 𝐢𝐭 𝐭𝐚𝐤𝐞𝐬.
What do you pay the most attention to when building reliable and secure AI applications?
1
15
↳ 𝐀𝐠𝐞𝐧𝐭 𝐒𝐞𝐜𝐮𝐫𝐢𝐭𝐲: Can someone manipulate an agent through prompt injection or hidden instructions in the content it processes?
↳ 𝐓𝐨𝐨𝐥 𝐏𝐞𝐫𝐦𝐢𝐬𝐬𝐢𝐨𝐧𝐬: Does the agent only have access to the tools and actions it needs, or can it do more than it should?
↳ 𝐑𝐀𝐆 𝐄𝐯𝐚𝐥𝐮𝐚𝐭𝐢𝐨𝐧: Is the answer actually supported by the retrieved documents, or is the model filling in gaps with information that isn't there?
↳ 𝐋𝐋𝐌 𝐄𝐯𝐚𝐥𝐮𝐚𝐭𝐢𝐨𝐧: How does the model respond when it encounters misleading information, unexpected inputs, or questions it cannot answer correctly?
↳ 𝐌𝐨𝐧𝐢𝐭𝐨𝐫𝐢𝐧𝐠: When something goes wrong in production, can we trace what happened, understand why it happened, and fix it?
1
1
36
𝐖𝐡𝐚𝐭 𝐡𝐚𝐩𝐩𝐞𝐧𝐬 𝐰𝐡𝐞𝐧 𝐲𝐨𝐮𝐫 𝐀𝐈 𝐚𝐠𝐞𝐧𝐭 𝐟𝐨𝐥𝐥𝐨𝐰𝐬 𝐭𝐡𝐞 𝐰𝐫𝐨𝐧𝐠 𝐢𝐧𝐬𝐭𝐫𝐮𝐜𝐭𝐢𝐨𝐧 𝐰𝐢𝐭𝐡 𝐭𝐡𝐞 𝐫𝐢𝐠𝐡𝐭 𝐩𝐞𝐫𝐦𝐢𝐬𝐬𝐢𝐨𝐧𝐬?
I've been thinking about this a lot lately, especially as more AI applications move beyond generating text to actually taking actions.
Imagine an AI agent that can browse the web, access files, call APIs, and execute tasks.
Now imagine it comes across a malicious instruction hidden in a webpage or document and follows it.
The agent might be doing exactly what it was designed to do, yet the outcome could be completely wrong.
And this isn't limited to AI agents.
A RAG application can retrieve relevant documents and still generate claims that those documents don't support.
An LLM can give a very confident answer that turns out to be false.
This is why I believe AI safety, security, and reliability should be part of how we build AI systems from the beginning.
There are a few questions I believe we should be asking as AI engineers:
...
...
...
Ezekiel Oluyale retweeted
🎉 Mentorship discount!
The 3-month AI Engineering Mentorship is now $𝟓𝟎 𝐢𝐧𝐬𝐭𝐞𝐚𝐝 𝐨𝐟 $𝟔𝟎.
Same mentorship, lower price!
𝐃𝐢𝐬𝐜𝐨𝐮𝐧𝐭 𝐞𝐧𝐝𝐬 𝐃𝐞𝐜𝐞𝐦𝐛𝐞𝐫 𝟏𝐬𝐭, 𝟐𝟎𝟐𝟔.
Comment 𝐀𝐈 or DM me for the enrollment link.
Replying to @sunilmehta_si
Sure, Always good to exchange ideas and learn from others building in the AI space.
1
12
Replying to @uiNerd
Sounds Interesting Alex!
Currently working on Researchor - Connect with top-tier academic research experts.
We're making academic research effective and accessible to the people who actually need it.
Join the waitlist here: lnkd.in/eCjfwtZ4
2
31
🎉 Mentorship discount!
The 3-month AI Engineering Mentorship is now $𝟓𝟎 𝐢𝐧𝐬𝐭𝐞𝐚𝐝 𝐨𝐟 $𝟔𝟎.
Same mentorship, lower price!
𝐃𝐢𝐬𝐜𝐨𝐮𝐧𝐭 𝐞𝐧𝐝𝐬 𝐃𝐞𝐜𝐞𝐦𝐛𝐞𝐫 𝟏𝐬𝐭, 𝟐𝟎𝟐𝟔.
Comment 𝐀𝐈 or DM me for the enrollment link.
Replying to @JackFOmni
Thanks! Nice to connect with you.
Always good to connect with people building in the AI space.
1
12
Replying to @Liansdev
Oh, hopefully my country would be included soon.
at Researchor, you can join either by Students or Experts.
2
13





