Skip to content

Comments

Add market-intelligence community ability#97

Closed
bishop-commits wants to merge 4 commits intoopenhome-dev:devfrom
bishop-commits:add-market-intelligence
Closed

Add market-intelligence community ability#97
bishop-commits wants to merge 4 commits intoopenhome-dev:devfrom
bishop-commits:add-market-intelligence

Conversation

@bishop-commits
Copy link

What This Ability Does

A voice-first prediction market intelligence assistant. Ask about geopolitics, crypto, the economy, or technology and get real-time probability data from Polymarket plus crypto prices from CoinGecko, summarized as natural spoken briefings.

Why This Exists

Prediction markets are the fastest-growing source of forward-looking probability signals — $13B+ monthly volume and growing. But accessing them requires staring at dashboards. This ability makes that intelligence voice-accessible: "What's the market saying about Iran?" → spoken probability curve with weekly momentum.

Features

  • Intent classification — LLM routes queries to the right data (geopolitics, crypto, macro, tech, movers, overview)
  • Polymarket Gamma API — 500+ active markets, filtered for signal quality (>$50K volume floor)
  • CoinGecko integration — Real-time crypto prices alongside prediction market data
  • Weekly mover detection — Surfaces markets with >5% probability shifts
  • Conversation history — Follow-up questions maintain context
  • No API keys needed — Both APIs are free and public

Example Interaction

User: "What's happening with Iran?"
AI: "The market gives a sixty percent chance of US strikes on Iran by March 31st, up 27 points this week. The February 28th deadline is at 26 percent with about 30 million in volume."

User: "Any big movers?"
AI: "Biggest shift is Viking Therapeutics acquisition, jumping 45 points to 63 percent. Ubisoft acquisition dropped 21 points. Solana crash probability collapsed from 30 to 9 percent."

Checklist

  • PR targets dev branch
  • Files in community/market-intelligence/
  • Follows SDK pattern (extends MatchingCapability, register_capability, call)
  • README with description, trigger words, examples
  • resume_normal_flow() on every exit path
  • No print() statements
  • No blocked imports
  • No hardcoded API keys (none needed)
  • Error handling on all API calls
  • validate_ability.py passes ✅

Voice-first prediction market intelligence assistant powered by
Polymarket Gamma API and CoinGecko. Supports natural language queries
across geopolitics, crypto, macro, technology, politics, and trade.
Features intent classification, conversation history, weekly mover
detection, and LLM-generated spoken briefings.

No API keys required - works out of the box.
@bishop-commits bishop-commits requested a review from a team as a code owner February 20, 2026 00:51
@github-actions
Copy link
Contributor

github-actions bot commented Feb 20, 2026

🔀 Branch Merge Check

PR direction: add-market-intelligencedev

Passedadd-market-intelligencedev is a valid merge direction

@github-actions github-actions bot added first-contribution First-time contributor community-ability Community-contributed ability labels Feb 20, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 20, 2026

✅ Ability Validation Passed

📋 Validating: community/market-intelligence
  ✅ All checks passed!

@github-actions
Copy link
Contributor

github-actions bot commented Feb 20, 2026

🔍 Lint Results

__init__.py — Empty as expected

Files linted: community/market-intelligence/main.py

✅ Flake8 — Passed

✅ All checks passed!

Signed-off-by: Muhammad Rizwan <awanrizwan615@gmail.com>
@codermohsin
Copy link
Contributor

I have ran you code but it give this error . "Forbidden import of module 'urllib' (File: .temp/2766/wewrwew/main.py, Line: 3)"
As we have restricted some imports due to security reason. kindly check this .

image

@Rizwan-095 Rizwan-095 closed this Feb 20, 2026
bishop-commits added a commit to bishop-commits/abilities that referenced this pull request Feb 20, 2026
Voice-first prediction market + crypto price assistant using
Polymarket Gamma API and CoinGecko. Supports multi-turn conversation
with automatic query classification across geopolitics, crypto, macro,
technology, and corporate categories.

Fixes openhome-dev#97 feedback: replaced urllib with requests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-ability Community-contributed ability first-contribution First-time contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants