Licensing

On this page

Free and BoxLang+

BxLens is freeware with limits. Everything you need to see what one request did, and most of what you need to run one server, is free, including in production. BoxLang+ lifts the limits and adds the features that keep history, act on the server, read other servers and call a model.

:::: cards

Everything you need to see what one request did, and most of what you need to run one server, including in production.

One server only. The debug bar needs nothing. The console needs a one time, free registration of the server. The last 25 requests are kept in memory.

Lifts the limits and adds the features that keep history, act on the server, read other servers and call a model.

Multi server observability, request cost, task and cache actions, the disk store, email alerts and AI. No registration needed.

::::

Registration. The debug bar needs nothing. The console on Free or a trial needs a one time, free registration of the server, before the sign in. BoxLang+ needs none. A registration for development or testing also starts a 7 day trial of the BoxLang+ features. The trial is not for staging or production: those servers are registered on Free, with no trial. See Register.

Debug barConsoleBoxLang+ features
BoxLang+ (valid license)YesYes, no registrationYes
Registered for development or testing, in the 7 day trialYesYesYes, until the trial ends
Registered for development or testing, trial overYesYesNo (Free)
Registered for staging or productionYesYesNo (Free), no trial
Not registeredYesRegister page onlyNo

A bx-plus trial counts only for a registered server, and lasts until the BxLens trial ends (the cap), even if the bx-plus trial has more days.

This page is the one place that says what is free and what is not. It describes the current split and may change. The server checks one list, Licensing.PLUS_FEATURES, in one place, Licensing.has().

At a glance

Jump to a group: The bar, The console, Many servers, Acting on the server, Taking data away, AI, Security and operations.

The bar

What the bar shows on every request.

FeatureFreeBoxLang+ or trial
All tabs: timeline, queries, exceptions, HTTP, messages, timers, request, ColdBox, runtime, scopes, BIF timing, your own panelsYesYes
ColdBox: the tab, the tag and event on requests, clear the event and view caches, reinitYesYes
Request cost (CPU time and memory allocated) and the slow request sampleNoYes
Save or reset the bar layoutLook onlyYes

The console

The pages of one server. Limits on Free are in the Free column.

FeatureFreeBoxLang+ or trial
Overview, Executors, Datasources, Applications, Watchers, Logs (browse and the last 200 lines), Environment, Modules, Configuration, SystemYesYes
In flight: requests running right now, with the stack of eachNoYes
Hot spots: where the time of a slow request went, for a request, a running request and a URLNoYes
Errors: choose how many issues are kept, the flood limits and the days an issue of each status stays (Free: 100 issues, fixed)NoYes
Errors: ignore rulesNoYes
Errors: export as CSV or JSONNoYes
Bytecode profiler: every expression of your code counted and timed for a session, with the source heatmap (needs BoxLang 1.19 or newer)NoYes
Threads and thread dumpsNoYes
Logs: search and live tailNoYes
Settings: read every valueYesYes
Settings: change or reset them in the consoleNoYes
Viewer role (read only login)No, admin login onlyYes
Requests kept in memoryLast 25As configured (default 250)
Queries (including the SQL of the ORM)The 10 heaviest statements, in memoryEvery statement kept (up to 500), in memory
Errors and ReportsIn memory, 60 minute series, the last hour of this server compared with the hour before. Errors: the whole workflow (resolve, ignore, regress, notes), a 24 hour trendSaved to disk, totals since first install, series up to 3 days, report ranges of 24 hours to 30 days with URL history, the page of a URL and the other servers. Errors: 7 and 30 day trends, issues of every server, Share and Ask Lensy
HTTP page: outgoing calls by host and endpoint, p50, p95, p99, what needs attentionLast hour of this server24 hours, 7 and 15 days from the saved rollups
HTTP: the list of single calls with the request that made eachNoYes
ORM page: event totals, failures and Hibernate statisticsNo (the SQL itself is free)Yes
System: heap, GC, threads, disk volumes and the folders Lens writes to (this server)YesYes
Mail page for bx-mail: message viewer with a safe preview, delivery attempts, servers, queueThree counters and the last ten messagesYes
Email alerts (17 rules, your SMTP, recipients) and daily, weekly and monthly reportsNoYes

