by V-T-V
Self-hosted Windows remote management. Windows agents connect outbound to your relay for PowerShell, service diagnostics and fleet operations. MIT-licensed, with mTLS, RBAC and audit logs.
# Add to your Claude Code skills
git clone https://github.com/V-T-V/reinsreins is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by V-T-V. Self-hosted Windows remote management. Windows agents connect outbound to your relay for PowerShell, service diagnostics and fleet operations. MIT-licensed, with mTLS, RBAC and audit logs. It has 140 GitHub stars.
reins's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/V-T-V/reins" and add it to your Claude Code skills directory (see the Installation section above).
reins is primarily written in Go. It is open-source under V-T-V on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh reins against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Take the reins — then hand them to your AI agent, safely. Self-hosted remote operations for Windows/Linux fleets: one Go binary, zero inbound ports, your data never leaves your network. Your AI agent reaches a server only after passing the rules gate.
Put your AI agent on a real Windows box: bring up a Relay, install the Agent on an authorized Windows machine (outbound-only — no inbound port, NAT just works), add reins-mcp to Claude Desktop or Cursor, then ask your agent to run hostname on it. AI-agent quickstart · Ops quickstart · Watch the demo
reins lets a small team run remote operations on a fleet of Windows/Linux machines from one terminal: command execution, file transfer, interactive shell, port forwarding, multi-step deploy orchestration, batch dispatch, monitoring — over reverse WebSocket connections that traverse NAT without opening a single inbound port on your hosts.
It is an open-source alternative to Teleport (access plane) and MeshCentral/TacticalRMM (RMM), with enterprise primitives built in: mTLS with a built-in CA and CRL, multi-tenant RBAC, a tamper-evident audit hash chain with SIEM export, and a rules gate your AI agents must pass before they touch a server.
CLI (50+ cmds) ──HTTPS/SSE──► Relay (single Go binary) ◄──reverse WS (NAT traversal)── Agent (Windows service / Linux)
Web console (embedded) mTLS + CA + CRL wss://, agent dials out 9 task executors:
Go SDK + MCP (AI agents) RBAC multi-tenant powershell · script · file · screenshot
audit hash chain + SIEM browse (chromedp) · guiclick · update
Prometheus /metrics + pprof power · monitor (TUI)
| Self-hosted, single binary | Relay is one static Go binary (Docker/Helm/systemd also provided). No database required — bbolt by default, Redis optional for horizontal scale. |
| Zero inbound ports | Agents dial out over WebSocket/wss. Your hosts stay unreachable from the internet; NAT and home/office networks just work. |
| Windows remote operations, first-class | PowerShell execution, interactive shell, service/process control, scheduled tasks, screenshots, GUI & browser automation, power ops — see the Windows capability map below. |
| Enterprise security primitives | mTLS with built-in CA, per-device client certs, CRL revocation, credentials bound server-side to a tenant and role (tenant:role:secret — a claimed prefix never decides identity), object-level tenant isolation (agents, tasks, audit, live events, secrets), enforced roles (viewer is read-only), command black/allow-lists enforced on both Relay and Agent, append-only audit hash chain, session recording (asciinema v2), secrets with TTL + one-time use. |
| Ops, not just remote desktop | Batch dispatch with retries & live progress, DAG orchestration (dependency graphs, concurrency caps, failure cascade skip), deploy playbooks, process watchdog, cron, snapshots, network diagnostics, log aggregation. |
| AI-agent native | An MCP server (14 tools) plus a Go SDK (30+ tools) drive the whole platform from Claude Desktop / Cursor / any MCP client — and .reins/rules.md gates machine operations: automation must read the project's operation rules and carry a content-fingerprint ack before executing; stale acks are rejected when rules change. |
The fastest way to feel what reins is for: put Claude (or Cursor, or any MCP client) behind the wheel of an actual Windows machine — behind NAT, zero inbound ports, gated by rules.
1. Start the Relay on a host with Docker Compose (private test network is fine for this HTTP setup; replace the token placeholder with a unique trial token):
git clone https://github.com/V-T-V/reins && cd reins
echo "REINS_TOKEN=REPLACE_WITH_A_UNIQUE_TRIAL_TOKEN" > .env
docker compose up -d # Relay on http://localhost:7780 (web console included)
2. Install the Agent on a Windows machine you own or are authorized to manage — PowerShell, auto UAC elevation:
iex (((irm 'http://<relay-host>:7780/install.ps1') -replace '^\uFEFF'))
The Agent dials out to the Relay over WebSocket, so the Windows machine needs no inbound port — home and office networks just work.
3. Wire your AI client. Download reins-mcp from the latest release (six platforms) or go install github.com/V-T-V/reins/cmd/reins-mcp@latest; an npm-installable TypeScript reference implementation lives at V-T-V/reins-mcp. Add it to Claude Desktop / Cursor / any MCP client:
{
"mcpServers": {
"reins": {
"command": "reins-mcp",
"env": { "REINS_RELAY": "http://<relay-host>:7780", "REINS_TOKEN": "your-token" }
}
}
}
Then just ask your agent:
"List my machines, then run
hostnameandGet-Service App*on the Windows one."
14 curated tools (reins_run_command, reins_task_run covering all 9 executor types incl. screenshot / browser / GUI-click, reins_batch_run, reins_power, cron management, …) — full list and per-client configs in docs/mcp.md.
Why this is safe to actually want. Every mutation request — MCP, SDK or CLI — passes the same execution-layer gate: the agent must first read the managed project's .reins/rules.md and carry a content-fingerprint ack; edit the rules and stale acks are rejected instantly (the rejection never echoes the fingerprint, so "skip reading, replay the ack" doesn't work). On top of that: mTLS device identity with CRL revocation, command allow/deny lists enforced on both Relay and Agent, and an append-only audit hash chain exportable to your SIEM. Details in AI agents on your fleet.
Windows is where Reins was born. The agent installs as a native Windows service (auto-start on boot, crash auto-restart via SCM) and ships executors Linux-first tools don't have:
| Windows capability | What you get |
|---|---|
| Remote PowerShell | -EncodedCommand (UTF-16LE) execution with mojibake-safe output; local .ps1 files auto-BOM'd, uploaded and run remotely in one step (task run -t script -s app.ps1) |
| Interactive shell | live PowerShell session from your terminal — every session recorded (asciinema v2, replayable) |
| Service & process control | list/start/stop Windows services (SCM); kill process trees via Job Objects — grandchildren don't survive timeouts and become zombie port-squatters |
| Scheduled tasks | manage Register-ScheduledTask jobs (incl. -LogonType Interactive guidance for desktop-session restarts) |
| Screenshot | PrintWindow capture for visual verification of remote UIs |
| GUI automation | vision-located clicks via SendInput — authorized deployments only, session-recorded and audit-logged |
| Browser automation | chromedp-driven remote browser control (login flows, web checks) |
| Power | shutdown / restart / sleep with tag whitelist + audit trail |
| Self-update | in-place binary swap (two-step rename + SCM restart) with health-check auto-rollback — survives running-exe locks and Defender scans |
| One-line install | iex (irm 'http://your-relay:7780/install.ps1') — auto UAC elevation, token probing, online confirmation; no pre-setup on the target machine |
Run all of it across a fleet: exec -a kiosk1,kiosk2,kiosk3 -c "Get-Service App" or DAG-orchestrate backup → upgrade → health-check with failure cascade skip.
The Relay host, Windows test machine, and operator workstation describe roles, so the Relay and CLI can share a host. Install the Agent only on a Windows machine you own or are authorized to manage. It connects outbound to the Relay over WebSocket, including across NAT, and needs no inbound port. The trial succeeds when the Agent appears online and a remote hostname command returns its name. For production, follow DEPLOYMENT.md for TLS, relay exposure, and deployment options.
1. Start the Relay on a host with Docker Compose available. Use a private test network for this HTTP quickstart. Replace the token placeholder with a unique trial token, then run these commands in a Bash-compatible shell:
git clone https://github.com/V-T-V/reins && cd reins
echo "REINS_TOKEN=REPLACE_WITH_A_UNIQUE_TRIAL_TOKEN" > .env
docker compose up -d # Relay on http://localhost:7780 (web console included)
2. Install the Agent in PowerShell on the authorized Windows test machine. Replace <relay-host> with the Relay host name or IP reachable from this machine. localhost works only when the Relay