Skip to content
Projets

HelbertMoura/escritorio-agentes

Voir sur GitHub

À propos

Firmópolis is a live pixel-art office for agentes.chat teams and local AI terminals, including Maestri workspaces. Open source, self-hosted, no AI calls.

IA et apprentissage automatique

Comment ces chiffres sont mesurés

What you can do

  • ✅ Answer from the office: permission requests from Claude Code, Codex and OpenCode get Permitir (allow) and Negar (deny) on the terminal's card, and questions from Maestri and OpenCode terminals get a Responder (answer) field, on a phone too (see Answer from the office).
  • 📻 Office radio: three stations composed on the fly by the browser, with no audio files, plus an optional internet radio (see Office radio).
  • 🧹 Building staff: the bathroom gets dirty and closed, the cleaner cleans, the handyman fixes what breaks and the doorman looks after the entrance (see Building staff).
  • 🧑‍💻 Live map: agents go to their desk and type when they get a task. When they are free they play arcade, video games, pool, foosball, ping-pong, chess, darts and basketball by themselves, play the piano or the guitar, grab a coffee or chat in pairs. They arrive in the morning and leave at night through the front door.

Progression mesurée des étoiles

in 24h
0
in 7 days
Historique en cours
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

🇺🇸 English | 🇧🇷 Português (Brasil)

Firmópolis

A live pixel-art office for your agentes.chat team and for the terminals on your computer

Formerly Escritório de agentes. It now also brings in Escritório Vivo.

See who is at their desk, who is playing pool in the lounge and who is waiting for your approval. Read-only (except for the optional reply mode), every 30 seconds, no AI and no tokens spent.

License: AGPL-3.0 Python 3.10+ stdlib only No build step Made for agentes.chat

Animated demo of the office in demo mode, with fictional agents: the pixel-art map by day with agents walking and working, the camera zooming in on an agent with a '?' question bubble, then the pointer moves to a request in the Waiting for you list (one click takes you to that agent). Short captions in Portuguese explain each step.

Already use Maestri? · Features · Screenshots · Install · Floors · Team · Customize · Social life · Building staff · Office radio · Construction mode · TV mode · Presentation mode · Installable app · Visitors · Visits by invitation · Local bridge · Newspaper · Time-lapse · Phone alerts · Security · Architecture · Development · Changelog · Contributing · Code of Conduct

🎬 Launch video (narrated in Brazilian Portuguese, with subtitles), attached to the release. 🌎 Video of the world and the visits (1.3.0), also narrated in Portuguese, with subtitles.

Animated clip of what is new, in demo mode with fictional agents: a strike in the lounge with everyone sitting on the floor holding cardboard signs, a fight in the Ring ending with the 'VENCEU' winner's banner and the crowd around, the demand delivered (the pizza rider on the street and the crew eating in front of the ring) and the construction mode editor, where you paint the rooms and drag and mirror the furniture. Captions in Portuguese are burned into the image. Animated clip of the world and the visits, with fictional data: the pixel-art globe spinning at night; the map of Brazil with the miniatures of the capitals; zooming into the map; Rio de Janeiro seen from above, with the Christ statue and the waterfront; São Paulo on Christmas night; and the visit-by-invitation page, with the meeting room and the chat

What it is

Firmópolis (formerly Escritório de agentes, "agents' office") is a small self-hosted web page that turns your agentes.chat workspace into a living office. It reads agentes.chat through the external apps connector (MCP, read-only OAuth scope; write only if you turn on the "responder" mode) every 30 seconds and draws your team as pixel-art people in a building that assembles itself from your teams.

With the optional local bridge, the map also shows the terminals on your computer (Claude Code, Codex, agy, OpenCode, MiniMax and Maestri), and that data never goes through the server. Three species live in the building: the felt critters are the agentes.chat agents, the little terminals are the terminals on this computer, and the people are you and your visitors.

It does not call any AI model and does not spend tokens. Approving always happens in agentes.chat; answering too, except in the optional "responder" mode. Otherwise, the office only shows what is going on and links you there.

Who it is for: teams and companies that run agents on agentes.chat and want a glanceable, fun view of the team: on a wall screen, a second monitor or a phone. It is white-label: any company can install its own copy and brand it.

Already use Maestri?

If your day runs on Maestri, Firmópolis comes in through the local bridge, and, by default, the terminal data does not go through the server (the mirror is optional).

  • Rooms per workspace: with the bridge on, each Maestri workspace in use automatically gets a room in the building, under the "Projetos" sign, and its terminals work there. The room is display-only: it does not go to the server or to construction mode.
  • Observation, not control: the bridge reads the local state and the building draws it; nothing calls a model or spends tokens. The default is just to look.
  • Allow or Deny: on Claude Code, Codex and OpenCode terminals (including those running inside Maestri), permission requests get the buttons on the card. Standalone agy and MiniMax only show their state.
  • Answer eligible questions: the Responder field does not appear for every wait: only when the wait accepts free text, in Maestri and OpenCode terminals. Option dialogs and approvals do not get the field; answer in the terminal.
  • Remote is optional: deciding from a phone or another machine only happens with --decidir-remoto; without it, everything happens in this PC's browser.

Before installing: AGENTES_ORG, the agentes.chat organization id, is optional. Without it, agentes.chat stays off (it shows as unavailable, with no error) and the office runs on the local bridge and Tucano alone. Maestri is another team's tool: Firmópolis is independent, thanks them and points to the official site, with no official partnership.

The step-by-step, with the command for each system, is in Local bridge.

Features

  • 🏢 A building made from your teams: reception with your logo, one room per team (it grows with the number of agents), corridor, meeting room, lounge, kitchen and bathroom. A new agent gets a desk in the "New" room. There are at most 6 rooms per row: extra teams and the Maestri rooms move to blocks further down, with the project rooms together under a "Projetos" sign.
  • 🖥️ Terminals on this computer: with the local bridge, each terminal becomes a little terminal on the map. Busy, it works in the team room (with Maestri, each workspace in use gets its own room automatically). Waiting for you, it goes to the reception with a "!" or "?". Free, it gets coffee and chats in the hallway with another free terminal. The color tells the program and the accessory tells the role (a crown for the Maestro, glasses and a magnifying glass for the Auditor, a hard hat for the Braçal). Terminals on another machine come in through the mirror, with no tunnel (see Local bridge).
  • 🐦 Little toucans: if you use Tucano, its agents show up on the map as little toucans, in the Ninho room, with the "!" and "?" of whoever waits for you. Enable reading with ponte setup --tucano. If you also enable replies with a Falar (Talk) key, you can answer their questions in the private conversation from Firmópolis. Aprovar no Tucano (Approve in Tucano) opens Tucano for approval.
  • ✅ Answer from the office: permission requests from Claude Code, Codex and OpenCode get Permitir (allow) and Negar (deny) on the terminal's card, and questions from Maestri and OpenCode terminals get a Responder (answer) field, on a phone too (see Answer from the office).
  • 📻 Office radio: three stations composed on the fly by the browser, with no audio files, plus an optional internet radio (see Office radio).
  • 🧹 Building staff: the bathroom gets dirty and closed, the cleaner cleans, the handyman fixes what breaks and the doorman looks after the entrance (see Building staff).
  • 🧑‍💻 Live map: agents go to their desk and type when they get a task. When they are free they play arcade, video games, pool, foosball, ping-pong, chess, darts and basketball by themselves, play the piano or the guitar, grab a coffee or chat in pairs. They arrive in the morning and leave at night through the front door.
  • ✋ Approvals at a glance: a "!" or "?" over anyone waiting for your approval or answer, and a "Waiting for you" list with how long each request has been waiting. Each one opens the right request in agentes.chat (approving is always done there).
  • 🎵 Life and sounds: 21 poses, games in pairs up to 3 points with a cheering crowd, a coffee circle, high-fives, a robot vacuum at night and more. 45 optional sound effects synthesized in the browser (keyboard, "simlish" chatter with a voice per agent, games, alerts, the ring and the strike, rain and thunder), with a volume control and on/off per category. Audio only starts after you interact with the page.
  • 🖱️ Clickable objects (mouse, touch, or Tab and Enter): the TV (5 channels), arcade machines, jukebox, coffee maker, aquarium, lamps, notice board, plants, the opening-hours sign, the cat, the wall clock, the code board, kanban and moodboard, the sales bell, the ring scoreboard and the strike signs. Most of them also bring a free agent over. The games (pool, foosball, ping-pong, chess, darts, basketball) are not clickable: the agents play them on their own.
  • 🌦️ Real time and weather: day and night follow the real clock, empty rooms turn their lights off and windows show the sky of the hour. Real weather for your city (Open-Meteo, no key): rain, drizzle, thunderstorm, snow, fog, overcast, with gusty wind, lightning in the thunderstorm and swaying trees.
  • 🎉 Holidays: Christmas, New Year (fireworks), Carnival and Easter (calculated), Lunar New Year, Halloween, Festa Junina, Brazilian Independence Day, Programmers' Day, Diwali and more, with decorations, hats and lines.
  • 🎨 Customization: company name, accent color and logo from the Customize screen, and teams built automatically (by department, name or role) with a preview; rooms, floors, walls, icons and avatars also in times.json.
  • 🕹️ Simulation: a panel to preview the office on another date, time or weather (Christmas at night in the snow, for example). Nothing is saved: it only changes the URL of that tab, and a "Simulation" banner stays visible with "Back to real".
  • 🥊 Social life: friendships and rivals, cartoon fights in the Ring with a weekly scoreboard, complaints, gossip and a strike that ends with a delivery (pizza by motorbike, coffee, a "Sexta livre aprovada!" banner...). The same on every screen and only among agents who are free (see Social life).
  • 🧱 Construction mode: paint the rooms and move, mirror, remove and add furniture with the mouse or the keyboard, with undo; the plan is saved on the server for everyone (see Construction mode).
  • 📺 TV mode: full screen, the screen kept on and a camera director that rushes to requests, fights and strikes, with a news ticker (see TV mode).
  • 📲 App and phone alerts: install the office on your home screen and get an alert when an agent asks for your approval or asks a question (see Installable app and Phone alerts).
  • 🏬 Floors: each agentes.chat workspace becomes a floor of the building, each in its own city with that city's weather and time, and the elevator in the top bar switches floors (see Floors).
  • 👥 Team: member accounts by invitation, with a name and a character on the map (shirt, hair and skin chosen in the profile); team conversations (general, rooms and DMs, with mentions, reactions, attachments and search), a board, status, meetings with a calendar and a summary of what happened while you were away (see Team).
  • 🙈 Presentation mode: replaces names with "Agente 1" and "Pessoa 2" and hides what is sensitive, for showing the screen to a client (see Presentation mode).
  • 👀 Visitors: whoever else on the team has the office open shows up on the map with their own name and character (see Visitors).
  • 🚪 Visits by invitation: a 1-hour link brings someone from outside into the meeting room, with no password (see Visits by invitation).
  • 🌎 World: a public page that goes from the globe down to Brazil, the city and the reception door, with the real weather of 28 cities and each one's festivals, from the national ones to the regional ones (Parintins, Círio de Nazaré, São João...) and each foreign country's own (see World).
  • 📰 Weekly newspaper: a headline, notes and each agent's numbers for this week and last week (see Newspaper).
  • 🎞️ Daily time-lapse: the office's day in a ~30 s video, recorded only in your browser (see Time-lapse).
  • 📸 Photo mode: hides the interface and saves a PNG of the office.
  • 🧪 Demo mode: ?demo=1 shows fictional agents and an accelerated day, ring and strike included, with nothing sent to or read from the server. Good for trying it out and for screenshots.
  • 🎥 Camera: zoom in whole steps (1x, 2x, 3x...) with the wheel, pinch or buttons, drag, double-click to focus a room, "Go to…" an agent (/ or Ctrl+K), and keyboard shortcuts (+, -, 0).
  • 📱 Phone friendly, with clickable objects that also work with the keyboard and touch.
  • 🔒 Login with username and password, published only on your Tailscale network.

Screenshots

All screenshots come from demo mode or from a preview with fictional data (made-up agents, tasks and conversations), never from a real workspace. The full list, with how each one was taken, is in docs/screenshots/README.md.

Approvals at a glance, in demo mode: the whole building by day, with a '!' over Flora, who is waiting for approval, and a '?' over Gael, who has a question, in the Marketing room; the 'Waiting for you' list shows both requests with Answer and Review buttons

Approvals at a glance: "!" and "?" on the map and the "Waiting for you" list.

The office at 6:48 pm in the rain: the Marketing and Ops rooms lit, with people working, the other team rooms dark, street lamps and wall lamps on and the rest of the team in the meeting room and the kitchen

Night and rain: only rooms with real work light up, and the street lamps come on.

