Build around a clear contract.
Same-origin services and explicit configuration.
Run the real service
npm start serves the exported site and /serein/service/v1/ APIs using Node 24. npm run preview serves static files only and cannot provide financial operations. Server credentials belong in .env.local and never in browser code.
Configuration is visible
Execution, borrowing, DCA creation, DCA cancellation and private withdrawals have explicit server switches. A switch does not complete protocol selection, authentication or wallet approval. Workspace status and operation reviews report actual availability.
One gateway, six families
Set AI_GATEWAY_API_KEY and SEREIN_AI_ENABLED=true, then restart. Model IDs are checked against the provider catalog. Calls are bounded, have no automatic retry and provide no signing or execution tools.
Quotes come from providers
Quotes include provider source, amounts, minimum received, fees and timestamps. Application freshness is 30 seconds. A failed quote displays an error; saved prices are never used as a substitute.
