Autonomous agents write new facts into the graph to evolve the world. Worlds supports multiple strategies for ingesting and synchronizing knowledge within a stateful context.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.
State mutations
A world mutates its state using RDF patches, which are granular additions and deletions of facts. Because Worlds functions as a chronological, append-only ledger, these patches permanently preserve historical truth.SPARQL updates
The most common way to mutate state is executing SPARQL updates. When an agent runs anINSERT or DELETE command, Worlds translates it into a deterministic
patch.
SPARQL
Mutation and state
Every update to a world is a transaction that appends new facts to the ledger. This ensures that agents can always query past states and understand how information has evolved over time.RDF patches
An RDF patch is a structured set of additions and deletions. When you update a relationship, the engine performs a patch:- Deletion: Remove the outdated triple.
- Addition: Insert the new, verified triple.
Update strategies
Worlds supports multiple methods for mutating state, depending on the required precision and automation level.| Method | Precision | Use case |
|---|---|---|
| SPARQL Update | Highest | Complex, conditional logic and batch deletes |
| API assert | High | Programmatic ingestion of verified facts |
| RDF Patches | High | Delta-based synchronization from external stores |
Feedback ingestion
Intentional agency requires a bridge between human preferences and graph state. RLHF enables this by treating feedback as a first-class mutation.Capturing rewards
When a user or supervisor provides feedback (e.g., a thumbs up or a specific correction), the API records this as a preference item connected to the original fact.TypeScript