Christmas night in the snow: a Christmas tree at reception and in the lounge, agents chatting in the meeting room and in the lounge with speech bubbles

Holidays: Christmas night in the snow, from the Simulation panel.

The Conversations page with fictional data: today's list grouped into Waiting for you, Working and Finished today; Gaia's open conversation asks which time to offer a client, with a reply typed in the box below, and the 'Reply mode · closes in 59 min' badge with 'Close now' at the top

Conversations: today's tasks and, in the optional reply mode, a reply box.

Social life in demo mode: Gael and Aurora fight inside a cartoon dust cloud in the Ring of the lounge, with a 'BUM!' sound effect, while the crowd gathers around with 'Alguém chama o RH!' and 'Briga no ringue!' speech bubbles; the scoreboard board hangs on the wall behind the ring

The Ring: a cartoon fight, with the crowd gathering around.

The Ring scoreboard dialog: the week that started on Monday, last week's champion Hana with 6 wins and 1 loss, and a table with Aurora, Gael, Flora and Jade, their wins, losses and streaks

Weekly scoreboard, with last week's champion.

A strike in the lounge: six free agents sit on the floor in front of the ring holding cardboard signs ('MAIS CAFÉ', 'SONECA LIVRE', 'QUEREMOS PIZZA'), and a notice at the bottom of the map reads 'Greve na Sala comunal: QUEREMOS PIZZA' with the 'Atender o pedido' button

Strike: cardboard signs and the "Atender o pedido" button.

The demand met: the strikers stand in front of the ring with the pizza boxes the rider brought, a slice in hand, and one of them says 'Pizza!!'

Demand met: the pizza arrives and the crew eats in front of the ring.

Another demand met: a green 'SEXTA LIVRE APROVADA!' banner with bunting above the ring, a strike veteran says 'Vitória!', while the rest of the team works and Bento waits for approval

Each demand has its own delivery: here, the "Sexta livre aprovada!" banner.

The construction mode editor in demo mode: the whole building on the left with the lounge outlined and the sofa selected; on the right, the Piece panel with Mirror and Remove, Paint room with 7 walls and 10 floors for the lounge, and the catalog of decorations

Construction mode: pick a piece, paint the room, add decorations.

The lounge before and after the construction mode: on top, the automatic room with a patterned wall and a wooden floor; below, the same room with a green wall, a darker floor, one plant removed, the sofa moved and two new plants

Before and after: the same lounge, repainted and rearranged.

The front of the building at night, below the map: windows, the glass door with its two wall lamps lit, planters, lit street lamps on the sidewalk and cars with headlights on the street

The building from the front at night: the wall lamps and street lamps light up.

The first-access screen: on the left, the night sky with the title 'Seu time de agentes trabalhando à vista' and a scene with a little terminal at a desk, an agent with a crown, a person and two terminals on the couch; on the right, the form with the first-access code, username and password, and the footer 'Firmópolis · Código aberto · AGPL'

The sign-in screen, with the new identity.

The agent card with the secrets masked: the role reads 'Desenvolvimento · token: •••' and the task 'Revisando o deploy com o token •••'; in the lists below, the approval says 'Aplicando "token": "•••" no servidor' and the question says 'Qual horário oferecer ao cliente? A chave é •••'

Secrets on screen: a token becomes "•••" before it reaches the map.

The office on a phone: right below the title, the tall map, with the time and weather pill on top and the camera bar (−, 1x, +, Ver tudo and the ⋯ menu) at the bottom left; the filters come after the map

The office on a phone: the map right below the title, and below it the state filters in a 2×2 grid — Todos 7, Trabalhando 5, Esperando você 2, Livres 0 — with Fora (outside) on its own row

On a phone, the filters line up in a clean grid.

Install

