> For the complete documentation index, see [llms.txt](https://black-horizon-studios.gitbook.io/emerald-ai-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://black-horizon-studios.gitbook.io/emerald-ai-wiki/getting-started/included-demo-scenes/companion-demo.md).

# Companion Demo

## Companion Demo

The Companion Demo shows a blue AI with its companion, who is grey, fighting the AI who wields a sword. A companion is set through the [Behavior Component](/emerald-ai-wiki/emerald-components-required/behaviors-component.md). For more information on setting up a companion, you can see the [Creating a Companion AI](/emerald-ai-wiki/emerald-components-required/behaviors-component/creating-a-companion-ai.md) section.

<figure><img src="https://4021441153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv03IiZPaMe8fX49a9MnO%2Fuploads%2FbCiJ91XbCqT5yZmXV5Ts%2FCompanionDemo.gif?alt=media&amp;token=54b53b02-f15a-46ed-a623-ff5aeae2e344" alt=""><figcaption></figcaption></figure>
