Prerequisites
Before writing code, you need a Worlds API key.- Sign up at the Worlds Console.
- Generate an API key.
- Save it securely to your
.envfile asWORLDS_API_KEY.
Hello, World!
Follow this sequence to train on the core interaction loop: connect to the cloud engine, inject a fact, and retrieve it deterministically.Next steps
Now that you have securely connected to your cloud instance, integrate the SDK directly into your agentic loops.AI agent integration
Grant an AI agent direct access to construct its own Worlds.
Self-hosting
Host the Worlds API infrastructure on your own hardware.