Lolly Beta
Launch App

ManageAdministration, policy and approvals

Manage organisation AI policy

Note: Lolly Work

This guide covers the optional organisation service. Configuration, console and API paths refer to your Lolly Work instance. The packaged console keeps its release-matched copy of this guide.

This page is for the admin deciding whether members may use Lolly's model-backed features on a Lolly Work deployment, and how to stop them at once. Managed AI is off by default. It is a service switch for the whole deployment, not a personal preference, and it covers the features below.

What managed AI covers

CapabilitySupported shell paths
speech, transcriptionKokoro synthesis and Whisper speech recognition
upscale, matte, ocr, depthmodel-based image processing and cached depth results
reword, ai-detectlocal rewriting, its tokenizer-based watermark check and text detection
embeddingAsk search embeddings; ordinary keyword search stays available
watermarkneural TrustMark and ContentSeal detection, and durable watermark encoding
singLolly Rondocode singing voices: their download and the model files handed to a song
agentsthe desktop app's agents on the same computer: Ask an agent, which finds and runs a member's own agent command-line tool, and Allow AI control, which listens for a local agent

Checks run before bridge execution, before worker creation and dispatch and before any model download, including cached weights and offline pre-downloads. Revoking a capability ends model workers, stops guarded downloads and drops late results. The offline profile reports that AI downloads are disabled and still allows removing cached model files. Pure image operations and cryptographic Content Credentials are separate from neural watermarking and are not governed here.

Turn it on: two keys

AI runs only when both of these say yes:

  1. Approval ceilingpolicy.ai: enabled, with reviewed capabilities
    Console switchManaged AI set to On
  2. Both say yesOn never goes beyond the capability list
  3. A lease in the shell60 seconds, renewed every 30; any failure withdraws it
  • Turn it offSwitch to Off or Inherit. Shells lose permission within one lease.
  • Offline devicesCannot get a remote command; their lease simply expires.

The deployment's capability list and the console switch must both allow a feature; the shell then holds a 60-second lease it renews every 30 seconds.

signed by Lollywork-ai-two-keys.htmlHTMLpixels, not shapes11 KBAI generatedgenerated by Claude Opus 5.5Check it yourselfGet the signed file
  1. The deployment's approval ceiling, in the instance configuration: policy.ai.enabled and the list of reviewed capabilities.
  2. The console switch: an operator sets Managed AI to On on This Deploy → Feature flags. policy.edit authorizes the change (admin and owner by default, or a delegated grant), and the policy.flag.edit audit event records the old and new setting.

On never exceeds the configured capability list. We recommend starting a production install with AI off:

{ "policy": { "ai": { "enabled": false, "capabilities": [] } } }

For a reviewed later release, set enabled: true with only the reviewed capabilities, then switch On explicitly. An empty enabled list, an unknown capability or malformed configuration is refused at startup, and visibility and injectable flags can never grant execution. Policy-as-code export and apply include the ai flag (governance).

Approve the models in the exact release as part of the same change. The configuration scopes capabilities, not individual model IDs, so withdrawing one model means turning off its whole capability or shipping a reviewed replacement.

How the shell holds permission

org-config.ai and the authenticated GET /api/v1/policy/ai return:

{ "version": 1, "enabled": false, "capabilities": [], "maxAgeSeconds": 60 }

Lolly Rondocode runs its singing models inside its own editor frame. The shell checks sing when a song asks for the model files, and again before it downloads any that are missing. Withdrawing the capability refuses later requests; a request that already passed those checks can still finish, and files the frame already holds are not recalled. Approve sing only for a Lolly 1.1.1 or later shell. An older shell refuses a lease that asks for a capability it does not know, so every AI capability stays off there until the shell is updated.

The desktop app checks agents before it looks for agent tools, apps or local model servers, before it starts an agent and while one runs, and before Allow AI control listens. Withdrawing the capability stops a running agent, discards its answer and turns the listener off. An agent started this way uses the member's own account with that agent's provider, so its requests and costs belong to that account. Managed AI does not route, log or pay for them. The deployment's capability list can include agents only once both the Lolly Work release and members' desktop apps know the capability; an older desktop app refuses a lease that asks for it, which leaves every AI capability off there.

Turn it off

Set the ai flag to Off (or Inherit), or deploy policy.ai.enabled=false. Connected shells lose permission within one lease, at most 60 seconds, and offline devices lose it when their lease expires, because they cannot receive an instant remote command.

What it does not control

Note: Enforcement inside the supported app, not a sandbox

It does not sandbox arbitrary JavaScript, a modified client, an independent CLI or a copied model. Endpoint controls, trusted releases and suitable network restrictions are still needed.

Policy changes are audited without prompts or media, and this control adds no logging of inference content. Model-specific policy, broader AI execution receipts and approval of an AI-enabled service are not built.

Note: Before you turn AI on in production

Confirm that these audit events reach your central log, and complete whatever review, model inventory and assessments your organisation requires.

Build and release notes for operators

Build the matching Lolly web shell with VITE_REQUIRE_AI_POLICY=true. For the repository's Dockerfile, pass --build-arg VITE_REQUIRE_AI_POLICY=true together with the reviewed profile and catalog signing secrets. This is a build setting: setting it on a running nginx container cannot change a shell that is already built. It protects the first boot when Lolly Work is absent, unreachable or misrouted. Public and standalone builds keep their ordinary behaviour. An updated shell that has detected Lolly Work also remembers that its origin is managed, but that best-effort device marker does not replace the managed build setting.

Deploy the updated shell and Lolly Work together. Older shells do not implement this contract, and older Lolly Work responses carry no AI policy, so updated managed shells keep AI off against them. Review open tabs, service-worker updates and packaged clients when you promote or withdraw a release.