---
agentTools:
  projectIndex: https://docs.xkit.co/llms.txt
---

# ConnectionShell

A synthetic shell of a Connection when a Connection does not exist

To make handling non-existent connections easier, xkit.js introduces the `ConnectionShell` object, which is an artificial wrapper to mimic a [`Connection`](https://docs.xkit.co/reference/connection) when one does not exist.

It includes only the `connector` attribute, so the `enabled` attribute of a `Connection`, which is a `boolean`, will be `undefined`.

[block:parameters]
{
  "data": {
    "h-0": "Attribute",
    "h-1": "Description",
    "0-0": "**connector**\n*[Connector](https://docs.xkit.co/reference/connector)*",
    "0-1": "The connector for the connection, were it to exist."
  },
  "cols": 2,
  "rows": 1
}
[/block]