# Delminio — installing, updating, uninstalling Delminio runs on your own server in a container: the memories stay yours, in a database and in a folder of text files under git. First of all, read `LICENZA.md` (the licence) and `INFORMATIVA.md` (the privacy notice). ## What you need To get started you need: - **A Linux machine** — a PC, a server or a VM, at home or in the office — with Docker and the `docker compose` plugin, `git`, `curl` and `python3`. Delminio runs here. Delminio isn't exposed to the internet: from outside, you reach it through your own network's VPN. - **The agents, on the computer of each person who works**: Linux, macOS or Windows with WSL, with `git`, `curl` and `python3`. Delminio saves the memories in their repository: an agent doesn't need its disk, only to reach it. - **Claude Code, Codex or Qwen Code**, with your own account: the `claude` CLI (or the Code tab of the desktop app, which is the same engine and reads the same files), OpenAI's `codex` CLI, or Qwen Code with the model you choose. They can be mixed in the same team: the memories are the same. - **An empty repository for the memories** on a git host — GitHub, Forgejo or Gitea — that you can push to: it's the copy of the memories outside this machine (one from an earlier Delminio is fine full: Delminio takes it back). Your git credentials (an SSH key, or a token) already on this machine, and `git config user.name` / `user.email` set. **From Windows**: inside **WSL** (Ubuntu), as on Linux. Windows without WSL isn't supported: Delminio's client is made of bash scripts. Keep the project's clone in the WSL home folder, not in `/mnt/c`: there git and the scripts are slow, and the token's permissions only hold with the `metadata` option. **A machine shared over SSH** (the desktop app or the CLI connected to a Linux machine on the network) is still possible, and it's a choice: each agent takes a few hundred MB plus the work it launches, multiplied by everyone's agents — and each person logs in **with their own Linux user**, never a shared one. **Recommended: `tmux`** for anyone working with the CLI over SSH (from a phone too): the agent's session survives a dropped connection, and you get back in where you were. **Several people**: one person = the user account on their machine = one Delminio account = their token, generated by the admin in **Access** (`~/.config/delminio/`, 600). That's all the recognition there is: two people on the same Linux user are a single person to Delminio, and their personal memories get mixed. Someone who works from several devices has **one token per device**, with its own label: if the laptop is lost, the admin revokes that one. Everyone has their own clone of the project and their own git credentials. Delminio commits and pushes the memories at the end of every session, or shortly after each write if the verified handoff is switched off (Settings → “Memories on git”). No agent touches their folder, so everyone can have their own Linux account, or work from another machine on the network that can reach Delminio. ⚠️ Anyone in the `docker` group on Delminio's machine is effectively root there, and can read the `.env` with the secret. People who need containers for their work use **rootless docker**: a docker of their own, running as their own user, without touching the system one or Delminio. **Delminio itself** can also be installed with rootless docker: the installer notices and runs it as your user. ⚠️ On Ubuntu 24.04 the `docker.io` package doesn't include the rootless scripts (`dockerd-rootless-setuptool.sh`): you need `docker-ce-rootless-extras` from Docker's own repository. And these are needed to work well, but you can start without them, and the connection tells you what's missing: - **the project on a git host you push to** (cloned from there, or a fork of yours): without it, the handoff and the merge stay on this machine; - **an embedder on your network**, set up by the admin in Settings → Embedder. For Delminio Enterprise it's a requirement, so that the text of the memories doesn't leave your network. Our recommendation is `bge-m3` with Ollama, even on CPU only (the model is 1.2 GB). An outside service, such as `bge-m3` on Cloudflare Workers AI, only if you choose to let the text leave. Without an embedder you can start anyway, and the memories are searched by words, without semantic search. ## One installation, several spaces An installation holds one or more spaces, as many as the licence allows. Each space has its own repositories, memories, Backlog and people, and none of them can read another's. A repository belongs to one space only: work that's unrelated goes in a new space (**Spaces** view). The licence seats are counted per person, across all spaces. When you connect a new repository to a space that already holds others, the connection asks whether it's the same project. ## Features, and what's yours Delminio starts with a set of features. In Settings → **Features**, the admin switches off what the project doesn't need — the verified handoff, multiple agents, the memory review, protected decisions, the Backlog. Switched off, a feature goes quiet, and its rule no longer reaches the agents. The memories Delminio brings come in two kinds. **Delminio's rules** describe a feature: they aren't edited, and every new version updates them. Whatever applies only to you goes in their **project addendum** (“ — project addendum”), which the agents receive right after the rule. The **default** memories — the map, why the project exists, when to split code, the model's traps — are yours from the first day: you change them and delete them, and Delminio doesn't touch them again. ## Installing Open the CLI you use (Claude Code, Codex or Qwen Code) in any folder and tell it: “install Delminio: read the installation text with curl and follow it”, with the address we gave you. That text is `INSTALLA.en.md`, the same one you find here: you can read it before the agent does. The agent guides you: it explains each step before doing it, takes the image and extracts this installation kit from it, asks you what's yours to decide (you accept the licence yourself, and you type the password only in the interface), runs the installer, and at the end checks that everything responds. Delminio is downloaded from our **registry**, `registry.delminio.com`, with the username and password we gave you. If you prefer to do it by hand, sign in once (`docker login registry.delminio.com`), download the image and verify its signature with the key from your contract (`INSTALLA.en.md` § Getting Delminio), then, in a folder outside any repository: docker run --rm registry.delminio.com/delminio:latest kit | tar -x bash installa.sh The installer asks you to accept the licence, checks the image, writes the `.env` (version, a new secret, your user), clones the memory repository into `memoria/` (it asks you for the address, or pass it in `DELMINIO_MEMORIA_REMOTO`) and checks that you can push to it, creates `progetto/` and starts Delminio. At the end it gives you the address and the code for the first sign-in. In the web interface, the **Dashboard** guides you through the **first steps**: 1. **The licence**: paste the one you received; 2. **The copy of the memories**: the key Delminio uses to publish the memories to their repository; 3. **Connect the computer**: the command to run inside the clone of your repository. It checks that git knows who you are, that you can push, and that the embedder responds. If the project already had things of yours — the notes the CLI had written for itself, instructions for Claude Code, Codex or Qwen Code (`CLAUDE.md`, `AGENTS.md`, `QWEN.md`), settings, and `/apertura` and `/chiusura` commands — then before touching anything the connection makes a backup of it outside the repository, in `~/.local/share/delminio/backup/`, and the agent goes over it with you in the first session: the notes become memories once you approve them, and you either keep the `CLAUDE.md` files or move them to Delminio. If your CLI kept its notes in a folder you chose, the connection stops and asks you. It doesn't touch your other commands, agents or `.claude/settings.json`, so it doesn't copy them. To go back to how it was, from a terminal of your own: `delminio disconnect`. And in **Settings → Embedder**, choose yours and press Test. Names, port and folders are in the `.env`: change them before the first start if they clash with yours. Delminio can also answer over **HTTPS**, on a second port (`DELMINIO_HTTPS_PORTA`, usually 8402), with a certificate it makes for itself: you need it to install Delminio on your phone as an app. The admin switches it on from Settings → “The app on your phone”, where you download the certificate and read how to install it. `DELMINIO_HTTPS_NOMI=no` switches it off for good. ## How the work goes **Opening.** Start your agent inside the connected repository (or one of its subfolders: from the folder above, the one with all your repositories, Delminio doesn't reach it) and type `/opening`: your agent role's opening runs (you write it in **Agent roles**). With **Codex** you start from the agent the admin created in the **Agents** view (Codex CLI): on the first start Codex asks whether to trust the folder and, with `/hooks`, Delminio's checks — say yes to both, or it starts without memory. Codex doesn't have the `/opening` and `/closing` commands: type **`opening`** (or **`closing`**) on its own, as the only message. The agent reads the rules, the last handoff (from the session before) and the Backlog, tells you in a few lines where things pick up, and waits: you say what the day's work is. **Working.** The pace is yours, the technical choices are its. It writes the memories with the `delminio` tool, never as files (a check blocks that), and a new memory is created only once you approve it. Work left for another day goes in the **Backlog**: a task, or a follow-up if it needs looking at on a specific day. It opens one only in your words, so the register doesn't fill up with “tomorrow”. **Closing.** Whenever you want — it won't suggest it — type `/closing`, followed by anything else you want done. The agent commits and pushes the work, tells you where it is and asks you a single question; after your answer it writes the handoff, which Delminio checks: if something's missing it refuses it and says why, and if it holds up, Delminio commits and pushes the memories and adds their hash. That's what the person who opens tomorrow will read. **Several sessions at once** on the same computer: each in its own worktree, and they talk on Delminio's channel; the opening tells each one who's there and what they're touching. **From the interface**: the **Dashboard** (what's waiting for you, who's working right now, the health of the memory), **Memories** (read, search, review), **Backlog** (tasks, follow-ups and the decisions waiting for you as admin), **Git** (each session's handoff, and the space's repositories), **Agents** (the commands, models and CLI versions, machine by machine), **Agent roles** (who an agent is when it starts), **Usage** (what the agents ask for, and what they can't find), **Settings** (licence, embedder, features), **Access** (people, tokens, invitations). ## Updating Ask an agent (“update Delminio”): the process is in `INSTALLA.en.md` § Updating. By hand, download and verify the latest version as for the first installation, then from the folder where you installed: docker run --rm registry.delminio.com/delminio:latest kit | tar -x bash installa.sh The `.env`, `memoria/` and the database stay where they are: the installer recognises the new version, downloads it if missing and restarts Delminio, which makes a copy of its own database before changing its structure. Delminio's rules realign themselves to the new version — your project addenda (“… — project addendum”) stay as they are, and the default memories are yours and aren't touched — and the installer commits them to the memory repository. **Update with all sessions closed**: an agent at work would have files half-written. The connected projects update themselves: at the first opening after the update, the client sees the new version and reconnects, with its own token. **Leaving**: on every machine, inside the repository and from a terminal of your own, `delminio disconnect`. It leaves you your personal memories next to the backup, in `~/.local/share/delminio/backup/`, revokes the token and puts the CLI back as it was (do it while Delminio is running). Then, from the installation folder, `bash installa.sh via`: it stops Delminio, leaves a copy of the database next to the `.env`, and deletes nothing. The project's memories are already yours, in the memory repository. **Going back**: if the new version gives you a problem, from the same folder and with the current kit, `bash installa.sh indietro` puts back the previous image and the main space's database as it was before the update (the current one stays among the copies). The databases of the other spaces aren't restored by this command. Whatever you wrote in the meantime isn't in that database: the `.md` files stay in `memoria/`, to be saved again if you need them. `bash installa.sh` updates again. ## Uninstalling docker compose down stops Delminio and leaves everything else. `memoria/` holds every memory as a text file: it's yours even without Delminio. To delete the database too: `docker compose down -v` (there's no going back).