Skip to content

Conversation

@1bcMax
Copy link
Contributor

@1bcMax 1bcMax commented Jan 29, 2026

🏆 Predict Developer Hackathon Submission

Track: Best Submission using x402 Protocol for automated tool discovery + payment

This PR integrates BlockRun's wallet-based AI model access into PredictOS, enabling developers to use 20+ AI models without API key management - powered by the x402 protocol.


Summary

  • Add 15 BlockRun AI models to the frontend UI dropdown in both AgenticMarketAnalysis and ArbitrageTerminal
  • Update README with prominent "Quick Start with BlockRun" section highlighting wallet-based access
  • No API keys required - users can access GPT-5, Claude Opus 4, Grok 3, Gemini 2.5, DeepSeek, and Qwen with just a wallet

What's New

Frontend Changes

  • AgenticMarketAnalysis.tsx: Added 15 BlockRun models with cyan-themed UI styling
  • ArbitrageTerminal.tsx: Same model additions for consistency
  • Models are grouped under "BlockRun (No API Key)" section in dropdown

BlockRun Models Added

blockrun/gpt-4o, blockrun/gpt-4o-mini, blockrun/gpt-5, blockrun/o1
blockrun/claude-sonnet-4, blockrun/claude-opus-4, blockrun/claude-haiku
blockrun/grok-3, blockrun/grok-3-fast
blockrun/gemini-2.5-pro, blockrun/gemini-2.5-flash
blockrun/deepseek-chat, blockrun/deepseek-reasoner
blockrun/qwen-max, blockrun/qwen-plus

README Updates

  • Added "Quick Start: Use BlockRun" section before the env example
  • Added BLOCKRUN_WALLET_KEY to environment configuration
  • Updated "Multi-Model Support" feature description

Why BlockRun + x402?

BlockRun leverages the x402 protocol for wallet-based AI model access:

  • No API key signups - just connect your wallet
  • Pay-per-request with USDC on Base
  • Self-custody - your funds, your control
  • 20+ models - GPT-5, Claude Opus 4, Grok 3, Gemini 2.5, DeepSeek, Qwen
  • Automated payments via x402 protocol - no manual billing

Hackathon Alignment

Criteria Implementation
x402 Protocol BlockRun uses x402 for automated micropayments per AI request
Tool Discovery Models auto-discovered and displayed in UI dropdown
Polymarket Integration Works with PredictOS Super Intelligence for market analysis
Developer Experience One env variable (BLOCKRUN_WALLET_KEY) to access 20+ models

Test Plan

  • Run frontend with npm run dev in terminal directory
  • Navigate to Market Analysis page
  • Open model dropdown and verify BlockRun models appear
  • Select a BlockRun model (e.g., blockrun/claude-opus-4)
  • If BLOCKRUN_WALLET_KEY is configured, test running an analysis

Screenshots

BlockRun models now appear in the dropdown with cyan styling:

Models include GPT-4o, GPT-5, Claude Sonnet/Opus/Haiku, Grok 3, Gemini 2.5, DeepSeek, and Qwen variants.


Submitted for the Predict Developer Hackathon

- Add 15 BlockRun models to AgenticMarketAnalysis.tsx
- Add same models to ArbitrageTerminal.tsx for consistency
- Update ModelOption type to include 'blockrun' provider
- Add cyan-themed UI styling for BlockRun badge and dropdown section
- Add "No API Key" label to highlight wallet-based access
- Update README with BlockRun Quick Start section
- Add BLOCKRUN_WALLET_KEY to env example

BlockRun provides wallet-based access to 20+ AI models including
GPT-5, Claude Opus 4, Grok 3, Gemini 2.5, DeepSeek, and Qwen
without requiring API key signups.
- Add BlockRunTool type for wallet-based search tools (no API key needed)
- Add blockrun_x_search and blockrun_web_search to tool options
- Display BlockRun badge for BlockRun tools in dropdown
- Handle tool filtering when switching between model providers
- Fix type error in AnalysisOutput.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant