Skip to content

Run the agent inside an ATLAS study, for the students a researcher picks - #36

Merged
Maharsh17 merged 3 commits into
mainfrom
study-agent
Nov 26, 2026
Merged

Maharsh17 merged 3 commits into
mainfrom
study-agent

Conversation

@Maharsh17

Copy link
Copy Markdown
Member

ATLAS can now give a study student the INVITE Agent. For a ticked student who agreed to take part, ATLAS's study page frames agent.inviteai.org/study#ticket=..., and this page wraps their study session of ZANY the same way it wraps ZANY at vr.inviteai.org.

The ticket is signed with a secret only ATLAS and the agent hold (AGENT_STUDY_SECRET). A new zany-study environment takes the student from the ticket and never from the link, so nobody can open another student's chat by guessing an ID. A valid ticket also passes the Turnstile check, since ATLAS already signed the student in. The environment reads the student's rows from ATLAS's log_record, kept apart from link students who share the same IDs. When ATLAS deletes a student's records, the agent deletes everything it keeps about them, their chat too, and an hourly check catches a missed notice.

The page at /study signs the student in from the ticket with no form and no Sign out button. With no ticket it says to open it from the study page. The sign-in form never offers the study environment.

The design and plan are in docs/superpowers/. Server tests are 95 passing, including 9 new study tests, and client tests are 20 passing.

It needs zany-study in ENVIRONMENTS, AGENT_STUDY_SECRET in /etc/agent/zany.env and SELECT ON log_record for agent_reader. Those go in through infra.

Closes #35

@Maharsh17
Maharsh17 merged commit 507c79c into main Nov 26, 2026
2 checks passed
@Maharsh17
Maharsh17 deleted the study-agent branch November 26, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run the agent inside an ATLAS study, for the students a researcher picks

1 participant