107 lines
7.0 KiB
Markdown
107 lines
7.0 KiB
Markdown
# Agent Zero on Unraid
|
|
|
|
**Retired on 2026-10-18 at the user's request.** This installation is no longer
|
|
an active service. The instructions below are historical; see the
|
|
[cleanup record](../../docs/maintenance/2026-10-18-unraid-client-cleanup.md).
|
|
|
|
User-authorized trial deployment, 2026-10-15. Uses the official prebuilt
|
|
`agent0ai/agent-zero:latest` image; no local image build or custom runtime.
|
|
|
|
## Installation and updates
|
|
|
|
The included DockerMan v2 template derives from the Selfhosters Community Apps
|
|
[template](https://github.com/selfhosters/unRAID-CA-templates/blob/master/templates/agent_zero.xml).
|
|
Changes: remove NVIDIA runtime/devices, obsolete branch post-argument and
|
|
localhost model fallbacks; persist only `/a0/usr` as required by the current
|
|
[manufacturer guide](https://github.com/agent0ai/agent-zero/blob/main/docs/setup/installation.md).
|
|
Mounting all of `/a0` would hide application files and impede image updates.
|
|
|
|
- Container: `agent-zero`, standard `bridge`, restart `unless-stopped`.
|
|
- Web UI: `http://192.168.1.2:50080/` (published on the LAN address only).
|
|
- User data: `/mnt/user/appdata/agent-zero` -> `/a0/usr`.
|
|
- DockerMan template: `/boot/config/plugins/dockerMan/templates-user/my-agent-zero.xml`.
|
|
- Resource envelope for the trial: 2 CPUs, CPU shares 128, 4 GiB RAM/no extra swap,
|
|
1024 PIDs, 512 MiB shared memory, bounded Docker logs.
|
|
- No GPU, Docker socket, host home, or existing shares mounted.
|
|
|
|
On the intended Unraid host, pull the official image, place `install.sh` and
|
|
`my-agent-zero.xml` together, then run `bash install.sh`. The script refuses to
|
|
replace an existing container, data directory, ; an existing template is replaced only when its Name is exactly `agent-zero`. No unrelated
|
|
container or host restart is part of installation.
|
|
|
|
For updates, use the published image through DockerMan and retain the user-data
|
|
mount. Follow upstream backup/migration instructions for major version changes.
|
|
The `latest` tag moves; record the installed digest for each accepted deployment.
|
|
|
|
## Persistence and recovery
|
|
|
|
Settings, chats, projects, memory and skills live in the private user-data
|
|
mount. This Unraid directory is not automatically covered by Athena Deck's
|
|
backup. Back it up separately as private data, including any model credentials.
|
|
Keep its permissions restricted; never commit it to Git. Source/template files
|
|
alone cannot restore conversations or memory. Fresh-host restore has not been
|
|
tested. The future native Athena installation has no dependency on this optional
|
|
Unraid application.
|
|
|
|
## Initial access
|
|
|
|
Initial LAN-only onboarding uses upstream defaults. Configure login credentials
|
|
through the supported UI before granting broader access. No domain or reverse
|
|
proxy is created by this recipe. The image provides the application; tools for
|
|
specific projects and MCPs still require configuration.
|
|
|
|
## Verified deployment — 2026-10-15
|
|
|
|
- Official image digest: `sha256:b0c9763df7b8c4c5ddbdac9c101e8f84de8b7cdf9185203e446e2d7d8ebf2f1c`.
|
|
- Installed image ID: `sha256:46e4e5fd59568521ba64de19bb8e866dca7df57d98545cfb272777af6e915fae`; unpacked size 8,475,011,964 bytes.
|
|
- UI reports `M v2.14 2026-10-13`. HTTP 200 and browser UI verified.
|
|
- Athena API `http://192.168.1.212:8120/v1`, existing OpenCode Athena credential transferred internally to the new application's private `usr/.env` (`API_KEY_OPENAI`, mode 0600); never printed or committed.
|
|
- Local presets in `usr/plugins/_model_config/presets.yaml` (0600): Default = Strata IQ3 262144; Athena Strata 512K = 524288; Athena Strata Dual 256K = 262144 per slot. Main and utility use the same chosen model to avoid switching Deck profiles for internal helper tasks. CPU Hugging Face embedding default retained.
|
|
- Medium preset uses 80000 tokens per request: `/props` reports 160000 shared across two slots, confirmed against Deck's llama.cpp launch construction. This corrects only the new Agent Zero preset, not other clients.
|
|
- All four model IDs confirmed in Athena's authenticated `/v1/models`.
|
|
- Browser acceptance task asked for exactly one `pwd`, no reads or writes. Agent executed it exactly once and completed its German final response with `/a0/usr/workdir`. This proves basic model/tool integration, not comprehensive task quality or long-term memory retrieval.
|
|
- Only the new Agent Zero container was restarted to load its configuration; no Athena, OpenCode, Unraid or other app restart.
|
|
- Existing old DockerMan template with matching Name was updated; there was no existing Agent Zero container or user-data directory.
|
|
|
|
User authentication, reverse proxy/domain and MCP import are not configured by this installation. Initial access is LAN HTTP using upstream onboarding defaults.
|
|
|
|
## Re-created trial — 2026-10-18
|
|
|
|
The earlier container/image was absent; the existing 404-KiB user-data folder
|
|
and model presets remained. Keep these data; no deletion or new application
|
|
source mount. `start-existing.sh` recreates the official image with 1 CPU,
|
|
low CPU shares, the existing 4-GiB/no-swap bound and `unless-stopped`.
|
|
The persistent DockerMan template now carries the same CPU and restart limits.
|
|
|
|
The scheduler JSON contained zero tasks before startup. No benchmark, chat,
|
|
speech generation, scheduled agent run or MCP tool execution is authorized:
|
|
the user's model is busy with coding. Basic web-page availability is the only
|
|
acceptance performed during this deployment. No other container is restarted.
|
|
|
|
18 URL-based MCP definitions were copied internally from the configured Hermes
|
|
instance into Agent Zero's own `settings.json`; two disabled, local or
|
|
unresolved-placeholder entries were skipped. `copy-remote-mcps.rb` performs a
|
|
safe YAML parse and never prints credentials. This is a copy, not a shared
|
|
Hermes data mount or a dependency on running Hermes. The same JSON is prepared
|
|
privately as LobeHub's `deployment/mcp-import.json` for normal per-account
|
|
import after the user signs up. It is not a public artifact or Git file.
|
|
Connection discovery/tool usability has not been claimed tested.
|
|
|
|
The built-in Agent Zero workspace is `/a0/usr/workdir` in this installation.
|
|
Webtop's entire home is not mounted or granted access by this deployment.
|
|
Speech, mobile clients, scheduled executions and a stop/start or fresh-host
|
|
restore are not accepted just because the login/chat page opens. HTTPS and
|
|
normal user login setup are still needed before broader/mobile microphone use.
|
|
|
|
The re-created trial uses the same published image digest as the prior
|
|
installation:
|
|
`agent0ai/agent-zero@sha256:b0c9763df7b8c4c5ddbdac9c101e8f84de8b7cdf9185203e446e2d7d8ebf2f1c`.
|
|
The container started with its official supervisor/entrypoint; no bootstrap
|
|
wrapper or dependency installer was added. HTTP readiness is recorded separately
|
|
from process state. A running supervisor by itself does not prove UI readiness.
|
|
|
|
Final HTTP check returned 200 after the first startup. The image downloaded
|
|
`en-core-web-sm` during initialization. No dependency installer or application
|
|
patch was added by this deployment. Whether a later clean restart needs any
|
|
additional download remains untested under the user's no-test instruction.
|