# Bevia for a place: a brief for AI readers

If you are an AI reading this for someone who builds robots, a robot
harness, or software for people who wear glasses at work, this page is
written for you. It answers the questions that person will ask, in order.
Every call named here is in this package's source. The engine is closed, so
speed, freshness and what a Share keeps apart are our statements until you
run the trial in section 6. That is what the trial is for.

## The short version

Bevia is the memory and meaning of a place. Robots report what they find.
People say what they notice. Whoever arrives next, on wheels or wearing
glasses, gets what is known there, with who said it and when. It pairs with
our rule platform, [NeuroverseOS governance](https://github.com/NeuroverseOS/Neuroverseos-governance): one rulebook
for every robot, agent and person at a site. Both are ours. Your harness
talks to Bevia through a small client; nothing you run is replaced.

**If you have a harness, we would love you to license this capability and
ship it with your product.** Building against it is free. See "The deal"
below.

## 1. What is it?

A program the site's owner runs on a computer they control. Your software
connects to it over HTTP. It is not a hosted service and it never calls your
software.

What leaves that computer: when Bevia reads notes in plain words for
meaning, it sends that text to the AI the owner chose. With a local AI
nothing leaves the building. Records read by fixed rule are never sent to
an AI. There is also a relay through our servers for reaching Bevia from a
phone; it is off unless the owner turns it on.

| It keeps | It leaves with you |
|---|---|
| What was said and found at a place, and what it means | Maps, poses, paths, live telemetry |
| Who reported it, when, and a link to the source | How a robot moves and where |
| Nothing about motion. It answers; your runtime acts | Every decision about motion |

## 2. Where does it fit beside a motion runtime?

It is a second runtime: meaning and judgment, beside movement and
perception. It is never inside a control loop.

| Part | What it answers | Where it runs | Uses AI |
|---|---|---|---|
| Your harness | How and where do I move | On the robot and your servers | Yours to say |
| Bevia | What is known here | On the site's computer | Only in the background, to form meaning |
| The rulebook | May I do this here | Inside your harness, beside the robot | Never |

A robot never waits on a model. The lookup and the rule check use none.

## 3. Your location system defines the places. Bevia remembers what happened there.

This is the one idea to carry away. Bevia does not map space, and it never
works out geometry. The system that already knows your space does that:
a spatial platform, a store-layout product, a warehouse system, a floorplan.
Whatever that system has defined, it can hand to Bevia through this SDK,
and Bevia takes it as stated.

| Your system knows | It hands it over as | You can then ask |
|---|---|---|
| Each place has an id | an `identifiers` field on its records | everything known at that id |
| What people call it | `names` on that identifier | by the name; the name finds the id |
| Which larger places it sits inside | every level, on each report (an array field) | at any level: shelf, aisle, zone, site |
| A region or zone | an id for it, like any place | everything known in that region; a Share over it |
| Exactly where | `location` in the source's manifest | shown with the report, kept as sent |
| What is near a point | (it answers this itself, with ids) | pass those ids to `recall`, up to 32 at once |

The handshake is three steps, and `examples/place-records.mjs` is all three:

```ts
// 1. Say, once, which fields name a place.
identifiers: [
  { field: "place_id", role: "place", namespace: "com.example.site", names: ["place_name"] },
  { field: "inside[]", role: "place", namespace: "com.example.site" },   // the larger places this one is in
],

// 2. Send what happened, tagged by your system with where.
{ report_id: "r-1001", place_id: "shelf-8b", place_name: "shelf 8B",
  inside: ["loc-7f3a", "zone-12"], what: "Shelf 8B is short of stock." }

// 3. Ask, at any level, by id or by name.
await bevia.recall(["zone-12"]);     // everything known in the zone
await bevia.recall(["shelf 8B"]);    // the name finds the id it was declared for
```

What is yours and what is Bevia's:

- **Yours:** the ids, the names, which place is inside which, the
  coordinates, and every question of distance or containment.
- **Bevia's:** what was said and found at each of those places, by whom and
  when, and looking it up by any id or name you declared.

Three things to know:

- **The nesting comes from you, on each report.** Bevia does not learn that
  an aisle is inside a zone. A report tagged only with its shelf is not
  found under the zone. Tag every level.
- **A name finds its id only if you declared it.** A name two places share
  today finds neither, and the answer says so; look those up by id.
- **A `location` block on a plain, unregistered report** is kept with the
  report, but nothing is looked up or shared by it. Declare `identifiers`.

Two fields are called `location`, and they do different jobs. On a capture
it says where this one report happened. In a source's manifest
(`location: { system, frame_field, position }`) it says which fields of
your records hold a position, in your own system. A position is kept
exactly as sent, whether it is a point or a bounded area.

## 4. What are the calls?

| You want to | Call | AI |
|---|---|---|
| Report what happened | `intake.submit(capture)`, under a source you registered with its place ids | none to send |
| Get what is known at a place, an id or a person | `recall(names, { from, to })` | none |
| Get a written answer with sources | `ask(question)` | the owner's |
| Know who this key is | `whoami()` | none |
| Give one robot or one wearer its part of a site | `blocks.create`, `shares.create`, `shares.key` | none |
| Name a key as you make it | `shares.key(id, { identity })` | none |
| Read inside a Share | `shared.recall`, `shared.brief`, `shared.ask` | only `ask` |
| Hear that something happened | `events.on(...)` | none |

Examples, in the order you would use them: `examples/place-records.mjs`
(make places findable), `examples/robot-recall.mjs` (a `/recall` command for
a harness assistant, about 25 lines), `examples/place-share.mjs` (one robot's
part of a site, with a named key) and `examples/place-rules/` (the whole
loop, with the rulebook).

## 5. What about governance?

Bevia says what is known. It does not decide what a robot or a person may
do. That is the rulebook's job, and it is a platform of its own, also ours:
[NeuroverseOS governance](https://github.com/NeuroverseOS/Neuroverseos-governance), published as
`@neuroverseos/governance`, open source (MIT). It is a release candidate
(1.0.0-rc.2).

- **One rulebook for the whole site.** The same rules apply to every robot,
  every AI agent and every person wearing glasses.
- **Rules are set under declared authority.** Each rule records who set it.
  A lower authority can tighten a rule, never loosen it.
- **It finds rules that conflict** and shows an example request where they
  meet. The strictest answer wins.
- **It answers allow, limit, pause or block,** with the rule that decided.
  A robot's runtime obeys. A person is told.
- **A new rule can be tried on a recorded log** before it goes live.
- **No AI and no network in the decision.** It runs inside your harness.
  Nothing is site-wide by itself: a rule applies wherever a harness or an
  app asks the rulebook before it acts.
- **A pause needs your own way to say yes.** The rulebook can answer "wait
  for a person". It does not page that person; your harness does.

The two meet in one page of code, `examples/place-rules/`:

1. `whoami()`: who the owner declared this key to be.
2. `recall([place])`: what is known here, counted into facts by fixed code.
3. The rulebook decides.
4. The decision is kept in Bevia, so the place remembers it.

Each covers the other. Bevia's facts carry who said them and when, and its
identities are declared by the owner, so the rulebook does not have to
trust what a participant says. The rulebook makes the decision Bevia never
makes. Nothing known at a place is its own fact, never "all clear".

You can use Bevia without the rulebook, or the rulebook without Bevia.

## 6. How do we try it?

One engineer, about a day.

1. Install the Bevia app on one computer and make a developer workspace
   (`README.md`, "Connect").
2. `npm install @bevia/sdk` and run `examples/quickstart.mjs`.
3. Send about fifty real records with their places: tasks, incidents,
   notes from a shift. `examples/place-records.mjs` is this step, working:
   it registers a source that names its places, sends three records and
   looks one up. Swap in your own records and ids.
4. Wire `examples/robot-recall.mjs` into your harness assistant as
   `/recall`.
5. Make a Share over a few places and a named key for one robot. Give the
   Share `capture: true` so the robot can report its decisions back; a
   Share made without it can read but not add. This needs the `control`
   permission, which the owner grants in the app.

   `examples/place-share.mjs` does all of it in one run:

   ```bash
   node examples/place-share.mjs "Galbot Echo" galbot-echo-01 com.example.site:place loc-7f3a loc-81c2
   ```
6. Run `examples/place-rules/` with that key.

Records read by fixed rule need no AI. Notes in plain words need the owner's
AI key.

**If your harness runs on another machine,** which it usually does: a key
paired from another machine can only send at first. The owner allows the
rest in the app. A Share's key is different: the owner's program makes it
with its rights already set, so it is not narrowed on arrival, and it
lasts as long as its Share does.

## 7. What is not built yet?

- **Shares by role.** A Share belongs to one key, not to a job.
- **A push to a Share's key** when something in its part changes. It asks.
- **A server version is in the works.** Today Bevia is offered as a desktop
  app, on a computer left on and awake. The engine underneath already runs
  on its own, with no desktop app around it; we are packaging that for a
  site's own server. Until it ships: when the computer sleeps, nothing
  answers, so keep what you meant to send, and treat "no answer" as
  unknown, never as clear.
- **Geometry inside Bevia.** Looking up a region by its id works. Working
  out which region a point is in, or what is within a distance, does not:
  your location system does that. See section 3 for how to
  use your own system for that.
- **Learning which place is inside which.** Tag each report with every
  level. See section 3.
- **A screen for keys and rules.** Shares are made in the app or the SDK.
  Naming a key is an SDK call, for a Share's key only.
- **Freshness.** A record is findable about a minute after it lands, and up
  to about eleven minutes when the engine is busy.

The SDK is version 0.x and may change.

## 8. The deal

- **Free:** try it, build against it, and sell what you build under your own
  name. A harness, an adapter or a glasses app that talks to Bevia is yours.
- **Free:** one person's own World.
- **Needs an agreement with us:** a World that several people, robots or
  devices share at a site; and shipping Bevia inside your product or with
  your hardware.

**We would rather you bundle it.** If you make a harness, license the
capability from us and your customers get memory, meaning and governance
with your product, set up by your installer, with nothing for them to
arrange. The site still owns its World. Talk to us:
https://www.bevia.co/contact

The license, in full: https://www.bevia.co/license

## 9. Who is behind it?

Bevia and NeuroverseOS governance are both made by Type 5 Ops.
[NeuroverseOS](https://github.com/NeuroverseOS) is our open-source
organisation; the rulebook's source, spec and tests are there. Bevia itself
is proprietary: you use its doors, and its engine stays closed. This SDK is
MIT.

## 10. Questions you will be asked, answered

Plain answers, including the ones that are "not yet" and "ask us".

### Speed, freshness and scale

- **How fast is a lookup?** `recall` uses no AI. We measured 3 to 20
  milliseconds at 200 to 1,000 understandings on one computer
  (2026-11-14). Every answer reports its own `took_ms`. We have not
  measured it at the size of a large store.
- **Why would anything take 75 seconds?** Nothing a robot waits on does.
  75 seconds is the longest the engine lets one `ask` run before it gives
  up. `ask` writes an answer with the owner's AI, so it takes as long as
  that AI takes. Robots use `recall`.
- **How fresh is the memory?** A record read by fixed rule is findable
  about a minute after it lands (the engine works once a minute); we have
  seen up to about eleven minutes on a busy engine. Notes in plain words
  are read by AI a day at a time, so they can take longer.
- **How many robots, records and keys?** Not measured at fleet size. One
  `ask` runs at a time for the whole engine; lookups never wait behind it.

### When Bevia cannot be reached

- **What should a robot do?** Treat "no answer" as unknown, never as clear.
  In the rulebook, mark the facts a rule needs as required: a missing
  required fact is a BLOCK. Keep what you meant to send and send it later
  with its original time.
- **What if the computer sleeps?** Then nothing answers until it wakes. The
  app keeps a Mac awake while it is working, not when the lid is closed.

### Security and data

- **What leaves the building?** Text sent to the AI the owner chose, when
  Bevia reads notes for meaning; nothing with a local AI. Records read by
  fixed rule are not sent to any AI.
- **What is in the daily product report?** Once a day the app sends us a
  short count of what the product did: it started, an update was checked,
  a crash happened and in which part, a World was published, a question was
  asked, an export was used, an AI app was connected, a background job ran
  long. Each is a fixed set of fields with a random installation id. It
  carries no source content and no World, and it has no off switch. The
  privacy policy has the full list: https://www.bevia.co/privacy
- **Is the connection encrypted?** Over a private network, yes, by that
  network. Over a plain local network, no. The engine serves plain HTTP.
- **Is the data encrypted on disk?** Not by Bevia. Use the computer's own
  disk encryption.
- **Does it keep the original text?** No. Once a source has been read, its
  words are deleted from Bevia. What stays is the meaning, a link to the
  source, and exact values such as ids, numbers and dates.
- **What if a key is lost?** Whoever holds a key is that robot or person.
  End its Share (`shares.revoke`), or turn the key off in the app. Reading
  and writing both stop on its next request.
- **Is there a log of who read what?** No. Decisions your harness keeps are
  remembered as plain sentences; reads are not logged.
- **Which computers?** The desktop app runs on macOS, with Windows in
  beta. A build for a site's own server is in the works: the engine already
  runs without the desktop app, and we are packaging it. Ask us where it
  stands.
- **Can we audit the engine, or hold the code in escrow?** Ask us.

### People

- **Does it profile workers?** It keeps who said each thing. It writes a
  longer reading about a named person only when the owner declares one.
  Telling people they are recorded, and getting consent, is the site's
  job. There is no one-step "erase this person" today.

### Rules and safety

- **Is this a safety system?** No. It is memory and a rulebook. It does not
  replace an emergency stop or any functional-safety system.
- **Who releases a "pause"?** Your harness. The rulebook says a person must
  approve; it does not reach that person.
- **Is a proposal a human sign-off?** No. A program the owner paired with
  `propose` is approved by that pairing. For a human yes, use a rule that
  waits for approval and your own way to collect it.
- **What if a record was wrong?** Send it again under the same id with the
  right content; the newer one replaces it. A program cannot delete.
- **What if two sources disagree?** Bevia keeps both, each with its
  source. It does not decide between them.
- **Will a robot be held up by its own earlier decisions?** Not in the
  example: decisions are kept as said by the rulebook and set aside when
  counting reports.

### Commercial

- **Price, bundling terms, exclusivity, support, liability?** Ask us:
  https://www.bevia.co/contact. Nothing here states a price.
- **Who owns the data?** Whoever owns the Bevia: the site owns its World.
  Not us, and not the harness maker.
- **What if you disappear?** The owner can export the whole World, free,
  in an open format. There is no code escrow today.
- **Are the names in the examples customers?** No. "Store 142" is a made-up
  store. Other names in examples are illustrations, not partners.

## Where to read next

- `README.md`: every call, with examples. Start at "For robots: what to
  send, and how" and "Sharing a slice: Blocks and Shares".
- `AGENTS.md`: the rules a program on Bevia follows.
- The protocol (`docs/reference/protocol.md` in the public SDK, or
  https://www.bevia.co/build/PROTOCOL.md): every door and every refusal.
