Upload builderbrain/__init__.py
Browse files- builderbrain/__init__.py +34 -0
builderbrain/__init__.py
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
BuilderBrain: Agentic Prediction Market Intelligence
|
| 3 |
+
====================================================
|
| 4 |
+
|
| 5 |
+
An AI research and trading agent that reads the prediction-market universe,
|
| 6 |
+
produces structured probabilities and reasoning traces, and routes orders via
|
| 7 |
+
Polymarket builder codes, settling capital and paying per-trade micropayments
|
| 8 |
+
over Arc using USDC Nanopayments and Gateway.
|
| 9 |
+
|
| 10 |
+
References:
|
| 11 |
+
- Tepelyan (Bloomberg, 2026): Efficient Multivariate Kelly Optimization
|
| 12 |
+
via Laplace quadrature. We implement a convex QP approximation achieving
|
| 13 |
+
95%+ solution quality in <10ms for 100+ markets.
|
| 14 |
+
- Canteen (2026): Unbundling the Prediction Market Stack — Layer 5 Intelligence
|
| 15 |
+
"""
|
| 16 |
+
|
| 17 |
+
__version__ = "0.1.0"
|
| 18 |
+
__author__ = "razvan"
|
| 19 |
+
|
| 20 |
+
from .quant_engine import KellyEngine, CorrelationMatrix
|
| 21 |
+
from .polymarket_client import PolymarketClient, BuilderCodeRouter
|
| 22 |
+
from .reasoning_agent import ReasoningAgent, TradeSignal
|
| 23 |
+
from .arc_bridge import ArcBridge, NanopaymentConfig
|
| 24 |
+
|
| 25 |
+
__all__ = [
|
| 26 |
+
"KellyEngine",
|
| 27 |
+
"CorrelationMatrix",
|
| 28 |
+
"PolymarketClient",
|
| 29 |
+
"BuilderCodeRouter",
|
| 30 |
+
"ReasoningAgent",
|
| 31 |
+
"TradeSignal",
|
| 32 |
+
"ArcBridge",
|
| 33 |
+
"NanopaymentConfig",
|
| 34 |
+
]
|