Many servers

Free is one server only.

FeatureFreeBoxLang+ or trial
Multi server observability: the server selector, the whole fleet on the Overview (state, totals, groups, versions, gone servers, reports across servers) and the pages of other servers (HTTP, Reports, Errors, AI, Mail, System and more)No, one server only. The Overview shows this server in full, and counts the other servers it finds in the store folder behind an upgrade card, without reading themYes

Acting on the server

Viewing is free. Changing something on the server is BoxLang+.

FeatureFreeBoxLang+ or trial
Scheduled tasks: viewYesYes
Run now, pause, resume, reloadNoYes
Applications and Watchers: viewYesYes
Restart an application, remove an expired entry, start, stop and restart a watcherNoYes
Caches: statistics and the key listYesYes
Read a cache value, evict, reap, clearNoYes
Heap dump (also needs console.allowHeapDump)NoYes

Taking data away

Downloads for support and offline reading.

FeatureFreeBoxLang+ or trial
Download a log fileNoYes
Diagnostic bundle for a support ticketNoYes

AI

Copying a prompt is free. The server calls a model only on BoxLang+.

FeatureFreeBoxLang+ or trial
Copy a redacted prompt, open ChatGPT or ClaudeYesYes
Explain with AI, Ask Lens and Lensy, the Box Agent (chat, tools, approved actions, MCP servers)NoYes
AI observability: runs, agents, MCP servers and their rate limits, models, cost, registriesFour counters for the last hourYes

Security and operations

Free and Plus share all of these, except the data BIFs and the console gate.

FeatureFreeBoxLang+ or trial
Read only mode, the audit log, proxy header trust, console.requireHttps, the Secret Store, and the admin password set in the consoleYesYes
The lens* BIFs of the bar and the timers (lensStart, lensMeasure, lensLicense, lensRequestId and the others) and the extension APIYesYes
The data BIFs lensReport, lensErrors, lensQueries and lensInflightNo, they return nothing (locked: true or an empty array)Yes
The data BIFs lensReport, lensErrors, lensQueries and lensInflightNo, they return nothing (locked: true or an empty array)Yes
The consoleAfter a free registration of the serverRegistration or BoxLang+
Air gapped: no request to any other siteYesYes

Why BoxLang+

  • History that survives a restart. Errors, reports, HTTP rollups and AI runs are saved to disk, so Monday morning still knows what happened on Saturday. Free forgets when the server stops.
  • Longer and deeper. Ranges of 24 hours to 15 days, series up to 3 days, more requests in memory, and totals since first install.
  • See every server. Servers that share a store folder appear in one selector. Totals add up and the p95 is merged from the histograms, not averaged. Read only, with no agent to install.
  • Know what a request cost. CPU time and allocation per request, and a sample of the slow ones, so you find the request that burns the server and not only the one that waits.
  • Act, with a record. Run a task, clear a cache, reap, evict or take a heap dump from the console. Admin only, and every action is in the audit log.
  • Hand support a complete picture. The diagnostic bundle and log downloads in one click, secrets hidden.
  • Ask the server. Lensy answers questions with the real numbers of this server, proposes actions you approve one by one, and can read the documentation through MCP servers you allow.
  • Watch your agents. Runs, traces, tokens, cost, failing tools and the MCP servers you host, with what to check when something fails.
  • A subscription for the whole platform. The same license unlocks the other BoxLang+ modules, and it comes with the support described on the BoxLang plans page.

Get BoxLang+

