# Replace agent with another agent in server

**URL:** <https://forum.rasa.com/t/replace-agent-with-another-agent-in-server/19546>\
**Category:** Rasa Open Source\
**Created:** [October 10, 2019, 6:38am UTC](https://forum.rasa.com/t/replace-agent-with-another-agent-in-server/19546 "2019-10-10T06:38:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonysinghmss](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tonysinghmss/32/5846_2.png) [@tonysinghmss](https://forum.rasa.com/u/tonysinghmss)\
**Post date:** [October 10, 2019, 6:38am UTC](https://forum.rasa.com/t/replace-agent-with-another-agent-in-server/19546/1 "2019-10-10T06:38:31Z")

</div>

I am using the Rasa framework for my chatbot. I am storing the metadata during the chat using `trackerstore` .

When the user leaves the chat in between and comes back after some time, I want to restart rasa, and recreate the agent and update it based on the data stored.

I am able to recreate the agent based on the data stored. Is there any way to replace this newly created agent with the already existing agent in the Rasa application server? Or is there a way to respawn another server application with this new agent?

I have asked this question on SO as well. [Stackoverflow question](https://stackoverflow.com/questions/58299901/rasa-replace-agent-with-another-agent)
