WIP Gatekeeper agent, needs tests