You need the bx-plus module and a license. A trial license works the same way and shows as Trial in the console. Plans and trials are on boxlang.io/plans.

  1. Install bx-plus on the server that runs Lens.

    # BoxLang binary
    install-bx-module bx-plus
    
    # CommandBox
    box install bx-plus
    
  2. Activate with the email of the subscription and the license key. Pick one way.

    # Command line
    boxlang module:plus activate --email "$BX_LICENSE_EMAIL" --licenseKey "$BX_LICENSE_KEY" --serverType Production
    
    # CommandBox, for example when you build a Docker image
    box boxlang cli module:bx-plus activate --email=$BX_LICENSE_EMAIL --licenseKey=$BX_LICENSE_KEY --serverType=Production
    
    // From code, once
    boxlangLicenseActivate( email = "you@company.com", licenseKey = "your-license-key", serverType = "server" );
    

    Keep the key out of source control: read it from an environment variable or a secret store. The license is a token that bx-plus refreshes by itself on the day it expires. You can refresh it by hand with boxlangLicenseRefresh() or boxlang module:plus refresh.

  3. Check it. boxlang module:plus info or boxlangLicenseInfo() shows the status. In the console header the label changes to BoxLang+ active (or Trial, with the days left). Lens asks again at most every 5 minutes, so the locked items open without a restart.

    boxlang module:plus info
    
  4. Turn on what you want. Some Plus features are also off until you choose them: AI needs ai.enabled, the AI page needs the bx-ai integration switched on, heap dumps need console.allowHeapDump, and the disk store needs store.enabled (on by default).

If bx-plus is missing or the license is not valid, Lens reports Free and carries on. Nothing breaks, the locked items show a BoxLang+ note.

How a locked item behaves

A locked item is easy to spot, and the server refuses it too. Pick where you are looking.

A locked item shows a "BoxLang+" note or chip next to it. The cpu and alloc chips are hidden and the Runtime tab has a BoxLang+ note. In the bar designer the buttons are disabled, with a "BoxLang+ to save a layout" chip. The assistant button and the bar's Ask link are hidden.

A locked item shows a "BoxLang+" note or chip next to it, and its buttons are disabled. The Upgrade page lists everything that is locked.

The server answers 403 with a message that names BoxLang+. The AI chat answers 409.

A trial or a valid license unlocks all of it.

When a trial ends or a license expires

The locked features stop at the next license check. The disk store stops writing, the request history returns to 25, and request cost and the slow request sample stop being collected. Data already on disk stays on disk.

Details per feature

One group per area. Each row says what Free gets, what BoxLang+ or a trial adds, and where the lock shows.

Request data

FeatureFreeBoxLang+ or trialWhere the lock shows
Request cost (CPU time and allocation) and the slow request sampleNot collectedCollectedBar: the cpu and alloc chips are hidden, and the Runtime tab has a BoxLang+ note.
Requests kept in memory25 at most, even if history.maxRequests is higherhistory.maxRequests as configured (default 250)None.
Share a request or a report by mail and to channels (notifications), Ask Lensy on a request (ai)NoAllowedThe buttons show a BoxLang+ chip and a note. POST requests/{id}/share and POST reports/share answer 403. The list, the page of a request, sorting, filters, DB time, the ColdBox section and the Report page are free.
Requests of other servers in the list, with the Server column and menu (servers)This server onlyAllowedThe Server menu is a locked button. GET requests?server= is ignored and nothing about another server is read or sent.
All statements in Queries (fullQueries)The 10 heaviest by total time, with the totals of allEvery statement keptQueries page: a note with the count.

Acting on the server

