Skip to main content
This guide shows the shortest path to a working ILLA integration with IllaSDK. By the end, you will be able to:
  • initialize the SDK
  • send a user message
  • inspect pendingTools
  • continue the same chat

Before you start

  • Node.js 20+
  • An ILLA API key
  • A wallet address for userContext.address

1. Install

2. Create the client

IllaSDK is stateful. It creates chats, remembers active chat IDs, and exposes helpers for tool execution and polling.

3. Send the first message

If the assistant returns pendingTools, your app is expected to execute those actions and send the outcomes back with sendToolResults.

4. Continue the same chat

What to do next

Use lower-level components if needed

If you need custom transport or custom context persistence, you can use the lower-level components directly:
See the Chat API reference for the lower-level surface.