Software agent measurement framework