CopilotKit

A framework for building custom AI Copilots 🤖 in-app AI chatbots, in-app AI Agents, & AI-powered Textareas.

MIT License

Downloads
75.2K
Stars
6K
Committers
25

Here for Hacktoberfest? Get started here 🚀 🎊.

Table of Contents

Getting Started

Quickstart & Tutorials

There are several easy ways to get started with CopilotKit:

  • Quickstart: Chatbot: In just two minutes, add an AI Chatbot to your app with the ability to read application state and take actions.
  • Tutorial: Todo List Copilot: For a deeper dive into CopilotKit, take a simple todo list app and supercharge it with an AI chat popup.
  • Tutorial: Textarea Autocomplete: For a deeper dive into CopilotKit, we'll take a simple email client app and add an AI-powered textarea with autocompletions and AI insertions/edits.

Examples & Starter Templates

Building Blocks

Want to learn more? Check out the CopilotKit Documentation.

Components

Hooks

  • useCopilotReadable: Provide in-app state and any other information to your Copilot.
  • useCopilotAction: Enable your Copilot to perform actions and render custom-generated UI in the chat.
  • useCopilotChat: Directly interact with the Copilot chat instance to add messages and manipulate the chat history.
  • useCopilotChatSuggestions: Integrate AI-powered chat follow-up suggestions that are aware of your app's state and chat history.

Contributing

Thanks for your interest in contributing to CopilotKit!

We value all contributions, whether it's through code, documentation, creating demo apps, or just spreading the word.

Here are a few useful resources to help you get started:

NOTE: All contributions must be submitted via a pull request and be reviewed by our team. This is to ensure that all contributions are of high quality and align with the project's goals.

Get in touch

You are welcome to join our Discord and chat with our team and other community members.

Additionally, you can reach out to us at [email protected].

License

This repository's source code is available under the MIT License.

Package Rankings
Top 7.65% on Npmjs.org
Top 6.75% on Proxy.golang.org
Badges
Extracted from project README
hacktoberfest_banner