Changelog

Release notes and improvements for AtlasBurn.

Switch workspaces from Claude and ChatGPT — November 2026

  • The MCP server can switch workspaces: two new tools, list_workspaces and switch_workspace, let your assistant read Production, Staging or Development, one at a time. Ask “switch AtlasBurn to staging”; “previous” goes back. Only workspaces of your own organization can be reached. See MCP Server → Workspaces.
  • Every answer names its workspace: cost, forecast, guardrail and signal results include the workspace they came from, so Staging numbers aren't mistaken for Production.
  • Keys go to the workspace you're reading: “Integrate AtlasBurn” creates the key there, and the approval screen shows which workspace it sends data to.
  • Reconnect to switch: connections made before this change keep working on their workspace but need to connect again to switch, because the consent screen now asks for it.

Proxy key checks and Gemini thinking tokens · SDK v1.11.6 — November 2026

  • SDK 1.11.6 counts Gemini thinking tokens: Gemini reports the model's thinking (thoughtsTokenCount) separately from its visible output, and Google bills it as output. AtlasBurn left it out, so cost for Gemini 2.5 and 3 thinking models was under-reported. It is now counted as output and priced at the output rate; the Edge Proxy counts it too. Costs recorded before the update are not corrected. Upgrade with npm install @atlasburn/sdk@latest.
  • The Edge Proxy checks your AtlasBurn key: it forwards only for an active key. An unknown key gets a 401 ATLASBURN_KEY_INVALID, a revoked key a 401 ATLASBURN_KEY_REVOKED, and many different invalid keys from one address a 429. Before, any value passed through, untracked and without guardrails. The answer is remembered for a few minutes, and if AtlasBurn can't answer, the call goes through. Creating a new key in a workspace replaces the old one, so switch apps that call the proxy to the new key. See Proxy Troubleshooting.
  • Guardrail flags are kept per key: at the Edge Proxy, a throttle or block now always belongs to exactly one AtlasBurn key. Before, two keys could in rare cases share a flag.
  • Create API keys in a popup: Create New Key (API keys) and Get API Key (Integration Guide) open the same popup, with an optional name, the workspace the key sends data to, and how many active keys it replaces. The key is shown once, with copy.

Agent frameworks, prompt caching and a streaming fix · SDK v1.11.5 — November 2026

  • Agent framework guides: tested setups for the OpenAI Agents SDK, Claude Agent SDK, LangChain, the Vercel AI SDK and Hermes Agent. Each was run with real model calls and compared with the framework's own token counts. See Agent Frameworks.
  • SDK 1.11.5 fixes streamed OpenAI Responses API calls: earlier SDKs and the Edge Proxy added an option the Responses API does not accept, so streamed calls failed with a 400 error. This affected the OpenAI Agents SDK, which uses the Responses API by default. Usage is now read from the Responses stream itself. Upgrade with npm install @atlasburn/sdk@latest; the proxy is already updated.
  • SDK 1.11.3 counts Anthropic prompt caching: cached tokens were left out of the input count and the cost. They are now counted and priced at Anthropic's rates (cache reads 0.1×, cache writes 1.25×, 1-hour cache writes 2× the input price), and the runaway-context guardrail sees the full context size. Streamed Claude calls, which were recorded with no input tokens, are fixed too. Costs recorded before 14 November are not corrected.
  • SDK 1.11.4 no longer retries telemetry that can never succeed, such as a rejected key.
  • Fewer false alarms on agents: the runaway-context guardrail now acts only when context growth is steep (at least 1.4× on every call) or the model keeps returning the same output. An agent reading files is left alone. See Guardrails.
  • Forecast: choose the horizon (7, 14, 30, 60 or 365 days) by clicking a forecast card. The forecast now uses measured history only and needs 7 complete days of it.
  • Dashboard: feature totals show cents, the active burn rate covers the last 15 minutes, the insights show what prompt caching saved, and Settings → Billing shows this month's usage.
  • Python: pip install atlasburn builds the Edge Proxy settings for OpenAI, Anthropic and eight other providers in one line.