FeatureFreeBoxLang+ or trialWhere the lock shows
Scheduled task actionsView onlyRun now, pause, resume, reloadTasks page: a BoxLang+ note, and the action buttons are disabled. Server: 403.
CachesStatistics and the key listRead a value, evict, reap, clearCaches page: a BoxLang+ note, and the buttons are disabled. Server: 403.
Application actionsView onlyRestart an application, remove an expired entryApplications page: a BoxLang+ note, and the buttons are disabled. Server: 403.
Watcher actionsView onlyStart, stop and restart a watcherWatchers page: a BoxLang+ note, and the buttons are disabled. Server: 403.
Heap dumpNoAllowed, and still off until console.allowHeapDump is trueSystem page: a BoxLang+ note replaces the controls. Server: 403.
The In flight page (inFlight)NoAllowedIn flight page: a BoxLang+ note. Server: 403.
Errors limits and retention (errorLimits)NoAllowedFree keeps 100 issues with the default limits and no automatic removal, whatever collectors.errors.* says.
Errors ignore rules (errorRules)NoAllowedThe rules are not applied and POST errors/rules* answers 403. Saved rules come back when a license or trial returns.
Task run history (taskHistory)No: the totals and the last result or error of each task stayAllowedNothing is recorded and GET tasks/{scheduler}/{task}/history answers 403.
Errors export (errorExport)NoAllowedGET errors/export answers 403.
The Bytecode profiler (profiler)NoAllowedNo page, rules or chip. The profiler/* routes and the profiler kinds of ai/explain answer 403. Nothing records.
Hot spots (hotSpots)NoAllowedNo Hot spots card or rules. The hotspots/* routes, requests/{id}/hotspots, inflight/{id}/hotspots and reports/url/hotspots answer 403. The sampler does not run.
Threads and thread dumps (threads)NoAllowedThreads page: a BoxLang+ note. Server: 403.
Change or reset settings in the console (liveSettings)Read every valueAllowedSettings page: the buttons are disabled with a note. Server: 403. boxlang.json still works.
The viewer role (viewerRole)The viewer password is refused with a BoxLang+ message; admin signs in. Setting a viewer password in the console answers 403 naming BoxLang+ (removing or resetting it stays open)AllowedLogin page, and the viewer password in Settings, Security. A viewer session ends when the license ends.

Logs, downloads and layout

FeatureFreeBoxLang+ or trialWhere the lock shows
Download a log fileBrowse, search and live tailAllowedLogs page: the Download button is disabled with a Plus chip. Server: 403.
Diagnostic bundleNoAllowedEnvironment page: the link is disabled with a Plus chip. Server: 403.
Log search and live tail (logTail)Browse and read up to 200 linesSearch, live tail, up to 2000 linesLogs page: the search box and Live button are disabled. Server: 403 for a search.
Save or reset a bar layoutLook at the designerAllowedBar designer: the buttons are disabled, with a "BoxLang+ to save a layout" chip. Server: 403.

History and storage

FeatureFreeBoxLang+ or trialWhere the lock shows
Disk storeIn memory, 60 minute seriesSaved to disk, series up to 3 daysErrors and Reports pages: a note that the data is kept in memory only.
ORM statisticsThe ORM SQL is free and shows with other queriesThe console ORM pageORM page: a BoxLang+ note. Server: 403.
HTTP historyThe last hour of this server24 hours, 7 and 15 days (needs the disk store)HTTP page: the 24h, 7d and 15d buttons are disabled. Server: 403.
The list of outgoing HTTP callsNoAllowed, at collect.level fullHTTP page: the Calls tab shows a BoxLang+ note. Server: 403.

AI

FeatureFreeBoxLang+ or trialWhere the lock shows
AI calls from the server: Explain with AI, Ask Lens, LensyNoAllowed, with ai.enabledThe assistant button and the bar's Ask link are hidden, and the AI settings are locked. Server: 409 for a chat, 403 for the AI settings, the connection test and setting the API key in the console.
AI observability (aiObs)Four counters for the last hour: failed runs, rate limit hits, MCP errors and MCP calls blockedAllowedEverything but the counters answers 403. The recorder middleware is not attached.

Notifications and mail

FeatureFreeBoxLang+ or trialWhere the lock shows
Email reports: a daily, weekly and monthly report of the cluster for admins (notifications)NoAllowedPart of the Notifications tab. Server: 403.
Notifications: email alerts for 17 conditions on every server, recipients, SMTP settings and a test mail (notifications)NoAllowedThe Notifications tab shows a BoxLang+ note. Server: 403.
Mail previews: the exact mail of each alert rule and each report, and "send me this" to one address (notifications)NoAllowedPart of the Notifications tab. Routes notifications/mailpreview and notifications/mailpreview/send answer 403.
Notification channels: Slack, Microsoft Teams, Telegram and signed webhooks for alerts and reports, with their test messages (notifications)NoAllowedPart of the Notifications tab, so the Channels tab is locked with it. Every route under notifications/channels answers 403. Lensy's channels and channelTest tools are for BoxLang+ too.
The Mail page: message viewer with preview, search, servers, queue and its actions, settings (mail)Three counters for the last hour (sent, failed, spooled), the last ten messages (addresses and subject)AllowedEverything but the counters answers 403.

Many servers

FeatureFreeBoxLang+ or trialWhere the lock shows
The server selector, the fleet on the Overview and the pages of other servers (HTTP, Reports, Errors, AI, and System, Executors, Tasks, Datasources, Caches, Requests, In flight from the health snapshot)This server only. The Overview counts the other servers found and sends nothing about themAllowedNo selector in the header. The server answers 403 for another server or all, for overview/forget, and the fleet has no other server in it.

The audit log keeps writing on Free. There is no page that reads it, so nothing about it is gated.

The console also has an Upgrade page (until the license is BoxLang+) that lists everything above, with a link to the plans. It describes the current split and may change.

The disk store (store.enabled, on by default) writes to store.dir (default lens-data in the BoxLang home), in a subfolder for this server. It keeps data for store.retentionDays (15, at most 30), limits the whole folder to store.maxMB (500) and hands changes to the store every store.flushSeconds (30). One owner writes everything on its own thread, and each file is replaced atomically. Console sign ins can be shared between servers through the same store (console.sessionStorage "store", which rides on the disk store) or through a BoxLang cache ("cache", the default, under the servers feature). Neither has a gate of its own. See The store and Errors and Reports. Without the license the store settings have no effect. The bar layout file and the settings overrides file are small files for your own choices, and the settings file works on Free.

BoxLang AI (bx-ai) ships inside the module, in its modules folder, so there is nothing else to install. It is Apache 2.0 licensed. Using it from Lens still needs ai.enabled and, for the server calls, BoxLang+.

The license

BxLens ships under a BoxLang+ proprietary license, in the LICENSE file of the module. It is freeware with limits: the free features can be used without a subscription, including in production, but not redistributed or modified. The BoxLang+ features and the removal of the free limits need a BoxLang+ subscription or an active trial. The same terms apply to every Ortus BoxLang+ module, such as bx-redis. The exact text is the LICENSE file, not this page.

License states

Lens detects the state through the bx-plus module, the same way other BoxLang+ modules do. It asks the global BoxlangLicenseService whether the license is valid and whether it is a trial (isValidLicense, isTrialMode), and reads the expiry from BoxlangLicenseInfo.

StateLabel in the consoleWhen
Plus activeBoxLang+ activeA valid license that is not a trial.
Trial (registration)Trial with the days leftA registered server without BoxLang+, in the 7 day trial that started at its first development or testing registration. The days left are shown in the header.
Trial (bx-plus)Trial with the days left, the smaller of the bx-plus days and the BxLens trialA valid trial license of a registered server. The console shows a banner: you are on a trial, Plus features stop working when it ends and need a license, with a link to boxlang.io/plans.
ExpiredLicense expiredThe license is present but not valid. The banner says Plus features may stop working.
FreeFreebx-plus is not installed, or the check failed.

The trial banner in the console

The state shows in the console header.

Safe by design

  • The answer is cached for 5 minutes.
  • A missing, invalid or failing license check never breaks Lens. It reports Free and carries on.
  • Lens makes no network call for licensing. It only talks to the bx-plus module in the same runtime.
  • No setting and no environment variable forces a license state. The end to end tests use a stand-in for the bx-plus module on their own test servers, not a switch in BxLens. dev.registration can force the registration state for demos and tests, and a release build ignores it.

Third-party notices

The console and the bar use Alpine.js and Phosphor Icons. Phosphor Icons are MIT licensed, the notice is in src/main/bx/assets/ICONS-LICENSE.txt.

Edit this page Download Markdown Last updated Nov 26, 2026, 8:34:30 AM Report an issue