How smlfg/human-agent-interface works
This repository is the JavaScript frontend for the public Human Agent Interface site, alongside interactive study tools for algorithms and data structures. HAI’s documented workflow turns human intent into scoped, inspectable work and a handoff; the sampled code also shows an intake packet flow and a harness-advice chat. The study tools offer practice, progress tracking, and timed exam simulation. Some source was not sampled, so the graph includes only relationships visible in excerpts or documented in the README; it does not assume how other site routes are wired.
Main entry points: probeklausur-interaktiv/app.js Practice portal · intake/app.js Owner intake · Münztelfon/app.js Harness chat UI · server.py Harness chat API
Components 16
HAI user flows
- Public HAI site
- Owner intake
APP/intake/app.js - Intake packet
APP/intake/app.js - Harness chat UI
Münztelfon/app.js - Harness chat API
Münztelfon/server.py
Site runtime
- Site request worker
src/worker.js
ADS learning
- Practice portal
proof/ads/probeklausur-interaktiv/app.js - Tree practice
proof/ads/probeklausur-interaktiv/baum-detektiv/game.js - Runtime practice
proof/ads/probeklausur-interaktiv/laufzeit-detektiv/game.js - Sorting lab
proof/ads/probeklausur-interaktiv/sortier-labor/lab.js - Practice tasks
proof/ads/probeklausur-interaktiv - Exam simulation
proof/ads/klausur-simulation.js
Other components
- Site visitor
- LLM provider
- Static assets
- Study learner
Connections 12
- Site visitor → Owner intake: enters details
APP/intake/app.js - Owner intake → Intake packet: builds packet
APP/intake/app.js - Site visitor → Harness chat UI: starts chat
Münztelfon/app.js - Harness chat UI → Harness chat API: posts chat
Münztelfon/app.js - Harness chat API → LLM provider: requests response
Münztelfon/server.py - Site request worker → Static assets: fetches assets
src/worker.js - Study learner → Practice portal: opens practice
proof/ads/probeklausur-interaktiv/app.js - Practice portal → Tree practice: links to
proof/ads/probeklausur-interaktiv/app.js - Practice portal → Practice tasks: links to tasks
proof/ads/probeklausur-interaktiv/app.js - Study learner → Runtime practice: practices runtime
- Study learner → Sorting lab: practices sorting
- Study learner → Exam simulation: takes simulation