# Agentic oracles

> What an agentic oracle is: an AI service with its own identity and delegated permissions, built with QiForge, and how it differs from a decision oracle.

An **agentic oracle** is an AI service with its own identity and its own permissions. It runs an
agent that does delegated work with tools: it reads what it has been allowed to read, calls the
tools it has been given, and acts only within the authority a person has delegated to it. You build
one with [QiForge](/build-an-oracle).

Read this page to decide whether an agentic oracle is the right thing to build, and to keep it apart
from a decision oracle, which is a different service with a different job.

<Info>
  An agentic oracle does not decide claims. On IXO a claim is decided in two steps: a
  [decision oracle](/build-an-oracle/decision-oracle) checks the evidence and produces the facts,
  and the IXO decision engine applies the published rules and signs the decision. See
  [How IXO works](/introduction).
</Info>

## Agentic oracle and decision oracle

The two share the word "oracle" and nothing else.

| | Agentic oracle | Decision oracle |
| --- | --- | --- |
| What it is | An AI service that does delegated work with tools | A service that reads a claim and produces the facts a rubric asks for |
| Runs an agent | Yes | Never |
| Built with | QiForge (`@ixo/oracle-runtime`) | `@ixo/decision-oracle` |
| Decides claims | No | No. It produces facts, and the IXO decision engine decides |
| Where to start | [Build an agentic oracle](/build-an-oracle) | [Decision oracle](/build-an-oracle/decision-oracle) |

## What makes it accountable

An agentic oracle is useful to other people because its actions can be traced to an identity and
checked against the authority it was given.

| Property | How it works |
| --- | --- |
| Its own identity | The oracle has an IXO entity DID, so its actions are attributable to it and its keys can be revoked |
| Delegated authority | Users delegate scoped capabilities to it as UCANs. Each delegation names the actions, the resources and an expiry, and can be revoked |
| Signed requests | Every request the oracle receives is signed by the user who sent it |
| Private working memory | Each user's conversation with the oracle is kept in an encrypted [IXO Matrix](/articles/ixo-matrix) room |
| Records it can cite | It works from claims, credentials and other records that can be referenced by identifier, not from its own memory |

People and agents work side by side, and the cooperation is voluntary. An agentic oracle acts under
its own identity and holds only the authority a person has chosen to give it. People can take that
authority back.

## What it can do

The capability classes an agentic oracle can carry out are grouped as **P-Functions**. Treat the
list as a design vocabulary for scoping an oracle, not as a list of powers. Each one is limited by
the authority the oracle has been delegated.

| Group | Examples |
| --- | --- |
| Proving and protocol conformance | Checking that a submission matches a schema, monitoring conformance to protocol rules |
| Prediction and perception | Prediction, pattern recognition, performance monitoring, data analysis, personalisation, pathfinding |
| Prescription and planning | Recommending next actions, planning, process optimisation |
| Protection and risk | Risk prevention, privacy protection, problem detection and resolution |
| Participation and governance | Routing work to people for review, proposal analysis, quorum checks |
| Payments and portfolio | Recommending payments when stated conditions are met, portfolio analysis |
| Policy and compliance | Policy checks, compliance reports for funders, regulators or operators |

Where a P-Function touches a claim, the oracle prepares or assists. It can gather evidence,
summarise it, flag what is missing or route a case to a person. The decision on the claim still
comes from a decision oracle and the IXO decision engine.

## Limits

An agentic oracle may:

- read evidence and records it has been permitted to read
- call the tools it has been given
- produce recommendations, summaries and reports
- take an action that has been explicitly delegated to it
- send unclear cases to a person for review

It may not:

- act beyond the authority it has been delegated
- change the rules it works under
- treat its own reasoning or chat history as a record that others rely on
- take an irreversible action when the evidence is unclear
- be the only authority for settlement, credentialing or governance

A signed output from an agentic oracle shows which oracle produced it and when. It does not show
that what it says is true. [What each record proves](/trust-boundaries) explains the difference.

## Where to go next

<CardGroup cols={2}>
  <Card title="Build an agentic oracle" icon="compass" href="/build-an-oracle">
    What the QiForge runtime gives you and where to start.
  </Card>
  <Card title="Decision oracle" icon="scale-balanced" href="/build-an-oracle/decision-oracle">
    Build the service that produces facts for the IXO decision engine.
  </Card>
  <Card title="Claim evaluation" icon="clipboard-check" href="/articles/claim-evaluation-protocol">
    How a claim moves from evidence to facts to a signed decision.
  </Card>
  <Card title="Qi" icon="brain-circuit" href="/articles/qi-intelligent-cooperating-system">
    The workspace where people and agentic oracles work together.
  </Card>
</CardGroup>
