02 · Assignment

Assignment

Download the starter package, configure the game origin and model endpoint, then complete the three marked TODOs.

Download student starter

Your steps

  1. Register your team and download agent-config.json.
  2. Fill in the ordinary chat model configuration; never put the team credential in the model prompt.
  3. Implement parsing, allowlisted dispatch, and the observe/decide/act loop.
  4. 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

Rules that matter