Skip to content
FindingsAppsBalane GraphicsArticlesVideosExperiment
DETry it
  • Findings
  • Apps
  • Balane Graphics
  • Articles
  • Videos
  • Experiment
Balane Office

Dialog

Team chat with translation – no server, no account, end-to-end encrypted.

Built and in testing, not released yet.No version published yet
How Dialog connects↓
Search
Rooms
@Ben Carter1
#Projekt Herbst
#Support2
#Translations
Anchor reachable
The office Mac mini holds the room, encrypted.
Projekt Herbst
End-to-end encrypted
4 members2 others onlineNo server
OK
Olena Koval 09:07
Good morning! The Polish and Ukrainian translations will be ready by Friday.
Original in Ukrainian · translated by the sender · Show original·
AB
Anna Berger 09:20
Agenda for Monday’s sign-off: onboarding, translations, open items.
👍 3🎉 12 replies
BC
Ben Carter 09:41
Projektplan Herbst.bdocNew version
47 KB · from Documents · shared encrypted
Original in English · translated with DeepL · Show original·
Thanks! I’ll look at the German part first thing tomorrow.
9:44 · delivered to 3 of 3 · read by 2
Message Projekt HerbstYou’re writing in English

My experiment in building an office suite. AI helps with the coding; I document the decisions, tests and limits. Not finished software or for sale. About the experiment →

Tests
51
Attack tests (signature per entry)
18
Agent build time, trial P0
~75 min
Agent build time, stage D2
~56 min
As of
As of Oct 18, 2026

The balance

Team conversations without a server and without an account, end-to-end encrypted, with translation on the recipient's side. Initially built as a Matrix client; since 18 October 2026 it runs over a decentralised network (Iroh, Loro, vodozemac in the balane_sync package).

26 findings from the repository, by kind. Each one is in the logbook with its date and source.

  • 8worked31%
  • 8limits31%
  • 6bugs23%
  • 4decisions15%

What worked with AI

  • One-to-one conversations and hardeningOct 20, 2026↓
  • Voice call in the prototypeOct 20, 2026↓
  • Stage 1a/1b: conversations completeOct 18, 2026↓
  • Serverless network in 75 minutesOct 18, 2026↓

Where people had to step in

  • Mouse clicks were lostOct 21, 2026↓
  • Open checks before the trial runOct 21, 2026↓
  • Call with a real microphone untestedOct 20, 2026↓
  • Key loss was caused by the serverOct 18, 2026↓

On top of that, 4 decisions, each with its date and source in the logbook. All findings in the logbook ↓

Logbook

26 findings from Oct 16, 2026 to Oct 21, 2026

