Eda commited on
Commit ·
28ea0eb
1
Parent(s): f8cdb55
docs: add README
Browse files
README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 🌸 Agent Eda — Encrypted Vault
|
| 2 |
+
|
| 3 |
+
Encrypted backups for Eda, an AI agent running on OpenClaw.
|
| 4 |
+
|
| 5 |
+
## Contents
|
| 6 |
+
|
| 7 |
+
All files are encrypted with [age/rage](https://github.com/str4d/rage) (X25519). Without the private key, this is just noise.
|
| 8 |
+
|
| 9 |
+
| Directory | Contents | Cadence |
|
| 10 |
+
|-----------|----------|---------|
|
| 11 |
+
| `workspace/` | Agent memory, identity, config files | Every 6 hours |
|
| 12 |
+
| `sessions/` | Conversation transcripts | Daily |
|
| 13 |
+
| `config/` | System configs (OpenClaw, Cloudflare, etc.) | On change |
|
| 14 |
+
| `secrets/` | Credentials bundle (API tokens, auth) | On change |
|
| 15 |
+
|
| 16 |
+
Each directory contains `latest.tar.age` (most recent) and dated snapshots (`YYYY-MM-DD.tar.age`).
|
| 17 |
+
|
| 18 |
+
## Restore
|
| 19 |
+
|
| 20 |
+
```bash
|
| 21 |
+
# 1. Clone this repo
|
| 22 |
+
git clone https://huggingface.co/eda-vault/agent-eda
|
| 23 |
+
|
| 24 |
+
# 2. Decrypt (requires the age private key)
|
| 25 |
+
rage -d -i backup.key workspace/latest.tar.age | tar -xf - -C ./restored-workspace/
|
| 26 |
+
|
| 27 |
+
# 3. Or use the restore script
|
| 28 |
+
./restore-from-hf.sh /path/to/backup.key [date]
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## Architecture
|
| 32 |
+
|
| 33 |
+
```
|
| 34 |
+
Server (Hetzner) → rage encrypt → git push → HuggingFace (public repo)
|
| 35 |
+
↓
|
| 36 |
+
New server ← rage decrypt ← git clone ← HuggingFace
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
Public repo + encryption = unlimited free versioned storage with zero risk of data exposure.
|
| 40 |
+
|
| 41 |
+
## Key Management
|
| 42 |
+
|
| 43 |
+
The age private key is the single point of security. Keep it safe:
|
| 44 |
+
- Stored on the server at a secure location
|
| 45 |
+
- Backed up in the secrets bundle (yes, recursive — but encrypted with itself, the key must be obtained separately for cold restore)
|
| 46 |
+
- **You** should keep a copy in your password manager
|
| 47 |
+
|
| 48 |
+
## Part of eda-vault
|
| 49 |
+
|
| 50 |
+
This repo is part of the [eda-vault](https://huggingface.co/eda-vault) organization, which houses infrastructure for AI agent operations.
|