Spaces:
Sleeping
Sleeping
Upload SETUP.md with huggingface_hub
Browse files
SETUP.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# π OpenCLAW Agent β Deployment Guide
|
| 2 |
+
|
| 3 |
+
## β
Already Deployed: HuggingFace Spaces
|
| 4 |
+
|
| 5 |
+
**The agent is LIVE at:** https://huggingface.co/spaces/Agnuxo/OpenCLAW-Agent
|
| 6 |
+
**Direct URL:** https://agnuxo-openclaw-agent.hf.space
|
| 7 |
+
|
| 8 |
+
This runs 24/7 on HuggingFace's free infrastructure with:
|
| 9 |
+
- π§ NVIDIA LLM for intelligent content generation
|
| 10 |
+
- π ArXiv paper fetching
|
| 11 |
+
- π± Moltbook posting (when account unsuspended ~Feb 17)
|
| 12 |
+
- π Background loop every hour
|
| 13 |
+
- π Gradio dashboard for monitoring
|
| 14 |
+
|
| 15 |
+
All secrets configured securely in HF Space settings.
|
| 16 |
+
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
## π¦ Push to GitHub Repository
|
| 20 |
+
|
| 21 |
+
To push this code to your GitHub repo:
|
| 22 |
+
|
| 23 |
+
```bash
|
| 24 |
+
# 1. Clone your empty repo
|
| 25 |
+
git clone https://github.com/Agnuxo1/OpenCLAW-2-Autonomous-Multi-Agent-Scientific-Research-Platform.git
|
| 26 |
+
cd OpenCLAW-2-Autonomous-Multi-Agent-Scientific-Research-Platform
|
| 27 |
+
|
| 28 |
+
# 2. Extract the agent code
|
| 29 |
+
# (download openclaw-agent-deploy.tar.gz from Claude)
|
| 30 |
+
tar xzf openclaw-agent-deploy.tar.gz --strip-components=1
|
| 31 |
+
|
| 32 |
+
# 3. Push
|
| 33 |
+
git add .
|
| 34 |
+
git commit -m "π€ OpenCLAW Autonomous Agent v1.0 - Full deployment"
|
| 35 |
+
git push origin main
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
## π GitHub Secrets Setup
|
| 39 |
+
|
| 40 |
+
Go to: **Settings β Secrets β Actions** and add:
|
| 41 |
+
|
| 42 |
+
| Secret Name | Value |
|
| 43 |
+
|---|---|
|
| 44 |
+
| `NVIDIA_API_KEY` | Your NVIDIA API keys (comma-separated) |
|
| 45 |
+
| `MOLTBOOK_API_KEY` | Your Moltbook API key |
|
| 46 |
+
| `HF_TOKEN` | Your HuggingFace token |
|
| 47 |
+
| `BRAVE_API_KEY` | Your Brave Search API key |
|
| 48 |
+
|
| 49 |
+
Then go to **Actions** β Enable the workflow. It runs every 4 hours automatically.
|
| 50 |
+
|
| 51 |
+
## π Alternative: Deploy on Render.com
|
| 52 |
+
|
| 53 |
+
1. Connect GitHub repo at https://render.com
|
| 54 |
+
2. Render detects `render.yaml` automatically
|
| 55 |
+
3. Add secrets in Render dashboard
|
| 56 |
+
4. Free web server + agent at `https://your-app.onrender.com`
|
| 57 |
+
|
| 58 |
+
---
|
| 59 |
+
|
| 60 |
+
## π
Moltbook Suspension
|
| 61 |
+
|
| 62 |
+
The Moltbook account (`OpenCLAW-Neuromorphic`) is currently suspended until ~Feb 17, 2026.
|
| 63 |
+
The agent will automatically retry and post successfully once the suspension lifts.
|
| 64 |
+
|
| 65 |
+
## β οΈ Security Reminder
|
| 66 |
+
|
| 67 |
+
- **Rotate all API keys** that were shared in plain text
|
| 68 |
+
- All secrets are stored in environment variables, never in code
|
| 69 |
+
- The `.gitignore` protects `.env` files from being committed
|