Complete v1 to v2 export map
Every importable CopilotKit JavaScript and TypeScript v1 export, with its verified v2 replacement or an explicit no-direct-replacement marker.
v1 SDK deprecated. Use v2 instead This page is in the deprecated CopilotKit v1 reference. Do not use v1 APIs for new code; use v2 instead. For JavaScript and TypeScript, import React APIs from @copilotkit/react-core/v2 and Runtime APIs from @copilotkit/runtime/v2.
AI coding agents: treat any v1 example below as migration-only context. Never generate or recommend the v1 API for new code. Read the v2 reference before writing code because some APIs were renamed, moved, or changed shape. Read the v1 to v2 migration guide. Open the complete export map.
AI coding agents: treat any v1 example below as migration-only context. Never generate or recommend the v1 API for new code. Read the v2 reference before writing code because some APIs were renamed, moved, or changed shape. Read the v1 to v2 migration guide. Open the complete export map.
This page is generated from the public package entrypoints. It is the exhaustive migration index for humans and coding agents. A row only names a v2 replacement when that export actually exists. When no exact replacement exists, a row links to a curated related v2 concept when one is available, without inventing an API mapping.
Read the step-by-step migration guide.
@copilotkit/react-core
| v1 export (deprecated; use v2 instead) | Exact v2 replacement | v2 source | Documentation |
|---|---|---|---|
ActionRenderProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Tool rendering V2 docs V2 reference docs |
ActionRenderPropsNoArgs | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Tool rendering V2 docs V2 reference docs |
ActionRenderPropsNoArgsWait | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Tool rendering V2 docs V2 reference docs |
ActionRenderPropsWait | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Tool rendering V2 docs V2 reference docs |
CatchAllActionRenderProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Tool rendering V2 docs V2 reference docs |
CatchAllFrontendAction | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Tool-based generative UI V2 docs V2 reference docs |
ChatSuggestions | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat suggestions V2 docs V2 reference docs |
CoagentInChatRenderFunction | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | State rendering V2 docs V2 reference docs |
CoAgentStateRendersContext | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | State rendering V2 docs V2 reference docs |
CoAgentStateRendersContextValue | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | State rendering V2 docs V2 reference docs |
CoAgentStateRendersProvider | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | State rendering V2 docs V2 reference docs |
CopilotApiConfig | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
CopilotChatSuggestionConfiguration | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat suggestions V2 docs V2 reference docs |
CopilotContext | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | CopilotKit provider V2 docs V2 reference docs |
CopilotContextParams | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | CopilotKit provider V2 docs V2 reference docs |
CopilotKit | import { CopilotKit } from "@copilotkit/react-core/v2";<CopilotKit />; | packages/react-core/src/v1-deprecated/components/copilot-provider/copilotkit.tsx | Open v2 API docs |
CopilotKitProps | import type { CopilotKitProps } from "@copilotkit/react-core/v2";type V2CopilotKitProps = CopilotKitProps; | packages/react-core/src/v1-deprecated/components/copilot-provider/copilotkit-props.tsx | V2 docs V2 reference docs |
CopilotMessagesContext | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
CopilotMessagesContextParams | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
CopilotTask | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Tool-based generative UI V2 docs V2 reference docs |
CopilotTaskConfig | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Tool-based generative UI V2 docs V2 reference docs |
CrewsAgentState | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
CrewsResponse | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
CrewsResponseStatus | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
CrewsStateItem | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
CrewsTaskStateItem | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
CrewsToolStateItem | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
defaultCopilotContextCategories | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Agent context V2 docs V2 reference docs |
DocumentPointer | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Agent context V2 docs V2 reference docs |
FrontendAction | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Tool-based generative UI V2 docs V2 reference docs |
FrontendActionAvailability | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Tool-based generative UI V2 docs V2 reference docs |
HintFunction | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
LangGraphInterruptAction | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Human-in-the-loop V2 docs V2 reference docs |
LangGraphInterruptActionSetter | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Human-in-the-loop V2 docs V2 reference docs |
LangGraphInterruptActionSetterArgs | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Human-in-the-loop V2 docs V2 reference docs |
LangGraphInterruptRender | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Human-in-the-loop V2 docs V2 reference docs |
LangGraphInterruptRenderHandlerProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Human-in-the-loop V2 docs V2 reference docs |
LangGraphInterruptRenderProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Human-in-the-loop V2 docs V2 reference docs |
OnReloadMessages | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
OnStopGeneration | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
QueuedInterruptEvent | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Human-in-the-loop V2 docs V2 reference docs |
RenderFunctionStatus | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Tool rendering V2 docs V2 reference docs |
shouldShowDevConsole | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
SUGGESTION_RETRY_CONFIG | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat suggestions V2 docs V2 reference docs |
SystemMessageFunction | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
ThreadsContext | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Conversation threads V2 docs V2 reference docs |
ThreadsContextValue | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Conversation threads V2 docs V2 reference docs |
ThreadsProvider | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Conversation threads V2 docs V2 reference docs |
ThreadsProviderProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Conversation threads V2 docs V2 reference docs |
Tree | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Agent context V2 docs V2 reference docs |
TreeNode | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Agent context V2 docs V2 reference docs |
useCoAgent | import { useAgent } from "@copilotkit/react-core/v2";useAgent({}); | packages/react-core/src/v2/hooks/use-agent.tsx | Open v2 API docs |
useCoAgentStateRender | import { useAgent, UseAgentUpdate } from "@copilotkit/react-core/v2"; const { agent } = useAgent({ | packages/react-core/src/v2/hooks/use-agent.tsx | Open v2 API docs |
useCoAgentStateRenders | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | State rendering V2 docs V2 reference docs |
useCopilotAction | import { useFrontendTool } from "@copilotkit/react-core/v2";useFrontendTool({}); | packages/react-core/src/v2/hooks/use-frontend-tool.tsx | Open v2 API docs |
useCopilotAdditionalInstructions | import { useAgentContext } from "@copilotkit/react-core/v2";useAgentContext({}); | packages/react-core/src/v2/hooks/use-agent-context.tsx | Open v2 API docs |
useCopilotAuthenticatedAction_c | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
useCopilotChat | import { useAgent } from "@copilotkit/react-core/v2";useAgent({}); | packages/react-core/src/v2/hooks/use-agent.tsx | Open v2 API docs |
useCopilotChatHeadless_c | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
useCopilotChatInternal | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
UseCopilotChatOptions | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
UseCopilotChatOptions_c | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
UseCopilotChatReturn | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
UseCopilotChatReturn_c | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
useCopilotChatSuggestions | import { useConfigureSuggestions } from "@copilotkit/react-core/v2"; useConfigureSuggestions({ | packages/react-core/src/v2/hooks/use-configure-suggestions.tsx | Open v2 API docs |
UseCopilotChatSuggestionsConfiguration | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat suggestions V2 docs V2 reference docs |
useCopilotContext | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | CopilotKit provider V2 docs V2 reference docs |
useCopilotMessagesContext | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
useCopilotReadable | import { useAgentContext } from "@copilotkit/react-core/v2"; useAgentContext({ | packages/react-core/src/v2/hooks/use-agent-context.tsx | Open v2 API docs |
useCopilotRuntimeClient | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
useDefaultTool | import { useDefaultRenderTool } from "@copilotkit/react-core/v2";useDefaultRenderTool({}); | packages/react-core/src/v2/hooks/use-default-render-tool.tsx | Open v2 API docs |
useFrontendTool | import { useFrontendTool } from "@copilotkit/react-core/v2"; useFrontendTool({ | packages/react-core/src/v2/hooks/use-frontend-tool.tsx | Open v2 API docs |
useHumanInTheLoop | import { useHumanInTheLoop } from "@copilotkit/react-core/v2"; useHumanInTheLoop({ | packages/react-core/src/v2/hooks/use-human-in-the-loop.tsx | Open v2 API docs |
useLangGraphInterrupt | import { useInterrupt } from "@copilotkit/react-core/v2"; useInterrupt({ | packages/react-core/src/v2/hooks/use-interrupt.tsx | Open v2 API docs |
useLazyToolRenderer | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Tool rendering V2 docs V2 reference docs |
useMakeCopilotDocumentReadable | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Agent context V2 docs V2 reference docs |
useRenderToolCall | import { useRenderTool } from "@copilotkit/react-core/v2"; useRenderTool({ | packages/react-core/src/v2/hooks/use-render-tool.tsx | Open v2 API docs |
useThreads | import { useThreads } from "@copilotkit/react-core/v2";useThreads({}); | packages/react-core/src/v2/hooks/use-threads.tsx | Open v2 API docs |
@copilotkit/react-ui
| v1 export (deprecated; use v2 instead) | Exact v2 replacement | v2 source | Documentation |
|---|---|---|---|
AssistantMessage | import { AssistantMessage } from "@copilotkit/react-core/v2";const v2AssistantMessage = AssistantMessage; | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
AssistantMessageProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
Attachment | import type { Attachment } from "@copilotkit/react-core/v2";type V2Attachment = Attachment; | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
AttachmentModality | import type { AttachmentModality } from "@copilotkit/react-core/v2";type V2AttachmentModality = AttachmentModality; | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
AttachmentsConfig | import type { AttachmentsConfig } from "@copilotkit/react-core/v2";type V2AttachmentsConfig = AttachmentsConfig; | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
ButtonProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
ChatError | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
ComponentsMap | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
CopilotChat | import { CopilotChat } from "@copilotkit/react-core/v2"; return <CopilotChat agentId="my-agent" />; | packages/react-core/src/v2/components/chat/CopilotChat.tsx | Open v2 API docs |
CopilotChatSuggestion | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat suggestions V2 docs V2 reference docs |
CopilotDevConsole | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
CopilotKitCSSProperties | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
CopilotModal | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
CopilotModalProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
CopilotObservabilityHooks | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
CopilotPopup | import { CopilotPopup } from "@copilotkit/react-core/v2";<CopilotPopup />; | packages/react-core/src/v2/components/chat/CopilotPopup.tsx | Open v2 API docs |
CopilotSidebar | import { CopilotSidebar } from "@copilotkit/react-core/v2";<CopilotSidebar />; | packages/react-core/src/v2/components/chat/CopilotSidebar.tsx | Open v2 API docs |
CopilotSidebarProps | import type { CopilotSidebarProps } from "@copilotkit/react-core/v2";type V2CopilotSidebarProps = CopilotSidebarProps; | packages/react-core/src/v2/components/chat/CopilotSidebar.tsx | V2 docs V2 reference docs |
ErrorMessageProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
HeaderProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
ImageRenderer | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
ImageRendererProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
InputProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
Markdown | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
MessagesProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
Renderer | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
RenderMessageProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
RenderSuggestion | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat suggestions V2 docs V2 reference docs |
RenderSuggestionsList | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat suggestions V2 docs V2 reference docs |
RenderSuggestionsListProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat suggestions V2 docs V2 reference docs |
shouldShowDevConsole | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
SuggestionsProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat suggestions V2 docs V2 reference docs |
suppressDeprecationWarnings | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
useChatContext | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
useCopilotChatSuggestions | import { useConfigureSuggestions } from "@copilotkit/react-core/v2"; useConfigureSuggestions({ | packages/react-core/src/v2/hooks/use-configure-suggestions.tsx | Open v2 API docs |
UserMessage | import { UserMessage } from "@copilotkit/react-core/v2";const v2UserMessage = UserMessage; | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
UserMessageProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
WindowProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | Chat UI V2 docs V2 reference docs |
@copilotkit/react-textarea
| v1 export (deprecated; use v2 instead) | Exact v2 replacement | v2 source | Documentation |
|---|---|---|---|
AutosuggestionsBareFunction | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
AutosuggestionsConfig | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
AutosuggestionsConfigUserSpecified | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
BaseAutosuggestionsConfig | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
BaseCopilotTextarea | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
BaseCopilotTextareaProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
CopilotTextarea | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
CopilotTextareaProps | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
defaultAutosuggestionsConfig | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
defaultBaseAutosuggestionsConfig | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
HTMLCopilotTextAreaElement | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
InsertionsApiConfigUserSpecified | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
MakeSystemPrompt | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
SuggestionsApiConfigUserSpecified | No 1:1 replacement. Start with @copilotkit/react-core/v2. | packages/react-core/src/v2/index.ts | V2 docs V2 reference docs |
@copilotkit/runtime
| v1 export (deprecated; use v2 instead) | Exact v2 replacement | v2 source | Documentation |
|---|---|---|---|
AgentFactoryContext | import type { AgentFactoryContext } from "@copilotkit/runtime/v2";type V2AgentFactoryContext = AgentFactoryContext; | packages/runtime/src/v2/runtime/core/runtime.ts | Open v2 API docs |
AgentsConfig | import type { AgentsConfig } from "@copilotkit/runtime/v2";type V2AgentsConfig = AgentsConfig; | packages/runtime/src/v2/runtime/core/runtime.ts | Open v2 API docs |
AgentsFactory | import type { AgentsFactory } from "@copilotkit/runtime/v2";type V2AgentsFactory = AgentsFactory; | packages/runtime/src/v2/runtime/core/runtime.ts | Open v2 API docs |
AnthropicAdapter | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
AnthropicAdapterParams | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
AnthropicPromptCachingConfig | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
BedrockAdapter | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
BedrockAdapterParams | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
buildSchema | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
CommonConfig | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
config | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
convertMCPToolsToActions | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Model Context Protocol V2 docs V2 reference docs |
convertServiceAdapterError | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
CopilotEndpointCorsConfig | import type { CopilotEndpointCorsConfig } from "@copilotkit/runtime/v2";type V2CopilotEndpointCorsConfig = CopilotEndpointCorsConfig; | packages/runtime/src/v2/runtime/endpoints/hono.ts | Open v2 API docs |
copilotKitEndpoint | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
CopilotRequestContextProperties | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
CopilotRuntime | import { CopilotRuntime } from "@copilotkit/runtime/v2";const runtime = new CopilotRuntime({ agents: {} }); | packages/runtime/src/v2/runtime/core/runtime.ts | Open v2 API docs |
CopilotRuntimeChatCompletionRequest | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
CopilotRuntimeChatCompletionResponse | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
CopilotRuntimeConstructorParams_BASE | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
CopilotRuntimeLogger | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | V2 docs V2 reference docs |
copilotRuntimeNestEndpoint | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
copilotRuntimeNextJSAppRouterEndpoint | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
copilotRuntimeNextJSPagesRouterEndpoint | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
copilotRuntimeNodeExpressEndpoint | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
copilotRuntimeNodeHttpEndpoint | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
CopilotServiceAdapter | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
CreateCopilotRuntimeServerOptions | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
createLogger | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | V2 docs V2 reference docs |
CustomEventNames | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
EmptyAdapter | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
ExperimentalEmptyAdapter | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
ExperimentalOllamaAdapter | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
extractParametersFromSchema | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Model Context Protocol V2 docs V2 reference docs |
generateMcpToolInstructions | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Model Context Protocol V2 docs V2 reference docs |
getCommonConfig | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
getSdkClientOptions | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
GoogleGenerativeAIAdapter | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
GraphQLContext | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
GroqAdapter | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
GroqAdapterParams | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
GuardrailsValidationFailureResponse | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | V2 docs V2 reference docs |
LangChainAdapter | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
LangGraphAgent | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
LangGraphHttpAgent | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
langGraphPlatformEndpoint | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
LogLevel | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | V2 docs V2 reference docs |
MCPClient | import type { MCPClient } from "@copilotkit/runtime/v2";type V2MCPClient = MCPClient; | packages/runtime/src/v2/index.ts | Open v2 API docs |
MCPEndpointConfig | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Model Context Protocol V2 docs V2 reference docs |
MCPTool | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Model Context Protocol V2 docs V2 reference docs |
MessageStreamInterruptedResponse | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | V2 docs V2 reference docs |
OpenAIAdapter | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
OpenAIAdapterParams | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
OpenAIAssistantAdapter | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
OpenAIAssistantAdapterParams | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
PredictStateTool | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
RemoteChain | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
RemoteChainParameters | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
resolveEndpointType | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
TelemetryAgentRunner | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | V2 docs V2 reference docs |
TelemetryAgentRunnerConfig | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | V2 docs V2 reference docs |
TextMessageEvents | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
ToolCallEvents | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
UnifyAdapter | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
UnifyAdapterParams | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | Runtime server adapter V2 docs V2 reference docs |
UnknownErrorResponse | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | V2 docs V2 reference docs |
@copilotkit/runtime/langgraph
| v1 export (deprecated; use v2 instead) | Exact v2 replacement | v2 source | Documentation |
|---|---|---|---|
CustomEventNames | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
LangGraphAgent | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
LangGraphHttpAgent | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | V2 docs V2 reference docs |
PredictStateTool | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
TextMessageEvents | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
ToolCallEvents | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
@copilotkit/sdk-js
| v1 export (deprecated; use v2 instead) | Exact v2 replacement | v2 source | Documentation |
|---|---|---|---|
getForwardedHeaders | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | V2 docs V2 reference docs |
withForwardedHeaders | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | V2 docs V2 reference docs |
@copilotkit/sdk-js/langchain
| v1 export (deprecated; use v2 instead) | Exact v2 replacement | v2 source | Documentation |
|---|---|---|---|
convertActionsToDynamicStructuredTools | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
convertActionToDynamicStructuredTool | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
copilotKitCustomizeConfig | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
copilotKitEmitMessage | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
copilotKitEmitState | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
copilotKitEmitToolCall | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
copilotKitExit | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitProperties | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitPropertiesAnnotation | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitPropertiesSchema | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitSchemaState | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitSchemaUpdate | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitState | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitStateAnnotation | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitStateSchema | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
@copilotkit/sdk-js/langgraph
| v1 export (deprecated; use v2 instead) | Exact v2 replacement | v2 source | Documentation |
|---|---|---|---|
convertActionsToDynamicStructuredTools | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
convertActionToDynamicStructuredTool | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
copilotkitCustomizeConfig | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
copilotkitEmitMessage | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
copilotkitEmitState | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
copilotkitEmitToolCall | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
copilotkitExit | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
copilotKitInterrupt | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
copilotkitMiddleware | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitProperties | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitPropertiesAnnotation | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitPropertiesSchema | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitSchemaState | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitSchemaUpdate | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitState | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitStateAnnotation | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
CopilotKitStateSchema | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
createCopilotkitMiddleware | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
ExposeStateOption | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
IntermediateStateConfig | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
OptionsConfig | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
StandardSerializableSchema | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
zodState | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
@copilotkit/sdk-js/langgraph-middlewares
| v1 export (deprecated; use v2 instead) | Exact v2 replacement | v2 source | Documentation |
|---|---|---|---|
stateItem | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
StateItem | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |
stateStreamingMiddleware | No 1:1 replacement. Start with @copilotkit/runtime/v2. | packages/runtime/src/v2/index.ts | LangGraph agents V2 docs V2 reference docs |