Prerequisites
Before you get started, please make sure you have the following installed:- Windows or macOS (For iOS build, mac is required).
- Unity: Version 2022.3 LTS or later (recommended: 6000.0.41 or newer)
We now supports windows, mac, Android, and iOS!
Installation
Download the Inworld Agent Runtime
Download the Inworld Agent Runtime .unitypackage from here.
Import the package into your Unity project
If you don’t already have an existing Unity project, create a new project.
You can simply drag the downloaded .unitypackage into your project,
or, in your project, go to Assets > Import Package > Custom Package…, and select the .unitypackage you downloaded in Step 1.In the dialog box that pops up, click Import to finish importing the package.
After the package is imported, you may see a prompt to restart the Unity Editor.If you’re using Unity 6000 or newer, click Yes — no manual restart needed.Otherwise, click No and wait for the remaining assets to finish importing.
You can simply drag the downloaded .unitypackage into your project,
or, in your project, go to Assets > Import Package > Custom Package…, and select the .unitypackage you downloaded in Step 1.In the dialog box that pops up, click Import to finish importing the package.


Add the dependencies to your Unity project
After you click OK, the package will install files into your project.Once those are imported, we will automatically download essential assets (Plugins and essential models) for you.
Set up the Inworld API key
After essential assets are downloaded, a dialog will appear prompting you to enter your API key.
Once you’ve entered it, the system will check the current essential assets. If they are downloaded, they will appear as installed, as shown below.


Set up the Inworld API key
To use the Inworld Agent Runtime SDK with the cloud APIs, go to Assets/InworldRuntime/Resources.In the Inspector, add your Base64-encoded Runtime API key.

Play a demo
To get a first impression, we provide several demos. Any of the following will work:Here’s the video about how it works.
- Assets/InworldRuntime/Scenes/Primitives/CharacterInteraction.unity
- Assets/InworldRuntime/Scenes/Nodes/CharacterInteractionNode.unity
- Assets/InworldRuntime/Scenes/Nodes/CharacterInteractionNodeWithJson.unity
For Primitives/CharacterInteraction: You will also need to set the character’s name, gender, role, voice, description, and motivation.When done, click Proceed. This creates a character for the duration of the session (it will not be saved).For the other two demos, the character data and prompt are stored under 
Assets/InworldRuntime/Data/GraphNodes/CharacterConversation/SampleCharacter.You can modify those ScriptableObjects to see the effect.