FAQ
Frequently asked questions
- What is RaksHex?
- Spend limits and change safety for the APIs your code depends on: Budget Lock (private beta) enforces hard pre-call spend caps through the RaksHex gateway, Self-Repair (prototype) drafts TypeScript PRs when an API changes, and leaked-key / retirement checks (in development) scan built bundles and code.
- Does Budget Lock cap calls made directly to OpenAI or Anthropic?
- No. Only calls routed through the RaksHex gateway are capped. Calls made directly to a provider are not metered or blocked.
- How does Budget Lock prevent overspending?
- Every cap that applies (workspace, agent, and gateway key) is checked together before the call is sent. Worst-case cost is reserved upfront from a catalog of ~3,400 models in one Cloudflare Durable Object per workspace, which handles one spend check at a time, settled to real cost afterwards, and any call that would exceed a cap is refused with HTTP 403 rakshex_budget_blocked.
- How do monthly resets, alerts, and key revocation work?
- Monthly caps reset automatically. Threshold alerts fire at 50%, 80%, and 100% via the budget.threshold webhook. Any compromised RaksHex gateway key can be revoked instantly; upstream provider-side key revocation is planned.
- What does Self-Repair do today?
- Self-Repair is a prototype. When an API changes, it finds affected TypeScript call sites, proposes the minimal fix as a draft pull request, checks it compiles with tsc --noEmit (not a sandbox and not your test suite), and waits for a human. It never merges. Today it supports one migration rule: Stripe API version 2026-09-30.endive (payment_method_types → allowed_payment_method_types for card-only Checkout).
- What do the CLI checks cover?
- rakshex secrets --bundle scans built output (.next/static, dist, build) for keys that ship to browsers (OpenAI incl. sk-proj, Anthropic, Google/Gemini, Stripe, AWS, GitHub, Slack). The free rakshex retirements check flags OpenAI Assistants API (shut down 2026-08-26), GPT-4o/4.1 API retirement (reported for 2027-01-14; verify on OpenAI's deprecations page), and Stripe Endive.
- Are the CLI and SDK on npm? Can I buy a plan today?
- Not yet. RaksHex is in private beta with an early-stage team in Bengaluru, India. The CLI and SDK are not yet published to npm, and there is no self-serve checkout. Access is by request.
- Do you hold SOC 2, ISO, or an SLA?
- Not yet. No SOC 2 certification or third-party penetration test is complete yet (both are planned), and there is no uptime SLA during the private beta. Legal pages describe template/evaluation terms.