All panels of the webcam paper: real measurements of the Neubau Physik webcams

When intelligence
becomes ubiquitous

Agentic AI in research and beyond

Nicolai Lang

Institute for Theoretical Physics III

I don't know your challenges

  • I am a theorist
  • My goal: inspiration -> identify applications yourself
Blackboard with formulas
$\neq$
Optical table in a quantum optics lab

Photos: ITP3 website; Barz group website (University of Stuttgart)

This talk: I tell you what we are doing
Afterwards: you think about what you could do

Why you should care

2022
2023
2024
2025
2026
2027
2028
2029
2030
Artimage generators
Writing funny poemsChatGPT
Homeworkschool
Exercisesuniversity
Codingcoding agents
Mathematicsmachine-checked proofs
Theoretical physics?
Experimental physics?
reasoning models
today
Decrypt: OpenAI says a secret AI model cracked hundreds of open math problems in one prompt
Decrypt, 7 Oct 2026
Anadolu Agency: OpenAI says AI model solved one of mathematics' Millennium Prize Problems
Anadolu Agency, 8 Sep 2026
arXiv monthly submissions from 1991 to September 2026: steady growth, then a steep rise to a record 40,363 in September 2026
arXiv blog: monthly submissions, 1 Oct 2026

Physicists: keep track!

Outline

Agentic AI

Introduction and general comments

“Just” predicting the next word

  • Modern AI: Large Language Models (LLM), transformer architecture
Thecatsat
→
LLM
→
on
down
still
→
on
↺ append, repeat
  • Objections: “just probabilities”, “memorises and regurgitates”
  • → Stochastic ParrotE. M. Bender, T. Gebru, A. McMillan-Major, S. Shmitchell, On the dangers of stochastic parrots: Can language models be too big?, FAccT '21, 610 (2021)
Architecture of a transformer: embeddings, attention and feed-forward layer, softmax over the next token
New York Magazine: You Are Not a Parrot. And a chatbot is not a human.
New York Magazine, 1 Mar 2023

A toy world: Fibonacci mod 113

Goal: learn the (periodic) Fibonacci sequence:

$$x_{n+1} = (x_n + x_{n-1}) \bmod 113$$
  • 113 tokens: 0 … 112
  • Period 76 → 168 sequences
  • Training set: some sequences
  • Test set: the rest, never seen
  • Model: 228 k parameters (1 layer)
The standard run: accuracy on training sequences rises first (parrot phase), accuracy on never-seen sequences jumps to 1 much later (rule learned)

“Phase transition”:
parrot phase → understanding phase (“Grokking”A. Power, Y. Burda, H. Edwards, I. Babuschkin, V. Misra, Grokking: Generalization beyond overfitting on small algorithmic datasets, arXiv:2201.02177 (2022))

Parrot or brain?

Three knobs of LLM training:

  • Parameters: model size
  • Data: training set size
  • Compute: training time

Each panel: one model size
→ axis: data, ↑ axis: time

Phase diagrams for 11 model sizes: accuracy on seen (red) and never-seen (blue) sequences over corpus share and training step; parrot region hatched, learned rule dotted

Chatbot vs. agent

  • Chatbot : text in → text out
  • Agent = LLM + Tools + Harness
system prompttasktool result
LLM
reasoning …texttool call
Harness
to user
execution
bash · python
Chatbot answers a large sum with a wrong digit Agent calls Python and answers the sum correctly

There are two capabilities that made Homo sapiens conquer the world:
the ability to use tools, and the mastering of language. We equipped computers with both.

State of play

Intelligence: who is at the top?

Artificial Analysis Intelligence Index v5, 28 models: Gemini 4 Carbon 59, Claude Opus 5.5 58, GPT-6 Astra 57, GPT-6.1 Sol 55, Claude Sonnet 5.5 54, … down to 12

Frontier crowded and competitive: 5 labs within 10 pointsArtificial Analysis, Artificial Analysis Intelligence Index v5, artificialanalysis.ai (31 Oct 2026)

