An agentic oracle is an AI service with its own identity and permissions. It runs an agent that does delegated work with tools. Every request it receives is signed by the user, each user's history is kept in encrypted storage, and users delegate scoped capabilities that the oracle can act on downstream.
QiForge is the framework for building one. Its runtime (@ixo/oracle-runtime) supplies verifiable identity (an IXO entity DID), UCAN delegation, encrypted per-user Matrix storage and typed plugins. Your oracle is a main.ts plus the plugins you want. This page shows what the runtime gives you and where to start. For the full concept model, see Agentic Oracles.
An agentic oracle is not a decision oracle. A decision oracle is built with @ixo/decision-oracle and never runs an agent. It produces the facts a rubric asks for, and the IXO decision engine decides. To build one, go to Decision oracle.
What QiForge gives you
import { createOracleApp } from '@ixo/oracle-runtime';
import { MyPlugin } from './plugins/my-plugin/my-plugin.plugin.js';
const app = await createOracleApp({
config: { name: 'My Oracle', org: 'Acme' },
plugins: [new MyPlugin()],
});
await app.listen();That is a working oracle. One call to createOracleApp gives you:
| You get | What it includes |
|---|---|
| A NestJS app, fully wired | HTTP and WebSocket, request validation, OpenAPI at /docs, CORS, throttling and graceful shutdown, already configured. |
| UCAN-based identity and auth | Every request is authenticated by a user-signed UCAN invocation (Authorization: Bearer … + X-Auth-Type: ucan). The oracle has an IXO entity DID. Users delegate scoped capabilities that it can act on downstream. |
| Encrypted per-user storage | Each user gets a Matrix room. Conversation history and agent checkpoints are end-to-end encrypted and synced automatically. |
| A LangGraph agent | A per-request agent build, dynamic tool loading through meta-tools, and four always-on middleware (capability gating, tool validation, repetition guard, retry). |
| 16 bundled plugins | memory, skills, sandbox, portal, firecrawl, composio, editor, agui, slack, credits, user-preferences and more. Toggle them with the features map. |
| A plugin API for your code | 9 typed hooks let your plugin contribute tools, sub-agents, middleware, HTTP routes, shared state and env vars. Hooks come in boot-time and per-request forms. |
You write main.ts and your plugins. The framework handles the rest.
Where to start
Read these three first:
- Quickstart. Get a working oracle in front of you before reading anything else.
createOracleAppoptions. Every option you can pass.- Write a plugin. The canonical plugin recipe.
Then pick the part of the section that fits what you are doing:
A 10-minute quickstart, then recipes, then deploy. Code first the whole way.
Build trackTask-by-task recipes: createOracleApp, plugin recipes, testing and deploy.
The mental model, the runtime layers, and plugins compared with skills. Read it when you want depth. It is never required to ship.
ReferenceEvery option, every env var and every bundled plugin in a flat table.
CLI referenceqiforge-cli commands: new, plugin new, create-entity and --chat.
One dense page with every signature, env var and template an AI coding agent needs.
Decision oracleHave claims decided with @ixo/decision-oracle: you produce the facts a rubric asks for, the IXO decision engine decides, and you sign on chain. The easiest way is to install the ixo-oracle-builder plugin and ask your AI agent "I want to build an oracle".
What people build with QiForge
| Kind of oracle | Examples |
|---|---|
| Domain-specific agents | Climate oracles that analyse emissions data, carbon DAO assistants, supply-chain MRV agents. |
| Workflow copilots | AG-UI copilots that drive a portal, fill forms and navigate the browser. They use the bundled agui and portal plugins. |
| Integration hubs | Agents that call Gmail, GitHub, Linear, Slack and Notion through the bundled composio plugin. |
| Skill runners | Agents that discover and execute IXO skill capsules inside a per-user Linux sandbox. They use the bundled skills and sandbox plugins. |