Skip to content

The mascot

The AI for learners can have a face: a mascot (ADR 0365). It is a setting of whoever runs the platform. The repository ships only a neutral figure, a plain speech bubble with a face in the brand colours. Your own figure is uploaded in the admin console and never goes into the repository: neither its pictures nor its name nor its story.

What learners, trainers and organisation administrators see is in their handbooks: “The AI’s figure” (learn), “The mascot in your lessons and tools” (teach) and “The learning companion’s look and your own mascot” (manage).

The code asks for a picture by its slot, never by a file. Slot keys are English:

Slots What they are
emoji.<mood> a head with a mood: smile, laugh, wink, excited, thanks, pondering, aha, amazed, sceptical, sad, tired, cheer, listening, oops, neutral, curious, encouraging, thumbs-up, applause, focused, confused, notice, asleep, angry, scared, embarrassed, bored, nervous, proud, relieved, disgusted
pose.<name> the whole figure: hello, explaining, learning, thinking, idea, done, pointing-left, pointing-right, oops, listening, magnifier, notes, empty-box, sleeping, medal, compass, laptop, thumbs-up
portrait the face in a circle, for small places (24–40 px) and mails
symbol.colour, symbol.white a flat symbol, in colour and white; also the Teams app’s icons
role.<area>.portrait, role.<area>.pose the figure with the accessory of an area: courses, plan, languages, knowledge, creative, slides, course-studio, lab, live, help, e.g. role.creative.pose
speech loops short animations of the figure speaking: left-right, nod, tilt, natural

The lists are mascotEmojis, mascotPoses, mascotRoles, mascotSlots and mascotSpeechVariants in packages/contracts/src/mascot.ts.

A slot your set doesn’t have falls back on a related one, then on its family’s base slot, then on the neutral figure. For example: emoji.oops → emoji.pondering → emoji.smile; role.lab.portrait → portrait; pose.medal → pose.done → pose.hello. The chains are in apps/web/src/lib/mascot.ts. A set with only emoji.smile, portrait and pose.hello already covers every place.

In the admin console, Operations → Mascot: its handbook page Operations → Mascot has the steps (names, the About text, the three ways to fill the slots), what is checked and how to draw the pictures (ADR 0369). The portal reads a change within half a minute, without a restart.

Finance → Pricing, per organisation plan, under Included functions: Own mascot (own_mascot in pricing_plans.features). Tick it for the plans whose organisations may show their own figure instead of yours, then Save at the bottom. By default it is off for Free and the entry plan and on for the two higher plans. Unlike quotas, a feature applies whether the plan is published or not, so also during a beta. If the console says “Update the portal first”, the portal’s database doesn’t keep plan features yet.

Taking the feature away from a plan (or an organisation moving to a plan without it) makes its people see your figure again at once; the organisation’s set stays. See “Organisations’ own mascot” below.

  • The portal serves the set to signed-in people only: GET /v1/mascot (the view in the person’s language) and GET /v1/mascot/files/<version>/<name>. The learning app reads the same view. The sign-in page shows the neutral figure.
  • An organisation’s administrators can choose the neutral figure for their people under Manage → Organisation → Mascot. Free learners and sessions without an organisation always see your set.
  • On plans with the feature own_mascot an organisation may show its own mascot instead (ADR 0370); see below.
  • The portal reads the set from the database at runtime, so a change shows within half a minute, without a restart.

The figure always stands next to the label “AI”, never in its place, and never on pages where someone cancels, withdraws, deletes, consents, sets privacy choices or reads legal texts. Its faces may show feelings to illustrate or react to the content, never to press anyone: no sad face at a lost streak, at absence, at signing out or at cancelling, no needs of its own. The AI never picks a picture or an address, at most a mood from a fixed list. Where the figure only decorates it is hidden from screen readers; where it carries meaning it gets its alt text; with reduced motion it doesn’t move. The ADRs have the full rules.

For learners (ADR 0368):

  • Moods of answers. Each AI answer opens with a line <<mood smile>>; the API removes it from what is shown and spoken, keeps only a mood of a fixed list (answerMoods in packages/contracts/src/mascot.ts, anything else is smile; sad and tired are not in it), and the web shows emoji.<mood> next to the answer. While an answer streams, emoji.pondering. Live speech to speech has no mood line.
  • Name and description. With a set, the assistant introduces itself by its name; voices say the spoken name. The About text goes into the learner-facing prompts as material, in the person’s language with English as fallback, so the assistant can say what it is and correct someone who calls it something else. It never overrides the other rules: the assistant stays an AI and says so. Without a set, or in an organisation with the neutral figure, neither reaches a prompt.
  • The spoken notice is “Hello, I’m ‹name›, the AI learning assistant of ‹product›.” in the person’s language, or without a set “Hello, I’m the AI learning assistant of ‹product›.” The product name is the operator’s.
  • Places. The companion (a greeting with pose.hello, the area’s role portrait in its head), the lesson’s AI tab, empty conversations, the welcome tour, quiz passed (pose.done) and not passed (emoji.encouraging), all done, flashcards done, a course bought, badges and certificates (pose.medal, beside the certificate, never on it), empty lists (pose.empty-box), the companion’s memory, the career radar, the language trainer and the conversation mode (with the speech loops), maintenance (pose.sleeping) and error pages (pose.oops).
  • The run of days. Beside “Days in a row” on My insights, emoji.cheer at a new best (at least three days) or at 7, 30 or 100 days; otherwise nothing.
  • Faces in course content. :mascot-<name>: in a lesson’s Markdown, with a name of the emoji slots, shows that still with its alt text; unknown codes stay text.
  • Never in the places the list in apps/web/src/components/mascot/mascot-places.test.ts names, nor next to the photoreal live tutor and presenter.

