Skip to main content
Unio is a self-custodial EVM wallet that can let a local agent request signatures without exposing the wallet’s private key. It is distributed through the UniFi app, a cross-platform terminal UI (TUI), and a multi-architecture Docker image. Every distribution uses the same encrypted-vault format and signing behavior. Unio currently supports EIP-191 personal messages, EIP-712 typed data, and replay-protected legacy EVM transactions on secp256k1 chains. Transaction signing returns a signed raw transaction; it does not broadcast it.
A Unio access key authorizes signatures for as long as Agentic Mode is running, even when the interactive wallet is locked. Create a separate key for each agent, keep keys out of source control and logs, and revoke a key as soon as its agent no longer needs wallet access.

Choose a distribution

App

Create and use a wallet in the UniFi native or web app. Agentic Mode requires the native desktop app.

TUI

Run an interactive local wallet on macOS, Windows, or Linux, on AMD64 or ARM64.

Docker

Run the headless signing server as a non-root Linux container on AMD64 or ARM64.
The default Agentic Mode endpoint is the same in all three distributions:

1. App

Use this distribution when you already use Unio inside UniFi and want a graphical Agentic Mode manager.
The Unio wallet works in both the native and web versions of the UniFi app. Agentic Mode works only in the native desktop app because a browser or installed PWA cannot host the local signing server.

Set up the wallet

1

Choose Unio at sign-up

Open Unio sign-up, then create a new wallet or import an existing recovery phrase or private key.
2

Protect the local vault

Set a strong wallet password. If the native app offers biometric unlock, enable it for more convenient owner verification. The wallet password remains available as a fallback.
3

Secure the recovery backup

Save the recovery backup to a directory you choose, move it to a secure offline location, and remove any copy left in Downloads or a cloud-synchronized directory.

Enable Agentic Mode

1

Open Agentic Mode

In the wallet sheet, select Manage Agentic Mode, or open /unio directly in the native app. Only an account signed in with Unio can manage this page.
2

Create an access key

Enter a name that identifies one agent, select Create key, and complete biometric or wallet password verification. Copy the new key immediately; Unio stores only its SHA-256 hash and cannot reveal the original key later.
3

Start the local server

Select Start server and complete owner verification. The server binds to 127.0.0.1:34567, so it is reachable only from this device.
4

Configure the agent

Set UNIO_SERVER_URL and UNIO_ACCESS_KEY in the agent process using the values shown on the page. See Configure an agent for examples.
Creating or deleting a key and starting or stopping the server require owner verification. There is no product-imposed limit on access keys. Deleting one revokes that agent immediately without interrupting other keys. Starting Agentic Mode creates an isolated in-memory signer. Locking the interactive wallet does not interrupt authorized agents; stopping Agentic Mode clears that signer. The /unio page remains available offline and does not show the app’s network-offline card. The encrypted vault, server state, access-key metadata, access-key hashes, signing payloads, and signatures stay on the device. Closing the native app stops its local signing server.

2. Terminal UI (TUI)

Use the TUI when you want the full wallet and Agentic Mode workflow without the graphical UniFi app. It runs natively on macOS, Windows, and Linux.

Choose an archive

Download the release archive and its .sha256 file for your operating system and CPU: Expand your operating system, then select the tab matching your machine’s architecture.

Command usage

The command-line interface has three commands. Expand a command to see its syntax and options. The examples use unio as if it is on PATH; use ./unio on macOS or Linux, or .\\unio.exe on Windows, when running directly from the extracted directory.
tui is the default command, so these are equivalent:
Use a specific local wallet directory with the global --data-dir option:
UNIO_DATA_DIR provides the same setting through the process environment. An explicit --data-dir takes precedence. Set NO_COLOR=1 to use plain terminal output.
With no options, serve binds to 127.0.0.1:34567 and prompts for the wallet password:
For automation, read the password from an owner-readable local file or Docker secret:
--allow-non-loopback is required with a non-loopback --bind value. Use that exception only inside a container whose published host port remains restricted to 127.0.0.1.
The default address is 127.0.0.1:34567:
Check another local address when the server uses a custom bind:

Set up Agentic Mode

1

Initialize the encrypted vault

Start unio, choose Initialize wallet, and enter a strong wallet password.
2

Add the EVM account

Create a new wallet, import a recovery phrase, or import a private key. Unio is a single-account wallet. When creating a wallet, save its recovery backup to a secure custom directory and move it offline.
3

Create an access key

Choose Create access key, enter a descriptive agent name, complete owner verification, and copy the key when it is displayed. It cannot be shown again.
4

Start the signing server

Choose Start signing server and complete owner verification. Leave this TUI process running while the agent uses the wallet.
5

Configure the agent

Give the local agent the displayed API URL and the access key. See Configure an agent.
On macOS, the first successful password unlock offers to enable Touch ID. The credential remains in the local, non-synchronizing Keychain and is released only after Touch ID verifies the currently enrolled biometric set. Later unlocks try Touch ID first and retain wallet-password fallback. Windows and Linux currently use the wallet password. The TUI displays its local data directory at the top of the screen. Override it with --data-dir or UNIO_DATA_DIR as shown in Command usage. Do not place this directory in source control or a cloud-synchronized folder. Destroying the wallet stops Agentic Mode and deletes every local access-key record.