Clearer error messages — November 2026

  • Every error explains itself: errors in the dashboard now show a heading, a stable code (for example AUTH_INVALID_CREDENTIALS or WORKSPACE_LIMIT_REACHED), one line on what happened and what to do next. Raw messages from our sign-in and database providers no longer appear.
  • Nothing hangs: actions you start (creating keys, saving settings, exports, uploads) stop after 30 seconds with NETWORK_TIMEOUT instead of spinning forever.
  • No more crash screen: if a workspace's data can't be loaded, the page stays usable and tells you why, instead of showing a blank “Application error”.
  • Telemetry check: the dashboard warns when a workspace that has sent data before hasn't received any events for 24 hours, with the time of the last one.
  • Privacy: sign-in errors never reveal whether an email has an account, and the “no account found” message no longer repeats the address on screen.

Docs for humans and agents — November 2026

  • Human / Agent switch on every docs page and blog post. Agent view shows the same page as clean Markdown with one copy button, ready to paste into Claude, ChatGPT or Cursor.
  • Every page also has a Markdown version at the same address plus .md (for example /docs/sdk.md), built from the same source as the page, and /llms.txt lists them all.
  • Copy buttons now say “Copied” only when the text really reached your clipboard. If your browser blocks the clipboard, the text is selected so Ctrl/⌘+C works.

Full data export — November 2026

  • Download everything, free on every plan: Settings → Data & Privacy builds a zip of everything stored for a workspace (JSON plus CSVs), with no row limit. Security hashes are left out.
  • One export per workspace per day. The file is kept for 7 days and downloads through a 15-minute link that only the workspace owner can open; the “export ready” email links to Settings, never to the file.
  • Plans in Settings → Billing now include a side-by-side comparison of what each one includes.

Workspaces, new plans and privacy controls — October 2026

  • Workspaces: keep Production, Staging and Development separate under one organization. Each workspace has its own keys, data, guardrails and member access, and test traffic no longer mixes with real spend. New workspaces start with guardrails off in Alert mode, so tests are never cut off. Organization overview shows all of them together.
  • New plans, priced by AI tokens tracked per month: Free (10M), Indie $19 (50M), Starter $199 (600M), Growth $399 (1.5B), Scale $699 (3B) and Enterprise. Guardrails, the kill switch, unlimited read-only viewers and the full data export are on every plan.
  • Privacy controls: delete your whole account from Settings, choose cookie preferences, and see and disconnect the AI assistants (Claude, ChatGPT, Cursor…) connected to your account. Benchmark sharing is opt-in per workspace and only the owner can turn it on.
  • Organization logo: pick one of 24 default logos or upload your own PNG, JPG or SVG.
  • Fixes: the page no longer freezes after closing a dialog opened from a menu (New workspace, Send feedback, Report a bug, Cookie settings), and an AI assistant connected to an empty account now explains what AtlasBurn tracks and how to set it up, including for Python.

Vertex AI detection fixed · SDK v1.11.2 — October 2026

  • Vertex AI calls are now tracked: earlier SDKs looked for vertexai.googleapis.com, a host Google doesn't use, so Vertex AI usage was never recorded. 1.11.2 recognises the real hosts — {location}-aiplatform.googleapis.com, aiplatform.googleapis.com (global / express mode) and aiplatform.{us|eu}.rep.googleapis.com — on model-call paths only. The free :countTokens call and other Google Cloud APIs on the same hosts are never metered or gated.
  • Non-streaming JSON :streamGenerateContent: usage is read from the last chunk of the JSON array (previously recorded as zero tokens).
  • Blocked Vertex calls get Google's own RESOURCE_EXHAUSTED 429 response shape.
  • CLI: abn init recognises @google/genai and @anthropic-ai/vertex-sdk. Upgrade with npm install @atlasburn/sdk@latest.

