Add real-time streaming AI conversations to any NPC. OpenAI, Anthropic, Gemini, or fully offline via Ollama. Four providers, one clean API.This asset uses only Unity UI (Canvas/TextMeshPro) and C# code. It is compatible with all render pipelines. No custom shaders or pipeline-specific materials are used.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 provideryou use (Ollama requires no key and runs fully offline). You are solely responsible forany usage costs billed by your chosen provider under that provider's own pricing andterms. Keys are stored locally via Unity's EditorPrefs/PlayerPrefs and are nevertransmitted to the publisher, to Unity, or to any server other than the provider youconfigure. Conversation content sent to a cloud provider is governed by that provider'sown data-handling and privacy policies. This asset also requires TextMeshPro (Unity'sown 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.ARCHITECTUREBuilt around a provider-agnostic interface (IAIProvider) resolved through a centralregistry, so custom providers can be added without touching existing code. Conversationstate, token-budget management, and history persistence are handled independently of anyspecific provider, UI framework, or render pipeline.COMPATIBILITY: Works with the Built-in Render Pipeline, URP, and HDRP — this asset usesonly Unity UI and C#, no custom shaders or materials.Four AI providers: OpenAI, Anthropic, Gemini, and Ollama (local/offline)Real‑time streaming typewriter display with cancellation supportConversation history save/load via JSON export/importRuntime provider switchingEditor Dashboard with connectivity testing and cost estimatorSetup Wizard for API key configurationTwo sample scenes (Showcase and Quick‑Start)IL2CPP‑safe, no per‑frame busy‑pollingRequires TextMesh Pro (included with Unity via Package Manager)Portions of the C# source code were refactored with the assistance of a code-generation AI tool.

