--- title: "CopilotRuntime" description: "Copilot Runtime is the back-end component of CopilotKit, enabling interaction with LLMs." --- { /* * ATTENTION! DO NOT MODIFY THIS FILE! * This page is auto-generated. If you want to make any changes to this page, changes must be made at: * packages/runtime/src/lib/runtime/copilot-runtime.ts */ } This is the reference for the `CopilotRuntime` class. For more information and example code snippets, please see [Concept: Copilot Runtime](/concepts/copilot-runtime). ## Usage ```tsx import { CopilotRuntime } from "@copilotkit/runtime"; const copilotKit = new CopilotRuntime(); ``` ## constructor(params?: CopilotRuntimeConstructorParams<T> & PartialBy<CopilotRuntimeOptions, "agents">)