Neuro-symbolic architecture
This integration bridges two paradigms:- Neural: The Large Language Model (LLM) that processes natural language.
- Symbolic: The Worlds Graph that stores structured facts and follows logic.
Using the AI SDK
Theworlds-ai-sdk provides pre-built tools for frameworks like the Vercel AI
SDK, making integration straightforward.
System flow
- User prompt: You ask the agent a question.
- Tool selection: The agent determines it needs information from its
“World” and triggers a
querytool. - Execution: The
worlds-ai-sdkexecutes a SPARQL query against the Worlds API. - Inference: The graph returns structured data, which the agent uses to generate a factual response.