Skip to content

React UI + elegant infrastructure for AI Copilots, in-app AI agents, AI chatbots, and AI-powered Textareas πŸͺ

License

Notifications You must be signed in to change notification settings

CopilotKit/CopilotKit

Repository files navigation

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.




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
See example with voice control
πŸ•ΉοΈ Simple Todo App + Copilot
https://github.com/CopilotKit/demo-todo

Todo App
πŸ•ΉοΈ Spreadsheets + Copilot
https://github.com/CopilotKit/demo-spreadsheet

Presentation-Demo
πŸ•ΉοΈ Banking App + Copilot
https://github.com/CopilotKit/demo-banking

Banking-Demo
πŸ•ΉοΈ CoAgents (LangGraph) Perplexity Clone
https://github.com/CopilotKit/CopilotKit/examples/coagents-ai-researcher

Banking-Demo
πŸ•ΉοΈ CoAgents (LangGraph) Research Canvas Demo
https://github.com/CopilotKit/CopilotKit/examples/coagents-research-canvas

Banking-Demo

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 ensures 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.