Canarys | IT Services

Blogs

From Chat to Canvas

Date:
Author:
Share

Have you ever felt that a chat response was not quite enough? Sometimes you need to see the result, move things around, check the details and make changes as you go. That is where Canvas in the GitHub Copilot app can be useful.

The GitHub Copilot app is a desktop application built for agent-driven development. It is designed to make coding more convenient, without requiring you to keep switching between the terminal, IDE and browser tabs.

Canvas is a shared, interactive workspace where you and the agent can work together on an artifact. This could be a triage board, dashboard, browser session or spreadsheet. Instead of discussing everything through chat, you can work with the result on a shared surface.

Think of it this way: chat is useful for giving instructions and receiving responses, but the actual work may involve a terminal, browser or document. Canvas gives you a place to visualize the work, guide the agent and verify the result directly.

First, install the GitHub Copilot app. Before trying Canvas, make sure you have these prerequisites in place:

  • A GitHub account.
  • An active GitHub Copilot license.
  • Node.js version 22 or later.

If you are using a corporate account, there is one additional point to check: your organization administrator must have enabled the Copilot app policy and allowed the execution of extensions, skills, Canvas tools and custom plugins.

When you start working in the GitHub Copilot app, you can create a new project and add the GitHub repository you want to work with. This gives you a dedicated project-agent session, where you can choose the agent mode, model and effort level. The project context can extend across the repository codebase, with persistent context, broader memory boundaries, multi-file orchestration and a larger context window.

There is another way to work: create a session by adding a repository from GitHub or from your local directory. Inside that repository, you can create a worktree and start a session. A session agent’s context stays with the active chat thread or task. It is more focused on the conversation history and the code snippets relevant to the task, such as a single-file edit or Canvas generation.

For the Canvas task we are about to try, a session agent is a good fit. Creating a Canvas often involves quick, repeated updates—for example, responding to clicks and refining what appears on the screen. A focused session is better suited to these rapid iterations than repeatedly bringing the entire repository into the context.

One thing worth understanding is that the GitHub Copilot app works as a decoupled coding agent. It does not depend on an active text editor to identify the files you are working on. Instead, it uses a background lookup mechanism, which is an internal indexing process.

The app also creates worktrees. You can think of a worktree as a separate, temporary working area where changes can be made safely in the background. The lookup mechanism maps these worktrees to your target repository path, allowing changes to be tracked, staged and synchronized into clean commits.

Now that we have covered the basics, let’s try Canvas with a sample repository called First-App.

My First-App repository contains a task manager application with basic CRUD (create, read, update and delete) operations. It has a web frontend and a backend API built with FastAPI. The task details are stored in an SQLite database. The application also has a command-line interface (CLI).

The idea is to add a Kanban board to this existing task manager so that I can view and manage tasks by status.

To get started, I navigated to the session tab and added my First-App repository. Once the repository is added, I create a worktree from the main branch by clicking the “Create from” option next to the First-App tab.

Inside the session-agent context window, I add the task_manager.py file as context. Next, I enter the /create-canvas command, followed by my prompt explaining what I want to build.

The important part is to describe the outcome you want clearly.

After submitting the prompt, the app may ask for access to the tools required to complete the task. I provide the necessary permissions so that the agent can create the Kanban board and incorporate it into the application’s UI.

Once the Canvas is created, the task manager displays a Kanban board. Based on the prompt, the board includes options to edit and update tasks, including changing the status of an individual task.

Now comes the useful part: managing the tasks directly on the board. I can move a card from Pending to In Progress or to Completed. After moving a card, the task appears under its new status.

In the example below, I have moved one of the cards from Pending to In Progress. You can see the updated card in the corresponding section of the board.

There is one more detail I would like to point out. Before creating the Kanban board, my application already had a list view of the tasks. The prompt I provided did not modify or remove that existing option.

That is how I used the Canvas feature in the GitHub Copilot app to add a Kanban board to an existing task manager. I started with a repository, created a focused session and worktree, added the relevant Python file as context, and used the /create-canvas command with a prompt.

The result was an interactive board where tasks could be moved between Pending, In Progress and Completed. Just as importantly, the application’s original list view remained unchanged.

For me, the real value of Canvas is that it takes us beyond a simple chat-based interaction. We can see the work taking shape, interact with it, guide the agent and refine the result on a shared surface. So, whenever a task needs more than a text response, Canvas is worth exploring.

Leave a Reply

Your email address will not be published. Required fields are marked *

Reach Us

With Canarys,
Let’s Plan. Grow. Strive. Succeed.