introduce -max-agents