02 · Assignment
Assignment
Download the starter package, configure the game origin and model endpoint, then complete the three marked TODOs.
Download student starterYour steps
- Register your team and download agent-config.json.
- Fill in the ordinary chat model configuration; never put the team credential in the model prompt.
- Implement parsing, allowlisted dispatch, and the observe/decide/act loop.
- Run practice first, then initialize one ranked run when your lecturer opens it.
Plain-text protocol
The model may return a whole JSON object or one complete JSON code fence. Use ordinary system, user, and assistant messages; do not use native function calling.
{"type":"tool","name":"get_inventory","arguments":{"room_id":"r_OBSERVED_ID"}}{"type":"final","answer":{"person_id":"p_ID","room_id":"r_ID","weapon_id":"w_ID"}}Tool catalog
get_briefing— receive statement/report IDs and the case rulesget_witness_statement— read the observed floor and jacket colorget_forensics_report— read the incident wing and weapon materiallist_people— list people and jacket colorslist_rooms— list room IDs, floors, and wingslist_weapons— list weapon IDs and materialsget_access_log— check people present in one roomget_inventory— check objects recorded in one room
Rules that matter
- One active run per team.
- Malformed final JSON does not consume a run.
- One valid final answer consumes the run, correct or incorrect.
- Retrying a lost network response is not the same as making another guess.