Oct 21Day 15
  1. Oct 21, 2026Day 15
    • Mouse clicks were lost

      Mouse clicks were lost on macOS; an initial fix forwarded them directly to Flutter. Later manual checks showed that this did not fully resolve the issue.

      BugSource apps/dialog@07a1108; docs/audits/2026-11-07-interaktion.md
    • Open checks before the trial run

      Separate networks have not been tested, Windows, iOS, Android and the browser have not been built with the library, and notifications on iOS and Android are missing. The two-week trial with a real team is still pending.

      LimitSource apps/dialog/docs/dezentral.md
  2. Oct 20, 2026Day 14
    • One-to-one conversations and hardening

      One-to-one conversations with a one-time code, blocking and unblocking are built. Unknown nodes may only send small requests, and a panic in the Rust part no longer terminates the app.

      WorkedSource apps/dialog/docs/dezentral.md
    • Voice call in the prototype

      A 1:1 voice call over Iroh with Opus, a jitter buffer and error concealment ran for 12 s over n0's relay without loss. n0's templates did not fit iroh 1.x, so the media path was built from scratch.

      WorkedSource apps/dialog@b8ed831 (docs/anruf-spike.md, Stand 20.10.2026, Branch feat/anruf-spike)
    • Call with a real microphone untested

      Calls with a real microphone and speaker, the direct connection through NAT between two devices, and mobile devices at runtime have not been tested. A direct connection was not established because the macOS firewall blocked the unsigned program.

      LimitSource apps/dialog@b8ed831 (docs/anruf-spike.md, Stand 20.10.2026, Branch feat/anruf-spike)
  3. Oct 18, 2026Day 12
    • Key loss was caused by the server

      The cross-test with Element failed against Continuwuity in about one run in ten, and never against Synapse. Investigation: a room key that arrives at the same time as the first sync step is lost by the server; with an earlier sync step, 30 out of 30 runs passed.

      BugSource apps/dialog/docs/etappe-1.md
    • Stage 1a/1b: conversations complete

      Replies, reactions, mentions, threads, catching up after offline time and a sealed local store are built and tested against both servers. Search across all rooms finds results in 60,000 messages in about 90 ms.

      WorkedSource apps/dialog/docs/etappe-1.md
    • Visual review finds design errors

      Only the visual review via screenshots and in the running app revealed errors: translation line in the wrong place, mention suggestions across the full width, duplicate names in search results, room name pushed aside on the smartphone. A run on a real phone is missing.

      LimitSource apps/dialog/docs/etappe-1.md
    • Server slows down collaborative editing

      In the “shared note” trial in the Dialog repository, the delay with Synapse in its default settings was p95 9.7 s instead of under 3 s, with 115 rejections per person. The bottleneck was the server's rate limiting, not the method.

      LimitSource ADR 0014
    • Serverless network in 75 minutes

      In trial P0, an agent built chat over Iroh with Loro and Megolm, anchor and relay, including a measurement run, in about 75 minutes. Direct messages reached p95 4.8 to 6.6 ms; catching up on 1,000 messages via the anchor took 30 to 37 ms.

      WorkedSource docs/product/erkundung.md, ADR 0015
    • iOS build failed because of a dependency

      The iOS build stopped because libc from 0.2.190 onwards offers a structure needed by netwatch and netdev only for macOS. Fixed by pinning libc 0.2.189; after that, the build is 9.4 MB on iOS and 8.9 MB on Android.

      BugSource ADR 0015
    • Firewall and security remain manual work

      macOS blocks incoming UDP for unsigned programs, so the firewall question belongs in the setup. The test in real separate networks and the security review remain work for people.

      LimitSource ADR 0015
    • Switch to a decentralised network

      ADR 0015 replaces Matrix as the transport: the team's devices exchange rooms directly over Iroh, without a server and without an account. Translation and storage from ADR 0013 still apply; every entry is signed and checked before it is applied (18 attack tests).

      DecisionSource ADR 0015
    • Serverless switch with 51 tests

      Identity, creating a room, invitation, joining, removal, anchor and delivery status run over balane_sync with 51 passing tests. A cross-test over the internet showed joining after 2.9 s and conversation after 12.9 s.

      WorkedSource apps/dialog/docs/dezentral.md
    • Serverless team in 56 minutes

      An agent built stage D2, with several devices per person, recovery key, multiple admins, read receipts, files and revoking with deletion of the key, in about 56 minutes, including attack tests.

      WorkedSource docs/product/erkundung.md
    • Flaky test reveals key loss

      A test failed only every fourth run. The cause was a concurrency bug: key entries were read by their position, so entries appended at the same time were lost. Found because the test was not dismissed as “flaky”.

      BugSource apps/dialog/docs/dezentral.md
    • Security limits stated

      Revoking does not protect against a compromised device that had the sender's key session. Changing the personal key after a device has been stolen is not yet possible.

      LimitSource apps/dialog/docs/dezentral.md
    • Anchor did not shut down

      When building the anchor as a standalone program, it turned out that it did not exit on SIGTERM, because open signal subscriptions kept the process alive. The anchor is built for macOS; Linux and Docker are only described.

      BugSource apps/dialog/docs/dezentral.md
    • Licences of the network library need review

      Through Loro and the port mapper, libraries under MPL-2.0 (weak per-file copyleft) come in as transitive dependencies. A legal review is needed before any release.

      LimitSource ADR 0015
  4. Oct 16, 2026Day 10
    • AGPL SDK rejected, own client

      The widely used Dart SDK package:matrix is licensed under AGPL-3.0 and is not an option for the proprietary apps. Instead, a custom, lean Matrix client is being built in Dart; Olm and Megolm come from vodozemac (Apache-2.0), with no cryptographic scheme of its own.

      DecisionSource ADR 0013
    • Stage 0 prototype runs against two servers

      Signing in, creating a room, and sending and receiving encrypted messages work against Continuwuity and Synapse 1.163.0. The test run with 22 tests takes about 1 to 2 s against Continuwuity and about 4 s against Synapse.

      WorkedSource apps/dialog/docs/prototyp.md
    • Cross-test with Element passed

      Messages go both ways between Dialog and Element's crypto stack (matrix-js-sdk 44 with Rust crypto). The cross-test was not done with Element's own interface.

      WorkedSource apps/dialog@db6b219
    • Without cross-signing, Element shows warnings

      Without cross-signing, Element marks every message in red as “Gerät nicht vom Besitzer bestätigt” (device not verified by its owner). Cross-signing therefore becomes mandatory and is set up when the first device signs in.

      DecisionSource 0180c03
    • Silent abort under Node 20

      matrix-js-sdk 44 needs Promise.withResolvers from Node 22; under Node 20, syncing silently stops after the first step. The test tool now adds the function itself.

      BugSource apps/dialog/docs/prototyp.md
    • Platforms only partly tested

      vodozemac is built and tested on macOS; iOS and Android are built but have not been run on a device, Windows is only compiled, and the browser has only been tested as WebAssembly in Node. The legal review of the licences remained open.

      LimitSource apps/dialog/docs/prototyp.md
    • The ninth app is called Dialog

      The team app is named Dialog, with the identifier BalaneAppId.dialog instead of team, moss green as its accent colour and its own icon.

      DecisionSource dae6c22

