updates to core agent lib