https://retellai.com/?utm_source=discord&utm_medium=seo logo
cloning shared libraries
# ❓・ai-evy-support
d
@AI Evy cloning shared libraries
a
Thanks for tagging me @danielh_32629. I'll look through relevant sources and get back to you shortly.
### Answer You can’t directly “clone” a shared (library) Component as a new shared item, but you can effectively clone it into a local copy inside an agent and then re‑promote it. Here’s how it works based on the documented behavior: 1. Shared vs Local Components - Shared (Library Components) are account‑level and reusable across multiple agents; edits sync everywhere they’re used. [(1) ]() - Local (Agent Components) live only in the current agent; edits affect only that agent. 2. *Convert shared → local (clone into an agent) * - In an agent that uses the shared Component, turn off syncing for that Component. - This converts the reference in that agent into a local copy that stops receiving updates from the library. 3. *Convert local → shared (re‑promote / “clone” to library) * - For a local Component, use “Save component to library” to create a shared version and update references. 4. Effectively cloning a shared Component - Use a shared Component in an agent. - Turn off syncing there to get a local copy (your “clone”) . - Edit that local copy as needed. - Use “Save component to library” to create a new shared Component based on that local copy. This gives you a practical way to duplicate a shared Component’s logic, modify it independently, and then have it as a separate shared library Component.
​ To learn more, see the sources I considered: [[1] Components](https://docs.retellai.com/build/conversation-flow/components) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.