Oracle3
Oracle3: 예측시장 거래 엔진·MCP 서버
온체인·토큰 자산 포트폴리오 위험을 자동 평가·전문가 고용·온체인 결제·X Layer 정산, 종료 스위치를 보유합니다
An autonomous risk desk for on-chain and tokenized-asset portfolios. It grades your risk, hires specialist agents to fix it, pays them on-chain, and settles on X Layer. You hold the kill switch.
금융TypeScript · JavaScriptGitHub @Excellency001-boop온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Second Opinion Pro — hosted, always-on autonomous risk desk for OKX Dev Day 2026. Grades your portfolio, hires agents to fix it, settles on X Layer. You hold the kill switch.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
The risk desk that acts. An autonomous risk desk for on-chain and tokenized-asset
portfolios, built for OKX Dev Day 2026. It grades your portfolio across seven
vitals (A+ to D), then a coordinator agent hires specialist agents (A2A), pays them
per task (x402), and has them execute rebalances on X Layer. You hold the
guardrails and the kill switch. Every action is logged with on-chain references.
Spans both tracks: OKX AI (a real multi-agent economy with discovery,
coordination and monetisation) and X Layer (tokenized stocks / RWA put to work
in an automated strategy).README 전문 보기 ↗Most tools tell you your crypto portfolio is risky and stop there. Second Opinion Pro grades the risk, then hires and pays small AI specialist agents to actually fix it on X Layer, while you hold the limits and the kill switch the whole time.
▶ Live demo: https://second-opinion-pro.vercel.app Built for: OKX Dev Day 2026 · Tracks: OKX AI (primary) + X Layer / RWA
Try it in 20 seconds: open the link, keep "Demo · at-risk book", press Get a second opinion, then Approve plan, and watch the grade climb from D to A− while you hold a red kill switch.
flowchart LR
P[Your portfolio] --> G{Grade A+ to D}
G -->|risky| PLAN[Draft a fix plan]
PLAN --> A[You approve: caps and kill switch]
A --> H[Coordinator hires agents via A2A]
H --> PAY[Pays them per task via x402]
PAY --> X[Execute on X Layer]
X --> R[Re-grade: the book improves]
R --> G
G -->|clean| DONE[Nothing to do today]
In the demo, an at-risk book graded D becomes A− after the desk rotates a memecoin position into a tokenized blue-chip plus a cash buffer and de-risks a leveraged perp. Real residual risk is left on the board, and shown honestly.
Leverage · Biggest position · Move-together risk · Cash buffer · Spread
(diversification) · Leverage cost · Drop from peak. Each is plain-labelled, has a
one-line explanation, and is scored deterministically. See lib/vitals.ts
and the test suite in lib/vitals.test.ts (npm run test:vitals).
The deployed desk runs live and on-chain. Every step in the audit trail is tagged.
on-chain only if its transaction actually landed; a step that
cannot land is honestly marked sim, never faked.
(example tx ·
agent wallet)Running the code locally with no wallet configured falls back to a clearly labelled simulation, so anyone can try it. The deployed instance is live on-chain.
An earlier version of this idea only worked while a session was open on the builder's own laptop. When the laptop slept, the agent went dark. Second Opinion Pro is built the opposite way: the agent brain is serverless, its state lives in a serverless database, and two independent heartbeats advance work unattended. Close your laptop and it keeps running.
| Layer | What | Where |
|---|---|---|
| Diagnosis | Deterministic seven-vitals grading (A+ to D) | lib/vitals.ts |
| Portfolio | Demo books + live X Layer balance read | lib/portfolio.ts, lib/chain.ts |
| Agent economy | Plan → hire (A2A) → pay (x402) → execute → settle | lib/agents.ts |
| Orchestrator | Always-on state machine, guardrails, kill switch | lib/desk.ts |
| Chain | X Layer client, agent wallet, on-chain anchoring | lib/chain.ts |
| Storage | Redis (Upstash / Vercel KV) or in-memory fallback | lib/store.ts |
| API | Serverless routes: scan / approve / tick / kill / chain | app/api/* |
| Interface | Instrument-panel UI | components/desk-ui.tsx |
Stack: Next.js 14 on Vercel, React, TypeScript, viem, X Layer (chain 196).
npm install
npm run dev # http://localhost:3838
npm run test:vitals
Runs with zero config in honest simulation mode. See .env.example
for going always-on (Upstash) and live on-chain, and DEMO.md for the
demo script.
SUBMISSION.md — the full submission writeup.QA_BRIEF.md — how to test it, and expected-vs-bug behaviour.DEMO.md — the demo script.