Copy, Paste, and Bulk Delete Nodes in Agent Studio

Overview

The Graph Builder in Agent Studio includes tools to copy, paste, and bulk delete nodes. These features let you duplicate sections of your AI agent's logic, reuse them in other areas or agents, and quickly clean up unwanted nodes. This helps you build and modify complex agent flows more efficiently.

Key Benefits

Using these editing tools can significantly speed up your workflow in Agent Studio.

  • Save Time: Duplicate proven node groups instead of rebuilding them from scratch.
  • Reuse Logic: Copy a section from one agent and paste it into another agent's canvas.
  • Maintain Structure: When copying multiple connected nodes, the links between them are preserved in the copy.
  • Clean Up Easily: Select and remove multiple nodes at once to declutter your workspace.
  • Avoid Conflicts: Pasted nodes are given new, unique IDs so they operate independently from the originals.
  • Intuitive Editing: Use standard keyboard shortcuts for fast, familiar actions.

When to Use These Tools

These actions are designed for working with selected groups of nodes within a single agent's flow.

  • To replicate a successful sequence of actions in a different part of the same agent.
  • To test modifications on a copied branch without affecting your main logic.
  • To implement a similar conversational pattern or decision tree in a different AI agent.
  • To quickly remove outdated or experimental sections after testing is complete.

Important Notes

Before using these features, keep the following in mind:

  • You must have permission to edit the agent in Agent Studio.
  • These tools work on the Graph Builder canvas level, not for cloning an entire agent.
  • Connections between the copied nodes are preserved. Any connections from a copied node to a node outside the copied selection will be broken and must be reconnected manually.
  • Pasted nodes appear slightly offset from the original selection to prevent overlapping.
  • Always review the pasted nodes and their connections before publishing your agent.
  • To duplicate an entire agent, use the snapshot or template features instead.

How the Actions Work

Copying Nodes

Select one or more nodes on the canvas. You can then copy them using the available menu action or a keyboard shortcut. The selected nodes and their internal connections are copied to a temporary clipboard.

Pasting Nodes

You can paste the copied nodes back into the same Graph Builder canvas or into another open Agent Studio tab for a different agent. The pasted nodes will be separate entities with new IDs.

Preserving Connections

If you copy a group of nodes that are linked together, those links will be recreated when you paste the group. This allows you to duplicate functional logic blocks.

Bulk Deleting Nodes

Select multiple nodes and use the delete action to remove them all at once. This is useful for cleaning up large sections quickly.

Using Keyboard Shortcuts

The feature supports standard keyboard shortcuts (like Ctrl+C/Cmd+C for copy) for faster editing. Refer to the in-product guide for the complete list of shortcuts.

Best Practices

  • When planning to reuse a complex node group, build and test it thoroughly in a single location first before copying it elsewhere.
  • After pasting, immediately check that all necessary connections (especially those to nodes outside the pasted group) are correctly established.
  • Use bulk delete to maintain a clean and readable canvas, removing unused test branches promptly.
  • Leverage pasting between tabs to create libraries of common, reusable logic patterns across your different AI agents.