AI Dialogue Toolkit


Add real-time streaming AI conversations to any NPC. OpenAI, Anthropic, Gemini, or fully offline via Ollama. Four providers, one clean API.


by SUAD Studios


Price History +

REQUIRES YOUR OWN API KEY. This toolkit does not include or resell access to OpenAI,

Anthropic, or Google Gemini — you must provide your own API key for any cloud provider

you use (Ollama requires no key and runs fully offline). You are solely responsible for

any usage costs billed by your chosen provider under that provider's own pricing and

terms. Keys are stored locally via Unity's EditorPrefs/PlayerPrefs and are never

transmitted to the publisher, to Unity, or to any server other than the provider you

configure. Conversation content sent to a cloud provider is governed by that provider's

own data-handling and privacy policies. This asset also requires TextMeshPro (Unity's

own package, auto-installed via Package Manager if not already present).


This product is not affiliated with, endorsed by, or sponsored by OpenAI, Anthropic,

Google, or Ollama. All product names are used for interoperability description only.


FEATURES

- Four AI providers in one workflow: OpenAI, Anthropic, Google Gemini, and fully offline

  local inference via Ollama.

- Real-time streaming responses with a typewriter display, including mid-stream

  cancellation with clean state recovery.

- Conversation history save/load via JSON export/import.

- Runtime provider switching.

- Editor Dashboard: per-provider connectivity testing and a cost estimator.

- Setup Wizard for API key configuration.

- Cancellation-safe async architecture, IL2CPP-safe (link.xml included), no per-frame

  busy-polling.

- Two sample scenes: a full-feature Showcase and a minimal Ollama-only Quick-Start

  requiring zero code.

- Sample scenes use simple placeholder geometry — the toolkit works with your own character models and environments.


ARCHITECTURE

Built around a provider-agnostic interface (IAIProvider) resolved through a central

registry, so custom providers can be added without touching existing code. Conversation

state, token-budget management, and history persistence are handled independently of any

specific provider, UI framework, or render pipeline.


COMPATIBILITY: Works with the Built-in Render Pipeline, URP, and HDRP — this asset uses

only Unity UI and C#, no custom shaders or materials.