Orion · Learn · Lesson 6 of 6

How does Orion decide to act?

When Orion moves or speaks without being asked: one picture of the moment, how lively it is, the quirks every lamp is born with, the rules for speaking first, looking after you, and its memory of home.

So far Orion has mostly responded: to its name, to a face, to a hand. This lesson is about what it does on its own initiative: glancing at something new, saying hello when you sit down, suggesting a break. Doing that well is mostly a matter of knowing when not to.

One picture of the moment

Many parts of Orion could decide to act, and if each asked its own questions they would soon disagree. So every time the camera reports, Orion builds one Situation Orion's single picture of the moment: who is in view, the time, the light, and whether it's busy. Every behaviour reads it.: who is in view, whether anyone is looking at it, how long they’ve been here, the time, the light, and whether it’s busy.

Every initiative then takes the same path: a reaction, a check against the curiosity budget, the movement, and only then, maybe, words.

On Orion A visit starts when a face comes into view and ends when nobody has been seen for 10 minutes.

Under the hood

The situation is built in runtime/src/expression/situation.rs; the shared path is in runtime/src/expression/initiative.rs. Each decision is written to the behaviour log with the situation at that moment, including the things Orion chose not to do and why, which Studio’s Debug page shows.

Camera, clock, voiceand the lightSituationone picture of nowA reaction?arrival, look, object…Curiosity budgetallowed right now?Movementidle stops, it playsA remark?only if Lively

Every time the camera reports, Orion gathers what it knows: faces in view and whether one looks at it, the time, whether it's talking or playing music, its own light, and how bright the room is.

Step 1 of 6
Movement always comes first and words second. A reaction the budget refuses never reaches the remark stage.

Quiet, Lively or Demo

How much Orion does on its own is one setting in Studio. Quiet reacts with movement only. Lively can also speak first and looks after the people at the desk. Demo turns everything up, for showing Orion to a room of people.

On Orion Demo also sends one camera picture with each remark, so the reply can mention what Orion sees.

How lively
  • Glances, looks back, notices new thingson
  • Speaks first, within its ruleson
  • Waves back, light care, break nudge, goodnighton
  • Farewells and hand playoff

Orion can also say a short remark, and looks after the people at the desk. Its own rules, and its quirks, keep it from overdoing it.

The setting is in Studio. Turning Lively or Demo on also switches on the camera behaviours they need.

Every lamp is a little different

When a new Orion first starts, it picks two Quirk A small, random trait each Orion is born with, such as being shy or chatty, that changes how often it acts and speaks. at random: how curious it is and how chatty it is. A nosy lamp glances at new things often; a shy one rarely. A chatty lamp speaks up more and may add a playful thought; a reserved one keeps it brief.

The same numbers that limit curiosity and speech come from the quirks, so the difference is real, not cosmetic.

On Orion The quirks are saved on the lamp, and Studio shows them under Personality and memory.

Lamp #1
Curiosity
Chattiness
Curious gestures in 10 min5, at least 30 s apart
Before the same thing again1 min
Idle glances at objects1 glance in 2
Remarks (Lively)2 an hour, 20 min apart
How it talksvery short remarks

A nosy, reserved lampLooks at everything new, often. Says little, and keeps it short.

A new Orion gets a random outer value for each quirk (shy or nosy, reserved or chatty), so no two are quite alike. The reply model is told the quirks too, so the words match the movement.

Speaking first

A Lively Orion can say a short Remark Something Orion says on its own, without being asked, such as a hello when you sit down. on its own: a hello when you arrive, a comment when you hold its gaze, a word about something new on the desk. A lamp that chatted constantly would be unbearable, so every remark has to pass a list of rules first.

It speaks to each person once per visit, keeps remarks apart, says nothing at night, after a conversation, or while you’re concentrating, and waits longer each time a remark is ignored.

Guess first Orion mentions your new umbrella and you don't answer. How long until its next remark?

Under the hood

runtime/src/expression/remarks.rs checks the rules in this order: busy, asked to be quiet, already spoken this visit, concentrating, quiet hours, within 5 minutes of a conversation, spacing, the cooldown for that kind of remark (30 min for arrivals, 20 for looks, an hour for new things) and the hourly limit. The words come from the language model, which can’t use tools for a remark and can choose to say nothing.

Something happens
Time
Chattiness
Clock +0:00Remarks this hour 0 of 4Ignored in a row 0
  • Make something happen.
Orion's own rules for a Lively lamp, checked in the same order. Try two arrivals in a row, then ignore a remark and see the wait grow. Owners can adjust most of these numbers in Settings.

How a remark is said

The movement always comes first: Orion turns to you, then speaks. The language model writes the remark from what just happened and Orion’s recent remarks, in the style its quirks call for. Then Orion listens, so you can answer without saying “Hey Orion”.

You stay in charge. Saying “Hey Orion” during a remark stops it, and “be quiet for a while” silences remarks for up to 8 hours.

On Orion A remark that can’t start within 8 seconds of its moment is dropped: old news isn’t worth saying.

Waving back

Raise your hand to Orion near your face, and a Lively lamp waves back: the head turns to you, the arm lifts and sways side to side twice, and it nods. No words, just the gesture.

On Orion The hand has to be up near a face for 0.6 seconds, so reaching for a mug doesn’t count. Waving back uses the curiosity budget too.

Playing: a hand goes up near a face

A palm near someone's face, held for 0.6 seconds.

The wave is a motion file like any other, played through Orion's compiler.

Looking after you

A Lively Orion also keeps an eye on the person at the desk. After a long stretch of work it stretches and suggests a break. When the room gets dark and its own light is low, it offers to turn its light on. A late goodbye becomes a goodnight, and Orion heads to rest soon after.

On Orion Each of these happens only while someone is in view, and the break and light offers at most once a visit.

  1. Break nudge after 90 minutes at the desk (gaps under 5 minutes don't reset it).45 more minutes.
  2. Light care when the room is under 15 lux for a minute and Orion's own light is off or under 25%.Bright enough.
  3. Goodnight when someone leaves between 21:00 and 05:00.A daytime goodbye stays a goodbye.
Each happens only while someone is in view, and light care and the break nudge at most once a visit. Owners can change the times in Settings, or switch any of them off.

A memory of home

Orion remembers a little about the home it lives in. When you mention something coming up, such as an interview or a trip, it saves a short note and may ask how it went on the day or just after. It also notices habits, like when you usually arrive, and keeps one sentence about each of the last 30 days.

This memory is background for conversations and welcomes, never something Orion brings up when nobody is there.

On Orion Home memory is stored on the lamp. Studio shows every part of it and can delete any item, or all of it.

Nothing saved yet. Orion saves a short note on its own when you mention an event; it doesn't ask first.

Times it came up: 0
Home memory lives on the lamp, and Studio can show or delete every part of it. Orion also notes habits (things that happened at least twice) and one sentence for each of the last 30 days.

You set the limits

Everything in this lesson is adjustable. Owners can pick Quiet, Lively or Demo, move quiet hours, change how often remarks may come, and switch off any single behaviour. And Orion writes down each decision with its reason, so when it stays quiet, you can see why.

On Orion Nothing Orion notices can wake it or switch its motors on, and apart from a goodnight it never speaks first during quiet hours.