Just want to see it? Open static/index.html?demo=1 with any static server (for example, cd static && python3 -m http.server 8000 and http://127.0.0.1:8000/index.html?demo=1). That is demo mode, with fictional agents, and nothing to install.

For your team, in 4 steps (Linux with systemd, Python 3.10+ and Tailscale with MagicDNS and HTTPS enabled; without Tailscale, see Docker and Coolify):

  1. With agentes.chat (optional), get your organization id: it is what comes after /org/ in your agentes.chat address. Without it, the office shows only the local bridge and Tucano.
  2. Run the installer from the repository folder (without agentes.chat, drop the AGENTES_ORG=...):
    sudo AGENTES_ORG=<your organization id> bash instalar.sh
    
  3. Create your account: open https://<your-machine>.<your-tailnet>.ts.net/ and use the first-access code the installer printed at the end (to see it again: sudo escritorio-codigo). On a phone, the Tailscale app turned on is all you need.
  4. Turn on your sources: the setup wizard opens on De onde vêm os seus agentes? (where do your agents come from?), with a card and a short guide per source: agentes.chat, the local bridge and Tucano (MausBot and OpenBot coming soon). In the agentes.chat guide, use Conectar ao agentes.chat (connect) and authorize read access; the agents show up right away. The installer already sets the return address (ESCRITORIO_BASE).

That's it. Everything else (brand, city, teams, radio, floors) is set from the Personalizar (customize) screen, with no files to edit. To also see the terminals on your computer, follow Local bridge. The installer details are below; you only need them if something is out of the ordinary.

Installer details

At the end, in a terminal, the installer shows the first-access code. To see it again, run sudo escritorio-codigo. The code works once, only while no user exists, and does not expire. When the output is not a terminal (automation, | tee), the code is not printed: run sudo escritorio-codigo afterwards.

The organization id is what comes after /org/ in your agentes.chat address, and it is what filters links to your organization. It is optional: without it, the installer warns and goes on, the server starts with agentes.chat off (/oauth/conectar explains it is not configured, nothing goes out to agentes.chat and the log says so once, at startup) and the office shows the local bridge and Tucano. To turn it on later, set AGENTES_ORG in /etc/escritorio.env and restart the service. When set, it must be a valid id, or neither the installer nor the server starts.

The service listens on 127.0.0.1:737, a privileged port, so no regular user on the machine can grab it while the service restarts. To use another one, pass ESCRITORIO_PORTA=<port below 1024>. The installer stops if net.ipv4.ip_unprivileged_port_start is below 1024, and the service will not start in that case either.

The source-code address the page offers its users (AGPL section 13) is this repository by default; if you run a modified version, pass ESCRITORIO_FONTE=<https address of your code> (a plain https:// address, up to 200 characters, without quotes or spaces; the installer refuses anything else).

Two optional variables for team conversations (1.6): ESCRITORIO_JITSI=<host> accepts your own Jitsi in the fixed room links, on top of the closed list (Meet, Zoom, meet.jit.si, Teams and Whereby); it takes one exact host, such as jitsi.example.com, and a value outside that format is ignored. ESCRITORIO_PISO_DISCO_MB=<MB> sets how much free disk attachments never use; without it, the larger of 2 GB and 10% of the volume. The installer asks for neither: add the line to /etc/escritorio.env and restart the service (sudo systemctl restart escritorio), and do it again after each reinstall, which rewrites the file. With Docker, put the variable in the environment of the escritorio service in docker-compose.yml.

Android app (Play Store): ESCRITORIO_ANDROID_SHA256=<fingerprint>,<fingerprint> turns on the /.well-known/assetlinks.json that lets the app open full screen, with the SHA-256 fingerprints of the upload key and of the Play app signing key (keytool format, comma separated; one outside the format is ignored, and with none the route returns 404). Changing it only takes editing the variable and restarting, with no new app build. The project, the key and the store listing are in android/ (in Portuguese). The privacy policy lives at /privacidade and account deletion at /excluir-conta, both public.

The installer publishes the / path of port 443 of this machine on your tailnet (tailscale serve). If that route already publishes something else, it stops without changing anything, so it never takes down what is already there. This also applies when reinstalling with another ESCRITORIO_PORTA: free port 443 first (see tailscale serve status).

Reinstalling or updating: run the installer again with the same variables. It rewrites /etc/escritorio.env every time, so ESCRITORIO_PORTA and ESCRITORIO_FONTE go back to their defaults when left out (in a fork, the source-code link would point back to this repository). Users, sessions, tokens and /opt/escritorio/times.json are kept.

If the office does not read agentes.chat and journalctl -u escritorio shows name-resolution errors, the problem is DNS: the service only reaches the public internet. Its systemd unit blocks private addresses (IPAddressDeny), and that includes a DNS resolver on a private IP, such as the VPC resolver on AWS or 169.254.169.254 on GCP and Oracle. The systemd-resolved stub (127.0.0.53) and Tailscale MagicDNS (100.100.100.100) are allowed. To fix it, use systemd-resolved (with /etc/resolv.conf pointing to 127.0.0.53) or allow only your resolver's address in a drop-in, which survives reinstalls (sudo systemctl edit escritorio):

[Service]
IPAddressAllow=<your resolver IP>/32

On GCP and Oracle, 169.254.169.254 is also the metadata server, so prefer systemd-resolved there.

Connect to agentes.chat

ESCRITORIO_BASE is the office's public address, origin only, like https://escritorio.example.com: no path and no trailing slash. agentes.chat sends you back to it after the authorization, and the server checks the origin of every submission against it. In any other format, the service does not start and says why.

agentes.chat is one of the agent sources, next to the local bridge and Tucano, and none of them is required. The bar above the map only shows up when no source is on: it says the office has no agent source yet and offers Conectar uma fonte (connect a source), which opens the sources step of the setup wizard (the wizard also opens by itself, once per session, in that case). With the bridge on, there is no bar, and the agentes.chat status lives in the sources step and in Personalizar > Fontes de agentes.

In the agentes.chat guide, Connect to agentes.chat opens /oauth/conectar in the same tab, and coming back from the authorization reopens the wizard on the sources step, with the first read right away. Copy link copies <ESCRITORIO_BASE>/oauth/conectar, to open it in another tab or browser. Without a clipboard (outside https), the guide shows the address already selected.

If agentes.chat refuses the read (HTTP 401, 402 or 403), the guide says so, with the code, and the button becomes Reconnect; Personalizar > Fontes de agentes keeps the same low-key Reconnect. Check that the connected account belongs to the organization and that the plan allows external apps. While it keeps refusing, the office retries with a growing wait, from 30 s up to 5 min.

If the office is opened from an address other than ESCRITORIO_BASE, the agentes.chat guide (and the bar, when no source is on) warns you before anything else, because agentes.chat always sends you back to ESCRITORIO_BASE: fix the variable on the server. The sign-in screen shows the right address too.

When Connect fails, a short page says why, in the office's own words: the server cannot reach agentes.chat, the return address was refused, or the authorization was refused or expired (it is valid for 10 minutes). The text that comes from agentes.chat is never shown.

Floors: several workspaces in one building

Each agentes.chat workspace can become a floor of the office, with its own connection, teams, floor plan, social life and newspaper. The usual floor (the Ground floor) belongs to AGENTES_ORG and keeps its files where they always were: with no extra floors, nothing changes.

In Settings › Floors, whoever runs the office creates a floor from a name and the workspace id (what comes after /org/ in the app address), confirming the account password. Then that floor's Connect opens the agentes.chat authorization: pick the right workspace there. If the connected account belongs to another workspace, the floor says so and shows nothing from it. In the top bar, the elevator switches floors without reloading the page. Up to 6 extra floors; each one reads agentes.chat with its own token, at its own pace.

The list lives in dados/andares.json and each floor's data in dados/andares/<id>/ (oauth.json, times.json, equipe.json, planta.json, placar.json, jornal.json and, with its own city, clima.json). Holidays, visits and phone alerts belong to the whole building.

Each floor in its own city: an extra floor can sit in another city, with that city's weather and local time. Whoever runs the floor picks the city in Personalizar › Clima deste andar (this floor's weather), with the same search as the building; without its own city, the floor inherits the building's, as before. On that floor's map, the sky, day and night, rain and office hours follow that city and its time zone, and the elevator shows each floor with its city (for example, "Dev Maniac's · Mateus Leme"). A floor's city is only shown to people with access to that floor: the lobby, visitors and the public World page only show the building's city. Each city's weather is fetched once every 15 minutes, per coordinate (floors in the same city share the request), and at most one request per minute overall. The floor's social life (the ring) and newspaper (overtime) use the same time zone; phone alerts stay on Brasília time. Removing a floor disconnects its token, but the folder stays on the server: delete dados/andares/<id>/ by hand if you no longer need it. An unreadable andares.json stops the service from starting, so no floor disappears silently.

The same moment on two floors of the building: on top, the ground floor in São Paulo at 10:30, in the morning and sunny; below, the 2nd floor in Tokyo at 22:30, at night, outside office hours and with the watchman at the entrance. The side elevator shows each floor's name and city

The same moment on two floors: São Paulo in the morning, Tokyo at night.

Lobby: a ground floor for every company

The lobby migration turns the ground floor into a lobby (saguão) with no agents, open to everyone in the building, and moves the AGENTES_ORG company up to a floor of its own, like the others. It never runs by itself: it is a command, run with the service stopped and as the service user (the owner of the data folder; as any other user the migration refuses):

sudo systemctl stop escritorio
sudo sh -c 'set -a; . /etc/escritorio.env; exec runuser -u escritorio -- /usr/bin/python3 -I /opt/escritorio/escritorio.py saguao'
sudo systemctl start escritorio

On Docker: docker compose stop escritorio, then docker compose run --rm escritorio python3 -I escritorio.py saguao and docker compose start escritorio. Back up the data folder (or the volume) first. The report lists the accounts that got the company floor, the ones left without it (grant it in the Members tab) and the pending invitations that grant the ground floor (revoke them and invite again with the company floor). If the process dies halfway, the service will not start: run the same command again to finish.

saguao --desfazer goes back to the old ground floor, but only while nobody has used the new mode: with any conversation, wall post, attachment or DM access, or any new data on the company floor, it refuses without touching anything, and going back means restoring the backup.

Until you migrate to the lobby, no second company goes to production, and no Wave 2 data either. In classic mode, a company's invitation goes out only from that floor's view (Settings › Members with ?andar=<id> in the address), so the person does not get the ground floor, which still belongs to AGENTES_ORG.

Team

Besides whoever runs the office, it can have member accounts for the rest of the team. In Settings › Members (Membros), an admin types the person's name, ticks the floors they will see and confirms the account password. The office shows the invitation link (/convite#...) only once: send it to the person over a channel you trust. The invitation is personal, creates a single account, lasts 48 hours and can be revoked while it waits (up to 20 pending). Whoever opens the link picks a username, a password (at least 10 characters), a name and a character, and is signed in. In the same tab, an admin changes each account's role (admin or member) and the floors it sees, and removes accounts. Each of these changes asks for the admin's own password. Removing signs the person out everywhere at once. The office never runs out of admins.

A member sees the office on the floors they were given, the social life, the newspaper and what is new, can turn on phone alerts and changes their own name and character in Settings › My profile (Meu perfil). They cannot read the agents' conversations or reply as them, and cannot touch branding, floor plan, teams, weather, floors, members or visits. A member's Sign out of all devices only ends their own sessions and turns off alerts only on their own devices.

On the map, each signed-in person shows up with their own name and character, and each room has a text chat. With no account at all, the room chat only reaches whoever is in the room and is gone in 10 minutes. With team conversations on (below), what is said in a room is kept for the retention period, and anyone on the floor can read it, including what was said before they arrived. Outside visitors do not see the team.

Team conversations (1.6): now kept on disk. With at least 1 account, the general and room chat, direct messages (DMs), the board, the status and attachments are kept for 1 year (a company can lower it to 90 or 30 days), one file per company. Before 1.6, none of this went to disk. What changes for users:

  • The company's administrators can read DMs, through an audit screen. Every read is logged (without the text), and both people in the conversation see the date. Every DM says so at the top, and people confirm it before their first one.
  • Phone alerts show the start of the message (up to 60 characters) for mentions and DMs, and it may show on the lock screen. It can be turned off in the profile or in the phone's notification settings.
  • Attachments up to 25 MB, ZIP included (5 GB per company). The type comes from the content, photos lose their location (GPS), and ZIP files are checked without ever being opened on the server. There is no antivirus.
  • The building admin reads the general chat, the rooms, the board and the attachments of every company, without writing in them (not DMs). Moderating (deleting someone else's message, taking a notice off the board) and changing the retention belong only to whoever runs each company; in the lobby, to the building admin.
  • Meetings: each room can have a fixed Meet, Zoom, Jitsi, Teams or Whereby link (the company admin pastes it; https only, no password in the address), and the floor's agenda keeps title, room, time and invitees under the same retention, with an alert 5 minutes before and an .ics file for each person's calendar. Voice and video stay with the link's service, outside the office.
  • The database is not encrypted: whoever runs the server can read everything.

Day to day: @login mentions someone on the floor, messages take reactions, and search looks through the general chat, the rooms and your own DMs. Each room has a board on the wall (up to 10 notes), and each person picks a status (available, busy, in a meeting, away) with a short note, shown on their character. The floor list shows who is here and where, with Go to, Wave, Knock on the door and Direct message (busy people do not get waves). From the calendar, the company admin can also call the team to an all-hands: everyone on the floor gets the alert, and the map walks their character to the room. Anyone in the room of a meeting in progress who has not set a status shows as "in a meeting", and the door gets the sign. Coming back to a floor after more than 1 hour shows While you were away at the top (Enquanto você esteve fora), with the agents' finished tasks and waits for approval or an answer, and each agent's card shows today's timeline.

With no accounts, the chat stays in memory only, as before. Details in where each piece of data goes (in Portuguese).

With self-hosted agentes.chat

If your team runs the self-hosted agentes.chat, the office reads from it instead of the cloud. Only one variable changes: AGENTES_URL, the address you open in the browser (the install's PUBLIC_URL).

sudo AGENTES_ORG=<organization id> AGENTES_URL=https://agentes.<your-tailnet>.ts.net bash instalar.sh
  • The organization id is what comes after /org/ in your install's address, as in the cloud.
  • On the same tailnet: the default self-hosted setup lives on Tailscale, and so does the office. The installer finds the install's IP and allows only that one on the service's network (the file /etc/systemd/system/escritorio.service.d/agentes-url.conf); the rest of the private network stays blocked. If the IP changes, run the installer again.
  • https: the self-hosted sign-in (OAuth) only accepts https (or http://localhost). The installer asks for https: on a high port, another user on the machine could take over localhost while the self-hosted server restarts. http://localhost is for Docker and local tests. On a LAN with plain http, use Tailscale or a domain with https.
  • Switching installs (cloud to self-hosted, or back) means Connect again: the stored token only works with the install that issued it and is dropped without going anywhere. Revoke the cloud one in its Settings → Apps de IA.
  • On Docker and Coolify: set AGENTES_URL along with the other variables. The container must reach that address; with the install only on the tailnet, prefer instalar.sh on a tailnet machine.
  • Then: open the office and use Connect to agentes.chat. The authorization opens on your install, and the "Reply" and "Review" buttons lead to it. Without AGENTES_URL, everything stays on the cloud, as before.
  • Check: curl -s <AGENTES_URL>/.well-known/oauth-protected-resource/mcp, run on the office's machine, should print the install's document.

Session lock

In Customize → Access, confirm your password and register this device to enable session locking for your account. Choose Immediately, 1, 5, 15 or 30 minutes. Each session has its own timer. With Immediately, sending the app to the background locks the session. If the browser crashes or the lock signal is lost, the last lease expires within 15 seconds.

Unlock with your Firmópolis password or use your device's fingerprint, face or PIN verification. Registration requires WebAuthn in a secure context. The server uses the exact hostname of ESCRITORIO_BASE as the RP ID and stores the credential's public key and metadata. Identity verification stays on the device. When locking is enabled, terminals appear through the bridge mirror. If you lose the device, sign in with your password on another one, revoke the device under Access and use Sign out of all devices. Use the device's passkey manager to remove its local copy of the credential.

The Docker image and instalar.sh install webauthn==3.0.1 and the dependencies pinned by hash in requirements-webauthn.txt. Without the library, protected sessions still lock and can be recovered with a password. Restarting the process locks existing protected sessions. If you roll back, keep the session guard in place. To roll back to an image that predates the guard, stop the service and move sessoes.json to a restricted backup outside the data directory. Keep usuarios.json. The older version opens a new session when each person signs in. Keep the old session file outside the data directory when restoring a version with the guard.

Session lock acceptance testing

  • On an HTTPS staging instance, register a credential in desktop Chrome, Android Chrome and the TWA on the Galaxy Z Flip 6. For each, verify the registration attestation uses fmt: "none" and the server accepts it. Lock the session and test unlocking with the device. On the Z Flip 6, cancel the prompt and test the password as well.

Demo account

For an app store review, or to show Firmópolis without exposing your office, create a demo account. It signs in with a username and password like any other account, but it only sees the preview's fictional data: the agents, conversations, terminals and toucans from ferramentas/previa.exemplo.json, under the Modo demonstração · dados fictícios (demo mode, fictional data) banner. Nothing from the real office reaches it. Agents, conversations, attachments, bridge, Tucano, presence, push notifications, settings and administration all answer 403. Sending a message, approving or saving in Customize writes nothing and shows "Modo demonstração". The account is invisible to others, never gets a role or floor, and cannot invite or delete accounts.

Create and remove it with the service stopped, since the service only reads accounts at startup. The password is asked twice in the terminal and never goes on the command line:

docker compose stop escritorio
docker compose run --rm escritorio python3 -I -B escritorio.py demo criar revisao
docker compose start escritorio
# to remove it: docker compose run --rm escritorio python3 -I -B escritorio.py demo remover revisao

Outside Docker, run python3 -I -B escritorio.py demo criar revisao with the service stopped. Without a terminal, the password is read from the first line of standard input.

Docker and Coolify

The repository ships a Dockerfile and a docker-compose.yml. There is no published image: Coolify (or you) builds it straight from Git. The build uses pip to install the hash-pinned WebAuthn dependencies. The service runs as its own user with no shell. The .dockerignore is an allowlist: even when built from a folder that has dados/ or times.json, the image carries none of it.

On Coolify:

  1. Create a resource from the repository, with the Docker Compose build pack and the docker-compose.yml file.
  2. Set the escritorio service domain to https://escritorio.example.com:7371. The :7371 only tells the Coolify proxy which port the container listens on; visitors still use plain https://.
  3. In the variables, set ESCRITORIO_BASE=https://escritorio.example.com (the same domain, without the port and with no trailing slash) and, if you use agentes.chat, AGENTES_ORG=<your organization id>. Coolify does not deploy without ESCRITORIO_BASE; AGENTES_ORG is optional.
  4. Deploy. Then, in the service Terminal, run python3 -I -B escritorio.py codigo to see the first-access code. It never goes to the log.
  5. Open the address, create the user right after the deploy (see Public address) and connect.

Outside Coolify, behind your own HTTPS proxy on the same Docker network: ESCRITORIO_BASE=https://... AGENTES_ORG=... docker compose up -d (AGENTES_ORG is optional). The first-access code comes from docker exec -it <container> python3 -I -B escritorio.py codigo. The compose file publishes no port: a published port serves HTTP without TLS, with the password in plain text. To test on your own machine only, uncomment the 127.0.0.1:7381:7371 line and use ESCRITORIO_BASE=http://127.0.0.1:7381.

  • The /dados volume holds the agentes.chat token, the users, the sessions, the branding and the floor plan. Keep an encrypted backup and never make it public. With the repository's docker-compose.yml, the container runs with a read-only file system, no capabilities and 256 MB of memory.
  • conversas (read or reply) still comes from times.json: create /dados/times.json in the volume, for example with docker exec -i <container> sh -c 'cat > /dados/times.json' < times.json. It applies without a restart. Name, color, logo, office hours, the weather city, the holidays, the teams and the appearance already go through the Customize screen.
  • Updating is a redeploy. The volume stays.
  • Changing the domain means updating ESCRITORIO_BASE and connecting again.
  • Forgot the password: docker exec <container> rm /dados/usuarios.json /dados/sessoes.json, then docker restart <container> and docker exec -it <container> python3 -I -B escritorio.py codigo for the new code. On Coolify, through the service Terminal.
  • Already built your own Docker setup? Replace your workaround for the 127.0.0.1 bind with ESCRITORIO_BIND=0.0.0.0, which the image already sets. With it, ESCRITORIO_BASE is required and the below-1024 port rule does not apply, because the port belongs to the container.

Customize (white-label)

From the Customize screen: company name, accent color and logo (PNG, JPEG or WEBP), plus:

  • Weather city: search by name. The search goes through the server, which asks Open-Meteo's geocoding (Open-Meteo data, under the same terms as the weather, in Third-party), with at most 10 searches per minute and 200 per day for the whole office. Pick Usar esta (use this one), Sem clima (no weather) or Voltar ao times.json (back to times.json). The new city applies without a restart or reload; its weather shows up within 1 minute. It lives in dados/clima.json, with the coordinates rounded to 2 decimals (about 1 km). On an extra floor, the same section becomes Clima deste andar (this floor's weather): whoever runs the floor picks its city (saved in dados/andares/<id>/clima.json, with the time zone for the map's clock) or Usar a cidade do prédio (use the building's city). The building's city is only chosen on the main floor, by whoever runs the building.
  • Holidays: turn each of the 13 built-in dates on or off and create up to 24 of your own, with a name, a day (every year, or just once), 1 to 14 days, a theme (the colors, decorations and hat of one of the holidays, or the generic one) and up to 3 lines. They live in dados/festas.json.
  • Teams and appearance: name, type, color and icon of each team (up to 12), the agents in each one (each agent in one team only) and each agent's appearance. They live in dados/equipe.json and fully replace times and aparencia from times.json; Voltar ao times.json (back to times.json) deletes the file. Renaming a team removes the construction mode paint and furniture from its room: the screen warns before saving. Montar os times automaticamente (build the teams automatically) gives each agent the team from the first source that has one: a pasted list (handle, team, one per line, for scripting), the agentes.chat department (when list_agents sends department), what comes after “ · ”, “ - ” or “ | ” in the name (“Gandalf · Maestro” goes to Maestro) or a short role (up to 3 words). Names that match without accents or case become one team. A preview shows the teams, where each came from and who was left without a team (they go to “Novos”), and lets you rename, remove an agent and merge two teams; above 12 teams, the smallest are merged into “Outros” (others). Type and icon come from the name (Infra, NOC and Ops: Ops; Direção, Diretoria and Gestão: Gabinete; the rest, Mesas), and a team with the same name keeps its type, wall and floor. The agentes.chat appearance only brings what is in the app's lists (a #hex color becomes the closest one). With the local bridge on, each Maestri workspace in use (with a live terminal) gets a display-only room on its own, named after the workspace, which never goes to the server or to construction mode (it appears within 1 minute, leaves 5 minutes after the last terminal, and never goes past the 12-team cap); a team with the same name takes the workspace's terminals instead, and the preview can also create these rooms as real teams. If no source gives a team, the preview says what to do. Nothing applies before Usar estes times (use these teams) and Salvar times (save teams).

The Montar os times automaticamente preview: 'Vou criar estes 5 times com 7 agentes (6 pelo setor do agentes.chat, 1 pelo papel)', with Diretoria, Produto, Operações, Comercial and Atendimento, each with an editable name, type, icon, source, its agents with an x to remove them and a Juntar com (merge with) list; below, Usar estes times and Cancelar

The automatic teams preview: rename, remove an agent or merge two teams before saving.

What the screen saves overrides times.json, and the screen says where the current value comes from.

In times.json (start by copying times.exemplo.json; the installer does that if there is no times.json):

Field What for
empresa, cor default name and color (the Customize screen overrides them). Without a name anywhere, the page shows a placeholder name tagged "example"
times[] nome, tipo (mesas, ops, gabinete), cor, icone (codigo, megafone, servidor, coroa, grafico, pincel, estrela…), parede (0–5), piso (0–9) and agentes (agentes.chat handles)
aparencia per handle: color, eyes, accessory, the same as in agentes.chat. Anyone not listed gets an automatic look of their own
clima cidade, lat, lon for real weather, from Open-Meteo (see the terms in Third-party). Without clima, the weather is off and the sky stays clear. The city chosen on screen overrides it
expediente office hours, {"abre": "07:00", "fecha": "20:00"} (HH:MM, the default). Outside them, agents without a task go home, agents who are working do overtime at their desk with the lamp on, and a banner says when the office opens. abre later than fecha is a shift past midnight (22:00 to 06:00); the Customize screen overrides it
conversas "ler" adds See conversation to an agent's card and the Conversations page, with the tasks in progress and the ones that ended today: the latest 20 messages of each one's conversation (the task's thread; if no one wrote in it, the conversation's loose messages), read on demand (read_conversation, still the read scope). Off by default; read the warning in Security before turning it on. "responder" does the same and lets you send messages to the agents in the day's direct conversations, from the Conversations page (read write scope; see Security)

To test without waiting, add to the URL: ?hora=21.5, ?clima=tempestade (chuva, garoa, neve, neblina, nublado, limpo), ?vento=60 (km/h, 0 to 120: tilts rain and snow, sways the outdoor trees and, when strong, blows leaves) and ?data=2026-12-25. The Simulation panel builds these for you.

Social life

A layer of fun, drawn by the server. Free agents make friends and rivals, grab coffee together, bump into each other and walk off with someone else's stapler. Every now and then they settle it in the Ring of the lounge, with a gong, a crowd and a cartoon dust cloud; a while later, they make up. It is just for fun: it reflects nothing of the agents' real work.

  • Real work comes first: an agent with a task, or one waiting for your approval or answer, never fights, never watches and never leaves the desk. One who gets a task mid-fight goes back to the desk.
  • The same for everyone: the server decides the friendship values, each event (who, what, when) and each fight (who, when and who wins), and sends it all in /api/estado. Two open screens show the same fight with the same winner.
  • Per screen: where each agent walks, who in the crowd came to watch, the exact timing of the animation (a few seconds apart) and the usual games.
  • Send to the ring: in an agent's card, any signed-in user picks a free colleague and sends both to the ring. One fight at a time, 1 minute apart, up to 20 a day and only during office hours.
  • Complaints, suggestions and gossip: now and then a free agent complains about the air conditioning or suggests cake Friday in a speech bubble, and two free agents go whisper by the coffee about a third one ("Psiu…"), with no name in the bubble.
  • Strike: at most one a day. It starts when at least 4 free agents are unhappy with each other, or after 5 complaints in the day. Up to 8 free agents sit on the floor in front of the ring, holding little signs ("MAIS CAFÉ", "PUFE JÁ!"). One who gets a task leaves the strike at once. It ends by itself within 30 minutes ("Por hoje chega…") or when someone clicks a sign or the Atender o pedido ("meet the demand") notice, and then the strikers become better friends ("Obrigado, chefe!") and the demand arrives, the same on every screen: the delivery rider brings pizza through the reception and the crew eats in front of the ring, a courier brings fresh coffee and everyone grabs a cup, someone sets the air conditioning to 23 ("Ahh, agora sim"), a "Sexta livre aprovada!" banner goes up with a little party... About 20 seconds later, everyone goes back to their spot.
  • Best friends and rivals: the card shows up to 3 of each, with a value from 0 to 100, and the day's last fight.
  • Ring scoreboard: each agent's wins, losses and streak for the week (Monday to Sunday, Brasília time), with the top 3 on a board on the ring's wall and last week's champion. The ring and the board only show up during a fight; the rest of the time the arena is open floor, and clicking it opens the full ranking. Automatic and sent fights count; one canceled before the end does not. The winner shows up on a banner above the ring.
  • Serious mode: the box in Customize pauses the whole layer, with no events, fights or strikes; a scene in progress disappears within 10 s on every screen. Good for presentations.
  • Demo and Simulation: in demo mode (?demo=1) the ring, the strike, the scoreboard and Send to the ring also run, locally, with no server: the first fight comes in about a minute and the strike a little later. The Simulation parameters (?hora=, ?data=, ?clima=) turn the social life off on that tab.
  • Starts over on restart, except the scoreboard: friendships, rivalries and events live only in the service's memory; a restart takes everyone back to the starting point, the same for all. Only the week's scoreboard goes to disk, in dados/placar.json (up to 64 KB and 500 agents, written atomically when it changes). If the file is unreadable, the scoreboard starts empty, with a note in the log; switching the agentes.chat account also clears it.
  • Does not call agentes.chat or touch the agents' work: it only uses the reading the office already does.
  • The numbers (chances, caps and intervals) are at the top of social.py, and the lines are in FRASES.social in static/vida.js, to change for white-label.

Building staff

The building also has people who look after it, and the bathroom can get gross. It all runs in the browser only, like the terminals' life: nothing goes to the server. There is nothing to configure.

The bathroom, the bottom-row room next to the kitchen: three stalls, the counter with two sinks and a mirror, paper and puddles on the floor; in the hallway, in front of the door, the cone, the 'Interditado' (closed) bubble and two little terminals, Ivo and Rui, waiting in line

Closed: the queue waits and, after a while, gives up.

The doorman Seu Lima, in a cap, at the building entrance, next to the reception with the cat asleep

The doorman at the entrance; at night, the watchman with a flashlight.

The same view of the bathroom and the kitchen: the cleaner Seu Bené mopping inside the bathroom, among the puddles, and the handyman Seu Tião with his toolbox in the kitchen, next to the coffee machine with the 'Quebrada!' (broken) bubble

Cleaning inside the bathroom and the handyman fixing the coffee machine.

  • Dirt: every bathroom trip makes it a little dirtier, and a desperate terminal or one that cut the line makes it dirtier still. The dirt shows on the bathroom floor (paper, puddles, toilet paper out of a stall). Above 60, flies and stink lines show up over the stalls, and whoever comes out shows an "eww" bubble. Above 90, the bathroom is closed, with a wet-floor cone and a sign at the door: nobody goes in, the queue waits with an alert and, after a while, gives up. Coffee and snacks leave cups and crumbs on the floor.
  • Cleaning: when the dirt passes 60, or on a round (more often at night), the cleaner comes in from the street with a bucket and mop, cleans the bathroom with sparkles, picks up cups and crumbs and leaves.
  • Maintenance: now and then something breaks. With the coffee machine broken, nobody gets coffee (agents, coffee circles and terminals give up, with an alert). A broken hallway light flickers. The handyman comes with a toolbox, fixes it with sparks and leaves.
  • Front desk: during office hours, the doorman stays by the entrance, reads the paper, has a coffee and greets whoever arrives. After hours, the night watchman takes over with a flashlight and does rounds.
  • Card: clicking a staff member shows their name, role and what they are doing. In presentation mode, the label shows only the role. With reduced motion (prefers-reduced-motion), flies, sparkles and sparks stay still.
  • To test: the demo (?demo=1) gets dirty and breaks things on its own. In the console: Zeladoria.sujar(95) (closes it), Zeladoria.quebrar("cafe") or Zeladoria.quebrar("luz"), Zeladoria.chamar("limpeza"), Zeladoria.estado() and Zeladoria.zerar(). The numbers are at the top of static/zeladoria.js.

Construction mode

Rearrange the office with the mouse, on a computer. Open it from the Customize screen (construir.html); on a phone, the editor only shows a notice, and the main page shows the result.

  • Paint: pick a room, then one of 7 walls and one of 10 floors.
  • Furniture: drag a piece, or pick it with Tab and Enter and move it with the arrows (8 px; Shift: 1 px). E mirrors it, Delete removes it, and the catalog adds one of 53 decorations (plants, rugs, sofas, armchairs, beanbags, bookcases, lamps, a guitar, a bicycle...): pick it and click a room. New pieces are decoration only: nobody sits on them.
  • Undo and redo (Ctrl+Z, Ctrl+Shift+Z or Ctrl+Y, up to 100 steps), Discard (back to what is saved) and Back to automatic, which asks first and saves an empty plan; while the editor is open, it can still be undone.
  • Save writes the plan for everyone; other open screens show it when they reload. If another screen saved first, the editor says so and offers to reload. Save stays blocked while a seat has no way in, and that seat is marked in red on the map.
  • What stays automatic: desks and chairs (a new agent still gets a desk), the kitchen counter, the ring, everything on the walls (boards, windows, signs, the logo panel and the scoreboard board) and the pieces in the corridor and outside. Pieces with an animation tied to their spot (the coffee counter and the TV rack) can only be removed; arcade machines, the jukebox and a few others do not mirror. Nothing moved or added may touch the ring or cover what is on the walls.
  • A layer on top of the automatic building: the plan keeps only what changed (paint and moved, mirrored, removed and added pieces). With an empty plan, the building is exactly the automatic one. When teams change, the building is rebuilt and the plan reapplies whatever still exists and fits; the editor says how many adjustments no longer show up and offers to clear them.
  • Try it without saving: construir.html?demo=1 builds an example of its own.
  • Limits: 64 painted rooms, 400 adjusted pieces and 200 new pieces, in up to 64 KB (dados/planta.json).

TV mode

For keeping the office on a wall TV or a second monitor. Open it with the Modo TV button on the map bar, or at /?tv=1. The Modo TV shortcut of the installed app opens straight into it.

  • Full screen and screen on: from the button, the browser goes full screen. From the address, a Tela cheia (full screen) button shows up, because browsers only allow full screen after a click. The screen does not turn off (Wake Lock) while the tab is visible, in browsers that support it; when the tab shows again, the TV asks again.
  • Camera director: with nothing new, the camera tours: 10 s in a room with people and 10 s on the overview. When something happens, it rushes there and shows a TV-news style ticker at the bottom, with the avatar, the name and what happened. Requests for your approval or answer come first, then fights and strikes, then who finished and who started a task. Each item stays 8 to 12 s; a more important one cuts in after 4 s; one that waited more than 2 minutes is dropped. Whatever was already going on when the TV turned on is not news.
  • Touching the map (tap, drag, wheel or the zoom keys +, - and 0) hands the camera back to you for 30 s. With the mouse still for 3 s, the cursor and the buttons hide.
  • Exit: Esc (twice in full screen: the first one only leaves full screen) or the Sair do modo TV (exit TV mode) button, which gets the focus when the TV turns on (so Enter exits too). Exiting releases full screen and the screen lock and removes ?tv=1 from the address.
  • Reloads by itself: on every read (10 s), the TV checks config_v in /api/estado. When a configuration file changes (times.json and, in dados/, the brand, the logo, the plan, the weather, the holidays and the teams), the page reloads and stays in TV mode. After the reload, the browser leaves full screen: just press Tela cheia again.
  • The TV is the map: /?tv=1#jornal opens the TV on the office, not on the newspaper.
  • Visitors: the TV does not show up on the map, but it shows the people on the floor (see Visitors).
  • Sound and motion: the TV has no sound of its own and follows whatever is on in the sound panel. With reduced motion on in the system, the camera cuts instead of gliding and the ticker does not animate.
  • Time-lapse: while on, the TV takes over recording that browser's time-lapse.

Presentation mode

For showing the screen on a call with a client or posting a screenshot without leaking anything. Turn it on from the "⋯" menu on the camera bar or with Alt+Shift+P; it is remembered per tab until the tab closes.

  • What changes: the avatars stay, but the names become "Agente 1", "Pessoa 2" and "Você" (you), numbered in the order they show up; the speech bubbles disappear; and the screen hides whatever shows a person's or agent's name, task title, conversation, room chat, mural, status note, the scoreboard, the Conversas, Aprovações and Jornal pages, the meeting titles and guests, and the meeting room links in Personalizar (a Zoom link can carry the password in ?pwd=). The 5-minute meeting alert only says "Uma reunião começa em breve".
  • Screen only, not access control: the mode only hides things on this screen. Whoever holds the session still reads everything through the API and the browser DevTools, and the server answers the same. Do not hand a signed-in browser to someone who should not see the data.

Office radio

A radio on the wall of the Sala comunal (common room). Click it (or reach it with Tab and press Enter), or "Rádio da firma" in the "⋯" menu on the camera bar, to open its controls: on and off, station and volume. There is nothing to install or configure.

The Rádio Firmópolis controls open over the common room: the Desligar o rádio (turn off) button, the stations Lo-fi da firma (selected), Chiptune do fliperama and Jazz da cafeteria, the volume and 'Tocando: Lo-fi da firma'

The radio playing Lo-fi da firma.

  • Rádio Firmópolis, made in the browser: three stations composed on the fly with Web Audio, with no audio files and no copyright: Lo-fi da firma (calm, for working), Chiptune do fliperama (arcade chiptune) and Jazz da cafeteria (café jazz). Each song draws a key, tempo, chord progression and form (intro, A and B parts, ending); the melody comes back with variations and the drums change groove, so there is no short loop. Station and volume changes fade smoothly.
  • Everyone turns on their own: the radio only plays after a click (browsers block sound on their own) and only for whoever turned it on. Station and volume are remembered in this browser; the volume starts low. The radio is independent of the sound panel.
  • On the map: while it plays, little notes float out of it and, now and then, free agents standing nearby dance a little; free little terminals make their happy face. With reduced motion set in the system, nobody dances.
  • TV mode and presentation mode play nothing: turning either on turns the radio off.
  • Internet radio (optional): in Personalizar > Rádio da internet, the floor's admin pastes the https:// address of an audio stream. It shows up as a fourth station. The server accepts only https, a single host, no user or password, up to 300 characters, and allows only that host in the page's CSP (media-src). The rights to play that station belong to whoever configures it.
  • To check the sound without playing it, Radio.renderizar("lofi", 30) (in the browser console) returns a clip recorded with OfflineAudioContext.

Installable app (PWA)

The office can go on a phone's home screen or become an app on a computer, with its own icon and no browser bar.

  • Android: in Chrome or Edge, use Install app (or Add to Home screen) in the browser menu.
  • iPhone and iPad: in Safari, tap Share, then Add to Home Screen.
  • Computer: in Chrome or Edge, use the install icon in the address bar.
  • TV mode shortcut: on Android and on a computer, long-pressing the icon (or right-clicking it) shows the shortcut that opens straight into TV mode.
  • Sign-in: the app asks you to sign in just like the browser. On iPhone, the home screen app keeps its own cookies, so it may ask you to sign in once more.
  • Needs https: browsers only install it with the office on https (like the installer does, through Tailscale, or on a domain with TLS) or on localhost.
  • No cache: sw.js exists only for installing and for phone alerts. It caches nothing and intercepts no request: every page and every read go straight to the server, and a new version arrives right away, as in the browser. Without a network, the app does not open.
  • Generic name: the manifest uses the name "Escritório" and the project's icons, the same in every installation, because these files are served without sign-in (see Security).

Visitors

Whoever else has the office open on the same floor shows up on the map with their own account's name and character (see Team). The person comes in from the street to the reception and walks to the spot they click; when they close the page, they leave the map within 30 s. One account is one character, even when open on several devices or tabs. The map shows up to 64 people per floor.

  • "N pessoas olhando" (N people watching): the line under the office title counts you (with the Aparecer no escritório box on) and the other people on the floor ("Só você está olhando", only you are watching, when nobody else is).
  • Aparecer no escritório (show me in the office): the box starts on. When off, you watch without showing up for the others and leave the count: yours right away and theirs within 30 s. The choice applies to this browser only, which keeps it for the next visit.
  • ?invisivel=1: with the box off, or on the TV, the page reads /api/ao-vivo?invisivel=1 and /api/estado?invisivel=1, which do not mark presence. A client of your own can use the same parameter.
  • On the TV: the TV does not show up for anyone, but it shows the people on the floor.
  • In demo mode, the line does not show. What the server keeps and sends is in Security.

Visits by invitation

You can bring someone from outside into the office without creating a user or sharing the password.

The Visita ao escritório page without an invitation: the building map with only the reception lit, the other rooms dark and labeled Com convite, and the chat locked

No invitation: only the reception, with the other rooms dark.

The Visita ao escritório page with an invitation: the pixel-art meeting room and, next to it, the chat with two messages and the Sua mensagem field

With an invitation: the meeting room and a live chat.

  • Inviting: in the menu, Convidar para uma visita (invite for a visit) creates a link. It is valid for 1 hour and works for whoever gets it, so send it only to the people who should come in. For the team to show up in the chat, it also joins the room with the button on the same screen.
  • What the visitor sees: the meeting room and a simplified floor plan of the office, with no agent names, team names, conversations or tasks. There is no name field: the room only has the message text.
  • Chat: messages reach whoever is in the room at that moment. Whoever comes in later does not get what came before.
  • Ending: ending the invitation drops every session in the room. Each session also drops after 1 minute without polling. Restarting the office clears all rooms.
  • Public reception: /visita.html without an invitation shows only the reception, with the other rooms dark and the chat locked. That is where the chalet in the World leads.
  • Receptionist (optional): the team can put an agentes.chat agent to answer in the room. In that case the visitor's text goes to the visits channel on agentes.chat and is kept there.
  • Privacy: without a receptionist, nothing from the visit goes to disk or to the office log; the invitation, the session and the messages live only in memory. The office does not control what the proxy, the CDN and the browser keep. Before opening visits to the internet, read docs/visitas-privadas-plano.md (in Portuguese), which says where each piece of data goes and what to check.

World

/mundo.html shows where the office is: a pixel-art planet that goes all the way down to the reception door. The page is public and cookieless, shows nothing from agentes.chat and opens from the Mundo item in the menu. In TV mode it comes up on its own for 45 s every 5 min with no news; /mundo.html?tv=1 runs the same tour full screen, for a lobby screen. Its text is in Portuguese.

The pixel-art globe, with clouds, the moon and Brazil outlined in gold, with an arrow pointing at it

The globe, with the current night side. Click Brazil to go down.

The illustrated map of Brazil: biomes, rivers, mountain ranges, a miniature landmark for each state capital and the office chalet in São Paulo

Brazil, with the current weather in each capital.

The map at maximum zoom over Minas Gerais: mountain ranges, highways, smaller rivers, named mid-size cities and the state highlighted

Zooming in reveals highways, mid-size cities and relief.

The city of São Paulo seen from above: the MASP museum in the middle, buildings, a square with a bandstand and a fountain, streets with cars and pedestrians, and the chalet with the Recepção sign

The office's city, with the reception chalet.

  • Four levels: the globe spins with the current night side; Brazil shows the 27 state capitals and Mateus Leme (MG), each with its landmark; the city has the landmark, a square, streets, cars and people on the sidewalks (coastal capitals get a waterfront); the neighborhood leads to the reception door.
  • Getting around: click or tap to go down, Esc or Voltar (back) to go up. The wheel, pinch, double click and the + and - keys zoom; at maximum zoom over a capital, zooming in once more enters it, and zooming out at the minimum returns to the globe. The arrow keys spin the globe or move the map, and Tab and Enter walk through the cities and the buildings.
  • Live: the real weather of the 28 cities (clear, cloudy, fog, drizzle, rain, storm or snow, with wind), day and night by the clock, and the calendar holidays, which decorate the city (by each one's local date) and mark the globe. Holidays you turned off in Personalizar (Customize) do not show; the company's own dates never reach the world.
  • The office's city: the map city closest to the weather city set in Personalizar, up to 300 km away. Only it has the chalet with the sign and the door that leads to the neighborhood. Farther than that, the map works the same, without a chalet.
  • Beyond Brazil: 12 cities in other countries are golden dots on the globe (Lisbon, Luanda, Maputo, Buenos Aires, Montevideo, Santiago, Mexico City, New York, London, Paris, Madrid and Tokyo). Clicking goes straight down to the city; Esc goes back to the globe. They also count as the office's city.
  • Mid-size cities: zoomed in, the map's 50 mid-size cities (Campinas, Santos, Juiz de Fora...) open too, with the nearest capital's weather.
  • On the street: cars, buses and bikes on the right side of the road and, on holidays, pedestrians in party hats.
  • Light: the far map weighs 47 KB. The two detail levels are only downloaded when you zoom: 160 KB from 2x and 395 KB at maximum zoom, in tiles, and only the ones in view. With "reduce motion" on nothing moves, and the animation pauses when the tab is hidden.
  • Try it: python ferramentas/previa.py ferramentas/previa.exemplo.json and open http://127.0.0.1:7372/mundo.html. ?hora=22, ?clima=chuva and ?data=2026-12-25 simulate the hour, the weather and the date.

The office's neighborhood on the World page, by day: a shop with a striped awning, a townhouse, a cottage, trees, lamp posts, people on the sidewalk and a car on the street; on the left, the World text and the Entrar na recepção (enter the reception) button

The neighborhood, redrawn with new art: the door leads to the reception.

What the server sends to this page is in Security.

Changing the cities or the world art

If you only install the office you need none of this: the files in static/mundo/ ship ready in the repository.

  • Cities abroad: arte/mundo/exterior.json, with pais (country) instead of uf and regiao (N, NE, CO, SE or S), which picks the trees.
  • Cities: arte/mundo/cidades.json. Each city has id, nome (name), uf (state), lat, lon, marco (the marco-<marco>.png art file), marco_nome (the name shown), porte (size: metropole, grande, media or pequena) and litoral (true for a waterfront).
  • Art: arte/pixellab/mundo/ (landmarks, buildings, houses, trees, cars, mountain ranges). Without a landmark's art, the city uses a generic building.
  • Terrain: arte/mundo/biomas.json and serras.json, plus the Natural Earth extracts in arte/mundo/fontes/ (outlines, rivers, highways and cities; the source of each is in LICENCA.md).
  • Rebuild: python ferramentas/montar_mundo.py rewrites static/mundo/ in about a minute. It needs Pillow on your machine; the server never runs this tool.

Local bridge: the terminals on this computer

The bridge (ponte/, written in Go) reads the AI terminals on this machine (Claude Code, Codex, agy, OpenCode, MiniMax and Maestri) and hands them to the map. Your browser reads it directly at ws://127.0.0.1:47820, and nothing goes through the Firmópolis server.

Three steps, on the machine where the terminals run (you need Go):

  1. Build the bridge where it will live (the hooks store that path):
    cd ponte && go build -o ~/.local/bin/ponte ./cmd/ponte      # Linux and macOS
    
    On Windows, the command with the right path is in ponte/README.md (in Portuguese).
  2. Turn on the hooks and allow your Firmópolis:
    ponte setup --aplicar --origem https://<your Firmópolis address>
    ponte          # keeps the bridge running; to start it on its own, see ponte/README.md
    
    setup installs the hooks of the programs it finds, adds the address to the list of accepted origins and prints the token.
  3. Paste the token in Firmópolis, under Personalizar > Ponte local. It stays in that browser only.

Do the terminals run on a VM or another machine? Skip these steps and use the mirror: a single command, on the terminals' machine.

The whole building in full screen, with fictional data: on top, the reception and the Diretoria, Ops, Produto and Vendas rooms; in the middle, the meeting room, the common room, the kitchen and the bathroom; below, in a block with its own hallway, the Loja Online, App Mobile and Site Novo rooms, created automatically for the Maestri workspaces under the Projetos sign

The floor plan in blocks: the Maestri rooms together, under "Projetos".

Six fictional little terminals side by side in the Loja Online room, at 3x zoom, with short names: Maestro with a crown, Auditor with glasses and a magnifying glass, Braçal and Implementador with hard hats (the latter with the '!'), Gemini in agy blue and Docs in MiniMax pink

The color tells the program; the accessory, the role.

  • On the map: each terminal walks in from the street. Its color tells the program (Claude Code orange, Codex silver, OpenCode green, agy blue, MiniMax pink, others lilac) and its role, read from the Maestri name ("Role · Model"), gets an accessory: a crown for the Maestro, glasses and a magnifying glass for the Auditor, a hard hat for the Braçal and the Implementador. In the overview, only the characters and the "!"/"?" badges show; from 2x up, the short name ("Maestro"); the full name stays in the card. Busy, it works in its team's room (with Maestri, the workspace's room). Waiting for your approval or answer, or after an error, it goes to the reception with a "!" or "?". Free, it stays in the common room or the kitchen.
  • Coffee and chats: each terminal has these two needs, and they drop faster while it works. When it is free, after a short break, it goes to the coffee machine or asks another free terminal for a chat in the hallway. It is cosmetic only, and the real state wins: when the terminal gets back to work, it drops the coffee right away.
  • Security: the bridge only listens on 127.0.0.1 and only accepts the WebSocket from a listed origin with the right token. The browser gets a reduced version, without the activity target (file or command) and without the day's history.
  • Without the bridge: the app retries with a growing wait of up to 1 minute and shows no error on screen. In Chrome, the first connection may ask for the local network access permission. Safari may refuse ws:// from an https page.

Mirror: the terminals of another machine, with no tunnel

If your terminals run on one machine (a VM, for example) and you open Firmópolis on another, turn on the mirror. The bridge on that machine sends the server the same reduced version the browser gets, and the floor's members see the terminals on the map from any browser. The mirror is off by default.

  1. In Personalizar > Ponte local, the building admin clicks Gerar chave (generate key). The page shows the ready-made command, only once: ponte conectar https://<your Firmópolis>, plus the key to paste when it asks.
  2. Run that command on the machine with the terminals. It tests the key before changing anything, installs the hooks, saves the mirror and tells you the next step. On Linux, ponte conectar ... --servico creates and starts the firmopolis-ponte systemd user service.
  3. The terminals show up on the map, and Personalizar > Ponte local says "Pelo servidor" (through the server).
  • With an environment variable instead: set ESCRITORIO_PONTE_CHAVE on the server (generate it with openssl rand -hex 32) and run ponte conectar https://<your Firmópolis> <the same key> on the terminals' machine. With the variable set, the page neither generates nor turns off the key. With instalar.sh, prefer the key from the page: it lives in dados/ and survives a reinstall, which rewrites /etc/escritorio.env.
  • Just the commands: ponte setup --aplicar --espelho https://<your Firmópolis> --chave-espelho <key> saves the mirror without touching the hooks, and ponte setup --aplicar --sem-espelho turns it off. Both take effect right away, with no bridge restart.
  • Which floor shows it: in classic mode, the main floor. In lobby mode, the lobby never gets the mirror; set ESCRITORIO_PONTE_ANDAR to the id of the company floor that should see the terminals.
  • How it works: the bridge sends a POST /api/ponte/espelho with the key in Authorization: Bearer, over https only, about 2 s after each change and at least every 30 s. When the server does not answer, it waits longer after each failure, up to 5 minutes, without blocking. The server keeps it in memory only, and the app reads GET /api/ponte every 3 s. After 90 s with nothing new, the mirror counts as off. The local bridge on this computer, when connected, takes priority.
  • Security: with the mirror on, the names of the terminals, projects, workspaces and bands go to the server, along with the states and tool names. The activity target (file or command) and the band members never leave the machine. The server checks everything with the app's own limits (48 terminals, names up to 40 characters, 32 workspaces, 200 events per terminal for the day) and accepts up to 256 KB per send, at most one per second. Only the floor's members can read it; the lobby, visitors and signed-out users get nothing. The key lives in espelho.json in the bridge folder (readable only by your user) and in dados/ponte-espelho.chave on the server (0600). It never goes to the log. Generating a new key makes the old one stop working right away.

Answer from the office: Allow or Deny from anywhere

When a Claude Code, Codex or OpenCode terminal asks for permission (the "!" at the reception), whoever decides sees the tool, a summary of the request and the time left on the terminal's card and in the "Esperando você" (waiting for you) list, with Permitir (allow) and Negar (deny) buttons. It works in the browser on this PC (through the local bridge) and on a phone or another machine (through the mirror). The terminal's own dialog stays on screen: whoever answers first, there or in Firmópolis, wins. When the terminal asks a question (the "?"), you can answer with a short text (see below).

  • Which programs: Allow/Deny works in Claude Code, Codex and OpenCode; answering a question, in Maestri terminals and OpenCode. A standalone agy or MiniMax only shows its status (the "!" or "?" on the map): answer in the terminal.
  • To turn it on, in short: on the terminals' machine, ponte setup --aplicar (or ponte conectar <address>) already turns it on in the browser on this PC. To decide from a phone, add --decidir-remoto. In Codex, run /hooks and approve the ponte hooks again. The building admin decides (plus whoever is in ESCRITORIO_PONTE_DECISORES).
The card of the fictional terminal Implementador · Sonnet, in a hard hat, asking for approval: the request 'Bash · npm test -- --watch=false', 'vence em 98 s' (expires in 98 s), the Permitir and Negar buttons and the note on what goes through the server; on the map, the Implementador with the '!' next to the Maestro, the Auditor and the Braçal

A permission request: Allow or Deny on the card.

The card of the fictional terminal Revisor · Codex, which has a question: 'Pergunta · o texto dela está no terminal' (the text is in the terminal), the field with 'Pode usar a branch nova', the Responder button and the note that the text is typed into the terminal followed by Enter; on the map, the Revisor with the '?' at the reception

A question: the text goes to the terminal, with Enter.

  • Who decides: the building admin and, in addition, the logins in the ESCRITORIO_PONTE_DECISORES variable (comma separated). A plain member only sees. Only on the bridge's floor (the same as the mirror), never in the lobby or the preview.
  • Turning it on: ponte setup --aplicar (or ponte conectar) installs, besides the state hooks, a synchronous hook only on Claude Code's and Codex's PermissionRequest (ponte decidir), and the OpenCode plugin starts waiting for the decision. In Codex, run /hooks and approve the ponte hooks again. That is enough for the browser on this PC.
  • From the phone is opt-in, on the terminals' machine: ponte conectar <address> --decidir-remoto or, with the mirror already on, ponte setup --aplicar --decidir-remoto (--sem-decidir-remoto turns it off). Without it, no request goes to the server and the bridge does not even ask it for decisions. It is stored as decidir_remoto in espelho.json.
  • No delay for whoever is at the terminal: the bridge only holds the request if someone who decides has Firmópolis open (the page visible on this PC, or the map open on a phone, through the server). With nobody there, the hook returns at once and the terminal shows its usual dialog. A request waits up to 2 minutes in Claude Code and OpenCode, and 25 s in Codex; with no answer, the terminal goes on with its own dialog. In Claude Code, the dialog shows while the hook waits (checked on 2.1.327).
  • What goes to the server (only with --decidir-remoto and someone who decides with the map open): the tool and a summary of the request, masked (tokens, passwords, keys and prompts passed to other agents become ***) and cut at 300 characters: the command, the file relative to the project folder or the URL without credentials. Never the tool's full input, the full folder, the permission suggestions or the conversation. Only people who decide get the requests; the server keeps everything in memory only.
  • When in doubt, only Deny: from afar, you can only allow a Bash command (with the usual keys: command, description, timeout and background) or a URL fetch without a query; file writes (Write, Edit, MultiEdit, NotebookEdit, OpenCode's "edit"), MCP tools and any key outside that list only get Deny. It is also Deny-only if the summary was cut, is empty, the tool name is too long or the file is outside the project (the screen shows "fora do projeto: …/.ssh/authorized_keys"), the request is marked incomplete and, from afar, it can only be denied; to allow it, answer at the terminal. Invisible or text-reversing characters (control, bidi, zero width) show as a marker, like ‹U+202E›. Questions (AskUserQuestion) and plans (ExitPlanMode) stay at the terminal.
  • How it works: each request has a 128-bit id, takes a single decision and expires. From a phone, the decision goes through POST /api/ponte/decidir (with the session, only from the site's own origin, up to 20 per minute per person) and the bridge picks it up by long-poll, GET /api/ponte/decisoes, with the mirror's key. The bridge never opens a port: it only makes outbound requests and keeps listening on 127.0.0.1 only. The hook does not send the token: it sends a nonce and the token's HMAC over it and the request, and only accepts a reply signed by the bridge, so another program on the port cannot decide in its place. The state events (ponte hook and the OpenCode plugin) are signed too, without the token. During the transition, the bridge still accepts the plain token on events, for an OpenCode plugin from a previous version, until the next ponte setup --aplicar.
  • Accepted risk: the browser on this PC still carries the token (in localStorage, to open /ws). The bridge assumes a single-user machine: whoever uses the same OS account, or can run code on the page, already has the token.
  • Phone over Tailscale: with the Tailscale app on, the phone opens the office as usual (https://<your-machine>.<your-tailnet>.ts.net/) and the buttons show for whoever decides. The bridge needs no public port or tunnel.
  • Security: anyone able to run code on the Firmópolis page (an XSS) could approve a command. That is why the page only accepts scripts from its own site (CSP script-src 'self', no unsafe-inline), the bridge's data reaches the screen as text only, and the server checks the origin, the role, the floor and the format of every decision. The log keeps who decided, the id (shortened), the action, the tool and the wait; never the summary, the cookie or the key.

Answering a question

When the terminal waits for your answer (the "?"), its card gets a field and a Responder (answer) button (in the "Esperando você" list, the button opens the card). The text is typed into the terminal and sent with Enter, as if you had typed it there. Who decides, the floor and --decidir-remoto follow the same rules as Allow/Deny.

  • Where it works: in Maestri terminals (Claude Code, Codex, agy and MiniMax Code), the bridge types the text with maestri ask "<terminal>" --raw "<text>\n", without a shell. In OpenCode, the plugin answers through its question API (POST /question/{id}/reply), only for a single question that accepts free text, and the card shows the question's text, masked. Outside Maestri (standalone Claude, Codex and agy), there is no button: answer at the terminal.
  • Only when the wait accepts text: in Claude Code, the hook decides: the MCP elicitation form (elicitation_dialog) and, of agent_needs_input, only the written question ("Your cloud session needs an answer before it can start"). The session file's "input needed" covers every elicitation, including the link one, so it never turns the button on by itself nor undoes what the hook said. Option dialogs (the sandbox network request, mode switch, usage credits, Remote Control, goal proposal, elicitation link, the iTerm2/tmux "Teammate setup" and the auto mode notices) and any unknown kind or message get no button: there, text and Enter would confirm the default option.
  • The text: a single line, up to 1000 characters, not starting with a hyphen, no backslash and no invisible characters (line break, tab, ESC, control, bidi, zero width). Such texts are rejected, never rewritten: a line break would send the answer half-way, and maestri --raw reads \n, \e and \xNN as keys. The bridge adds a single Enter at the end. The browser, the server and the bridge check the same rule.
  • Only in the question, once: the answer is delivered only if the terminal is in the question at that moment and the request belongs to that question (otherwise 409 or 410). It never goes to a terminal waiting for approval: there, the text would become keypresses in the permission dialog. Right before typing, the bridge checks again that the wait is the same (any change of state or wait kind bumps the terminal's "generation") and resolves the terminal again; if anything changed, it does not type. If maestri fails, the question does not reopen, to avoid answering twice. Each question takes one answer, stays open for 5 minutes (expired with the terminal still in the question, the bridge opens another) and waits even with nobody watching the map. Up to 20 attempts per minute.
  • How the bridge finds the terminal: maestri only works with the app's socket and a caller terminal, and only reaches the terminals connected to the caller (a terminal cannot reach itself). The bridge service finds the socket on its own (the newest /tmp/maestri-*/maestri.sock, only the user's own, in a closed folder) and the binary (MAESTRI_CLI, PATH or /opt/maestri-box/resources/cli/maestri), runs maestri list as the question's terminal and calls as a terminal connected to it, in the same workspace (the Maestro first). The binary must belong to root or the user, with no group or other write permission. Without the binary, the socket or anyone connected, with the terminal's name repeated in another workspace (case-insensitive) or starting with a hyphen, the button does not show. On Windows, only with MAESTRI_SOCKET in the bridge's environment.
  • What is logged: the bridge and the server keep only the text's length, never its content. From a phone, the text goes through the server (in memory) until the bridge picks it up.

Newspaper

The Jornal (newspaper) page, in the menu, tells the office's week as a newspaper: the issue number (the week of the year), the period, the headline, the notes and a table with everyone.

  • Weeks: Esta semana (this week) and Semana passada (last week), Monday to Sunday, Brasília time. The server keeps only these two.
  • What counts: per agent, finished tasks, requests for your approval, questions for you, time working and overtime (time working outside the office hours); per day, the weather at noon, strikes and fights. The headline goes to whoever finished the most tasks. The notes cover who asked for your approval the most, who asked the most questions, who worked the most, who worked overtime, the ring champion (with social life on), the week's weather and the strikes and fights. The Todo mundo na semana (everyone this week) table has each agent's numbers.
  • Approximate time: the office checks every 30 seconds, so the time working is approximate, and the page says so.
  • Only agents present: whoever is not in the workspace's current read is left out, even with saved numbers.
  • Floor without a connection or without activity: a floor that is not connected says so above the issue (the newspaper only counts what the office reads from agentes.chat); a connected week with no one working says so in place of the empty table.
  • Counts while the service runs: the newspaper comes from the reads the office already does, with no new call to agentes.chat. With the service stopped, nothing is counted. Connecting a different agentes.chat account (no agent in common with the previous one) restarts the newspaper; reconnecting the same account keeps the week.
  • Sentences: no AI. They come from FRASES.jornal in static/vida.js (change them there for white-label), one fixed per week.
  • There is no newspaper in demo mode. What goes on disk is in Security.

Time-lapse

The Time-lapse do dia (daily time-lapse) button, on the map bar, puts the office's day in a short video.

  • Recording: one frame of the whole building every 2 minutes of the work hours, while the page is open and visible. Outside work hours, in Simulation and in demo mode, it does not record. Only one tab records per browser, and TV mode takes over.
  • This browser only: the frames stay in the browser's IndexedDB. Nothing goes to the server or to agentes.chat, and each device has its own time-lapse.
  • Limits: up to 400 frames or 30 MB. Beyond that, the oldest ones go.
  • Today only: at the turn of the day (Brasília time), the previous day's frames are deleted, even when the page only opens the next day. Apagar os quadros (delete the frames) clears them right away.
  • Video: Baixar o vídeo (download the video) builds, in the browser itself, a ~30 s video for a full day (8 s at least), in MP4 or WebM, depending on the browser. If it records neither, the dialog says so.
  • Privacy: before the download, the dialog warns that the video shows the names of the agents and the rooms. A frame carries no task label or conversation text, only names, signs and the office's fixed lines. Even so, think about who will see the video before sharing it.

Phone alerts

An alert on your phone, or computer, when an agent asks for your approval or asks a question. The Avisar no celular (alert on phone) box is on the Aprovações (approvals) page.

  • Needs https: ESCRITORIO_BASE must start with https://, as with the installer. On http, the box explains that alerts need https and does not turn on.
  • Turning on: tap Avisar no celular on each device. The notification permission is only asked on that tap. Desligar os avisos (turn off alerts) turns off that device only. Up to 10 devices fit per office.
  • New key: if the server's key changes, the device goes back to off; just turn it on again.
  • Android and computer: Chrome, Edge or Firefox.
  • iPhone and iPad: only with the office on the home screen, on iOS 16.4 or newer. Tap Share and Add to Home Screen, open the office from there and turn on the alert.
  • The alert: "<name> pede a sua aprovação" (asks for your approval) or "<name> tem uma pergunta para você" (has a question for you); tapping it opens the office on the agent. Approving and answering stay in agentes.chat. With no session on the device, the alert is generic ("Um agente precisa de você", an agent needs you). One alert at a time stays in the tray, and each device gets at most 1 per minute and 50 per day.
  • The message is empty: the browser's push service (Google, Mozilla, Apple or Microsoft) only wakes the app, which asks the office what happened. That service receives the empty message, the time and the VAPID signature: a JWT with aud (the push service's own address), exp (valid for 12 hours) and sub (ESCRITORIO_BASE), plus the office's public key. No name, task or conversation goes through it.
  • Do not disturb: in Settings › My profile, each account chooses when the alert rings on the devices where it turned it on: Avisar sempre (always, the default), Só no expediente (only during office hours) or Silêncio num horário (quiet hours, which may cross midnight). What arrives during quiet hours does not become an alert later: it stays in Esperando você (waiting for you) and does not use up the device's limit.
  • Sign out of all devices, in Customize, also turns off the alert: when an admin asks, on every device; when a member asks, only on the devices they turned it on. Removing an account in Members turns off the alert on its devices.
  • Blocked it by mistake? Allow notifications in the site settings and tap Tentar de novo (try again).
  • What the server keeps (the key, the devices and the caps) is in Security.

Security

In short: with the installer, the office is reachable only on your tailnet (on Docker with a public address, read Public address); it fails closed when its user file cannot be read, and no secret ever reaches the browser: the agentes.chat token stays on the server, and the browser only holds an HttpOnly session cookie.

  • Secrets masked on screen: tokens, passwords and keys that come from a conversation, a task label or an agent's name and role become "•••" before they reach the map, the TV, the phone and the visitors' room. It covers the known tokens (OpenAI, GitHub, GitLab, Google, Slack), JWTs, private keys, Bearer, password: ... and "token": "...", and long random base64 text; file paths and names still show. The masking happens before the text is cut, so no piece of a token is left.

  • Read-only on agentes.chat: OAuth scope read. A token with more permissions is refused. The exception is the "responder" mode (below), which asks for read write; manage is always refused.

  • World (/mundo.html): the page and its files are served without login, by exact name. It only calls POST /api/mundo/clima, rate-limited per origin, which returns, per city, the weather type, the wind (0 to 1) and whether it is night; the id of the office's city (casa); the map version; and the keys of the calendar holidays you turned off (festas_desligadas). It never sends temperature, coordinates, IP, the company name or your own dates, and nothing from agentes.chat. Open-Meteo is queried by the server, once every 15 minutes for the 28 cities; the browser never talks to it. See World.

  • Passwords and sessions:

    • passwords are stored as scrypt hashes (N=2^15, r=8, p=1), and the session travels in a __Host-esc_sessao cookie, HttpOnly, SameSite=Lax and Secure;
    • every form submission is checked by origin;
    • there is an attempt limit: 8 errors every 15 minutes per user (non-existent users share one limit, and the first access has its own). The counter lives in memory, so restarting the service resets it.
  • Revoke sessions (for example, after changing computers or suspecting theft): the simplest way is the Sign out of all devices button, in Customize, under Access (below). Without the screen, on the server:

    sudo systemctl stop escritorio
    sudo rm /var/lib/escritorio/sessoes.json
    sudo systemctl start escritorio
    

    To start from scratch, also delete usuarios.json: the service creates a new first-access code, and no old session works again, even if you recreate the same username.

  • The first-access code leaked before you created your user: create the user right away, which deletes the code. Or replace the code:

    sudo rm /var/lib/escritorio/codigo-primeiro-acesso.txt
    sudo systemctl restart escritorio
    sudo escritorio-codigo
    
  • Unreadable usuarios.json: if the file exists and cannot be read (permissions, empty file or broken JSON), the service does not start and the journal says why (journalctl -u escritorio). This way a corrupted file never reopens the first access. To get out: fix the owner and permissions (escritorio, 0600) or restore the backup. To start from scratch, delete the file.

  • Conversations ("conversas": "ler", off by default): anyone who has the password, or sees a signed-in screen (a TV on the wall, for example), sees the list of the day's tasks, with each one's agent and subject, and reads the conversations of the tasks in progress and of the ones that ended today, until midnight Brasília time. It reads with what the connected agentes.chat account reads: that person's direct and private conversations and, in channels, what other people wrote (without their names). Turn it on only if that audience may read them. The server picks the conversation from the tasks it has seen itself (the browser never chooses a channel); for a task that has ended, it shows only the messages up to its end, cleans the text (no control or invisible characters), never sends people's names or attachments (only how many), caches each conversation for 60 seconds and allows at most 20 reads a minute and 200 a day, within the agentes.chat limit. Nothing from the conversations goes to disk or to the log. The day's list lives only in memory: it is gone at midnight and when the service restarts.

  • Reply ("conversas": "responder", off by default): the office is no longer read-only. It asks agentes.chat for the read write scope ("Read and send tasks to agents"; switching modes needs a new connection at /oauth/conectar), and whoever opens reply mode sends messages to the agents in the day's direct conversations, as the connected account, and not only answers questions: each message may start a new task for the agent. For now, direct conversations only: for a channel task, reply in agentes.chat. Sensitive actions still ask for approval in agentes.chat, and approving happens only there. Each message lands in the task's thread, inside the direct conversation, marked "via Escritório dos agentes", and shows in the agentes.chat Audit. The Conversations page reads that thread, so the message and the agent's reply show there (use Refresh).

    • Reply mode: the office password, confirmed again, unlocks sending for 1 hour, renewed by each successful message, with an 8-hour cap from the password. It is valid only in that browser and that session (another signed-in device does not inherit it), and it closes with "Close now", on sign-out and when the service restarts. Closing the browser closes it too, but only as best effort: browsers that restore sessions (and mobile browsers, which rarely close) keep the cookie; the server is what guarantees it (1 h, 8 h, sign-out). Do not open reply mode on a shared screen; close it when you leave.
    • Quick replies: under the box, the "Pode seguir", "Sim", "Não", "Pare" and "Resuma o que fez" buttons only fill in the text (with a draft, they go on the next line). Nothing is sent without Enviar (send).
    • Limits: at most 5 messages a minute and 50 a day; a pause request from agentes.chat pauses only the sending. Each message's log line keeps the user, the agent, the task and the length, never the text.
    • Turn it off right away (for example, if a message lands in the wrong place): 1) "Close now" on the mode badge; 2) "ler" in times.json, which applies without a restart; 3) in Settings › AI apps, on agentes.chat, disconnect "Escritório dos agentes".
    • Back to read-only: switch to "ler" (or "desligado") in times.json. The office revokes the write token and asks for a new, read-only connection; until then, reading stops too. An unreadable times.json or a typo revokes nothing (it only blocks sending). Then disconnect the old app in Settings › AI apps, on agentes.chat.
  • Construction mode (POST /api/planta): admins can edit, the same rule as Customize (members cannot). The route requires an Origin equal to the server address (with no fallback to the Referer), a session, application/json (otherwise 415), a body of up to 64 KB and the plan's current rev (409 when another screen saved first). The plan is validated all or nothing, the same way on save and on read, and written atomically (0600), under a lock, to dados/planta.json; the log keeps counts, never the content. An unreadable or invalid file falls back to the automatic building, with one line in the log. The server only checks the format and the limits: the list of pieces is a closed catalog in the browser, and a bad plan never takes the page down.

  • Sign out of all devices (POST /api/sair-todos): asks for the password again, which counts toward the same attempt limit as the sign-in, ends every session and reply mode of whoever asked and deletes this browser's cookies. It also turns off phone alerts: when an admin asks, on every device (the list belongs to the building); when a member asks, only on the devices they turned them on. Use it after losing a device or suspecting someone has the password. There is no screen to change the password yet: to do that, start from scratch (delete usuarios.json and sessoes.json and create the user again with the first-access code), as in Forgot the password and Revoke sessions.

  • Settings (POST /api/clima, POST /api/festas and POST /api/equipe): the same rules as the construction mode: Origin equal to the server address, a session, JSON only, a body cap (512 B, 16 KB and 32 KB), all-or-nothing validation (NaN, Infinity and true do not pass as numbers) and an atomic write, under a lock. The holidays and the teams use the rev (409 when another screen saved first). The teams screen does not accept conversas, clima, empresa or any other field: the conversations mode changes the OAuth scope and stays on the server only. An unreadable file counts as absent, with one log line. The log never keeps the city, the coordinates or the search terms. The city search (GET /api/clima/busca) requires a session and only talks to geocoding-api.open-meteo.com, without following redirects. None of this goes to agentes.chat.

  • Social life routes: Send to the ring (POST /api/social/briga) and Atender o pedido (POST /api/social/greve/atender) follow the same strict origin and JSON-only rules. The weekly scoreboard (dados/placar.json) holds only agent ids and numbers.

  • Visitors: every signed-in screen asks for /api/estado every 10 s. The people on the map and the "N pessoas olhando" line come from /api/ao-vivo, under the rules in Team. For /api/estado, the server keeps only the sha256 of the session and the time, in memory (nothing goes to disk or to the log), up to 50 sessions, and each mark expires in 45 s. Everyone else gets only {"id", "cor"}: the id is an HMAC of the session's sha with a key drawn at each start, cut to 8 hex characters, that leads back neither to the session nor to the device and changes when the service restarts. Nobody sees themselves in their own list. With ?invisivel=1 (the TV, or whoever turns off Show me in the office), the request does not mark presence; the previous mark is gone within 45 s. The tabs of one browser share the cookie and count as a single visitor. None of this goes to agentes.chat.

  • Newspaper (GET /api/jornal, signed in): the week's numbers, Monday to Sunday in Brasília time, for the Newspaper page to build its sentences in the browser. Per agent: finished tasks, approvals and answers requested, minutes working (approximated from the 30 s reads) and how many of them were outside the office hours. Per day: the weather at noon, the strikes and the fights. It comes from what the office has already read, with no new call to agentes.chat. dados/jornal.json holds only agent ids and numbers (no labels, conversations or people), only this week and the previous one, up to 64 KB and 500 agents per week, written atomically at most once a minute. If it is unreadable or malformed, it starts empty, with one log line; connecting a different agentes.chat account also empties it, at the first read that confirms it is another account. The route returns only the agents in the current read, plus the floor's conexao.

  • What's new (GET /api/novidades, signed in): the 10 newest entries of the installed version's CHANGELOG.pt-BR.md (shipped in the image and by instalar.sh), read from disk and kept in memory until the file changes, with no call to agentes.chat. Items are raw inline markdown, up to 2,000 characters each; links only point to the repository, and the browser draws everything with textContent. If the file is missing or unreadable, the list is empty, with one log line.

  • POST bodies: every POST reads its body (up to 128 KB) before answering, so a refusal (wrong origin, wrong type, too big) reaches the client instead of a connection reset. Each route keeps its own size cap; above 128 KB, only the logo upload reads the body.

  • Phone alerts (push): the office alerts your phone when an agent asks for your approval or an answer. The message is empty: only the VAPID signature (ES256, vapid.py, in pure Python), with a 5-minute TTL and Urgency: high, no encryption and no content. The push service only wakes the app, which fetches GET /api/avisos with the cookie (the agent, its name, the type and the time, never the task label); without a session, the alert is generic. It works only with ESCRITORIO_BASE on https (without it, the routes answer 409 precisa_https and nothing is signed or sent). The private key lives in dados/vapid.json (0600) and never leaves the server or goes to the log; if it is unreadable, push turns off (the routes answer 404 push_desligado, with one log line) without writing a new key over it. Up to 10 devices in dados/push.json (0600, written atomically), with only the endpoint, the date and the account that turned it on (for Do not disturb; removing the account deletes its devices). The endpoint must be https on a host from a closed list (fcm.googleapis.com, updates.push.services.mozilla.com, web.push.apple.com and *.notify.windows.com), sending does not follow redirects and the endpoint never goes to the log. One alert per task and state, at most 1 a minute and 50 a day per device; a 404 or 410 from the service deletes the subscription. POST /api/push/assinar and /api/push/sair follow the construction mode rules (Origin equal to the address, session, JSON only, up to 2 KB). The push services (Google, Mozilla, Apple, Microsoft) receive the empty message, the time and the VAPID signature: a JWT with the office's address (ESCRITORIO_BASE) as the contact (sub) and the public key; none of this goes to agentes.chat. The signed header serves every device of the same service and is renewed every 11 hours.

  • App files (PWA): the manifest (manifest.webmanifest, with the generic name "Escritório"), sw.js and the 4 icons are served without signing in, because the browser fetches the manifest without cookies. None of them holds a secret, branding or the organization's address; the rest of the page still requires signing in.

  • Branding on the sign-in screen: the company name, color and logo are shown to anyone who reaches the page on the tailnet (or on the internet, with a public address), before login. The logo only accepts PNG, JPEG and WEBP, up to 600 KB. Prefer an image without sensitive metadata (EXIF, GPS).

  • Connect: the OAuth error pages use only the office's own texts. The error_description and the body agentes.chat sends never reach the screen, and the log keeps the error code, never the authorization code, the state or the token.

  • Network: with the installer, the service listens only on 127.0.0.1, on a privileged port, and Tailscale publishes it. On Docker, ESCRITORIO_BIND=0.0.0.0 (only 127.0.0.1 and 0.0.0.0 are accepted), always with ESCRITORIO_BASE set. The server does not read X-Forwarded-*: the accepted origin and the cookie come from ESCRITORIO_BASE, and nothing uses the visitor's IP.

  • System: runs as its own user with a hardened systemd unit. Tokens, passwords and the logo live in /var/lib/escritorio (0700). On Docker, they live in the /dados volume (0700); with the repository's docker-compose.yml, the container runs read-only and with no capabilities (in a build from the Dockerfile alone, those locks are up to whoever runs the container).

Public address

On Coolify, or on any Docker setup with an internet domain, there is no Tailscale layer. The sign-in is enough to start, but adjust what you expect from it:

  1. Anyone sees the sign-in screen, with the name, color and logo.
  2. Anyone can lock your sign-in with 8 wrong passwords every 15 minutes. Sessions already open keep working.
  3. The password becomes the only barrier, including for reading conversations (ler) and sending messages (responder).
  4. There is no per-IP limit or log.
  5. If the container port is published, it serves HTTP without TLS, with the password in plain text. The compose file does not publish it.
  6. Against slow connections, the proxy is the defense.

So:

  • use a long password, 14 characters or more, or a passphrase;
  • create the user right after the deploy: until then, the first-access screen is open on the internet (the code is secret and has an attempt limit);
  • keep conversas off or on ler, and use responder only if you need it;
  • if you can, add one more layer in front: Cloudflare Access, Tailscale or an IP allowlist on the proxy.

Found a vulnerability? Please read SECURITY.md and report it privately.

Architecture

agentes.chat (MCP, OAuth "read")
        ▲  every 30 s
        │
escritorio.py ── 127.0.0.1:737 ── tailscale serve (HTTPS, tailnet only) ──▶ browser
   │  stdlib HTTP server, login, OAuth + PKCE, MCP reader, weather, branding
   ├─ acesso.py: users (scrypt), sessions, first access
   ├─ social.py: social life director (in memory; the weekly scoreboard in dados/placar.json)
   ├─ planta.py: construction mode plan (validation, lock and rev; dados/planta.json)
   ├─ jornal.py: the week's numbers for the Newspaper page (only ids and numbers; dados/jornal.json)
   ├─ avisos.py: phone alerts (push without content; dados/push.json)
   ├─ vapid.py: VAPID signature (ES256 in pure Python; dados/vapid.json)
   └─ ajustes.py: settings validation (dados/clima.json and dados/festas.json)
  • Server: Python 3 standard library only (escritorio.py, acesso.py, social.py, the director of the social life, planta.py, the plan of the construction mode, jornal.py, the newspaper's weekly numbers, avisos.py and vapid.py, the phone alerts, and ajustes.py, the validation of the settings saved on screen). No database: a few files in the data folder.
  • Front-end: vanilla JavaScript and canvas, no build step (static/). app.js (UI, camera, panels), mapa.js (procedural building, furniture collision, doors, and the plan applied on top), vida.js (agent life), avatar.js, efeitos.js, ceu.js, clima.js, festas.js, expediente.js, som.js (WebAudio), simular.js, brincar.js (clickable objects, photo mode, demo), personalizar.js, planta.js and construir.* (construction mode editor) and entrar.* (sign-in).
  • Install: instalar.sh sets up the user, files, a hardened systemd unit and tailscale serve. Or, in a container, the Dockerfile and docker-compose.yml (see Docker and Coolify).

Transition log

On every read (30 s), the server compares tasks with the previous read, by run_id, and keeps in memory since when each one has been in its current status. That produces the recent events (at most 50): comecou, pediu_aprovacao, pediu_resposta, voltou_a_trabalhar and terminou, with time, agent handle and run_id, without any conversation content. The first read after starting is only the baseline, with no events. The log itself stays in memory: restarting the service clears it, and "since" starts again at the first read. What goes to disk is the agent timeline (1.6): only the agent id, the state and the time of each change, in dados/linha/ (or dados/andares/<id>/linha/), for 14 days and up to 5,000 lines a day.

Development

python -m unittest test_escritorio test_planta test_ajustes
ESCRITORIO_TIMES=times.exemplo.json python ferramentas/previa.py ferramentas/previa.exemplo.json   # local preview at http://127.0.0.1:7372, no login
python -B ferramentas/checar_seguranca.py .  # checks login, origin, cookie, attempt limit and the POST routes
node ferramentas/estresse_vida.mjs [url] [--minutos 40] [--acoes] [--brigas 10] [--times 20]  # agent-life regression on the preview (headless Chrome/Edge); exits 1 if it finds something
node ferramentas/checar_planta_mapa.mjs [url] [--ref main] [--prints]  # construction mode: with an empty plan the building is identical to the reference; example and tampered plans

In the preview, the construction mode saves to a temporary folder (the preview prints its path on startup, and the folder is gone when it stops); --greve starts a strike at the first step of the social life director; --conexao <state> (carregando, sem_conexao, recusada, pausa or falha) shows the bar for each connection state, with no OAuth.

To test the whole Connect flow without the real agentes.chat, use the fake server: python -I -B ferramentas/agentes_falso.py --escritorio. It starts the fake on 127.0.0.1:7390 (consent with Autorizar and Recusar, token with PKCE and an /mcp with the previa.exemplo.json data) and the office on http://127.0.0.1:7381, with a temporary data folder. --modo (or, with everything running, curl -d mcp_403 http://127.0.0.1:7390/_modo) simulates each failure: registration down or refused, consent refused, code exchange refused, extra scope and /mcp answering 401, 402, 403 or 429. Another port for the office: --porta-escritorio.

ferramentas/previa.exemplo.json holds fictional MCP responses (agents and tasks, with the handles of times.exemplo.json) to test without connecting; ESCRITORIO_TIMES makes the rooms of the example show up. To test with your own workspace, copy its responses to dados.json, which git ignores, and run python ferramentas/previa.py dados.json. The preview rereads the file when it changes: to see events live, change a task's status or remove and add tasks. Another port: PREVIA_PORTA=7373.

Art

  • Furniture and objects: generated with PixelLab for this project (arte/pixellab).
  • World: landmarks, buildings, houses, trees, cars and mountain ranges from PixelLab (arte/pixellab/mundo); the globe, the map terrain, the streets and the holiday decorations, drawn in code; outlines, rivers, highways and cities from Natural Earth, public domain (see Changing the cities or the world art).
  • Floors, walls, desks, avatars, sky, weather and procedural decorations: drawn in code.
  • Default logo (static/logo.png, also the favicon): drawn in code, with python ferramentas/montar_tema.py --logo.

To change the art, build another atlas with python ferramentas/montar_tema.py <PNG folder>; the map uses the atlas names and skips whatever is missing.

The art (arte/pixellab and static/tema) is released under the same license as the project, the AGPL-3.0-or-later. The PixelLab terms of service (updated on 2026-10-30) give whoever generates the images their ownership and allow them to "use, modify, and distribute the outputs from our tools for any purpose", except for training other models without PixelLab's explicit permission.

Third-party

  • Fonts Figtree, Silkscreen and Pixeloid Sans: SIL Open Font License 1.1 (static/fontes, licenses in static/fontes/OFL-figtree-silkscreen.txt and static/fontes/PixeloidSans-LICENCA-OFL.txt).
  • Weather: Open-Meteo (no key), with data under CC BY 4.0. Its free API is for non-commercial use only (terms): a company, or a site with subscriptions or ads, needs a paid Open-Meteo plan or its own Open-Meteo server (open source). The city search uses Open-Meteo's geocoding (geocoding-api.open-meteo.com), under the same terms. This server calls the free addresses (in the Clima and BuscaCidades classes of escritorio.py), so either option means changing those addresses (and adding the plan's key). Otherwise, turn the weather off: Sem clima on Customize, or remove clima from times.json.

License

Copyright (C) 2026 Dev Maniac's. Licensed under the GNU Affero General Public License v3.0 or later. If you run a modified version of this office for other people over a network, the AGPL requires you to offer them the source code of your version (section 13): set ESCRITORIO_FONTE to it (see Install).

Made for agentes.chat

Built for agentes.chat, with permission from its developers. A partnership agentes.chat + Dev Maniac's.

Acknowledgements

  • The agentes.chat team, for the read-only MCP connector and for supporting an open-source office.
  • The Maestri team, for the tool we use every day. Firmópolis is independent and has no official partnership with Maestri.
  • Open-Meteo, Tailscale and PixelLab.
  • The designers of Figtree, Silkscreen and Pixeloid Sans, for releasing them under the OFL.

Explorer des projets similaires

Chargement…