Menu

Intro

How it works

Copilot.js is a library with two main roles:

  1. Chat UI. It provides a customizable UI for your users to type commands.

  2. Action generator. It provides a framework to generate and dispatch actions that accomplish the user's prompt. It works with any AI provider of your choice.

Let's illustrate how the Copilot architecture works, using an example drawing app.

How Copilot works

Previous
Quickstart