By akhil babu on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
1.x
Description:
Existing sites that use Canvas AI
Action needed: run database updates (drush updb).
- No data is deleted. Your existing agents are kept and moved to a new module, Canvas AI Legacy (
canvas_ai_legacy), which the update installs. - The AI chat shows a warning that it is deprecated.
- The edit forms of the legacy agents show a warning that the agent is deprecated.


To use the new agents, uninstall Canvas AI Legacy. Uninstalling it deletes the legacy agents, including any changes you made to them.
Sites that deploy configuration
- Run
drush updb. - Export the configuration (
drush cex). The export contains these changes:core.extension:canvas_ai_legacyis enabled.- The existing agent configurations depend on
canvas_ai_legacy. - New agent configurations:
ai_agents.ai_agent.canvas_agentandai_agents.ai_agent.drupal_canvas_page_agent. canvas_ai.settings:main_agent,toolsandkeep_tool_calls_in_historyare set.
- Commit the exported configuration.
- To use the new agents, uninstall Canvas AI Legacy, export the configuration, and commit it. The export removes
canvas_ai_legacyfromcore.extensionand deletes the legacy agent configurations.
New sites
No action needed. Installing Canvas AI enables the new agents.
To use the legacy agents instead, install Canvas AI Legacy.
| Attachment | Size |
|---|---|
| Legacy chat UI.png | 39.9 KB |
| Legacy agent warning.png | 112.18 KB |
Impacts:
Site builders, administrators, editors
Module developers
Themers
Site templates, recipes and distribution developers