galdor.xyz/admin

Product 1

Version 1 product definition for the agentic prediction-market analytics platform

Updated 2026-09-20

doc4
titleProduct 1
descriptionVersion 1 product definition for the agentic prediction-market analytics platform
iconcompass
updated2026-09-20
product4
namekalshi-ai
version1
one_linerAgentic research and trade-recommendation platform for prediction markets. Kalshi first, venue-agnostic by design.
statusdesign
scope3
in8
[0]Agentic scan of all open markets on a schedule, producing a ranked shortlist
[1]Agentic deep analysis of a single market on demand
[2]1
Trade recommendation per marketside, size, entry, exit, invalidation, or abstain
[3]Plain-language explanation of every recommendation
[4]Logged recommendations with resolution tracking and public calibration stats
[5]Freemium tiers with credit metering
[6]Stablecoin payments
[7]Clerk authentication
out4
  • Live trading account management of any kind
  • Placing, modifying, or cancelling orders on behalf of users
  • Holding user exchange API keys or wallet keys
  • Portfolio sync from exchange accounts
decided1
D14
idD1
decisionVersion 1 is analysis and recommendation only. No execution.
decided_on2026-09-20
noteUsers act on recommendations themselves. The app deep-links to the market on the venue. The provider interface excludes execution methods entirely so the boundary is structural, not a config flag.
venues4
design_ruleOne MarketProvider interface, one normalized market model, one adapter per venue. Nothing outside the adapter may import venue-specific types.
normalized_model3
market10
  • id
  • venue
  • event_id
  • title
  • resolution_rules
  • resolution_source
  • outcomes[]
  • close_time
  • resolve_time
  • status
outcome7
  • label
  • price
  • bid
  • ask
  • volume_24h
  • open_interest
  • liquidity_score
history_point3
  • ts
  • price
  • volume
provider_interface6
  • listMarkets(filter)
  • getMarket(id)
  • getOrderBook(id)
  • getHistory(id, range)
  • getEvents(filter)
  • getResolution(id)
adapters2
[0]4
venuekalshi
priority1
apiREST v2 plus WebSocket; RSA-signed auth for authenticated endpoints
notesseries -> event -> market hierarchy; prices in cents
[1]4
venuepolymarket
priority2
apiGamma API for metadata, CLOB API for prices
notesoutcome tokens priced in USDC; first target for cross-venue checks
agents4
shared_rules5
  • Every run has hard caps on tool calls, tokens, and wall time
  • Every run is a background job, never inside a request handler
  • Every output is structured and stored before any UI renders it
  • Web research must cite sources; model recall is not evidence
  • Resolution rules are quoted verbatim in output, with the agent's reading of edge cases
scanner5
purposeFind markets worth attention across all open markets
cadencescheduled; delayed for free tier, fresh for paid tiers
model_tiercost-efficient
signals5
  • price vs base rate
  • thin liquidity or wide spread
  • mutually exclusive outcomes summing well over 1.0
  • same event priced differently across venues
  • high volume near resolution
outputranked shortlist with one-line rationale per market; shared across all users
analyst5
purposeForm an independent probability for one market
triggeron demand, or automatically for paid watchlists
model_tierfrontier
steps5
  • read resolution rules literally
  • pull order book and price history
  • research the underlying question with a search tool
  • estimate probability with a confidence band
  • compare to market price and state the edge
outputprobability, confidence, edge, evidence with citations, rules reading
strategist4
purposeTurn an analyst result into a recommendation
positions4
  • YES
  • NO
  • ABSTAIN
  • WAIT
output6
  • position
  • size_guidance
  • entry_price
  • exit_conditions
  • invalidation
  • explanation
rules2
  • ABSTAIN rate is reported, never hidden
  • never references user account balances (none exist in v1)
track_record4
purposeCredibility and marketing; built before the first user
log_per_recommendation8
  • market_id
  • venue
  • ts
  • market_price_at_rec
  • model_probability
  • position
  • tier_that_produced_it
  • model_ids_used
on_resolution3
  • outcome
  • brier_contribution
  • hypothetical_pnl_at_rec_price
public_page3
  • Brier score over time
  • abstain rate
  • hypothetical P&L by position type and venue
tiers5
meteringcredits
free3
price0
includes4
  • browse and search all markets
  • delayed scanner shortlist
  • small monthly credit grant for deep analyses
  • public track record
cost_notescanner and track record are shared computation; cheap to serve
standard1
includes5
  • daily fresh scanner
  • meaningful monthly credit grant
  • watchlists
  • resolution alerts
  • private history
elite1
includes5
  • real-time scanner
  • cross-venue arbitrage feed
  • auto-analysis on watchlist changes
  • API access
  • larger credit grant
pricingTBD
payments5
methodstablecoins only
constraintwallets cannot be charged on a schedule
candidate_models2
  • prepaid_periods
  • credit_top_ups
candidate_processors2
  • Coinbase Commerce
  • Stripe stablecoin
ruleno custody of funds or keys on our side in v1
auth3
providerclerk
ruletier and entitlements live in our database keyed by Clerk user id, not Clerk metadata
noteClerk Billing is card-based via Stripe; not used
stack7
webNext.js 16.3.5
languageTypeScript
package_managerpnpm
dbDynamoDB
jobsInngest or Trigger.dev
llmClaude API with tool use
layout4
  • apps/web
  • packages/providers
  • packages/agents
  • packages/db
risks5
R14
idR1
riskPersonalized paid recommendations may look like Commodity Trading Advisor activity
mitigationFintech counsel before taking payment; research-and-analytics framing; disclaimers
statusopen
R23
idR2
riskLLM misreads resolution criteria
mitigationverbatim rules in output; explicit edge-case reading; citations required
R33
idR3
riskUnbounded agent cost on free users
mitigationhard caps per run; credit check before job start; shared scanner output
R43
idR4
riskStablecoin-only checkout limits conversion
mitigationdecide on card fallback timing; see D3
R53
idR5
riskVenue API terms may restrict advisory use
mitigationreview Kalshi and Polymarket developer terms during adapter work
open_decisions5
D23
idD2
questionStablecoin recurrence model
options3
  • prepaid_periods
  • credit_top_ups
  • both
D32
idD3
questionCard fallback ever, later, or never
D42
idD4
questionLegal counsel engaged, or draft the questions to bring to one
D53
idD5
questionFree tier split between shared computation and per-user quota
leanshared scanner output plus a small personal quota
D62
idD6
questionPricing for standard and elite
milestones5
M15
idM1
namevertical slice
goalKalshi adapter, one market analyzed end to end, recommendation logged with tracked outcome
excludesauth, billing, UI polish
whyvalidates the interesting part before any infrastructure that depends on it
M22
idM2
namescanner and track record
M32
idM3
nameauth, tiers, credit ledger
M42
idM4
namestablecoin payments
M52
idM5
namepolymarket adapter and cross-venue signals