BASE

CopilotKit

CopilotKit

AI / ML development tool · Free

An SDK for user-facing AI interfaces and agent integration: it connects frontend chat and actions with application context.

Also known as: copilotkit/CopilotKit; copilotkit; react-ai

Resource illustration: CopilotKit

Open resource ↗

What you can use for free

A local code pipeline under MIT; rights for the selected models are checked separately.

Paid features and costs

Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.

Access and limitations

A local code pipeline under MIT; rights for the selected models are checked separately. Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.

Use cases

  • Connect AI chat to interface actions
  • Connect chat/agent UI to action calls and result display

Example workflow

A possible workflow; this is not a report of hands-on testing.

Connect AI chat to interface actions.

Before you start

  • Test documents or tasks, and a quality criterion.
  • Models, a runtime, and a computing budget.

Steps

  1. Define frontend context and permitted application actions.
  2. Connect chat/agent UI to action calls and result display.
  3. Connect the workflow to the application and make errors observable.

Check your result

  • Check the result against reference examples and invalid inputs.
  • Inference costs, model rights, and data handling have been established.

Choosing CopilotKit

Connect AI chat to interface actions

Choose this when

  • Connect AI chat to interface actions
  • Connect chat/agent UI to action calls and result display

Things to consider

  • Costs and limits of free use: Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.
  • Terms of use: MIT for the code; dependencies have separate licenses.
  • Discord/WhatsApp/Telegram are listed as Channels SDK adapters, while managed connection is Coming soon; Google Chat/iMessage/SMS remain on the roadmap.

Frequently asked questions

What can you use for free in CopilotKit?

A local code pipeline under MIT; rights for the selected models are checked separately.

What additional costs might arise with CopilotKit?

Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.

What terms of use matter for CopilotKit?

MIT for the code; dependencies have separate licenses.

How do you get started with CopilotKit?

Define frontend context and permitted application actions. Connect chat/agent UI to action calls and result display. Connect the workflow to the application and make errors observable.

How do Shared State and Human-in-the-Loop differ from ordinary chat UI?

Shared State gives the agent and UI components shared mutable state; backend tools can return displayable components. Human-in-the-Loop can pause agent execution for user input, approval, or editing. useAgent on AG-UI provides access to state; Rich Threads/learning belong separately to Intelligence.

License

MIT for the code; dependencies have separate licenses.

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Technologies and topics

  • CopilotKit
  • ml
  • Development

Sources

Other resources