Mails, the Teams app, the bots and trainers’ tools

Section titled “Mails, the Teams app, the bots and trainers’ tools”

ADR 0373:

  • Mails. companion_news, pro_monthly and the certificate mail of a completed training round carry the recipient’s portrait (the set they see in the portal) as an inline attachment (cid:), never a link, with its alt text in their language. Without a set, without the portrait’s PNG copy or above 150 KB: no picture. A mail in an organisation’s own design shows only the organisation’s own figure. Never in mails about the account’s security, legal notices or payments, the welcome mail included.
  • The Teams app. With symbol.colour and symbol.white in your set, the app package’s colour and outline icons are made from them; otherwise the generated icons. Only your set, never an organisation’s own; an organisation on “neutral” keeps the generated icons. After a new set goes live, every organisation’s Teams administration asks once for the package to be uploaded again.
  • The knowledge bot in Teams and Slack starts its help with “I’m ‹name›, an AI assistant.” (without a set “I’m an AI assistant.”). AI answers keep their label; bot messages get no pictures.
  • Trainers’ tools. The area’s role portrait stands beside the AI mark: the canvas assistant (role.creative.portrait), the slide assistant (role.slides.portrait), the AI’s suggested answer in a live session (role.live.portrait) and the help’s start page (role.help.pose). The ✦ on AI-made content stays.

An organisation may show its own figure to its people instead of yours (ADR 0370).

  • Plan feature. Plans carry features (pricing_plans.features); own_mascot is switched per plan in the admin console under Finance → Pricing (see above).
  • Choice. tenants.mascot is operator, own or neutral. Only the organisation’s global administrators choose own and change the set, in the portal and never with an access token; its administrators read it.
  • Set. tenant_mascot and tenant_mascot_files (migration 0413), with row-level security, at most a live version and a draft. The portal processes uploads as the console does: name and spoken name, About text, a folder by names, single slots and speech loops; PNG, WebP or JPEG by their first bytes, never SVG, up to 15 MB and 4,096 px, encoded anew; WebM VP9 checked and kept; the set at most 25 MB. There is no upload of a whole set by manifest. Each upload needs the confirmation “We hold the rights to these pictures.”, stored with the version and in the audit log. Upload routes are rate-limited per organisation. The routes are under /v1/admin/organisation/mascot.
  • Which set. The organisation’s own when it chose own, its plan includes the feature and its set is live; otherwise yours (or none with neutral). Free learners, sessions without an organisation and single instances always get yours. A plan changed down falls back to yours at once; the set stays.
  • Never mixed. A slot an organisation’s set lacks falls back within that set, then on the neutral figure, never on your figure.
  • Files. /v1/mascot/files/<version>/<name> finds an organisation’s files only for its own members; for anyone else they are not found.
  • Prompts and mails. Name, spoken name, About text, the spoken notice, the moods and the mails’ portrait come from the set the person sees.
  • Blocks by the platform. The platform never removes or changes an organisation’s set; its administrators block it in the console under Content moderation → Organisation mascots (ADR 0375), kept in tenant_mascot_blocks (migration 0416, the organisation reads its rows and changes none). A blocked set shows its people your figure while the block lasts (the choice stays own); a blocked slot or speech loop is missing from the set they see, so it falls back within the set, then on the neutral figure. Blocked files are found for nobody of the organisation by /v1/mascot/files, and they don’t go into mails or the Teams app. Only its global administrators, in the portal session and never with an access token, preview them by GET /v1/admin/organisation/mascot/blocked-files/<version>/<name> (not cached, nosniff, sandboxed), beside each block on Manage → Organisation → Mascot. A block names the part, not the file: a picture the organisation puts into a blocked slot stays blocked. Each block has a statement of reasons (action visibility_restricted, item kind organisation_mascot) that the minute sweep mails to the organisation’s global administrators in their language; a lift is mailed by the same sweep (mascot_block_lifted) with the platform’s note. Only the platform lifts a block; blocks and lifts are kept as the history.
  • Single instance. The organisation’s mascot settings are hidden; the console’s set is the instance’s.
  • Kept in step. apps/api/src/mascot/slots.ts, images.ts and the checks in own-set.ts are copies of the console’s mascot-slots.ts, mascot-images.ts and mascot.ts; change both together. A test checks the slot keys against mascotSlots in packages/contracts/src/mascot.ts.