Price at fixed intelligence

Output price per million tokens of the cheapest model above five Progress Index thresholds, Jul 2025 to Oct 2026, log scale: each threshold drops from 10 to 50 dollars to below 1 dollar within months

Price per intelligence drops exponentially: ÷ 50 within ≈ 6 monthsArtificial Analysis, Language Model Output Price, by Artificial Analysis Progress Index v1 Threshold, Over Time, artificialanalysis.ai/trends (31 Oct 2026)

Open weights, hardest tasks: a big gap

Intelligence Index v5 coloured by license: proprietary models (black) lead with 59 to 34; the best open-weights models (blue) score 32 and below

Index v5: only the hardest tasks → gap overstated for everyday workArtificial Analysis, Artificial Analysis Intelligence Index by Open Weights / Proprietary, artificialanalysis.ai/trends (31 Oct 2026)

Open weights, all tasks: a few months behindArtificial Analysis, Open Weights vs. Proprietary: Artificial Analysis Progress Index v1, Over Time, artificialanalysis.ai/trends (31 Oct 2026)

Progress Index v1 of the best proprietary (black) and best open-weights (blue) model over time, Nov 2022 to Oct 2026: the open-weights step line follows the proprietary one a few months later
JanFebMarAprMayJunJulAugSepOctNovDec
Claude Opus 4.6
GPT-5.5
today
Qwen3.8-27B (1 × H100): 9 months behind
GLM-5.3 (8 × H100): 6 months behind

Problems and possible solutions

Frontier models

Data protection

Cloud only: personal data, patents, industrial espionage

On-premise models

Frontier models

Dependence

Few US companies: uncontrollable cost, no sovereignty

Own compute, open weights,
model-agnostic workflows

Society

Energy and cost

Cheaper intelligence → far more use (Jevons paradox)

Efficient, smaller models

Agents

Security

Agents err, can be hijacked (prompt injection)

Sandbox + trusted models

Open-weight models

Trust

Best open weights from China: hidden behaviour?

European models

Results

Reliability

Confident errors, made-up references; who is responsible?

Verify everything; humans sign

Skills

Deep understanding

Nobody reads the code, nobody learns to code

?

Science

Flood of output

Paper and review spam: arXiv rate limits

Quality over quantity?

Science

Universities

Agents ≈ very good PhD students / postdocs

Rethink training, careers, science?

Applications

What we tried at ITP3

How we run agents safely

  • Risk: agents run commands as you:
    delete, install, upload
  • But: useful only with fast feedback
    → no permission prompts: YOLO mode
  • Our solution: secdevN. Lang, secdev: run coding agents unsupervised, in isolated containers, web.itp3.uni-stuttgart.de/ai/secdev (2026) (a sandbox)
    Securityyour files are not in the box
    Data protectionthe agent sees one project
    No frictionfull toolchain inside
Your computer
Privatefiles
mail
SSH keys
passwords
internal docs
grades
personnel data
unpublished data
secdev container
AI agentClaude Code, Codex, …
Project folderthe only part of the disk inside
ToolchainTeX · Pandoc
Python · Julia · C++
Git · compilers
headless browsers
OCR · ImageMagick · …
Language modelcloud or institute GPU
Youreview
Git serverpublishing
✗

Fields of application

  • Four fields: teaching, research, IT, administration
  • The data decides the model:
Frontier modelcloud, the best models:
research, teaching, web
Local modelinstitute GPUs, open weights:
servers (Wingman), paperwork (Office)
Caution: We are in an explorative phase:
everything that follows is experimental and changes constantly
TeachingThesis reviewResearchEinstein containerITWingmanOpenCMSAdministrationOfficeAI agentsin secdev

Teaching: reviewing theses

