Crossplay Integration Kit
Getting Started

Quick Start

Get up and running with Agent Integration Kit in 5 minutes

1. Open the Chat Window

Go to Tools > Agent Chat or use the keyboard shortcut to open the chat window.

2. Connect to an Agent

  1. Get an API key from openrouter.ai
  2. In Project Settings, paste your key in OpenRouter API Key
  3. Select OpenRouter from the agent dropdown in the chat window
  4. Click Connect

Option B: Claude Code

  1. Install Claude Code CLI: npm install -g @anthropic-ai/claude-code
  2. Set the path in Project Settings (or leave blank if in PATH)
  3. Select Claude Code from the agent dropdown
  4. Click Connect

3. Start Prompting

Once connected, type a prompt and press Enter:

Create a Blueprint Actor called BP_Coin with:
- A StaticMeshComponent called Mesh
- A SphereComponent called CollisionSphere
- A float variable called PointValue set to 10

4. Review Tool Calls

The AI will execute tools to create your Blueprint. You'll see:

  • Tool calls with their arguments
  • Permission requests for destructive operations
  • Results showing what was created

5. Attach Context

For more accurate results, attach context to your prompts:

  1. Right-click a Blueprint node in the graph editor
  2. Select Attach to Agent Prompt
  3. The node context will be included in your next message

Example Workflows

Create a Health System

Create a Blueprint Component called BPC_HealthComponent with:
- Float variable MaxHealth = 100
- Float variable CurrentHealth = 100
- Event dispatcher OnHealthChanged
- Event dispatcher OnDeath
- Function TakeDamage(float Amount) that reduces CurrentHealth and broadcasts events

Modify Existing Blueprint

Open BP_PlayerCharacter and:
- Add a SpringArm component attached to root
- Add a Camera component attached to the spring arm
- Set SpringArmLength to 300

Create AI Behavior

Create a Behavior Tree called BT_PatrolAndChase with:
- Selector at root
- Sequence for chasing (check if player visible, move to player)
- Sequence for patrolling (move to random point, wait 2 seconds)

On this page