UNWIND
A security layer for AI agents that monitors, checks, and records every action, providing a trust light, timeline, rewind, and ghost mode for testing without consequences.
README
UNWIND
Your agent can read email, write files, send messages, and call APIs. Do you know what it did while you were away?
See Everything. Rewind File Changes. Test Without Consequences.
UNWIND is a security layer for AI agents. Install it once, and every real-world action your agent takes — file writes, API calls, shell commands — is monitored, checked, and recorded. If something goes wrong, you'll know. If it changes a file, you can rewind it in one click.
Check on your agent from your phone. Green light means everything's fine. Amber means something needs your attention. Red means something was blocked.
No AI in the security path. Your agent doesn't know UNWIND exists.
<p align="center"> <img src="docs/screenshots/mobile-green.jpg" width="250" alt="All Clear — your agent is operating normally"> <img src="docs/screenshots/mobile-amber.jpg" width="250" alt="Review Recommended — your agent browsed the web"> <img src="docs/screenshots/mobile-red.jpg" width="250" alt="Alert — SSRF attack blocked"> </p>
Install
OpenClaw users — tell your agent:
Install the UNWIND security engine with
pip install unwind-mcp, then install the experimental OpenClaw adapter from this repo withopenclaw plugins install ./openclaw-adapter. Restart the gateway when done.
Or manually:
pip install unwind-mcp
openclaw plugins install ./openclaw-adapter
Just want to watch first? Ghost Mode shows you what your agent would do, without letting it do anything:
pip install ghostmode
ghostmode -- npx @modelcontextprotocol/server-filesystem ~/Documents
MCP clients (Claude Desktop, Cursor, Windsurf, VS Code):
pip install unwind-mcp
unwind serve -- npx @modelcontextprotocol/server-filesystem ~/Documents
Point your client at UNWIND instead of the upstream server. The agent doesn't know it's there.
What You Get
- Trust Light — a green, amber, or red indicator that tells you at a glance whether your agent is operating normally. Check it from your phone.
- Timeline — every action your agent took, when, and whether it was allowed. Expandable detail on each event. Scroll through it on mobile.
- Rewind — before every file write, UNWIND takes a snapshot. Changed your mind? One click to restore.
- While You Were Away — a summary of what happened while you weren't watching, with anything that needs your attention highlighted.
- Ghost Mode — test untrusted tools or risky prompts without consequences. Your agent thinks it worked, but nothing real changed.
Advanced controls: trusted source rules for scheduled tasks, 15-stage deterministic pipeline, tamper-evident audit chain.
Dashboard
Open http://your-machine:9001 from any browser — including your phone.
unwind dashboard
See what your agent is doing now, review what happened while you were away, undo file changes, toggle Ghost Mode, and verify the audit chain — all from one mobile-friendly page.
Compatibility
One core engine, multiple adapters. UNWIND works with OpenClaw, standard MCP clients, and any agent framework that can route tool calls through a proxy or sidecar.
| Platform | Integration |
|---|---|
| OpenClaw | Native plugin (fail-closed) |
| Claude Desktop, Cursor, Windsurf, VS Code | MCP stdio proxy (drop-in) |
| LangChain, CrewAI, AutoGPT, custom agents | HTTP sidecar API (~50 lines) |
Packages
pip install unwind-mcp gives you everything — pipeline, dashboard, Ghost Mode, CRAFT chain, rewind, CLI. One install.
The standalone packages below are for people who want just one piece:
| Package | What | Install |
|---|---|---|
| ghostmode | Dry-run proxy only (MIT, zero deps) | pip install ghostmode |
| craft-auth | Transport auth library only (zero deps) | pip install craft-auth && craft-auth demo |
Architecture
UNWIND is built on a six-layer security model, from immediate enforcement to deep cryptographic attestation:
| Layer | What it does | Status |
|---|---|---|
| UNWIND | 15-stage enforcement pipeline, flight recorder, trust light | Operational |
| Rollback | File-level smart snapshots with one-command undo | Operational |
| Ghost Mode | Dry-run sandbox with shadow VFS | Operational |
| CRAFT | Transport-layer auth + tamper-evident hash chain | Operational |
| CADENCE | Temporal anomaly detection (timing-based) | Live prototype |
| CRIP | Consent protocol for rhythm data | Verify |
Full architecture → · Pipeline stages → · Threat model →
CLI
unwind serve -- <command> MCP stdio proxy
unwind status Trust state + recent events
unwind log [--since TIME] Event timeline
unwind verify Hash chain integrity check
unwind undo last|ID|--since Rollback actions
unwind dashboard Web UI
unwind ask "question" Natural language query
unwind export json|html Export events
unwind anchor Chain checkpoint
unwind tamper-check Tamper detection report
Development
git clone https://github.com/unwind-mcp/unwind
cd unwind
pip install -e ".[dev]"
pytest # 1,859 tests
Contributing → · Security policy → · Changelog →
License
AGPL-3.0-or-later (Ghost Mode is MIT)
PyPI · Ghost Mode · CRAFT · Dashboard Demo · Architecture · Threat Model · Security Policy · Changelog
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。