98ba3b1
CopilotKitDocs
  • Docs
  • Reference
  • Get Intelligence free
CopilotKitDocs

Getting Started

IntroductionQuickstartCoding Agents

Basics

Prebuilt Components
Programmatic ControlInspector

Generative UI

Tool RenderingState RenderingMCP AppsA2UI

App Control

Frontend Tools
ThreadsReadables

Microsoft Agent Framework

Authentication

Backend

Copilot RuntimeAG-UI

Premium Features

CopilotKit PremiumObservabilitySelf-Hosting Intelligence

Troubleshooting

Other

Anonymous Telemetry
MS Agent Framework (.NET)IntegrationsLangGraphReadables

Readables

Share app specific context with your agent.


One of the most common use cases for CopilotKit is to register app state and context using useAgentContext. This way, you can notify CopilotKit of what is going on in your app in real time. Some examples might be: the current user, the current page, etc.

This context can then be shared with your LangGraph agent.

Implementation#

Check out the Frontend Data documentation to understand what this is and how to use it.