A page of a draft bachelor-thesis chapter on the Jordan-Wigner transformation
Draft (a student's chapter)
Terminal> cd ~/thesis/> secdev tex> clauded
Prompt“Please do an editorial
pass over chapter.tex.
British English.”
The same section after the editorial pass: numbered, coloured margin notes for language, clarification and reference issues; the text itself unchanged
After the pass: numbered notes in the margins, text unchanged

I get polished theses and can focus on the content

IT: Wingman

Three windows side by side: the admin wiki in Obsidian with an approved plan, the agent in the OpenCode terminal submitting a dry run, and the Wingman dashboard with that request as a card to allow or reject
Obsidian: plansOpenCode: the agentWingman: you approve

Administration: Office Agent

  • Purpose: speed up repetitive
    administrative workN. Lang, Office: an agentic assistant for the institute's administrative staff, web.itp3.uni-stuttgart.de/ai/office (2026)
    forms · mail · quotations · posters
  • Strict data protection
    → local model only:
    Qwen3.8-27B (FP8)
  • HITL: human in the loop
The staff web interface with a case open: on the left the list of cases; in the middle the request, an answered question, the intermediate steps, a sent chat message and the input field; on the right the document pane with the finished seminar poster

Research: the Einstein container

Language modelfrontier, in the cloud
University network
Supervisorlaptop · phoneanywhere
Workstation (host)
tmux session: keeps running
Einstein container (secdev)
AI agentClaude Code · YOLO mode
ToolchainPython · SciPy · SymPy
Maxima · Octave
Lean 4 (formal proofs)
C++ · LAPACK · LaTeX
research-* helpers
Project = Obsidian vaultscaffold init guided-wiki
AGENTS.mdentry point
SECDEV.mdcontainer manifest
CONTRACT.mdrules of work
PLAN.mdhuman, read-only
TASKS.mdproposals
PROBLEMS.mdopen problems
LOG.mdlab book
code/simulations
data/runs
wiki/findings
memory/notes
paper/human
Institute computeown SSH key
same queue as everyone
Slurm clusterCPU: 15 nodes, 40–56 cores
GPU: 4 × H100
Mathematica host64 cores · 1.5 TB RAM
Shared ~/remoteone folder per project
Gitea logoGit logoGiteacollaboration · backup hub
Colleaguesother agents
other universities
ssh tmux attach slurm_exec mathematica_exec sshfs mount push · pull (own Gitea account) push · pull personal
communication

A typical workflow

Supervisor sets the question judges the results writes the paper
Scaffold files: the interface
PLAN.mdgoal · tasks · human only
TASKS.mdnew task proposals
PROBLEMS.mdopen conceptual problems
wiki/findings · plots · Obsidian
paper/manuscript · human text
Agent
Study literature
and make a plan
Calculate
analytically
Implement
code
Send jobs to
the cluster
Collect
results
Evaluate
and plot
Agent repeatsfor hours to days,
without asking
Every step leaves a record
LOG.mdlab book
memory/working notes
code/ data/runs, outputs
literature/papers by DOI
writes accepts discusses reads writes tasks proposes records findings on request adjust

The agent plays the role of a PhD student or postdoc

Research projects

Numerics: a topological phase transition

Goal: numerical study of a topological phase transition
in a strongly interacting 2D quantum many-body system (iDMRG)

≈ 30 000CPU
hours
≈ 400cores
at peak
0lines of code
by humans

Agents

  • model code
  • every cluster job
  • perturbation theory to 12th order
  • new method from a paper
  • every figure

Physicists

  • question and plan
  • decisions at every turn
  • independent checks
  • every paragraph
An animated colour map of the order parameter over drive strength and blockade strength; sample points appear one by one and the phase boundary sharpens with each
Phase diagram, built one ground state at a time

The agents did the work of a PhD student

Paper on J. Mögerle, S. Fell, T. F. Maier, A. Otaifi, L. Pollet, N. Lang, H. P. Büchler, Topological phase transition in a symmetric blockade structure, arXiv:2610.03186 (2026)

Mathematics: a gap proof, machine-checked

Goal: machine-checked proof in Lean of a theorem on the gap
of a topological 2D quantum many-body system

188 000lines
of Lean
7weeks
≈ 5·109tokens
(> 10 000 €)

Agents

  • Lean code and docs
  • stability theorem formalized
  • blind audits of the statement

Physicists

  • the proofs on paper
  • 16 approved plans
  • review of every result
Challenge.leanwhat a referee reads: 984 lines
theorem direct_samePhase (F : RegPlacedFamily) … :
  ∃ (B : ℕ → BlockadeGraph) …,
    ∃ Ω₀ > 0, ∀ Ω ∈ Set.Ioo 0 Ω₀,
      IsGappedLocal … ((B n).ham Ω) ∧
      ∀ Enc, SamePhase ⟨…⟩ ⟨…, (B n).ham Ω⟩ := …
$ lake comparator --paranoidLean kernel + 5 independent checkers✓ Your solution is okay!
The statement, checked against 188 000 lines of proof

Without agents: a formal proof of this size would be out of reach

Paper on S. Fell, T. F. Maier, H. P. Büchler, N. Lang, Excitation gap of a blockade structure with $\mathbb{Z}_2$ topological order, arXiv:2609.39475 (2026)

A toy “experiment”

Timelapse videos of the construction site

An “experiment” for an agent: raw data → theory → verification → paper

  • Setup: 4 webcams, a 4K frame every 5 min
  • Goal: timelapse of the construction
Map of the campus with the construction site, the two camera positions (Allmandring 5B roof, Pfaffenwaldring 57 balcony) and the fields of view of the four cameras
web.itp3.uni-stuttgart.de/webcam
  • Problem: slight shifts, up to 10 px a day
  • Due to wind, temperature, material
One day, 7 January 2026: a frame every 5 minutes

The agent's solution

1 · Frames4 cameras, every 5 min, 321 days Mean of all noon frames of the year, pwr57-wide, uncorrected: blurred by the wobbling mean of 321 noon frames: blurred
2 · Phase correlation128 px patches, low-pass Measured vs true zoom: with the low-pass, phase correlation recovers zooms down to 0.01 px sub-pixel: down to 0.01 px
3 · Displacement field464 vectors per pair pwr57-wide at 14:29 against 12:30: measured displacement arrows, magnified 60 times 14:29 vs 12:30, arrows ×60
6 · Fixed viewone warp per frame Mean of all noon frames of the year, pwr57-wide, corrected: sharp same mean, corrected: sharp
5 · Reference graphpairs at 5 min … 180 days, robust least squares The pairs registered on one day: 5-min steps, 15 min, 1 h, 3 h, and every frame against 12:30 one day: 174 frames, 739 pairs
4 · Motion modelrobust fit per pair The six motion components: shift, rotation, zoom, distortion, shear, tilt shift, rotation, zoom, distortion, shear, tilt

Remaining motion over the year: 2–5 px → 0.3–0.5 px

The paper

Outlook: ideas for the lab

Reverse engineering

REA: agents dissect binariesmorluto, REA: Reverse Engineer Anything, github.com/morluto/rea (2026)

Drivers for old devices

REA driving the Hopper disassembler: assembly listing of a native binary and the analysis log

3D CAD via MCP

Agent drives CAD and Blender (SolidCraft)Tangency Labs, SolidCraft: open-source parametric CAD with an MCP server, github.com/tangency-labs/solidcraft (2026)

Sketch → 3D mock-up

Standard protocols

MHS: devices with read, write and safety limitsAnthropic, Previewing the Model Hardware Standard, anthropic.com/news (27 Aug 2026)

One interface for all devices?

Agent MCPtools, data A2Aother agents MHSdevices

Experiment control

Agent writes the control code, runs it, watches, rewritesW. Xiao, J. Xie, T. Zhang, et al., ENPIRE: Agentic Robot Policy Self-Improvement in the Real World, arXiv:2606.19980 (2026)

Key: real-world feedback

Thank you

nicolai.lang@itp3.uni-stuttgart.de

References