Scaling laws of strategic behavior and size heterogeneity in agent dynamics