Run headlessly without Docker

After setting up the wallet and at least one access key in the TUI, use unio serve as described in Command usage. Put only the wallet password in a local, owner-readable file; do not pass it in an environment variable or command-line argument.

3. Docker

Use Docker when the Unio signing server should run as an isolated, restartable local service. The image runs as an unprivileged user, stores its encrypted state only under /data, and supports Linux AMD64 and ARM64. Docker automatically selects the correct image from the multi-architecture manifest.
A container cannot use the host’s Touch ID, Face ID, Windows Hello, or Linux biometric service. Docker uses the wallet-password file. Keep that file outside source control with owner-only permissions.

Run the one-command launcher

The launcher is the recommended Docker workflow on AMD64 and ARM64 macOS or Linux. It pulls abhi3700/unio:latest, selects the matching architecture, creates a persistent unio-data volume, guides first-time setup, and publishes the API only on host loopback.
Run from the UniFi Echo repository root:
On macOS, the launcher can discover or install the Homebrew Docker CLI and Colima and start Colima when no Docker daemon is available. Linux requires an installed, accessible Docker engine. The first run opens the TUI because the wallet password, recovery backup, wallet, and first access key must be created interactively. Choose /data/recovery as the custom recovery-backup directory so the launcher can copy the backup to the host. After setup, the launcher reports the local URL:
The examples below use the source-checkout path. If you are in the release bundle’s docker/ directory, replace ./unio/scripts/docker-run.sh with ./docker-run.sh. Expand an operation for its command and expected behavior.
Environment overrides are available for the image, host port, container and volume names, password file, Docker configuration directory, recovery directory, and fallback image version.
The launcher stops and replaces its managed server container, opens the TUI against the existing unio-data volume, and starts a fresh headless server after the TUI exits. Use this flow to initialize or destroy the wallet and to create or revoke access keys. Existing wallet data remains intact unless you explicitly select Destroy wallet.
A healthy result shows the unio container, a loopback mapping such as 127.0.0.1:34567->34567/tcp, and healthy.
Representative startup output:
0.0.0.0 is the bind address inside the container. The launcher still publishes the host port only on 127.0.0.1. Pressing Ctrl+C stops log following, not the container.
With the default container name:
The TUI reports Running externally and is intentionally read-only because the headless process owns the signer, wallet data, and server lifecycle. Quitting this view leaves the background server running. Use ./unio/scripts/docker-run.sh --setup for supported wallet or access-key changes.
This discovery request needs no access key and exposes no wallet secret.
The managed container stops while the encrypted wallet and access-key hashes remain in the unio-data volume. Run the launcher again to replace and restart the server.

Manual Docker workflows

Set a pinned image version, create a persistent volume, and open the TUI in a temporary container:
Initialize or import the single EVM account, save any recovery backup to a secure host-mounted directory, create a separately named access key for each agent, and then exit. The temporary container is removed; the encrypted vault and key hashes remain in unio-data.Create unio-password.txt in a local editor with only the wallet password, then restrict it on macOS or Linux:
Start the service with the API port published only on host loopback:
Never change the publication to 34567:34567 on a shared or internet-connected host. To manage the same wallet later, stop the server before mounting its volume in the TUI:
Only one Unio process should mount the data volume at a time.
From the Unio source directory, compose.yaml provides the same persistent volume, password secret, and loopback-only port:
The Compose setup reads the password from unio-password.txt, which is ignored by the repository. Stop the service before opening another TUI against its volume.

Configure an agent

After starting Agentic Mode with any distribution, provide these values to the agent process. Do not commit them to a repository or write the access key to application logs. On macOS or Linux:
On Windows PowerShell:
The Rust client examples in the standalone Unio repository read these variables without persisting either value:

Request signatures

Send signing requests to POST $UNIO_SERVER_URL with the access key as a bearer credential.

EIP-191 personal message

EIP-712 typed data

Pass the complete typed-data object in typedData:

EVM transaction

Quantity fields use standard RPC hexadecimal form. The response contains the signed raw transaction; the calling agent remains responsible for simulation and broadcasting.

Successful response

A message or EIP-712 request returns resultType: "signature". A transaction request returns resultType: "raw_transaction".
Use GET $UNIO_SERVER_URL without an access key to inspect server version and capabilities.

Locking, revocation, and errors

  • Locking the interactive wallet does not interrupt a running Agentic Mode server.
  • Stopping Agentic Mode closes the listener after owner verification.
  • Deleting an access key revokes it immediately, including while the server is running.
  • Destroying the wallet stops Agentic Mode and deletes every access-key record.
  • 401 Unauthorized means the access key is missing or invalid.
  • 422 Unprocessable Entity means the signing payload is invalid.
  • 503 Service Unavailable means the local signer is unavailable.

Local security model

Unio never sends the wallet password, recovery phrase, private key, or access key to a UniFi server. The encrypted vault and SHA-256 access-key hashes remain on the device running Unio. A new access key is displayed once, and the original value cannot be recovered from its stored hash.