Choose a distribution
App
TUI
Docker
1. App
Use this distribution when you already use Unio inside UniFi and want a graphical Agentic Mode manager.Set up the wallet
Choose Unio at sign-up
Protect the local vault
Secure the recovery backup
Enable Agentic Mode
Open Agentic Mode
/unio directly in the native app.
Only an account signed in with Unio can manage this page.Create an access key
Start the local server
127.0.0.1:34567, so it is reachable only from this device.Configure the agent
UNIO_SERVER_URL and UNIO_ACCESS_KEY in the agent process using the values shown on the
page. See Configure an agent for examples./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:
macOS: verify, extract, and run
macOS: verify, extract, and run
- ARM64 (Apple Silicon)
- AMD64 (Intel)
Linux: verify, extract, and run
Linux: verify, extract, and run
- ARM64
- AMD64
Windows: verify, extract, and run
Windows: verify, extract, and run
- ARM64
- AMD64
Command usage
The command-line interface has three commands. Expand a command to see its syntax and options. The examples useunio as if it is on PATH; use ./unio on macOS or Linux, or .\\unio.exe on
Windows, when running directly from the extracted directory.
unio / unio tui — open the interactive wallet
unio / unio tui — open the interactive wallet
tui is the default command, so these are equivalent:--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.unio serve — run the headless signing server
unio serve — run the headless signing server
serve binds to 127.0.0.1:34567 and prompts for the wallet password:--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.unio health — check the signing server
unio health — check the signing server
127.0.0.1:34567:Help and version commands
Help and version commands
Set up Agentic Mode
Initialize the encrypted vault
unio, choose Initialize wallet, and enter a strong wallet password.Add the EVM account
Create an access key
Start the signing server
Configure the agent
--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, useunio 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.
Run the one-command launcher
The launcher is the recommended Docker workflow on AMD64 and ARM64 macOS or Linux. It pullsabhi3700/unio:latest, selects the matching architecture, creates a persistent unio-data volume,
guides first-time setup, and publishes the API only on host loopback.
- Source checkout
- Release folder
/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:
docker/
directory, replace ./unio/scripts/docker-run.sh with ./docker-run.sh. Expand an operation for
its command and expected behavior.
Show launcher help and configuration
Show launcher help and configuration
Open setup to manage the wallet or access keys
Open setup to manage the wallet or access keys
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.Check container and server health
Check container and server health
unio container, a loopback mapping such as
127.0.0.1:34567->34567/tcp, and healthy.Follow signing-server logs
Follow signing-server logs
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.View the externally managed wallet
View the externally managed wallet
./unio/scripts/docker-run.sh --setup for supported wallet or
access-key changes.Inspect server identity and capabilities
Inspect server identity and capabilities
Stop Unio without deleting wallet data
Stop Unio without deleting wallet data
unio-data volume. Run the launcher again to replace and restart the server.Manual Docker workflows
Use docker run directly
Use docker run directly
unio-data.Create unio-password.txt in a local editor with only the wallet password, then restrict it on
macOS or Linux: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:Use the included Compose file
Use the included Compose file
compose.yaml provides the same persistent volume, password
secret, and loopback-only port: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:Request signatures
Send signing requests toPOST $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 intypedData:
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 returnsresultType: "signature". A transaction request returns
resultType: "raw_transaction".
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 Unauthorizedmeans the access key is missing or invalid.422 Unprocessable Entitymeans the signing payload is invalid.503 Service Unavailablemeans the local signer is unavailable.