---
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
  */
}
<Callout type="info">
  This is the reference for the `CopilotRuntime` class. For more information and example code snippets, please see [Concept: Copilot Runtime](/concepts/copilot-runtime).
</Callout>
 
## Usage
 
```tsx
import { CopilotRuntime } from "@copilotkit/runtime";
 
const copilotKit = new CopilotRuntime();
```

## constructor(params?: CopilotRuntimeConstructorParams&lt;T&gt; &
      PartialBy&lt;CopilotRuntimeOptions, "agents"&gt;)



<PropertyReference name="params" type="CopilotRuntimeConstructorParams<T> &
      PartialBy<CopilotRuntimeOptions, 'agents'>" >

</PropertyReference>