Integrate AtlasBurn from Claude · SDK v1.11 — October 2026

  • “Integrate AtlasBurn” in Claude: two new MCP tools, request_integration_key and get_setup_code, let Claude Code set AtlasBurn up in your project. You approve each new key in AtlasBurn with a fresh sign-in (same account that connected Claude); Claude then runs the CLI with a one-time setup code. The key goes straight to your env file and never appears in the chat. New keys are added, never replace existing ones, are capped at 5 active, and are labelled with the agent that asked (e.g. “via Claude Code”, “via Cursor”) on the API keys page. See Integrate AtlasBurn from Claude.
  • SDK 1.11.0 CLI: abn init --code redeems a setup code; --proxy sets up the Edge Proxy for any language (key + per-provider base URLs, no package.json needed); --yes takes ATLASBURN_KEY from the environment. Next.js instrumentation now runs in the Node.js runtime only, and a new .gitignore also covers node_modules/.
  • SDK 1.11.1 fixes plain Node and CommonJS apps: abn init wrote the key to .env, but plain Node never reads .env, so the SDK stayed off on npm start. The generated file now reads it itself (no dotenv; platform-set keys still win). CommonJS apps couldn't load the SDK at all; they now can on Node 20.19+ / 22.12+. Re-run npx abn init to upgrade an older setup file.
  • Complete history in MCP answers: cost tools now cover the whole window you ask for, built from server-side daily summaries. Previously they used only your most recent 500 requests, so busy accounts saw partial totals.

Throttle first on Kill Switch · SDK v1.10.0 — October 2026

  • Kill Switch throttles before it blocks: budget breaches still block at once, but loops and request-rate bursts are throttled first and blocked only if they are still happening 60 seconds later or cost more than your loop-block limit (2% of the daily budget, min $0.25, or your own amount). Projected breaches and spending anomalies only throttle. See How each tier responds.
  • Strict mode: a Kill Switch option that blocks every enforceable trigger at once, for teams that want the old behavior.
  • SDK 1.10.0 makes throttling real: a throttled feature's calls are spaced 2 seconds apart (throttleSpacingMs) instead of passing straight through. A queue deeper than throttleMaxWaitMs (10s) gets a blocked response so your app never stalls. Alert mode never slows a call.
  • Fix: on Kill Switch, projected breaches and spending anomalies used to hard-block for 2 hours; they now throttle unless Strict is on.
  • Fix: a loop that had stopped could be detected again from its last calls when other features sent traffic, extending its block. Detection now only looks at features with new calls.
  • Alerts now say which step you are on, and why a throttle escalated to a block.

Feature-scoped guardrails — October 2026

  • Loops pause one feature, not your whole app: the identical-request and runaway-context detectors now run per feature and stop only the feature that looped. Every other feature keeps running. Budget breaches still stop the whole project. See What gets blocked.
  • Per-feature Resume: Safety Guardrails lists each paused feature with its own countdown and Resume button. POST /api/guardrails/enforce accepts an optional featureId.
  • Feature tags on the Edge Proxy: send x-atlasburn-feature to attribute cost and contain loops per feature; the proxy strips it before forwarding.
  • Clearer blocks and alerts: the blocked response's reason is now the real trigger (it previously always said budget_breach), and alerts plus the MCP get_guardrail_status tool name the paused feature.
  • Works with SDK 1.9.3 as is. No upgrade needed if you already tag calls.

SDK v1.9.3 — October 2026

  • Per-call feature tags: atlasburnFeature("name") passed as request headers tags one call; the header is removed before the provider sees it. metadata.featureId sets a per-process default.
  • Faster guardrail gate: decisions are cached per feature for 10s and refreshed in the background; a check waits at most 2.5s before failing open; a failed check never lifts an active block.
  • Blocked calls fail fast: blocked responses carry x-should-retry: false, so the OpenAI and Anthropic SDKs no longer retry them for ~2 minutes.
  • Scripts exit cleanly: the flush timer no longer keeps short Node scripts (and npx abn init) alive.

SDK v1.8.0 — September 2026

  • The abn CLI — the SDK now ships a zero-copy-paste setup CLI (npx abn init): it detects your framework, auto-detects providers, takes your key via hidden input, shows a diff and asks before writing, wires instrumentation.ts (Next) or an entry import (Node), and runs a verification test. Also abn test, abn status, and abn doctor. Zero new dependencies.
  • MCP Server — AtlasBurn is now a public, OAuth 2.1 (PKCE) Model Context Protocol server, so Claude, ChatGPT, and Cursor can read your cost, runway, guardrail, and runtime data in-chat. Read-only, content-blind; published in the official MCP registry as com.atlasburn/atlasburn.
  • Verification events — verifyAtlasBurn() now tags its pulse as a verification event (billed the nominal $0.00001) so it's clearly distinct from production telemetry in the dashboard.

