Project Zomboid exchanges percepts and actions through ports with the Silk OTP agent. The body asks the goal setter and planner for decisions and receives goals and plans. Logical responsibilities; helper processes omitted. JVM · Clojure host + Kahlua scripting Silk OTP Clojure host Goal-based Project Zomboid Environment Java + Kahlua Ports Agent Memory · reflexes · actions Goal setter Priority lookup table Planner HTN method table Percepts Ask / answer Actions Directorgen-serververbs → out-portREPL threadSilk eval · verbs are messagessend [:say …] to the directornREPL · 7888EmacsCIDER · REPL clientSilk OTP messagenREPL · Emacscall