Documentation Index Fetch the complete documentation index at: https://docs.wazoo.dev/llms.txt
Use this file to discover all available pages before exploring further.
The fastest way to understand Worlds is to interact with it natively. This
quickstart skips the theory and drops you straight into the API to execute your
first neuro-symbolic query.
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 .env file as WORLDS_API_KEY.
Hello, World!
Follow this sequence to train on the core interaction loop: connect to the cloud
engine, inject a verifiable fact, and retrieve it deterministically.
Install the API
Install the canonical TypeScript client. deno add jsr:@wazoo/worlds-sdk
See it in action
Run the following self-contained script to execute a complete neuro-symbolic loop:
Connect to the Cloud API.
Create an isolated World.
Inject a semantic fact (triple ).
Query that fact deterministically using SPARQL .
import { Worlds } from "@wazoo/worlds-sdk" ;
// 1. Connect (Drop directly into the cloud engine)
const worlds = new Worlds ({
apiKey: process . env . WORLDS_API_KEY ! ,
baseUrl: "https://api.wazoo.dev" ,
});
// 2. Create an isolated world
const world = await worlds . create ({
slug: "quickstart-cloud" ,
label: "My First World" ,
});
// 3. Inject a mission-critical fact (Subject -> Predicate -> Object)
await worlds . import (
"quickstart-cloud" ,
`@prefix user: <https://etok.me/#> .
@prefix wazoo: <https://wazoo.dev/#> .
user:person wazoo:worksFor wazoo:organization .` ,
{ contentType: "text/turtle" },
);
// 4. Retrieve the fact with absolute precision
const result = await worlds . sparql (
"quickstart-cloud" ,
`PREFIX wazoo: <https://wazoo.dev/#>
SELECT ?wazoo WHERE { <https://etok.me/#person> wazoo:worksFor ?wazoo }` ,
);
console . log ( "Verifiable context retrieved:" , JSON . stringify ( result , null , 2 ));
Analyze the output
The system executes the query and returns the fact exactly as you injected it, without guessing. Verifiable context retrieved:
{
"head" : {
"vars" : [ "wazoo" ]
},
"results" : {
"bindings" : [
{
"wazoo" : { "type" : "uri" , "value" : "https://wazoo.dev/#organization" }
}
]
}
}
You have completed the fundamental loop of interacting with high-stakes verifiable context.
Next steps
Now that you have securely connected to your cloud instance, integrate the API
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.