/CopilotKit

react UI + infrastructure for AI Copilots, in-app AI agents, AI chatbots, and AI-powered Textareas 🪁

Primary LanguageTypeScriptMIT LicenseMIT

Here for Hacktoberfest? 🎉 Get started here 🚀 🎊.

CopilotKit Logo
CopilotKit is the open-source framework for integrating powerful AI Copilots into any application. Easily implement custom AI Chatbots, AI Agents, AI Textareas, and more.

NPM MIT Discord

CopilotKit Discord CopilotKit GitHub CopilotKit GitHub


hacktoberfest_banner

CopilotKit Screenshot

👉 Check out the docs at https://docs.copilotkit.ai

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

🕹️ PowerPoint Clone + Copilot
https://github.com/CopilotKit/demo-presentation

Presentation
🕹️ Simple Todo App + Copilot
https://github.com/CopilotKit/demo-todo

Todo App
🕹️ Spreadsheets + Copilot
https://github.com/CopilotKit/demo-spreadsheet

Presentation-Demo
🕹️ PowerPoint Clone + Copilot + Voice Control
https://github.com/CopilotKit/demo-presentation-voice

Presentation-Voice

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 hello@copilotkit.ai.

License

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