agy-fast: Non-invasive MCP accelerator plugin for Google Antigravity
Raw Developer Origin & Technical Request
GitHub Issue
Nov 24, 2026
### Environment
- **OS**: Windows 11 / Windows Server (x64)
- **Host**: Antigravity Desktop / agy CLI (eager: true, 5/5 tools, native `rg` available)
- **Version**: agy-fast v0.3.0 (upgraded from v0.2.10)
---
在 v0.3.0 的架构基础上,结合 Windows 平台的深层运行日志,我们识别出以下 3个直接制约整体吞吐的次级与深层摩擦点,特提出针对性优化提案:
---
### 1. Windows 标准沙箱在受限路径下的 120 秒挂起超时(缺少 Fast-Fail 护栏)
**现象(Observed Friction)**:
在 Windows 标准沙箱模式(`BypassSandbox: false`)下,如果 Agent调用原生命令或工具试图探测/遍历某些受系统安全隔离保护的特殊路径(例如工作区外的受限目录、系统级 AppData、或`.system_generated` 等任务日志层):
Windows 系统的权限过滤机制**不会立即抛错返回**,而是会静默挂起等待令牌校验超时(实测耗时恰好在 **120~132 秒**之间),超时后才抛出 `Command exited with code 1: Access is denied`。
在自动化执行链中,单步探查如果遭遇两次该现象,单次 Query 就会被凭空锁死 4~5 分钟。
**改进提案(Proposal)**:
1. **在 `run_checks` 与通用执行层加入 Windows 敏感路径 Fast-Fail 拦截**:
检测当前环境为 Windows 且未声明提权时,对命中的已知受保护路径(如系统级受限根目录、内部系统运行时路径)执行前置正则拦截,**1ms 内直接Fast-Fail 拦截**并返回指引:
`"Access to system-restricted path blocked in sandbox mode. Use sandboxed read_file or run with BypassSandbox:true."`
2. **在 `rules/AGENTS.md` 固化沙箱探测避坑指引**:
明确规约 Agent 探测系统状态或日志时,优先使用 Python 标准库(`sqlite3` / `os.walk` / `winreg`)以沙箱受控方式读取,避免用裸 Shell 命令盲目扫描系统根目录。
---
### 2. Windows 平台进程冷启动开销与平台差异规则固化(Fork Overhead Gap)
**现象(Observed Friction)**:
`docs/ANALYSIS_REPORT.zh-CN.md` 第 4.3 节的冷启动基准数据(`rg` 2.1ms、`node` 17.7ms、`sh/zsh`)**均测自 macOS Apple Silicon 环境**。
而在 Windows NT 内核下,真实环境开销差异极大:
- 原生二进制(`CreateProcess`)加载 PE 与依赖 DLL 的基础开销...
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from INK-Q/agy-fast.
Frequently Asked Questions
Market intelligence mapped to agy-fast: Non-invasive MCP accelerator plugin for Google Antigravity.
What problem does agy-fast: Non-invasive MCP accelerator plugin for Google Antigravity solve?
What is the general sentiment around agy-fast: Non-invasive MCP accelerator plugin for Google Antigravity?
What architecture is tied to agy-fast: Non-invasive MCP accelerator plugin for Google Antigravity?
Engagement Signals
Cross-Market Term Frequency
Counts stored text matches for foundational terms like MCP accelerator and Windows sandbox in analysed public discussions. These counts do not measure adoption.
Stored text matches, not adoption or market-share measurements.
- MCP accelerator: 4 records
- Windows sandbox: 1 records
- Fast-Fail guardrails: 1 records
- 120-second timeout: 1 records
- Process creation overhead: 1 records
SaaS Metrics