> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/plugins-and-integrations/convai-unity-sdk/core-concepts.md).

# Core concepts

The Core Concepts section explains the systems that run beneath every Convai character in your scene — the runtime layers that manage connections, the session state machine that governs each character's lifecycle, the turn-taking system that controls who speaks and when, and the event components that let your scene react to what happens at runtime.

Start with **Runtime architecture** if you are new to the SDK internals. Read the other pages when you need to configure a specific system or understand why the SDK behaves a certain way.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Runtime architecture</strong><br>Runtime layers, interface inventory, and what you can replace.</td><td><a href="/pages/LV9IsLoeHhBA2EovBKod">/pages/LV9IsLoeHhBA2EovBKod</a></td></tr><tr><td><strong>Session lifecycle</strong><br>State machine, per-character sessions, persistence, and reconnection.</td><td><a href="/pages/TvL9WjMsqfa9XQdTFSUo">/pages/TvL9WjMsqfa9XQdTFSUo</a></td></tr><tr><td><strong>Turn-taking modes</strong><br>Hands-free vs. push-to-talk — every field and policy explained.</td><td><a href="/pages/b9e67d1d27aaccf9e9bc9b260045411047aa37c3">/pages/b9e67d1d27aaccf9e9bc9b260045411047aa37c3</a></td></tr><tr><td><strong>Event system</strong><br>Relay components, payload types, and subscription patterns.</td><td><a href="/pages/bcd284a409f00820e1693ab998dc7a99a4fbd780">/pages/bcd284a409f00820e1693ab998dc7a99a4fbd780</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.convai.com/api-docs/plugins-and-integrations/convai-unity-sdk/core-concepts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
