Skip to Content
SDK Integration
Integration Process

How to Integrate the Nunu SDK

Build a small set of game-specific functions that help the agent observe the game and perform reliable actions. The exact setup depends on the engine, so start with the Unity or Unreal Engine guide.

Choose useful Flayer functions

Expose focused actions and queries that match your game. Exploration games often benefit from navigation, camera control, and nearby-object queries. Puzzle games may need a grid action such as swap_tiles(x1, y1, x2, y2). Test controls can grant items, load a level, or change progression.

Give each function a clear public name and description, and use explicit parameter types. See Flayer Functions for design guidance and the engine integration guide for registration details.

Return a useful game state

Provide a structured state snapshot that helps the agent understand when it can act, which scene or menu is active, and how to address important objects. Include stable identifiers and coordinates for targets, plus values that let the agent verify an action.

See Game State for the fields and design recommendations. Unreal examples are in Custom Game State.

Add test controls

Game-specific shortcuts can help the agent reach the part of the game under test. Useful controls include granting an item, changing currency, loading a level, teleporting to a location, or invoking a game’s existing cheat system.

Use each function’s visibility metadata to control whether it appears in agent discovery. Describe hidden functions in the relevant test instructions, hint, or knowledge file.

Build with the SDK enabled

Follow the engine-specific build guide for the target you are producing:

See the Build Pipeline section for CI setup.

Refine the integration

Run tests against the game and add functions where the agent needs more reliable navigation, state, or verification. Keep each function narrow so the agent can combine actions to complete larger goals.

Last updated on