What the app does today

Dialog is the team chat of Balane Office. Your team’s devices exchange messages directly – no server, no account and no provider who could read along or switch the service off.

This area in Balane Office for Apple

On Mac, iPhone and iPad, Dialog is planned as one of nine areas in a combined Balane Office app. That app is still in development; the existing Mac downloads remain separate for now. Windows and Android keep standalone apps.

Why the Apple plan is changing →

No server

  • Devices find each other over an open network (Mainline DHT) and connect directly
  • If that fails, a relay helps; it only passes on encrypted data, and you can add your own
  • Anchor (optional): a team device that is always on and holds messages, encrypted
  • Your identity is a key on your device, not an account

Security

  • End-to-end encrypted with Olm and Megolm (vodozemac)
  • Every message signed by its sender and checked before it is applied
  • Retracting a message deletes the text on every reachable device
  • Local storage sealed, the key kept in the keychain
  • App lock with a passcode, optionally with Face ID, Touch ID or fingerprint

In a team

  • Invite by text or QR code, an admin lets people in
  • Several admins, a read-only role, new members can see the history
  • Several devices per person via a pairing code
  • Backup with a recovery key

Conversation

  • Translation as you read with DeepL (your own key), original one click away
  • Threads, replies, reactions and @mentions
  • Delivery and read receipts; read receipts can be turned off
  • Files up to 25 MB with provenance: which app, which version

Notifications and Claude

  • Notifications through a wake-up service, off by default; it sees no content, names or members
  • Tapping a notification opens the room
  • “Hide previews”: just “New message”, and the sidebar shows no last message
  • MCP server: Claude reads and searches rooms, read-only; it can only propose a message, which is sent once you confirm

On iPhone and iPad

The adaptation for iPhone and iPad is in progress.

Features in detail

  • Serverless messengerA serverless messenger delivers messages without a provider storing them in between or managing accounts.Soon→

File formats

  • balane-room:
  • QR
  • .balanebackup

How it connects

  • Files from Documents, Sheets and Slides carry their origin and show when there is a newer version.
  • Dialog shares its network and encryption with co-editing in Documents, Sheets and Slides.
  • The same in every app: command search with ⌘K, German and English, automatic saving on your device.

Platforms

macOS
planned
Windows
planned
iOS
planned
Android
planned
Web
planned

Not finished software: expect bugs and changes to the file format. Please don’t keep important data only in the apps, and back up regularly.

App privacy policy →

Limits

  • Without an anchor, a message only arrives when sender and recipient – or a third member – are online at the same time.
  • Phone notifications are built, but the wake-up service they need isn’t running yet. On the Mac, notifications only appear while Dialog is running. When the service wakes the app in the background, a tap opens the app, not yet the room.
  • So far checked on the Mac. Tests across separate networks and on Windows, iPhone and Android are still to come.
  • A tampered device that has already received a message can keep it even after it is retracted.

How Dialog connects

Dialog is a team chat without a server and without an account. This is how people find each other, why nobody can pose as someone else or write in uninvited, and where the limits are.

From the paper “How connecting works and why it is secure” · As of Oct 20, 2026

