implémentation AgentService & AgentServiceImpl