code: async def _delete_agent(self, agent_addr):
          
          self._available_agents = [agent for agent in self._available_agents if agent != agent_addr]
          del self._registered_agents[agent_addr]
          await self._recover_jobs(agent_addr)
docs: Deletes an agent