In short

  1. 01

    Nobody can find you without an invitation from you or your team.

    There is no directory, no phone number, no email search.

  2. 02

    Nobody gets into a room without being asked.

    Only an admin can let someone in, and every admission is signed by them.

  3. 03

    Nobody can write messages in someone else’s name.

    Every message carries the signature of the device that wrote it; every device checks it.

  4. 04

    Nobody in between can read along.

    Content is end-to-end encrypted. Relays and anchors only pass on ciphertext.

  5. 05

    There is no central point where anyone could switch Dialog off.

    The members’ devices exchange the room directly.

A room for the team

Five steps from an empty room to syncing. Your identity is not a user name but a key pair created on your device.

  1. 01 / 05

    Create the room

    Your device creates the room and is its founder and admin. The room has a random, secret ID (32 bytes).

  2. 02 / 05

    Pass on the invitation

    The invitation (balane-room:…, also as a QR code) holds the room’s secret ID, the founder’s public key and the address of the admin device. You send it by email or messenger, or show the QR code.

  3. 03 / 05

    Send a request

    Whoever pastes the invitation into Dialog sends the admin device a request directly, with a name and their own keys. Until they are admitted, they can neither read nor write anything.

  4. 04 / 05

    Check and admit

    The admin sees the request with name and short ID and decides: admit, admit as read-only, or decline. The admission is an entry in the member list, signed by the admin.

  5. 05 / 05

    Sync

    From now on the members’ devices exchange the room directly. The new person receives the keys for new messages and, if the admin allows it, for the earlier history.

No fakes

The name someone enters is only a label. Who they really are is in the ID; Dialog shows its first eight characters, such as 5f0c2a91.

AttemptWhat Dialog does
Write a message in Anna’s nameNot possible

The message would have to be signed with Anna’s secret device key. Every device checks the signature and rejects entries signed by someone else.

Slip in a fake room with the same IDNot possible

The invitation holds the founder’s key. A room with a different founder is rejected at the first sync; nobody counts as a member there. There is a dedicated test for this.

Send a request on behalf of another deviceNot possible

The request has to come from exactly the device it names; the connection proves this cryptographically.

Make yourself a member or adminNot possible

Member entries only count with the signature of the founder or a valid admin.

Send a fake “you were removed” noticeChanges nothing

Only a notice signed by an admin takes effect.

Join under the name “Anna”Possible

Names can be chosen freely. That is why Dialog shows the short ID with every request and in the member list. Before admitting someone, a quick check on a second channel helps: “Does your ID start with 5f0c…?”

Limits, stated plainly

  • Forwarded invitations. Anyone holding the invitation to a team room can send a request, and with newly generated IDs many of them. They cannot read or write, but the admin has to decline the requests. Expiring invitations and a cap on open requests are planned.

  • One-to-one invitations. Whoever pastes it first is in. So it should only go to the right person; in the conversation, name and short ID help to check.

  • Metadata. Relays and the DHT see IP addresses and which devices are connected to each other, not the content. With the team’s own relay, this data stays within the team too.

  • Stolen device. Admins can remove it. Changing the person key is not possible yet; until then, remove and invite again.

  • Retracted messages. Anyone who has already read them may keep them. New members, anchors and relays never receive them.

  • Notifications on the phone. They go through Apple’s and Google’s push services. An optional wake-up service sends only empty wake-up messages for this; it is built but not running yet. Notifications are off by default in Dialog.

  • No external audit. Dialog is a demo, not a product, and is not recommended for production use. Its security rests on widely used libraries (Iroh, vodozemac, Loro) and its own tests, not on an independent review.

Backed by tests in the repository:net_security_testteam_d2_testroom_team_testdirect_testunknown_peers_are_limitedpeer_test

Articles about Dialog

  • Nov 11, 2026Nine office apps for Apple: why I’m changing courseWhy am I planning one combined app for Mac, iPhone and iPad instead of 18 separate platform versions?↗
  • plannedDecentralised teamsDoes chat with translation work without a provider's own server?↗
  • plannedSecurityWhat do you have to check yourself, and what can you leave to the AI?↗
← Previous appPaperworkRead, organise, fill in and sign the PDFs you already have – locally, no account.
Next app →DocumentsLetters, reports and long documents in an editor built for them.
App 9 of 9

I’m building Balane Office and documenting the decisions, tests and bugs. Nine areas, one open experiment.

AppsDocumentsSheetsSlidesFormsReportsMailContent PlannerPaperworkDialogBalane GraphicsAll features →Chart types
FindingsFindingsExperimentVideosArticle series on hoettler.com ↗Try it
BalaneDevelopment preview noticeLegal noticePrivacySecurity

© 2026 BALANE GmbH

Balane OfficeBalane Office