Create agent.php