The public website and account dashboard for Aex. It contains the product pages, Google sign-in, account and billing status, API-key management, usage, legal pages, and service status.
The dashboard reads offered and accepted pricebooks from Aex. It shows reported input and output tokens, hosting charges, absorbed charges and pending estimates. Model keys remain customer-owned; sandbox, attachment storage and reads have separate resource prices.
Requires Node.js 24.
npm ci
npm run devThe site uses https://api.aex.dev by default. Set AEX_API_BASE_URL to another HTTPS control
plane when testing a different environment. Account credentials stay in an HttpOnly, same-site
cookie, and the same-origin proxy accepts only its explicit method and path allowlist.
npm run lint
npm audit --audit-level=high
npm run build
npx playwright install chromium
npm testNext's lint directory lookup uses the local fast-glob workspace backed by tinyglobby.
This removes the unpatched braces recursion vulnerability
while retaining Next's lint rules and the dependency audit.
Public pages introduce the product, explain its benefit and show the next action. Follow the shared wording guide. The hosted quickstart follows Aex's guide. The hosted typed-answer guide follows Aex's SDK contract. Retired Brain structured-output URLs redirect there.
Brain owns the prose and contracts imported through the immutable revision in docs.lock.json.
Edit them in Brain; content/ is replaced at build time. Set BRAIN_REPO_PATH to a Brain checkout
for local validation.
Production uses .github/workflows/deploy-vercel.yml on a CI-approved annotated
release/sha-<commit> tag. It verifies routes and SDK/CLI versions after assigning aex.dev
and www.aex.dev. Account, billing and deployment behavior comes from the Aex API.