Building Grounded, Tool-Using AI Agents for Literature Review & Evidence Synthesis
This course provides a hands-on introduction to building AI research agents in R, using the ellmer and ragnar packages to connect large language models to real research workflows.
Participants begin with foundational LLM interactions and structured data extraction, progress through tool-calling and retrieval-augmented generation, and conclude with multi-step, self-checking research agents.
The course emphasizes grounding, citation, and verification — building agents that retrieve real evidence and compute real statistics rather than generating plausible-sounding guesses — for use in literature review and evidence synthesis contexts.
Researchers wanting to automate literature review and extraction; R users comfortable with dplyr who are new to LLM tooling; Analysts curious about agents beyond a chatbot demo.
🎓 Lecture slides (PowerPoint)
💻 R lab exercises (ellmer + ragnar)
📊 Synthetic research datasets (paper abstracts & literature corpus)
All analyses are done in R using packages like ellmer, ragnar, dplyr, and httr2 — the official tidyverse toolkit for connecting R to OpenAI, Claude, Gemini, and local LLMs.
All example files and syntax are downloadable from the course portal.