C3 AI Documentation Home

Canvas Agent

The Canvas Agent provides all the capabilities of the dynamic agent, enhanced with tools for document creation and editing. Documents appear in a rich text editor within the UI, where you can make further edits and request additional modifications from the agent.

The Canvas Agent extends the dynamic agent with advanced capabilities for creating and editing documents, submitting forms, and generating emails. You can easily add or extend tools in the agent's toolkit for specific business use cases.

Canvas Agent

Canvas Agent configuration

After running Genai.QuickStart#setup or Genai.QuickStart#setupApp, the Canvas Agent is automatically deployed within your application.

You can access the Canvas Agent configuration directly in your Application C3 AI Console by running:

JavaScript
Genai.Agent.Dynamic.Config.forConfigKey('CanvasAgent_default')

Toolkit and tools

The Canvas Agent uses the canvas_agent_default_toolkit with the following tools:

Tool NamePurposeKey Capabilities
RAG Unified ToolPerforms retrieval-augmented generation on enterprise dataComplete RAG flow with query rewriting, retrieval from unstructured documents, reranking, and answer generation. Returns semantic, keyword, and metadata passages.
Visualization Creation ToolGenerates charts and data visualizationsSupports generic visualizations like scatter plots and line charts, as well as geospatial maps. Returns Plotly figure objects.
Structured Retrieval ToolExecutes queries on structured sourcesQueries data model with mathematical functions (max, min, avg, sum, count), string operations, Boolean operators, aggregation, ordering, and result limiting.
Fuzzy String Match ToolPerforms fuzzy string matching for inexact queriesFinds entities with partial or approximate names.
Document Creation ToolCreates new documents on canvasGenerates drafts of emails, reports, meeting notes, or templates with filename, title, description, and content.
Document Update Metadata ToolUpdates document title and descriptionRefines document properties without changing content.
Document Update Content ToolReplaces entire document contentSupports major document revisions or complete rewrites.
Document Replace Content ToolReplaces specific substrings in documentEnables small, targeted edits and corrections.

Custom tools for Canvas Agent

You can add custom tools to extend the agent's functionality. Follow the same process described in Create Custom Tools.

For these tools, you can also specify custom outputs to enable the UI to render custom resources. See Step-by-step: Build a custom resource for more information.

Create and modify the Canvas Agent

The Canvas Agent is available in the Store section of the Agent Gallery. Store agents cannot be edited directly. To duplicate, modify the Canvas Agent configuration, toolsets, or prompts see Agent Workbench Documentation and Create Agents from Scratch

See also

To customize how the Canvas Agent interprets queries and coordinates actions, see:

Was this page helpful?