agent.js skeleton
tweaks