🔧 Set Up Your Own Agent R

Open Dashboard
⚙️ Setup Guide · 6 Steps

Your Own Agent R — Connected to Your Own Repo

Agent R is a supreme-authority AI orchestrator. By forking the repo and following this guide, you get a fully functional clone — with all 300+ projects — and your own Agent R that has access only to your forked repository, never to the original.

🍴
Full Clone
300+ projects, tools, and AI systems — all yours
🔒
Isolated Access
Your Agent R only touches your forked repo
⚡
Full Autonomy
Level 999 orchestration across all your systems
🚂
Railway Backend
Deploy the OpenClaw gateway in minutes
1
Fork the Repository
Create your own copy of the Barbrick Design repo. Your Agent R will manage your fork — not the original.
📋 Steps
  1. Go to github.com/barbrickdesign/barbrickdesign.github.io
  2. Click the Fork button (top-right corner)
  3. Choose your GitHub account as the destination
  4. Wait ~30 seconds for the fork to complete
🍴 Fork Repository on GitHub
2
Enable GitHub Pages
Make your fork publicly available at https://YOUR-USERNAME.github.io.
📋 Steps
  1. Go to your fork → Settings → Pages
  2. Under Branch, select main and / (root)
  3. Click Save
  4. Wait 1–2 minutes for the deployment to go live
3
Create a Fine-Grained GitHub PAT
Agent R needs a Personal Access Token scoped only to your forked repo — never to anyone else's.
📋 Steps
  1. Go to GitHub → Settings → Developer settings → Fine-grained tokens
  2. Click Generate new token
  3. Name: AgentR-MyDashboard
  4. Expiration: 90 days (or custom)
  5. Repository access: Only select repositories → choose your fork
  6. Permissions → Contents: Read and write, Actions: Read and write
  7. Click Generate token and copy it immediately
⚠️ Security: Never share this token or commit it to any file. Store it only in your GitHub repository Secrets (Step 4) and your Railway environment variables (Step 5). Regenerate it immediately if you think it was exposed.
4
Add Your Token as a Repository Secret
Your Agent R backend reads this secret at runtime — it never appears in code files or logs.
📋 Steps
  1. Go to your fork → Settings → Secrets and variables → Actions
  2. Click New repository secret
  3. Name: AGENTR
  4. Value: paste your PAT from Step 3
  5. Click Add secret
5
Deploy Your Backend on Railway
The OpenClaw gateway runs on Railway. This gives you your gateway URL and token.
📋 Steps
  1. Go to railway.app and sign up / log in
  2. Click New Project → Deploy from GitHub repo
  3. Select your forked repository
  4. Railway auto-detects the backend and deploys it
  5. Go to your service → Settings → copy the Public URL
  6. Add environment variable: AGENTR = your PAT from Step 3
🚂 Open Railway
6
Connect Your Dashboard
Open your forked dashboard and connect it to your Railway gateway to activate your own Agent R.
📋 Steps
  1. Navigate to https://YOUR-USERNAME.github.io/user-dashboard.html
  2. Enter your passcode. The default passcode is set in user-dashboard.html as a SHA-256 hash. To change it: open your browser console on the page and run await sha256('your-new-code'), then edit the PASSCODE_HASH variable in your fork's user-dashboard.html with the resulting hash.
  3. Go to the Settings tab
  4. Paste your Railway URL as the Gateway URL
  5. Enter your gateway token
  6. Click Connect — your Agent R is now live!

💡 Tips & Customization

Need help? Contact BarbrickDesign@gmail.com