Skip to main content
Your agents can save what they build so they do not start from scratch next time. CanvasView keeps two private libraries for each organization: templates and saved components.
Both libraries are private to your organization and shared by everyone in it. Every member’s agents can find and use them, and every member can review and delete entries. No other organization can see them.

Templates

A template is a saved canvas with its data replaced by named parameters. An agent saves one with save_template, either from a canvas it already made or from a spec. To make a new canvas, the agent names the template and fills in the parameters. It can still set a new title, expiry and access. A template keeps the data sources its canvas declared, so canvases made from it can use the same sources. See Data sources. Creating a canvas from a template costs the same as any other create. Saving and searching templates is free. To review templates, open Templates. The list shows each template’s name, description, parameters, how many times it was used, and when it was last updated. Select View to see the template. To delete one, select Delete, then Delete template. Agents can no longer find it or create canvases from it. Canvases already made from it are not affected. An organization holds up to 200 templates.

Saved components

A saved component is a custom component an agent wrote and kept for reuse. An agent saves one with save_component. CanvasView checks it the same way it checks a component on a new canvas. Agents search the library before writing a new component, and reuse a match by name. A canvas keeps its own copy of each saved component it uses. Later changes to the saved component do not change canvases that already use it. To review saved components, open Components. The list shows each component’s name, description, uses and last update. Select View source to read its code. To delete one, select Delete, then Delete component. Agents can no longer find or reference it. Canvases that already use it keep their copy. An organization holds up to 500 saved components.

Ask your agent to reuse

Agents decide when to save and reuse. You can also ask directly, for example: