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 bar | Console | BoxLang+ features | |
|---|---|---|---|
| BoxLang+ (valid license) | Yes | Yes, no registration | Yes |
| Registered for development or testing, in the 7 day trial | Yes | Yes | Yes, until the trial ends |
| Registered for development or testing, trial over | Yes | Yes | No (Free) |
| Registered for staging or production | Yes | Yes | No (Free), no trial |
| Not registered | Yes | Register page only | No |
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.
| Feature | Free | BoxLang+ or trial |
|---|---|---|
| All tabs: timeline, queries, exceptions, HTTP, messages, timers, request, ColdBox, runtime, scopes, BIF timing, your own panels | Yes | Yes |
| ColdBox: the tab, the tag and event on requests, clear the event and view caches, reinit | Yes | Yes |
| Request cost (CPU time and memory allocated) and the slow request sample | No | Yes |
| Save or reset the bar layout | Look only | Yes |
The console
The pages of one server. Limits on Free are in the Free column.
| Feature | Free | BoxLang+ or trial |
|---|---|---|
| Overview, Executors, Datasources, Applications, Watchers, Logs (browse and the last 200 lines), Environment, Modules, Configuration, System | Yes | Yes |
| In flight: requests running right now, with the stack of each | No | Yes |
| Hot spots: where the time of a slow request went, for a request, a running request and a URL | No | Yes |
| Errors: choose how many issues are kept, the flood limits and the days an issue of each status stays (Free: 100 issues, fixed) | No | Yes |
| Errors: ignore rules | No | Yes |
| Errors: export as CSV or JSON | No | Yes |
| Bytecode profiler: every expression of your code counted and timed for a session, with the source heatmap (needs BoxLang 1.19 or newer) | No | Yes |
| Threads and thread dumps | No | Yes |
| Logs: search and live tail | No | Yes |
| Settings: read every value | Yes | Yes |
| Settings: change or reset them in the console | No | Yes |
| Viewer role (read only login) | No, admin login only | Yes |
| Requests kept in memory | Last 25 | As configured (default 250) |
| Queries (including the SQL of the ORM) | The 10 heaviest statements, in memory | Every statement kept (up to 500), in memory |
| Errors and Reports | In 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 trend | Saved 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 attention | Last hour of this server | 24 hours, 7 and 15 days from the saved rollups |
| HTTP: the list of single calls with the request that made each | No | Yes |
| ORM page: event totals, failures and Hibernate statistics | No (the SQL itself is free) | Yes |
| System: heap, GC, threads, disk volumes and the folders Lens writes to (this server) | Yes | Yes |
| Mail page for bx-mail: message viewer with a safe preview, delivery attempts, servers, queue | Three counters and the last ten messages | Yes |
| Email alerts (17 rules, your SMTP, recipients) and daily, weekly and monthly reports | No | Yes |
Many servers
Free is one server only.
| Feature | Free | BoxLang+ 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 them | Yes |
Acting on the server
Viewing is free. Changing something on the server is BoxLang+.
| Feature | Free | BoxLang+ or trial |
|---|---|---|
| Scheduled tasks: view | Yes | Yes |
| Run now, pause, resume, reload | No | Yes |
| Applications and Watchers: view | Yes | Yes |
| Restart an application, remove an expired entry, start, stop and restart a watcher | No | Yes |
| Caches: statistics and the key list | Yes | Yes |
| Read a cache value, evict, reap, clear | No | Yes |
Heap dump (also needs console.allowHeapDump) | No | Yes |
Taking data away
Downloads for support and offline reading.
| Feature | Free | BoxLang+ or trial |
|---|---|---|
| Download a log file | No | Yes |
| Diagnostic bundle for a support ticket | No | Yes |
AI
Copying a prompt is free. The server calls a model only on BoxLang+.
| Feature | Free | BoxLang+ or trial |
|---|---|---|
| Copy a redacted prompt, open ChatGPT or Claude | Yes | Yes |
| Explain with AI, Ask Lens and Lensy, the Box Agent (chat, tools, approved actions, MCP servers) | No | Yes |
| AI observability: runs, agents, MCP servers and their rate limits, models, cost, registries | Four counters for the last hour | Yes |
Security and operations
Free and Plus share all of these, except the data BIFs and the console gate.
| Feature | Free | BoxLang+ or trial |
|---|---|---|
Read only mode, the audit log, proxy header trust, console.requireHttps, the Secret Store, and the admin password set in the console | Yes | Yes |
The lens* BIFs of the bar and the timers (lensStart, lensMeasure, lensLicense, lensRequestId and the others) and the extension API | Yes | Yes |
The data BIFs lensReport, lensErrors, lensQueries and lensInflight | No, they return nothing (locked: true or an empty array) | Yes |
The data BIFs lensReport, lensErrors, lensQueries and lensInflight | No, they return nothing (locked: true or an empty array) | Yes |
| The console | After a free registration of the server | Registration or BoxLang+ |
| Air gapped: no request to any other site | Yes | Yes |
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.
-
Install bx-plus on the server that runs Lens.
# BoxLang binary install-bx-module bx-plus # CommandBox box install bx-plus -
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()orboxlang module:plus refresh. -
Check it.
boxlang module:plus infoorboxlangLicenseInfo()shows the status. In the console header the label changes toBoxLang+ active(orTrial, with the days left). Lens asks again at most every 5 minutes, so the locked items open without a restart.boxlang module:plus info -
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 needconsole.allowHeapDump, and the disk store needsstore.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.
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
| Feature | Free | BoxLang+ or trial | Where the lock shows |
|---|---|---|---|
| Request cost (CPU time and allocation) and the slow request sample | Not collected | Collected | Bar: the cpu and alloc chips are hidden, and the Runtime tab has a BoxLang+ note. |
| Requests kept in memory | 25 at most, even if history.maxRequests is higher | history.maxRequests as configured (default 250) | None. |
Share a request or a report by mail and to channels (notifications), Ask Lensy on a request (ai) | No | Allowed | The 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 only | Allowed | The 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 all | Every statement kept | Queries page: a note with the count. |
Acting on the server
| Feature | Free | BoxLang+ or trial | Where the lock shows |
|---|---|---|---|
| Scheduled task actions | View only | Run now, pause, resume, reload | Tasks page: a BoxLang+ note, and the action buttons are disabled. Server: 403. |
| Caches | Statistics and the key list | Read a value, evict, reap, clear | Caches page: a BoxLang+ note, and the buttons are disabled. Server: 403. |
| Application actions | View only | Restart an application, remove an expired entry | Applications page: a BoxLang+ note, and the buttons are disabled. Server: 403. |
| Watcher actions | View only | Start, stop and restart a watcher | Watchers page: a BoxLang+ note, and the buttons are disabled. Server: 403. |
| Heap dump | No | Allowed, and still off until console.allowHeapDump is true | System page: a BoxLang+ note replaces the controls. Server: 403. |
The In flight page (inFlight) | No | Allowed | In flight page: a BoxLang+ note. Server: 403. |
Errors limits and retention (errorLimits) | No | Allowed | Free keeps 100 issues with the default limits and no automatic removal, whatever collectors.errors.* says. |
Errors ignore rules (errorRules) | No | Allowed | The 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 stay | Allowed | Nothing is recorded and GET tasks/{scheduler}/{task}/history answers 403. |
Errors export (errorExport) | No | Allowed | GET errors/export answers 403. |
The Bytecode profiler (profiler) | No | Allowed | No page, rules or chip. The profiler/* routes and the profiler kinds of ai/explain answer 403. Nothing records. |
Hot spots (hotSpots) | No | Allowed | No 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) | No | Allowed | Threads page: a BoxLang+ note. Server: 403. |
Change or reset settings in the console (liveSettings) | Read every value | Allowed | Settings 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) | Allowed | Login page, and the viewer password in Settings, Security. A viewer session ends when the license ends. |
Logs, downloads and layout
| Feature | Free | BoxLang+ or trial | Where the lock shows |
|---|---|---|---|
| Download a log file | Browse, search and live tail | Allowed | Logs page: the Download button is disabled with a Plus chip. Server: 403. |
| Diagnostic bundle | No | Allowed | Environment page: the link is disabled with a Plus chip. Server: 403. |
Log search and live tail (logTail) | Browse and read up to 200 lines | Search, live tail, up to 2000 lines | Logs page: the search box and Live button are disabled. Server: 403 for a search. |
| Save or reset a bar layout | Look at the designer | Allowed | Bar designer: the buttons are disabled, with a "BoxLang+ to save a layout" chip. Server: 403. |
History and storage
| Feature | Free | BoxLang+ or trial | Where the lock shows |
|---|---|---|---|
| Disk store | In memory, 60 minute series | Saved to disk, series up to 3 days | Errors and Reports pages: a note that the data is kept in memory only. |
| ORM statistics | The ORM SQL is free and shows with other queries | The console ORM page | ORM page: a BoxLang+ note. Server: 403. |
| HTTP history | The last hour of this server | 24 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 calls | No | Allowed, at collect.level full | HTTP page: the Calls tab shows a BoxLang+ note. Server: 403. |
AI
| Feature | Free | BoxLang+ or trial | Where the lock shows |
|---|---|---|---|
| AI calls from the server: Explain with AI, Ask Lens, Lensy | No | Allowed, with ai.enabled | The 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 blocked | Allowed | Everything but the counters answers 403. The recorder middleware is not attached. |
Notifications and mail
| Feature | Free | BoxLang+ or trial | Where the lock shows |
|---|---|---|---|
Email reports: a daily, weekly and monthly report of the cluster for admins (notifications) | No | Allowed | Part of the Notifications tab. Server: 403. |
Notifications: email alerts for 17 conditions on every server, recipients, SMTP settings and a test mail (notifications) | No | Allowed | The 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) | No | Allowed | Part 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) | No | Allowed | Part 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) | Allowed | Everything but the counters answers 403. |
Many servers
| Feature | Free | BoxLang+ or trial | Where 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 them | Allowed | No 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.
| State | Label in the console | When |
|---|---|---|
| Plus active | BoxLang+ active | A valid license that is not a trial. |
| Trial (registration) | Trial with the days left | A 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 trial | A 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. |
| Expired | License expired | The license is present but not valid. The banner says Plus features may stop working. |
| Free | Free | bx-plus is not installed, or the check failed. |

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-plusmodule 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-plusmodule on their own test servers, not a switch in BxLens.dev.registrationcan 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.