Workflow
How Selun Works
Selun applies a structured, repeatable process to every allocation request. Each step feeds the next — regime context shapes policy, policy shapes asset selection, and asset quality shapes the final weights.
The allocation flow
Assess market regime
Before any allocation is made, Selun classifies the current market environment. It evaluates volatility, liquidity conditions, and market sentiment to determine what kind of market you are operating in. This context shapes every subsequent step — a risk-on regime and a risk-off regime produce very different allocation constraints.
Define a policy envelope
Given your risk tolerance and the market regime, Selun computes a risk policy envelope: the maximum exposure caps per asset class, the minimum stablecoin floor, and the overall risk budget. This envelope acts as a hard constraint. The final allocation will always stay within it.
Score candidate assets
Selun evaluates each candidate asset on liquidity, structural stability, role classification (e.g. store of value, yield, speculative), and a composite quality score. Lower-quality assets are down-weighted or excluded entirely. This step ensures the allocation is built from defensible components.
Generate the allocation
Using the regime context, the policy envelope, and the asset scores, Selun produces a target portfolio allocation — concrete weights for each asset. This is an asynchronous operation: you submit the request, receive a status path, and poll for the completed result. The output is a structured allocation you can act on.
Optionally produce a decision report
If you need a documented record — for governance, for stakeholders, or for your own audit trail — you can request an allocation with report. This produces the same allocation result plus a certified PDF that captures the regime snapshot, policy constraints, asset scoring, and decision rationale at the time the call was made.
Rebalance when needed
If you already have holdings and the target allocation has drifted, Selun computes the adjustments needed to bring the portfolio back within policy. You submit your current holdings alongside the usual inputs, and Selun returns drift analysis and the trade instructions required to rebalance. This is a synchronous call and returns immediately.
Async vs synchronous endpoints
Allocation endpoints (steps 4 and 5 above) are asynchronous. When you call them, Selun accepts the job, returns a status path, and processes the allocation in the background. You poll the status path until the result is ready. This allows the engine to run a thorough analysis without blocking your request.
The tool endpoints — Market Regime, Policy Envelope, Asset Scorecard, and Rebalance — are synchronous. They process your inputs immediately and return the result in the same response.
What a real run produces
Below is a real allocation run produced by Selun (AAA v4, deterministic mode). Inputs: Aggressive risk tolerance, under 1 year timeframe, Bluechips segment.
Step 1 output — Market Regime
Step 2 output — Policy Envelope
Step 3 output — Asset Scores (top assets)
| Asset | Quality | Liquidity | Structural | Volatility |
|---|---|---|---|---|
| USDT | 0.916 | 1.000 | 0.960 | 0.004 |
| BTC | 0.911 | 1.000 | 0.938 | 0.063 |
| ETH | 0.911 | 1.000 | 0.938 | 0.063 |
| SOL | 0.906 | 0.976 | 0.938 | 0.072 |
| XRP | 0.899 | 0.947 | 0.938 | 0.083 |
| BNB | 0.846 | 0.835 | 0.938 | 0.126 |
Candidate funnel: 300 universe → 64 eligible → 12 selected. 186 assets excluded for liquidity below threshold; meme tokens (DOGE, PEPE, SHIB, TRUMP) excluded by policy.
Step 4 output — Final Allocation (12 assets)
Data: 16 sources including Binance, Coinbase Exchange, CoinGecko, Alternative.me, CoinDesk RSS — all fetched at execution time. Integrity hash (SHA-256) generated and embedded in report.
Two ways to access Selun
Human interface
Allocation Wizard
A guided step-by-step flow where you choose your risk tolerance, asset preferences, and whether you want a certified report. Accepts card payment via Stripe. No wallet required to start.
Open Wizard →Machine interface
x402 Endpoints
Call any capability directly via HTTP. Each endpoint is payment-gated using the x402 protocol — USDC on Base, pay per call. Suitable for agents, scripts, and automated workflows.
View Endpoint Catalog →