Get started

This is a reference UI for GenLayer's intelligent oracles. Draft a prediction market in plain English, sign it from your wallet, and let validator consensus resolve it against live web evidence. Use it as-is, or fork the repo and ship your own.

Try it now

Draft your first market in plain English

Open the assistant and describe a market that can be settled by public web evidence. You'll review the outcomes, rules, sources, and resolution date before signing anything.

Open the Assistant

Use with agents

Paste this into your agent to set up Intelligent Oracle

Works in Claude Code, Cursor, Codex, or any chat agent that can fetch a URL. The skill teaches the agent the schema, source list, deploy call, and how to check resolution later.

Or read the skill directly

Build your own

Fork and deploy

Run the app locally against hosted GenLayer Studio, then deploy your own factory contract when you're ready.

  1. 1

    Clone and install

    Terminal
    git clone https://github.com/genlayerlabs/intelligent-oracle
    cd intelligent-oracle
    npm install
  2. 2

    Configure environment

    Copy the example file and fill in your OpenRouter key, Privy app ID, GenLayer RPC URL, and the factory address you'll deploy in step 4 (or a shared one).

    Terminal
    cp .env.example .env
  3. 3

    Run locally

    Terminal
    npm run dev
  4. 4

    Deploy your own factory (optional)

    The factory deploy script is a separate npm package. It publishes a new oracle factory under your control and prints the address to paste into NEXT_PUBLIC_ORACLE_FACTORY_ADDRESS.

    Terminal
    cd scripts
    npm install
    cp .env.example .env
    npm run deploy
View on GitHub

Reference

Operational details you'll want once you're building.