Building Agentic AI Applications for Biodata Exploration
Ana Claudia Sima, Vincent Emonet,
Tarcisio Mendes, Panayiotis Smeros, Ruijie Wang
kru@sib.swis
Schedule – Day 1
Schedule – Day 2
Who we are – Knowledge Representation Unit @ SIB
Tarcisio
Ana
Vincent
Panayiotis
Ruijie
Learning objectives?
Disclaimer: This is a rapidly advancing field!��What you learn today reflects a snapshot of this field as of May 2026….�
�We hope to also learn from you!
Do you already use Agentic AI?
What to expect from today
Ask Questions Anytime!
Part I. The Theory
What is a Large Language Model?
A (deep learning) model trained to predict the next word in a sentence
How is it trained?
12
Source: https://amitness.com
13
Note: ChatGPT is not an LLM per-se, but a service with many “bells and whistles”
leveraging an LLM
(but also including web search,
integration with external tools, etc)
The “art” of prompting
14
McDuff, D., Schaekermann, M., Tu, T. et al. Towards accurate differential diagnosis with large language models. Nature (2025). https://doi.org/10.1038/s41586-025-08869-4
The “art” of prompting
15
Vinay, Rasita, et al. "Emotional Prompting Amplifies Disinformation Generation in AI Large Language Models." Frontiers in Artificial Intelligence 8: 1543603.
What can you use an LLM for?
16
Generative tasks
Classification tasks
Key LLM training steps
1) Pre-train
2) Fine-tune
3) Retrieve & Augment
4) Validate / Evaluate
5) Publish / Deploy
Pre-training: Tokenization
Tokenization
Try it for yourself!
20
What is a Large Language Model? (Generalization)
22
token
sequence
Bioinformatics applications
23
Bioinformatics applications
24
Pre-training: Embedding
Pre-training: embedding
26
Source: https://dkharazi.github.io/notes/ml/nlp/embedding
Pre-training: Attention
Pre-training: Attention!
28
Source: A Multiscale Visualization of Attention in the Transformer Model, ACL 2019 Systems Demonstrations
“Self-Supervised” / “Unsupervised” – but training data matters
29
Result: Foundation Model
30
Source: https://viso.ai/deep-learning/foundation-models/
Limitations?
Drawbacks?
Non-exhaustive list of pitfalls and limitations…
32
ANY SOLUTIONS?
Open-source LLMs: Llama, Mistral…
👶 ~7B: inference can run on your laptop in acceptable time if you have a GPU
🧒 ~70B: requires a larger server for decent inference time (1 A100/H100)
🧠 ~400B: largest, requires custom supercomputers (~4 H100s or more)
33
Augmenting LLMs…
34
LLM (Agent)
Tool (API)
MCP Server
Fine-tuning
36
We trained an initial model using supervised fine-tuning: human AI trainers provided conversations in which they played both sides—the user and an AI assistant. We gave the trainers access to model-written suggestions to help them compose their responses. We mixed this new dialogue dataset with the InstructGPT dataset, which we transformed into a dialogue format.
Source: https://openai.com
Reinforcement Learning through Human Feedback
37
RLHF – an ongoing journey…
38
Crowdsourcing expertise?
39
40
Retrieval Augmented Generation (RAG)
Source: https://blog.gopenai.com
Why RAG?
Why RAG?
43
Second option: Fine-tuning a foundation model
44
Part II. From Theory (Closer To) Practice
How can you use LLMs to explore biodata?
Ask LLM questions over biodata directly
“Cheating!”
Disable and
try again!
Asking chatGPT question directly (“zero-shot”)
“Back in the day”:
when it was wrong…it was confidently wrong
Nope!!
Warning: in general, asking LLMs specialized questions directly will likely lead to
hallucinated answers!
Recommended: Ask Model To Ask an API
Recommended: Ask Model To Ask an API
Problem: not all APIs are as well known as Uniprot’s
Up next: Agentic Workflows
The future: The AI Scientist?
57
The future: Agentic Workflows?
58
Source: https://research.google/blog/accelerating-scientific-breakthroughs-with-an-ai-co-scientist/
The future: Agentic Research?
59
The future?
60
Question Answering over Structured Data
Expasy
Some Intermediate Conclusions…
64
References
65
Thank you!
DATA SCIENTISTS FOR LIFE
Ana-claudia.sima@sib.swiss
Part III. Hands-on: Setup
Install: uv, get (Mistral) API key