Slide 14 · Agentic AI
Section: 02 · Science · Slide text and notes: talk/slides.md
That power, for researchers outside computer science [One line: a researcher asks in plain language; the agent finds the data, runs the analysis, and returns a result.] Notes: Walk the flow left to right: user request, MCP context and RAG retrieval feed the orchestrator, which reaches the data mesh and data lake, then the result loops back to the user.
Candidate lines
- Chosen (2026-10-31): "Ask in plain language; the agent finds the data, runs the analysis, and returns a result you can audit."
- "A researcher asks a question in plain language; the agent finds the data, runs the analysis, and shows its work."
- "You ask the question. The agent finds the data, runs the analysis, and returns the result with every step recorded."
Option 1 ties the slide back to slide 17's controls; option 3 sets up provenance.
The figure's flow, running over the real protocol
src/mesa_tools_server.py is an MCP server built with the official Python SDK. It exposes four tools over a DuckLake catalog built from this talk's own evidence (src/01_build_lake.py):
| Tool | Job | Box in the figure |
|---|---|---|
find_data |
Which tables answer a plain-language question | RAG retrieval (keyword, not vector) |
query_lake |
Read-only SQL; anything but a single SELECT is refused | Data lake (DuckLake) |
resolve_term |
Ontology validation (slide 17, control 2) | Guardrail |
check_citation |
DOI registry and arXiv (slide 17, control 1) | Guardrail |
src/02_mcp_roundtrip.py starts the server, connects with the official MCP client (protocol 2025-11-25) and discovers the tools and their JSON schemas. It then makes the calls a model would plan for "Which infrastructure build-out took the biggest share of GDP in one year, and how many claims in this talk are verified?"
| Call | Result |
|---|---|
find_data(question) |
lake.buildout_ranking, lake.talk_claims |
query_lake(SELECT name, peak_annual_pct_gdp FROM lake.buildout_ranking WHERE program <> 'postwar' ORDER BY … LIMIT 3) |
US railroads 5.42%, Marshall Plan 2.17%, … |
query_lake(SELECT status, count(*) …) |
the talk's own claim register by status |
query_lake(DELETE …) |
refused: only a single read-only SELECT is allowed |
resolve_term("mouse", NCBITaxon:10116) |
refused: names Rattus norvegicus |
check_citation(GPTZero's fake WebVoyager reference) |
flagged: arXiv:2401.00001 is a different paper |
Note: the plan filters out the "Post-war US private investment" row (16.93% of GDP), because that is all private investment, not one build-out. Without the filter it would rank first. That filter was written into the scripted plan; the pipeline did not decide it.
The full transcript is in mcp_transcript.json.
What this demo shows
- The tool layer and lake work. MCP tools, retrieval and the DuckLake lake all run, and the result comes back to the requester.
- The policies hold whoever plans the calls. The refusals don't depend on what is doing the planning.
- The same server works from any MCP client. Register mcp.json in Claude Code, Codex, Goose or another client.
What it doesn't show - A model as orchestrator. A scripted plan stands in, because there's no model API in this environment; slide 30's demo is the model-in-the-loop evidence. - The iRODS mesh. That's slides 22–23.
For a CS audience: the figure draws MCP as "context." It is mainly the channel the orchestrator uses to call tools, which here means the lake and the guardrails.
Findings (2026-10-31)
| Claim | Verdict | Key evidence | Suggested wording |
|---|---|---|---|
| c1 One-line message | revise-slide (agreed, not yet in deck) | Demo 3 (slide 30) | "Ask in plain language; the agent finds the data, runs the analysis, and returns a result you can audit." |
| c2 Figure flow works | partially supported | mcp_transcript.json, mcp_calls.csv |
Unchanged; no model orchestrator or iRODS in this demo, and the scripted query excludes the postwar private-investment row (16.93%) |
| c3 Boxes map to MESA components | partially supported | data/raw/research/facts.csv, data/processed/mesa_box_map.csv |
If said aloud: "MESA's MCP servers ship today and reach the CyVerse Data Store and a DuckLake metadata history; the federated mesh, full lakehouse, RAG and multi-agent orchestration are its 2026-2029 goals." |
c3 in detail (from MESA's public docs, not its code):
| Box | MESA component per docs | Status per docs |
|---|---|---|
| User request | User's own agent client (Claude Code, Codex CLI, Antigravity, OpenCode) or MESA Portal apps | Available |
| MCP | mesa-mcp, irods-mcp-server, Formation (hosted by CyVerse) | Installable today |
| RAG retrieval | Listed in architecture layer 02 and goal 3 | Goal; no component in the install table |
| Orchestrator | Goal 3 "sandboxed, multi-agent orchestration" | Goal; today the client is the orchestrator |
| iRODS data mesh | mesa-mcp ds_* tools, irods-mcp-server (CyVerse Data Store) |
Installable; federation is goal 2 |
| DuckLake data lake | mesa-ducklake, a metadata-history library behind mesa-mcp | Installable, but scoped to metadata history; the general lakehouse is goal 1 |
The slide itself doesn't claim the mapping, so this only matters if the speaker presents the figure as MESA's shipped architecture. The idss-mesa repositories were not read in this session.
Reproduce
uv run python slides/14-agentic-ai/src/01_build_lake.py
uv run python slides/14-agentic-ai/src/02_mcp_roundtrip.py
uv run python slides/14-agentic-ai/src/03_mesa_box_map.py
Claims
| Claim | Status | Kind | |
|---|---|---|---|
c1 | [A researcher asks in plain language; the agent finds the data, runs the analysis, and returns a result.] Suggested: Ask in plain language; the agent finds the data, runs the analysis, and returns a result you can audit. | ✏️ revise-slide | technical |
c2 | Figure: user request -> MCP context and RAG retrieval -> AI agent orchestrator -> iRODS data mesh and DuckLake data lake -> result | 🟧 partially-supported | technical |
c3 | Each box in the figure maps to a component in the MESA repositories Suggested: If said aloud: "MESA's MCP servers ship today and reach the CyVerse Data Store and a DuckLake metadata history; the federated mesh, full lakehouse, RAG and multi-agent orchestration are its 2026-2029 goals." | 🟧 partially-supported | factual |
Source: slides/14-agentic-ai · open the deck