alexar76/oracles
GitHub: alexar76/oracles
一套包含 17 个可验证数学预言机的 monorepo,为 AI Agent 经济提供签名可验证的随机性、共识、优化等数学计算服务。
Stars: 0 | Forks: 0
# Oracles —— 一系列可验证的 AI 经济预言机
(32D chaos, beacon, commit-reveal)"] CHRONOS["Chronos — verifiable delay (Wesolowski VDF)
proof-of-elapsed-sequential-work"] MID["Lattice · Murmuration · Lumen · Colony · Turing"] NEW["Percola · Fermat · Ablation · Landauer"] NEW2["Sortes · Gauss · Aestus · Betti · Kantor · Fourier"] end core --> PLATON core --> CHRONOS core --> MID core --> NEW core --> NEW2 HUB["AIMarket Hub (modelmarket.dev)"] PORTAL["Cosmic portal
oracles.modelmarket.dev"] PLATON & CHRONOS & MID & NEW & NEW2 -->|"signed manifest, priced invoke"| HUB AGENTS["Autonomous agents · service mesh"] -->|"discover · invoke · pay"| HUB PORTAL -->|"explore · watch · deep-link ?o="| fam ``` ## 成员 | # | 预言机 | Agent 购买的内容 | 真实数学 | 测试 | 实时 3D | |---|--------|-----------------|-----------|-------|---------| | 1 | **[Platon](oracles/platon)** | 可验证随机性 (`platon.random/beacon/commit-reveal`)、动态预言机、接地指南 | 耦合 Stuart-Landau / Kuramoto、混沌-VRF、哈希链 | 65 ✅ | [3D](https://oracles.modelmarket.dev/?o=platon) · **[UMBRAL cave](https://oracles.modelmarket.dev/platon/umbral)** · [README](oracles/platon) | | 2 | **[Chronos](oracles/chronos)** | 已逝去序列工作证明 (`chronos.eval/verify`) | 基于 RSA-2048 的 Wesolowski VDF (未分解) | 8 ✅ | [`?o=chronos`](https://oracles.modelmarket.dev/?o=chronos) | | 3 | **[Lattice](oracles/lattice)** | 低差异 / 准随机序列 (`lattice.sequence`) | Halton (van der Corput 根轴逆) | 13 ✅ | [`?o=lattice`](https://oracles.modelmarket.dev/?o=lattice) | | 4 | **[Murmuration](oracles/murmuration)** | 鲁棒共识聚合 (`murmuration.aggregate`) | 中位数 / 截尾均值 / Tukey 双权 + DeGroot 共识 | 15 ✅ | [`?o=murmuration`](https://oracles.modelmarket.dev/?o=murmuration) | | 5 | **[Lumen](oracles/lumen)** | 声誉 / 信任评分 (`lumen.reputation`) | PageRank / EigenTrust 幂迭代 | 18 ✅ | [`?o=lumen`](https://oracles.modelmarket.dev/?o=lumen) | | 6 | **[Colony](oracles/colony)** | 组合优化 + 质量证书 (`colony.optimize`) | 最近邻 + 带有容许下界的 2-opt TSP | 12 ✅ | [`?o=colony`](https://oracles.modelmarket.dev/?o=colony) | | 7 | **[Turing](oracles/turing)** | 结构化 / 蓝噪声采样 (`turing.bluenoise`) | Mitchell 最佳候选蓝噪声 | 13 ✅ | [`?o=turing`](https://oracles.modelmarket.dev/?o=turing) | | 8 | **[Percola](oracles/percola)** | 网络弹性阈值 (`percola.threshold/verify`) | 键渗流 · 巨型组件崩塌 · 定向攻击扫描 | 15 ✅ | [`?o=percola`](https://oracles.modelmarket.dev/?o=percola) | | 9 | **[Fermat](oracles/fermat)** | 最短时间路由 + 对偶证书 (`fermat.route/verify`) | Eikonal / Bellman 最优性 · 费马原理 · 互补松弛性 | 24 ✅ | [`?o=fermat`](https://oracles.modelmarket.dev/?o=fermat) | | 10 | **[Ablation](oracles/ablation)** | 系统级联风险 (`ablation.cascade/verify`) | 阿贝尔沙堆 · 自组织临界性 · Dhar 定理 | 34 ✅ | [`?o=ablation`](https://oracles.modelmarket.dev/?o=ablation) | | 11 | **[Landauer](oracles/landauer)** | 热力学计算成本审计 (`landauer.audit/verify`) | 兰道尔原理 · Bennett 可逆界限 · 电路擦除审计 | 35 ✅ | [`?o=landauer`](https://oracles.modelmarket.dev/?o=landauer) | | 12 | **[Sortes](oracles/sortes)** | 不可爆裂的可验证随机性,可通过 80 字节的证明进行离线检查 (`sortes.draw/verify`) | 真正的 ECVRF (RFC 9381, ECVRF-EDWARDS25519-SHA512-TAI) · 每个 (密钥, 输入) 仅有一个有效输出 | 30 ✅ | [`?o=sortes`](https://oracles.modelmarket.dev/?o=sortes) | | 13 | **[Gauss](oracles/gauss)** | 校准后验 + 诚实的不确定性 + 最佳下一个采样点 (`gauss.field/suggest/verify`) | 高斯过程回归 · 期望改进 | 18 ✅ | [`?o=gauss`](https://oracles.modelmarket.dev/?o=gauss) | | 14 | **[Aestus](oracles/aestus)** | 密封任何人都无法在 ~T 之前打开的数据,时间到达后任何人都可以打开 (`aestus.seal/open/verify`) | RSW 时间锁谜题 · 连续平方 · 无陷门持有者 | 16 ✅ | [`?o=aestus`](https://oracles.modelmarket.dev/?o=aestus) | | 15 | **[Betti](oracles/betti)** | 点云形状 + 漂移警报 (`betti.homology/distance`) | 持续同调 (Vietoris-Rips) · b0/b1/b2 · 瓶颈距离 | 14 ✅ | [`?o=betti`](https://oracles.modelmarket.dev/?o=betti) | | 16 | **[Kantor](oracles/kantor)** | 最优传输计划 + 对偶证书 (`kantor.transport/verify`) | 通过最小费用流实现精确 Wasserstein · Kantorovich 对偶势 (在 O(m·n) 时间内验证) | 23 ✅ | [`?o=kantor`](https://oracles.modelmarket.dev/?o=kantor) | | 17 | **[Fourier](oracles/fourier)** | 图谱分析 + 谱切割/嵌入 (`fourier.spectrum/verify`) | 拉普拉斯算子 L = D − A 谱 · 代数连通度 λ₂ (Fiedler) · 电导 | 17 ✅ | [`?o=fourier`](https://oracles.modelmarket.dev/?o=fourier) | 每个预言机都是一个自包含的子项目:拥有自己的 `pyproject`、测试、`README`(mermaid + 用例 + 徽章)、`docs/{en,ru,es}.md`、CI 工作流以及宇宙视觉效果(3D R3F 场景或氛围画布)。总计:整个系列共有 **280+ 个测试** 通过。 ## 经济运作方式 | 步骤 | 发生了什么 | |------|----------------| | **01 发现** | Agent 根据意图在 hub 中搜索(`可验证随机性`、`共识` 等),并找到相应的预言机和价格。 | | **02 调用** | 通过微支付通道按调用付费 —— 无需订阅。 | | **03 验证** | 每个结果都通过 Ed25519 附带签名证明;无需信任操作者即可验证。 | | **04 结算** | 签名回执扣除通道费用;清单指标是测量得出的,而非伪造的。 | *(在[实时主页](https://oracles.modelmarket.dev)上有动画演示。)* ## 生产应用:Agent 彩票 Agent *购买* 这些预言机最清晰的端到端示例是 **[Agent Lottery](https://github.com/alexar76/lottery)** ([在线演示](https://lottery.modelmarket.dev/)) —— 一个自主的经济参与者,它将**三个预言机**组合成一个不可偏见的、链上可验证的抽奖过程。它通过 Hub(`POST /ai-market/v2/invoke`,1% 路由费)或预言机系列本身按每次调用付费,将每次调用记为运营支出: | 步骤 | 预言机 · capability | 购买的内容 | 价格 | |------|---------------------|--------------|-------| | 提取熵 | **Platon** `platon.random@v1` | 在回合结束时提交种子 | $0.004 | | 不可偏见的信标 | **Chronos** `chronos.eval@v1` | Wesolowski VDF 证明,在链上验证 (`onchainVdf`) | $0.01 | | 证明检查 | **Chronos** `chronos.verify@v1` | 链下 VDF 验证 | $0.001 | | 加权获奖者 | **Lumen** `lumen.reputation@v1` | EigenTrust 评分 → 签名的声誉凭证(增加 0…50% 几率) | $0.005 | | AI 财务主管(可选) | **Platon** `platon.ask@v1` | 接地 LLM 进行奖金 / 机器 UBI 分成分配 | $0.003 | `platon.random@v1` 为 `chronos.eval@v1` 提供种子,因此中奖彩票由**强制顺序时间**(即上述的 Chronos × Platon 信标)决定 —— 操作者和 agent 都无法对其进行爆破;**Lumen** 随后对抽奖进行声誉加权。这是证明这些预言机是*已定价、可组合的基础设施*,而不仅仅是实时演示的典型范例。 → 完整的经济模型见 [lottery repo](https://github.com/alexar76/lottery)。 ## 画廊 {#gallery} 与 **[oracles.modelmarket.dev](https://oracles.modelmarket.dev)** 的视觉效果相同 —— 星云着色器 · 星空 · 泛光 · 每个循环都是预言机在 3D 中的*真实*数学体现。 ### 门户导览 *主页横幅 · 经济流程 · 带有实时 `.webm` 预览的卡片网格* ### 截图 打开 **[oracles.modelmarket.dev](https://oracles.modelmarket.dev)** 查看实时门户 —— 主页横幅、经济流程、卡片网格,以及每个预言机的全屏 3D 场景。要为此 README 重新生成静态截图,请参阅 [`docs/GALLERY.md`](docs/GALLERY.md)。 ### 预言机循环(卡片预览) | | | | |---|---|---| |
**[Platon 3D](https://oracles.modelmarket.dev/?o=platon)** · **[UMBRAL cave](https://oracles.modelmarket.dev/platon/umbral)**
预言机 #1 · [门户 vs 洞穴](docs/platon-preview.en.md) |
**[Chronos](https://oracles.modelmarket.dev/?o=chronos)**
`chronos.eval@v1` · VDF |
**[Lattice](https://oracles.modelmarket.dev/?o=lattice)**
`lattice.sequence@v1` | |
**[Murmuration](https://oracles.modelmarket.dev/?o=murmuration)**
boid 共识 |
**[Lumen](https://oracles.modelmarket.dev/?o=lumen)**
信任流 · PageRank |
**[Colony](https://oracles.modelmarket.dev/?o=colony)**
2-opt 路径解缠绕 | |
**[Turing](https://oracles.modelmarket.dev/?o=turing)**
蓝噪声膜 |
**[Percola](https://oracles.modelmarket.dev/?o=percola)**
`percola.threshold@v1` · 渗流 |
**[Fermat](https://oracles.modelmarket.dev/?o=fermat)**
`fermat.route@v1` · 最短时间射线 | |
**[Ablation](https://oracles.modelmarket.dev/?o=ablation)**
沙堆级联 |
**[Landauer](https://oracles.modelmarket.dev/?o=landauer)**
`landauer.audit@v1` · kT·ln2 |
**[Sortes](https://oracles.modelmarket.dev/?o=sortes)**
`sortes.draw@v1` · ECVRF | |
**[Gauss](https://oracles.modelmarket.dev/?o=gauss)**
`gauss.field@v1` · GP 后验 |
**[Aestus](https://oracles.modelmarket.dev/?o=aestus)**
`aestus.seal@v1` · RSW 时间锁 |
**[Betti](https://oracles.modelmarket.dev/?o=betti)**
`betti.homology@v1` · b0/b1/b2 | |
**[Kantor](https://oracles.modelmarket.dev/?o=kantor)**
`kantor.transport@v1` · Wasserstein |
**[Fourier](https://oracles.modelmarket.dev/?o=fourier)**
`fourier.spectrum@v1` · 拉普拉斯算子 λ₂ | | ## 添加新预言机(完整模式) ``` from oracle_core import Capability, OracleSpec, create_app spec = OracleSpec( name="My Oracle", product_id="prod-mine", description="…", public_url="http://localhost:9400", categories=["…"], capabilities=[ Capability("mine.do@v1", "does the thing", handler=lambda d: {"result": ...}, price_per_call_usd=0.003), ], ) app = create_app(spec) # signed manifest + invoke + receipts + metrics + PQC + .well-known ``` ## 开发 ``` python3.11 -m venv .venv .venv/bin/pip install -e "core[dev,pqc]" -e "oracles/chronos[dev]" .venv/bin/python -m pytest core/tests oracles/chronos/tests -q # Cosmic 着陆(oracles.modelmarket.dev 的本地镜像) cd frontend && npm install && npm run dev # http://localhost:5180/ # Platon(作为 oracle #1 进行 vendoring;其自带的后端 package) .venv/bin/pip install -e "oracles/platon/backend[dev]" cd oracles/platon/backend && PLATON_TESTING=1 ../../../.venv/bin/python -m pytest tests -q ``` ## 布局 ``` oracles/ ├── core/oracle_core/ # signing(+PQC) · protocol · metrics · ratelimit · hub_client · app factory ├── core/docs/SIGNING.md # hybrid signing implementation note (not normative spec) ├── docs/crypto-maturity.{en,ru}.md # honest crypto maturity statement ├── docs/{en,ru,es}.md # localized family overview ├── docs/screenshots/ # README gallery (portal + scenes) ├── docs/recordings/ # oracle-portal.webm hero ├── frontend/ # cosmic landing → oracles.modelmarket.dev ├── oracles/ │ ├── platon/ # #1 randomness + dynamical oracle (UMBRAL storefront) │ ├── chronos/ # #2 VDF delay │ ├── lattice/ # #3 quasi-random sequences │ ├── murmuration/ # #4 robust consensus │ ├── lumen/ # #5 reputation │ ├── colony/ # #6 optimization + certificate │ ├── turing/ # #7 blue-noise sampling │ ├── percola/ # #8 network-resilience threshold │ ├── fermat/ # #9 least-time routing + certificate │ ├── ablation/ # #10 systemic cascade-risk (SOC sandpile) │ ├── landauer/ # #11 thermodynamic compute-cost audit │ ├── sortes/ # #12 ungrindable verifiable randomness (ECVRF) │ ├── gauss/ # #13 Gaussian-Process regression + Expected Improvement │ ├── aestus/ # #14 RSW time-lock puzzles │ ├── betti/ # #15 persistent homology (shape of data) │ ├── kantor/ # #16 exact optimal transport + dual certificate │ ├── fourier/ # #17 graph-spectral analysis (Laplacian) │ └── oracle-family/ # federated manifest — all 17 in one signed endpoint └── docker-compose.yml ``` ## 演示 - **在线:** https://oracles.modelmarket.dev/ - **文档:** https://github.com/alexar76/oracles/blob/main/docs/en.md ## 相关仓库 | 仓库 | 角色 | |------|------| | [aicom](https://github.com/alexar76/aicom) | AI-Factory —— 发布预言机集成 | | [aimarket-hub](https://github.com/alexar76/aimarket-hub) | Hub —— 签名清单、调用、定价 | | [lottery](https://github.com/alexar76/lottery) | 规范的预言机消费者 (Platon + Chronos + LUMEN) | | [aimarket-protocol](https://github.com/alexar76/aimarket-protocol) | 规范的 v2 协议 | | [alien-monitor](https://github.com/alexar76/alien-monitor) | 生态系统图上的实时预言机节点 | | [dioscuri](https://github.com/alexar76/dioscuri) | 双子社区 agent —— MNEMOSYNE 问答 | ## 社区 [DIOSCURI](https://github.com/alexar76/dioscuri) 双子会回答来自已同步的 GitHub 文档的问题。 | 渠道 | 双子 | 最适合 | |---------|------|----------| | [Telegram](https://t.me/just_for_agents) | Castor | 发布、摘要、快速新闻 | | [Discord](https://discord.gg/aimarket) | Pollux | 帮助、想法、展示与讲述 | **生态系统地图:** [Alien Monitor](https://magic-ai-factory.com/monitor/) · [AICOM](https://magic-ai-factory.com)
Cosmic landing + 3D oracle scenes · open the live portal →
Card-preview loops · click any oracle · full gallery ↓
(32D chaos, beacon, commit-reveal)"] CHRONOS["Chronos — verifiable delay (Wesolowski VDF)
proof-of-elapsed-sequential-work"] MID["Lattice · Murmuration · Lumen · Colony · Turing"] NEW["Percola · Fermat · Ablation · Landauer"] NEW2["Sortes · Gauss · Aestus · Betti · Kantor · Fourier"] end core --> PLATON core --> CHRONOS core --> MID core --> NEW core --> NEW2 HUB["AIMarket Hub (modelmarket.dev)"] PORTAL["Cosmic portal
oracles.modelmarket.dev"] PLATON & CHRONOS & MID & NEW & NEW2 -->|"signed manifest, priced invoke"| HUB AGENTS["Autonomous agents · service mesh"] -->|"discover · invoke · pay"| HUB PORTAL -->|"explore · watch · deep-link ?o="| fam ``` ## 成员 | # | 预言机 | Agent 购买的内容 | 真实数学 | 测试 | 实时 3D | |---|--------|-----------------|-----------|-------|---------| | 1 | **[Platon](oracles/platon)** | 可验证随机性 (`platon.random/beacon/commit-reveal`)、动态预言机、接地指南 | 耦合 Stuart-Landau / Kuramoto、混沌-VRF、哈希链 | 65 ✅ | [3D](https://oracles.modelmarket.dev/?o=platon) · **[UMBRAL cave](https://oracles.modelmarket.dev/platon/umbral)** · [README](oracles/platon) | | 2 | **[Chronos](oracles/chronos)** | 已逝去序列工作证明 (`chronos.eval/verify`) | 基于 RSA-2048 的 Wesolowski VDF (未分解) | 8 ✅ | [`?o=chronos`](https://oracles.modelmarket.dev/?o=chronos) | | 3 | **[Lattice](oracles/lattice)** | 低差异 / 准随机序列 (`lattice.sequence`) | Halton (van der Corput 根轴逆) | 13 ✅ | [`?o=lattice`](https://oracles.modelmarket.dev/?o=lattice) | | 4 | **[Murmuration](oracles/murmuration)** | 鲁棒共识聚合 (`murmuration.aggregate`) | 中位数 / 截尾均值 / Tukey 双权 + DeGroot 共识 | 15 ✅ | [`?o=murmuration`](https://oracles.modelmarket.dev/?o=murmuration) | | 5 | **[Lumen](oracles/lumen)** | 声誉 / 信任评分 (`lumen.reputation`) | PageRank / EigenTrust 幂迭代 | 18 ✅ | [`?o=lumen`](https://oracles.modelmarket.dev/?o=lumen) | | 6 | **[Colony](oracles/colony)** | 组合优化 + 质量证书 (`colony.optimize`) | 最近邻 + 带有容许下界的 2-opt TSP | 12 ✅ | [`?o=colony`](https://oracles.modelmarket.dev/?o=colony) | | 7 | **[Turing](oracles/turing)** | 结构化 / 蓝噪声采样 (`turing.bluenoise`) | Mitchell 最佳候选蓝噪声 | 13 ✅ | [`?o=turing`](https://oracles.modelmarket.dev/?o=turing) | | 8 | **[Percola](oracles/percola)** | 网络弹性阈值 (`percola.threshold/verify`) | 键渗流 · 巨型组件崩塌 · 定向攻击扫描 | 15 ✅ | [`?o=percola`](https://oracles.modelmarket.dev/?o=percola) | | 9 | **[Fermat](oracles/fermat)** | 最短时间路由 + 对偶证书 (`fermat.route/verify`) | Eikonal / Bellman 最优性 · 费马原理 · 互补松弛性 | 24 ✅ | [`?o=fermat`](https://oracles.modelmarket.dev/?o=fermat) | | 10 | **[Ablation](oracles/ablation)** | 系统级联风险 (`ablation.cascade/verify`) | 阿贝尔沙堆 · 自组织临界性 · Dhar 定理 | 34 ✅ | [`?o=ablation`](https://oracles.modelmarket.dev/?o=ablation) | | 11 | **[Landauer](oracles/landauer)** | 热力学计算成本审计 (`landauer.audit/verify`) | 兰道尔原理 · Bennett 可逆界限 · 电路擦除审计 | 35 ✅ | [`?o=landauer`](https://oracles.modelmarket.dev/?o=landauer) | | 12 | **[Sortes](oracles/sortes)** | 不可爆裂的可验证随机性,可通过 80 字节的证明进行离线检查 (`sortes.draw/verify`) | 真正的 ECVRF (RFC 9381, ECVRF-EDWARDS25519-SHA512-TAI) · 每个 (密钥, 输入) 仅有一个有效输出 | 30 ✅ | [`?o=sortes`](https://oracles.modelmarket.dev/?o=sortes) | | 13 | **[Gauss](oracles/gauss)** | 校准后验 + 诚实的不确定性 + 最佳下一个采样点 (`gauss.field/suggest/verify`) | 高斯过程回归 · 期望改进 | 18 ✅ | [`?o=gauss`](https://oracles.modelmarket.dev/?o=gauss) | | 14 | **[Aestus](oracles/aestus)** | 密封任何人都无法在 ~T 之前打开的数据,时间到达后任何人都可以打开 (`aestus.seal/open/verify`) | RSW 时间锁谜题 · 连续平方 · 无陷门持有者 | 16 ✅ | [`?o=aestus`](https://oracles.modelmarket.dev/?o=aestus) | | 15 | **[Betti](oracles/betti)** | 点云形状 + 漂移警报 (`betti.homology/distance`) | 持续同调 (Vietoris-Rips) · b0/b1/b2 · 瓶颈距离 | 14 ✅ | [`?o=betti`](https://oracles.modelmarket.dev/?o=betti) | | 16 | **[Kantor](oracles/kantor)** | 最优传输计划 + 对偶证书 (`kantor.transport/verify`) | 通过最小费用流实现精确 Wasserstein · Kantorovich 对偶势 (在 O(m·n) 时间内验证) | 23 ✅ | [`?o=kantor`](https://oracles.modelmarket.dev/?o=kantor) | | 17 | **[Fourier](oracles/fourier)** | 图谱分析 + 谱切割/嵌入 (`fourier.spectrum/verify`) | 拉普拉斯算子 L = D − A 谱 · 代数连通度 λ₂ (Fiedler) · 电导 | 17 ✅ | [`?o=fourier`](https://oracles.modelmarket.dev/?o=fourier) | 每个预言机都是一个自包含的子项目:拥有自己的 `pyproject`、测试、`README`(mermaid + 用例 + 徽章)、`docs/{en,ru,es}.md`、CI 工作流以及宇宙视觉效果(3D R3F 场景或氛围画布)。总计:整个系列共有 **280+ 个测试** 通过。 ## 经济运作方式 | 步骤 | 发生了什么 | |------|----------------| | **01 发现** | Agent 根据意图在 hub 中搜索(`可验证随机性`、`共识` 等),并找到相应的预言机和价格。 | | **02 调用** | 通过微支付通道按调用付费 —— 无需订阅。 | | **03 验证** | 每个结果都通过 Ed25519 附带签名证明;无需信任操作者即可验证。 | | **04 结算** | 签名回执扣除通道费用;清单指标是测量得出的,而非伪造的。 | *(在[实时主页](https://oracles.modelmarket.dev)上有动画演示。)* ## 生产应用:Agent 彩票 Agent *购买* 这些预言机最清晰的端到端示例是 **[Agent Lottery](https://github.com/alexar76/lottery)** ([在线演示](https://lottery.modelmarket.dev/)) —— 一个自主的经济参与者,它将**三个预言机**组合成一个不可偏见的、链上可验证的抽奖过程。它通过 Hub(`POST /ai-market/v2/invoke`,1% 路由费)或预言机系列本身按每次调用付费,将每次调用记为运营支出: | 步骤 | 预言机 · capability | 购买的内容 | 价格 | |------|---------------------|--------------|-------| | 提取熵 | **Platon** `platon.random@v1` | 在回合结束时提交种子 | $0.004 | | 不可偏见的信标 | **Chronos** `chronos.eval@v1` | Wesolowski VDF 证明,在链上验证 (`onchainVdf`) | $0.01 | | 证明检查 | **Chronos** `chronos.verify@v1` | 链下 VDF 验证 | $0.001 | | 加权获奖者 | **Lumen** `lumen.reputation@v1` | EigenTrust 评分 → 签名的声誉凭证(增加 0…50% 几率) | $0.005 | | AI 财务主管(可选) | **Platon** `platon.ask@v1` | 接地 LLM 进行奖金 / 机器 UBI 分成分配 | $0.003 | `platon.random@v1` 为 `chronos.eval@v1` 提供种子,因此中奖彩票由**强制顺序时间**(即上述的 Chronos × Platon 信标)决定 —— 操作者和 agent 都无法对其进行爆破;**Lumen** 随后对抽奖进行声誉加权。这是证明这些预言机是*已定价、可组合的基础设施*,而不仅仅是实时演示的典型范例。 → 完整的经济模型见 [lottery repo](https://github.com/alexar76/lottery)。 ## 画廊 {#gallery} 与 **[oracles.modelmarket.dev](https://oracles.modelmarket.dev)** 的视觉效果相同 —— 星云着色器 · 星空 · 泛光 · 每个循环都是预言机在 3D 中的*真实*数学体现。 ### 门户导览 *主页横幅 · 经济流程 · 带有实时 `.webm` 预览的卡片网格* ### 截图 打开 **[oracles.modelmarket.dev](https://oracles.modelmarket.dev)** 查看实时门户 —— 主页横幅、经济流程、卡片网格,以及每个预言机的全屏 3D 场景。要为此 README 重新生成静态截图,请参阅 [`docs/GALLERY.md`](docs/GALLERY.md)。 ### 预言机循环(卡片预览) | | | | |---|---|---| |

**[Platon 3D](https://oracles.modelmarket.dev/?o=platon)** · **[UMBRAL cave](https://oracles.modelmarket.dev/platon/umbral)**
预言机 #1 · [门户 vs 洞穴](docs/platon-preview.en.md) |

**[Chronos](https://oracles.modelmarket.dev/?o=chronos)**
`chronos.eval@v1` · VDF |

**[Lattice](https://oracles.modelmarket.dev/?o=lattice)**
`lattice.sequence@v1` | |

**[Murmuration](https://oracles.modelmarket.dev/?o=murmuration)**
boid 共识 |

**[Lumen](https://oracles.modelmarket.dev/?o=lumen)**
信任流 · PageRank |

**[Colony](https://oracles.modelmarket.dev/?o=colony)**
2-opt 路径解缠绕 | |

**[Turing](https://oracles.modelmarket.dev/?o=turing)**
蓝噪声膜 |

**[Percola](https://oracles.modelmarket.dev/?o=percola)**
`percola.threshold@v1` · 渗流 |

**[Fermat](https://oracles.modelmarket.dev/?o=fermat)**
`fermat.route@v1` · 最短时间射线 | |

**[Ablation](https://oracles.modelmarket.dev/?o=ablation)**
沙堆级联 |

**[Landauer](https://oracles.modelmarket.dev/?o=landauer)**
`landauer.audit@v1` · kT·ln2 |

**[Sortes](https://oracles.modelmarket.dev/?o=sortes)**
`sortes.draw@v1` · ECVRF | |

**[Gauss](https://oracles.modelmarket.dev/?o=gauss)**
`gauss.field@v1` · GP 后验 |

**[Aestus](https://oracles.modelmarket.dev/?o=aestus)**
`aestus.seal@v1` · RSW 时间锁 |

**[Betti](https://oracles.modelmarket.dev/?o=betti)**
`betti.homology@v1` · b0/b1/b2 | |

**[Kantor](https://oracles.modelmarket.dev/?o=kantor)**
`kantor.transport@v1` · Wasserstein |

**[Fourier](https://oracles.modelmarket.dev/?o=fourier)**
`fourier.spectrum@v1` · 拉普拉斯算子 λ₂ | | ## 添加新预言机(完整模式) ``` from oracle_core import Capability, OracleSpec, create_app spec = OracleSpec( name="My Oracle", product_id="prod-mine", description="…", public_url="http://localhost:9400", categories=["…"], capabilities=[ Capability("mine.do@v1", "does the thing", handler=lambda d: {"result": ...}, price_per_call_usd=0.003), ], ) app = create_app(spec) # signed manifest + invoke + receipts + metrics + PQC + .well-known ``` ## 开发 ``` python3.11 -m venv .venv .venv/bin/pip install -e "core[dev,pqc]" -e "oracles/chronos[dev]" .venv/bin/python -m pytest core/tests oracles/chronos/tests -q # Cosmic 着陆(oracles.modelmarket.dev 的本地镜像) cd frontend && npm install && npm run dev # http://localhost:5180/ # Platon(作为 oracle #1 进行 vendoring;其自带的后端 package) .venv/bin/pip install -e "oracles/platon/backend[dev]" cd oracles/platon/backend && PLATON_TESTING=1 ../../../.venv/bin/python -m pytest tests -q ``` ## 布局 ``` oracles/ ├── core/oracle_core/ # signing(+PQC) · protocol · metrics · ratelimit · hub_client · app factory ├── core/docs/SIGNING.md # hybrid signing implementation note (not normative spec) ├── docs/crypto-maturity.{en,ru}.md # honest crypto maturity statement ├── docs/{en,ru,es}.md # localized family overview ├── docs/screenshots/ # README gallery (portal + scenes) ├── docs/recordings/ # oracle-portal.webm hero ├── frontend/ # cosmic landing → oracles.modelmarket.dev ├── oracles/ │ ├── platon/ # #1 randomness + dynamical oracle (UMBRAL storefront) │ ├── chronos/ # #2 VDF delay │ ├── lattice/ # #3 quasi-random sequences │ ├── murmuration/ # #4 robust consensus │ ├── lumen/ # #5 reputation │ ├── colony/ # #6 optimization + certificate │ ├── turing/ # #7 blue-noise sampling │ ├── percola/ # #8 network-resilience threshold │ ├── fermat/ # #9 least-time routing + certificate │ ├── ablation/ # #10 systemic cascade-risk (SOC sandpile) │ ├── landauer/ # #11 thermodynamic compute-cost audit │ ├── sortes/ # #12 ungrindable verifiable randomness (ECVRF) │ ├── gauss/ # #13 Gaussian-Process regression + Expected Improvement │ ├── aestus/ # #14 RSW time-lock puzzles │ ├── betti/ # #15 persistent homology (shape of data) │ ├── kantor/ # #16 exact optimal transport + dual certificate │ ├── fourier/ # #17 graph-spectral analysis (Laplacian) │ └── oracle-family/ # federated manifest — all 17 in one signed endpoint └── docker-compose.yml ``` ## 演示 - **在线:** https://oracles.modelmarket.dev/ - **文档:** https://github.com/alexar76/oracles/blob/main/docs/en.md ## 相关仓库 | 仓库 | 角色 | |------|------| | [aicom](https://github.com/alexar76/aicom) | AI-Factory —— 发布预言机集成 | | [aimarket-hub](https://github.com/alexar76/aimarket-hub) | Hub —— 签名清单、调用、定价 | | [lottery](https://github.com/alexar76/lottery) | 规范的预言机消费者 (Platon + Chronos + LUMEN) | | [aimarket-protocol](https://github.com/alexar76/aimarket-protocol) | 规范的 v2 协议 | | [alien-monitor](https://github.com/alexar76/alien-monitor) | 生态系统图上的实时预言机节点 | | [dioscuri](https://github.com/alexar76/dioscuri) | 双子社区 agent —— MNEMOSYNE 问答 | ## 社区 [DIOSCURI](https://github.com/alexar76/dioscuri) 双子会回答来自已同步的 GitHub 文档的问题。 | 渠道 | 双子 | 最适合 | |---------|------|----------| | [Telegram](https://t.me/just_for_agents) | Castor | 发布、摘要、快速新闻 | | [Discord](https://discord.gg/aimarket) | Pollux | 帮助、想法、展示与讲述 | **生态系统地图:** [Alien Monitor](https://magic-ai-factory.com/monitor/) · [AICOM](https://magic-ai-factory.com)
标签:Web3, 人工智能, 区块链, 去中心化经济, 密码学签名, 用户模式Hook绕过, 逆向工具, 预言机