INK-Q/agy-fast cross-host MCP integration, performance benchmarking, and schema optimization
Raw Developer Origin & Technical Request
GitHub Issue
Nov 24, 2026
作者你好,我们近期把 `agy-fast`(`v0.3.x`)从 Antigravity 原生环境,尝试挂载到了另一个基于 DeepSeek、走 PTC(Programmatic Tool Calling)代码调用模式的外部宿主中。整个摸索、对照测试到翻看源码的过程,总结成这份真实反馈,供你参考。
### 一、我们的摸索与实测过程
1. **为什么跨宿主测试**:在 Antigravity 里用 `agy-fast` 非常顺手,于是我们把它作为独立 MCP 挂载到外部宿主(无 `rules/AGENTS.md` 和 `SessionStart` 注入),想看它在不同模型与调度方式下的表现。
2. **两轮基准对照(Windows,同初始态每轮重置,n=8 与 n=3)**:
- **`quick_outline` vs 整文件读**:`3 ms / 69 B` vs `5 ms / 2360 B`(字符数 **-97.1%**)。
- **`batch_search` vs PowerShell `Select-String`**:`29 ms`(50/200/800 行耗时恒定 `32/31/30 ms`)vs `643–722 ms`(**快约 22×**,常驻进程消灭了冷启动税)。
- **`apply_edits`(多处替换 / 建 3 文件)vs `pwsh`**:`6–9 ms`(带逐文件命中反馈)vs `631–650 ms`(静默 `0 B`)(**快约 72×–105×**)。
- **真实工程实测**:在多模块 Node 小工程里用 `batch_search` 找全定义与调用点,再用 `apply_edits` 多行 hunk 一次修完 bug 并跑通测试(`exit=0`)。
3. **途中踩出的坑与“误判→理解”**:
- 一开始我们困惑于两件事:一是 `read_slices`(40 行)返回 `1573 B`,比原生 `read`(`1347 B`)多约 `16.8%`;二是外部宿主的 DeepSeek 模型频频把 `lineRanges` 传成裸字符串触发 `serialization corruption`,或把 `target`/`replacement` 写成 `oldText`/`newText`。
- 后来翻看 `v0.3.1` 的 `CHANGELOG` 和 `dist/mcp-server.mjs` 源码才明白你的设计取舍:
- `read_slices` 保留 header 和行号是为了多切片混读不漂移,本意就是让已知行号尽量走原生分段 `read`;
- 你在 `v0.3.1` 刻意把单工具 Schema 压到 `
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 INK-Q/agy-fast cross-host MCP integration, performance benchmarking, and schema optimization.
What problem does INK-Q/agy-fast cross-host MCP integration, performance benchmarking, and schema optimization solve?
What is the general sentiment around INK-Q/agy-fast cross-host MCP integration, performance benchmarking, and schema optimization?
Which technical concepts are associated with INK-Q/agy-fast cross-host MCP integration, performance benchmarking, and schema optimization?
Engagement Signals
Cross-Market Term Frequency
Counts stored text matches for foundational terms like Programmatic Tool Calling (PTC) and quick_outline in analysed public discussions. These counts do not measure adoption.
Stored text matches, not adoption or market-share measurements.
- Programmatic Tool Calling (PTC): 1 records
- quick_outline: 1 records
- batch_search: 1 records
- apply_edits: 1 records
- serialization corruption: 1 records
SaaS Metrics