SDK v1.7.2 — September 2026

  • Expanded auto-detection (I1) — the SDK now auto-captures Azure OpenAI, OpenRouter, Cohere, Mistral, Groq, Together AI, DeepSeek, xAI, and AWS Bedrock (best-effort) alongside OpenAI, Anthropic, Gemini, and Vertex AI. Only a self-hosted model with no fixed public host still needs the proxy or /api/ingest.
  • Live model pricing — the Model Intelligence catalog refreshes list prices from a maintained provider registry every 3 days, with per-model manual pins; the static registry stays the fallback so a price is never blank.
  • Multi-channel alerts — guardrail breaches now fan out to Email, Slack, Discord, and Telegram with per-channel severity floors (SMS / WhatsApp planned).

SDK v1.6.1 — June 2026

  • Streaming usage capture (I3) — the SDK and Edge Proxy now inject stream_options.include_usage: true on OpenAI streams so the final SSE frame carries real input/output token counts. Pre-I3 streamed calls logged $0; that bug is fixed.
  • Estimated-token flag — events without a usage frame are now flagged est/~est in the Forensic Ledger.
  • License — repackaged under Apache-2.0. See License.
  • Docs — withdrew the legacy 94.2% accuracy figure pending re-derivation against current invoices.
  • Forecasting — engine outputs documented as p5 / p50 / p95 + VaR95 / CVaR95; the spurious P99 reference was removed.

v2.0.0 — May 2026

  • AtlasBurn Edge Proxy — new Cloudflare Worker integration. Zero code changes, native SSE streaming, fails open by design.
  • Autonomous Runtime Guardrails — server-side 5-layer defense engine replaces SDK-level Auto Kill:
    • Layer 1 — Financial Limits (daily / monthly hard cap)
    • Layer 2 — Dumb Loop Detector (identical token fingerprinting)
    • Layer 3 — Smart Loop Detector (monotonic context inflation)
    • Layer 4 — RPS Burst Protection (per-key frequency limits)
    • Layer 5 — Premium Model Concentration (prompt-injection / hijacked routing detection)
  • Cloudflare KV Kill Switch — <5ms edge enforcement with TTL auto-recovery and manual dashboard override.
  • New API endpoints: POST /api/ingest (telemetry collection) and POST /api/guardrails/enforce (KV flag webhook).
  • OpenRouter auto-detect via the Edge Proxy. Layer 4 is the primary safety net due to tokenizer drift from upstream load-balancing.

v1.5.0 — April 2026

  • Synchronous loop guards — added isRouting guard to prevent proxy recursion (RangeError: Maximum call stack size exceeded) in Next.js App Router
  • Universal Framework Support — initAtlasBurnAuto now survives arbitrary globalThis.fetch overrides by host frameworks (Next.js, Nuxt, SvelteKit)
  • Improved SSE stream chunk parsing for complex AI provider outputs (multi-chunk usage metadata, partial JSON frames)
  • Single-init integration via Next.js Instrumentation hook (instrumentation.ts)
  • Streaming and JSON responses captured automatically across Server Components and API Routes
  • Added Vertex AI auto-detect support alongside OpenAI, Anthropic, and Gemini
  • Deprecated route-level patching and custom fetch wrappers — safe to delete

v1.2.0 — March 2026

  • Added OpenRouter auto-detect support
  • Burn forecasting upgraded with tail-risk modeling (VaR95 / CVaR95)
  • Improved retry cascade detection with configurable thresholds
  • SDK: reduced cold-start overhead by 40%

v1.1.0 — February 2026

  • Gemini auto-detect support (1.5 Pro, 1.5 Flash)
  • Reconciliation tool for provider invoice comparison
  • New metadata field for custom context on events
  • Dashboard: per-model cost breakdown view

v1.0.0 — January 2026

  • Initial release
  • Auto-detect support for OpenAI and Anthropic
  • Forensic ledger with append-only, server-authored audit trail
  • Real-time observed spend calculation
  • Fail-silent SDK behavior
  • Manual instrumentation mode