最新资讯
bloomberg.com Nvidia 加强东南亚芯片追踪以打击走私 thestack.technology 模型路由需求升温,Agent Router 推出开源替代方案 unite.ai Cashfree 为 AI Agent 的托管结账加入 WebMCP 工具 dev.to 我们在 DolphinBench 上测试记忆检索:纯关键词搜索暴露了自身回归 dev.to 别再把 Agent 写成 while 循环,把它建模为状态机 analyticsindiamag.com 小语言模型可能重塑企业 AI 部署方式 bloomberg.com Rightmove 与 Scout24 借 AI 产品应对低迷房市并上调展望 stackoverflow.blog 欢迎来到芯片时代:半导体制造、AI 数据中心与芯片设计的未来 www.youtube.com AI Agent 总犯同样的错:CentralAgent AI 将记忆重构为经验系统 pub.towardsai.net Netflix 科学家建议重采样 LLM 评判:5 次仅将误差棒缩小 13% pub.towardsai.net Jev 作为 LLM 前的静默层:构建提示感知的模型路由器 reddit.com OpenAI 称 Astra 仅满足 10% 安全任务标准
多元动态
登录 注册
AI编码 dev.to · @42Nekit123

为远程向 Google Antigravity 发提示词,我构建了一个开源桥接工具

原文 我的收藏

开发者因不想守在显示器前查看 Antigravity 长任务进度或补发提示词,构建了一个 Python 桥接工具:利用 Antigravity 作为 Electron 应用暴露的本地 DevTools 端口(DevToolsActivePort),通过 Chrome DevTools Protocol(CDP)连接,并以 Telegram 机器人作为交互界面。该工具在后台运行,不占用鼠标,支持切换工作区项目、新建会话、从手机发送提示词以及接收回复和通知,采用 MIT 许可开源。作者表示 CDP 自动化层与机器人逻辑解耦,便于改造成 Discord 或其他 Electron 类 AI 工具(如 Cursor、Claude Code、Codex)。

AI推荐理由 作者开源了一个通过 Chrome DevTools Protocol 连接 Google Antigravity(Electron 应用)本地 DevTools 端口、经 Telegram 机器人远程发送提示词和接收回复的 Python 桥接工具,MIT 许可,CDP 自动化层与机器人逻辑解耦,作者称可较容易改造成 Discord 或其他 Electron 类 AI 工具。属于个人开发者项目,无性能数据或第三方验证,价值在于提供了一种不依赖屏幕捕获/模拟点击的远程交互思路,但实际可用性未经验证。

62

正文

Got tired of having to sit in front of my monitor just to check if Antigravity finished a long task or to send a quick follow-up prompt while I'm in another room or away from my desk. Most remote setups I looked at were doing screen capture or fake mouse clicking, which is super clunky and takes over your actual cursor. Since Antigravity runs on Electron, it exposes a local DevTools port (DevToolsActivePort). So I ended up throwing together a small Python bridge that connects to it via Chrome DevTools Protocol (CDP) and routes messages through a Telegram bot interface. It runs completely in the background, doesn't mess with your mouse, and lets you: Switch between workspace projects Create new chats Send prompts directly from your phone Receive responses and notifications The whole thing is open source under MIT: GitHub Repo: https://github.com/42Nekit123/antigravity-telegram-bridge The CDP automation layer is decoupled from the bot logic, so it should be pretty straightforward to adapt this for Discord or other Electron-based AI tools like Cursor, Claude Code, or Codex if anyone wants to fork it. Let me know what you think or if there's anything obvious I should add to it!

来源报道 · 1 篇 · 以下链接均前往原始媒体

← 返回精选动态 原文

更多内容