Über uns
一款专用于增强 spotlight 的 AI 增强桌面 agent 产品
KI und maschinelles LernenWhat you can do
- Quick search: Find apps, local files, Chrome tabs and bookmarks, and app windows, with Chinese Pinyin matching (full Pinyin, initials, and mixed queries), category filters, folder browsing, web search, and terminal commands.
- Calculations, conversions, and color picking: Unit, currency, and time-zone conversions with configurable defaults, calculation history, and a screen color picker — all from the same input field.
- Clipboard history: Save text, rich text, images, and files; search by keyword or source app; preview colors, paste automatically, drag items, and choose a retention period.
- System integration and extensions: Authorized access to Calendar, Reminders, Notes, Contacts, and Maps; Messages are handed off as drafts for you to send. Supports MCP and GitHub plugins, including Feishu and Orca.
Gemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalAsky
搜索、剪贴板与 AI,一个快捷键呼出。
Search, clipboard, and AI in one native macOS launcher.
🌐 官网 / Website · 📦 下载 / Download · 📖 文档 / Docs · 💬 Issues

中文
Asky 是用 SwiftUI 与 AppKit 构建的 macOS 原生效率入口。搜索与剪贴板历史完全在本地运行,不联网也能用;AI 助手只在需要时唤起。
核心功能
- 快速搜索:应用、文件、Chrome 标签页与书签、应用窗口,支持中文拼音(全拼、首字母与混合)检索、分类过滤、文件夹浏览、网页搜索和终端命令。
- 计算、换算与取色:单位、汇率与时区换算(可设置默认目标)、计算历史和屏幕取色,都在同一个输入框完成。
- 剪贴板历史:记录文本、富文本、图片与文件,按关键词或来源应用检索;支持颜色预览、自动粘贴、拖拽和自定义保留期限。
- AI 助手:Swift 原生 Agent,支持兼容 OpenAI 的模型服务、联网检索、本地 Markdown 记忆(含用户可编辑的
SOUL.md灵魂设定、MEMORY.md索引与主题预召回)和持续对话。对话中可继续发送消息(先完成当前回复,再承接下一条)、添加附件、回复与引用、自然分条回复、填写原生表单,并展示 macOS 原生能力结果卡片(可一键跳转对应应用)或生成磨砂玻璃分享卡片。 - 系统与扩展:按授权访问日历、提醒事项、备忘录、通讯录和地图;短信以草稿交给用户发送。支持 MCP 与 GitHub 插件,包括飞书和 Orca。
- 原生体验与隐私:适配系统外观和“减少动态效果”,macOS 26+ 支持液态玻璃;界面支持简体中文、繁體中文、English、日本語、한국어、Español、Français、Português 共 8 种语言。不向作者服务器上传用户数据,API Key 存于系统钥匙串。使用模型或外部工具时的数据处理见隐私政策。
联网检索与 AI 配图
联网检索直接调用 Parallel / Exa / Keenable 的远程工具,无需浏览器、额外安装、API Key 或作者的付费账号。Parallel 主用,其余来源轮换;运行时处理失败退避与限流,合并相同请求并复用短期缓存。免费接口有服务端限流,失败会保留具体原因,不转付费。详见网页搜索与页面读取。
AI 会按图片对理解的帮助主动配图,例如景点、人物、动植物介绍和外观比较;图片从公开网页提取并附来源,纯文字任务不装饰加图。回复前会核对图片来自实际工具结果或用户提供的地址,无来源或无法加载的图片会被移除。点击缩略图可打开独立玻璃预览窗口,支持下载原图或打开来源网页。是否配图仍取决于候选内容与模型选择,详见 Agent Runtime。
安装与配置
需要 macOS 14+(Sonoma) 与 Apple Silicon。
brew tap niall-young/asky https://github.com/Niall-Young/Asky.git
brew install --cask niall-young/asky/asky
也可从 Releases 下载 DMG,将 Asky.app 拖入“应用程序”。应用内自动更新默认开启,可在“设置 › 关于 Asky › 软件更新”中管理;更新前会核对 ZIP 的 SHA-256 校验文件和开发者团队签名。
启动后 Asky 常驻菜单栏,可按需在“设置”中完成基础配置:
- 通过菜单栏图标或全局快捷键打开快速搜索、剪贴板历史与 AI 助手。
- 按需在“设置 › 系统权限”中授予辅助功能权限;自动粘贴和窗口搜索需要该权限。
- 在“设置 › 触发快捷键”中确认或录制全局快捷键(支持组合键,或双击
⌃/⌥/⇧/⌘)。 - 需要使用 AI 时,在“设置 › 智能配置 › 模型配置”填写 API Key,或配置兼容 OpenAI 的 Base URL 与模型名。
界面语言可在“设置 › 通用 › 应用语言”中切换,重启后生效。不配置模型也能使用搜索、剪贴板与预览。日历、提醒事项、备忘录等系统功能会在首次使用时申请授权。Agent 不依赖 Node.js 或 Pi;只有旧版 JavaScript 插件需要本机 Node.js 22+,详见插件开发。
常用入口
⌃ Control · ⌥ Option · ⇧ Shift · ⌘ Command。
| 功能 | 触发方式 / 快捷键 |
|---|---|
| 快速搜索 | 菜单栏图标或全局快捷键(默认 ⌥Space,可自定义),Return 打开结果 |
| 搜索窗口 | ⌃⇧W、菜单栏图标,或在启动器输入 sw;Esc 关闭 |
| 窗口排序与操作 | 结果按最近使用排序、最小化窗口排后;⇧← / ⇧→ 跨屏移动并跳过全屏屏幕,⌃⇧M 最小化、⌃⇧H 隐藏应用、⌃⇧Q 退出应用 |
| 剪贴板历史 | ⌃⇧C;Return 粘贴,⌥Return 粘贴并保持窗口开启,⌘Return 仅复制,⌘F 在访达中显示本地文件 |
| 快速预览 | 在快速搜索或剪贴板历史中选中图片、视频、Markdown、单个文本文件、剪贴板文本或源码文件,按 ⌃Space;再按一次或按 Esc 关闭 |
| AI 对话 | ⌃⇧A |
| 分类检索 | app / file / ql / sc (应用 / 文件 / 快捷方式 / 快捷指令) |
| 文件夹浏览 | 选中文件夹后按 Tab |
| 切换屏幕 / 屏幕取色 / 计算历史 | prev、next / co / calc 后回车 |
| 网页搜索 / 终端命令 | go 关键词、yt 关键词 / > pwd |
| 操作菜单 / 设置 | ⌘K / ⌘,(窗口获焦时) |
触发词可在“设置 › 指令”中自定义。选中支持预览的项目时,“快速预览”会出现在“更多”(⌘K)菜单首项,并显示当前快捷键。源码文件会按语言语法高亮。
如果 macOS 已将 ⌃Space 用于切换输入法,Asky 可在有预览可用时优先处理这组按键;也可在“设置 › 触发快捷键”中分别为“文件与应用”和“剪贴板历史”修改快捷键。
开发与构建
需要带有 Swift 6.2+ 的 Xcode 和 XcodeGen(brew install xcodegen)。在仓库根目录执行:
xcodegen generate
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer \
xcodebuild -project Asky.xcodeproj -scheme Asky -configuration Debug \
-derivedDataPath build/DerivedData build
open build/DerivedData/Build/Products/Debug/Asky.app
若 Swift Package 解析因网络失败,可在 xcodebuild 命令后加 -skipPackageUpdates。
核心检查:
(cd MCPBridge && DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift build)
(cd Packages/KulaCore && DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift test)
图片栏解析回归:python3 App/Tests/run-agent-reply-regression.py --image-gallery(先构建 Debug);加 --preview 可打开四张图片的轮播检查窗口。真实模型检查需显式启用,方法见主动配图回归和 DeepSeek 输入缓存测试。
UI 回归、Debug 预览、签名与打包流程见开发与发布指南。macOS 14/15 实机验收尚待完成,测试范围以验证记录为准。
| 目录 | 职责 |
|---|---|
App/ |
SwiftUI / AppKit 界面与交互 |
Packages/KulaCore/ |
核心逻辑、原生 Agent 与统一系统访问入口 ToolService |
MCPBridge/ |
原生 MCP 桥接服务 |
PluginSupport/ |
旧版 JavaScript 插件兼容脚本 |
文档索引 · 产品需求 · 系统架构 · 设计规范 · 插件开发
参与贡献
欢迎提交 Issue 和 Pull Request。反馈时请附上 Asky 与 macOS 版本、复现步骤及预期结果;提交改动前请先阅读贡献指南。
许可证
本项目采用 MIT 许可证,第三方依赖遵循各自的许可证。
English
Asky is a native macOS launcher built with SwiftUI and AppKit. Search and clipboard history run entirely on-device and work offline; the AI assistant starts only when you need it.
Features · Install · Shortcuts · Development
Features
- Quick search: Find apps, local files, Chrome tabs and bookmarks, and app windows, with Chinese Pinyin matching (full Pinyin, initials, and mixed queries), category filters, folder browsing, web search, and terminal commands.
- Calculations, conversions, and color picking: Unit, currency, and time-zone conversions with configurable defaults, calculation history, and a screen color picker — all from the same input field.
- Clipboard history: Save text, rich text, images, and files; search by keyword or source app; preview colors, paste automatically, drag items, and choose a retention period.
- AI assistant: A native Swift agent with OpenAI-compatible model support, web research, local Markdown memory (including a user-editable
SOUL.mdpersona file,MEMORY.mdindex, and topic pre-recall), and continuous conversation. Send follow-ups while a reply is generating (finishing the current reply first, then answering the next), attach files, reply to or quote messages, receive natural multi-bubble replies, fill out native forms in chat, view macOS capability result cards with one-click app handoff, and export frosted-glass share cards. - System integration and extensions: Authorized access to Calendar, Reminders, Notes, Contacts, and Maps; Messages are handed off as drafts for you to send. Supports MCP and GitHub plugins, including Feishu and Orca.
- Native experience and privacy: Follows system appearance and Reduce Motion, with Liquid Glass on macOS 26+. The interface is available in Simplified Chinese, Traditional Chinese, English, Japanese, Korean, Spanish, French, and Portuguese. No user data is uploaded to author servers; API keys stay in Keychain. See the Privacy Policy for data handling when using models or external tools.
Web research and AI images
Web search calls the anonymous Parallel / Exa / Keenable remote tools, with no browser, extra installation, API key, or developer-paid account required. Parallel is primary and the other providers rotate in; the runtime handles failure backoff and rate limits, coalesces duplicate requests, and reuses a short-lived cache. Free endpoints have provider rate limits, and failures retain diagnostics without switching to paid access. See web search and page reading.
The AI adds photos when they help explain places, people, animals, plants, or visual comparisons. Images are extracted from public pages with sources attached; text-only tasks get no decorative images. Before publishing, the runtime checks that each image comes from an actual tool result or a user-provided URL and removes unverified or unloadable photos. Clicking a thumbnail opens a dedicated glass preview window with options to download the original or open the source page. Relevance still depends on the available candidates and model selection; see Agent Runtime.
Installation and Setup
Requires macOS 14+ (Sonoma) and Apple Silicon.
brew tap niall-young/asky https://github.com/Niall-Young/Asky.git
brew install --cask niall-young/asky/asky
Or download the DMG from Releases and drag Asky.app into Applications. In-app automatic updates are enabled by default and can be managed in Settings › About Asky › Software Update; before installing, Asky verifies the ZIP against its SHA-256 checksum file and checks the developer team signature.
Once launched, Asky stays in the menu bar. Finish initial setup in Settings as needed:
- Open Quick Search, Clipboard History, and AI Assistant from the menu bar icon or global shortcuts.
- Grant Accessibility access in Settings › System Permissions when needed; automatic pasting and window search require it.
- Confirm or record global shortcuts in Settings › Keyboard Shortcuts (key combinations, or double-tapping
⌃/⌥/⇧/⌘). - To use AI, enter your API key in Settings › AI Settings › Model Configuration, or configure an OpenAI-compatible Base URL and model name.
Change the interface language in Settings › General › App language; it takes effect after restart. Search, clipboard, and preview work without a model. Calendar, Reminders, Notes, and other system integrations request authorization on first use. The Agent requires neither Node.js nor Pi; only legacy JavaScript plugins need local Node.js 22+, as described in the plugin guide.
Common Shortcuts
⌃ Control · ⌥ Option · ⇧ Shift · ⌘ Command.
| Feature | Trigger / Shortcut |
|---|---|
| Quick search | Menu bar icon or global shortcut (default ⌥Space, customizable); Return to open a result |
| Search windows | ⌃⇧W, menu bar icon, or sw in the launcher; Esc to close |
| Window sorting and actions | Results sort by recency with minimized windows last; ⇧← / ⇧→ move across displays while skipping full-screen displays; ⌃⇧M minimize, ⌃⇧H hide app, ⌃⇧Q quit app |
| Clipboard history | ⌃⇧C; Return to paste, ⌥Return to paste and keep the window open, ⌘Return to copy, ⌘F to reveal local files in Finder |
| Quick preview | Select an image, video, Markdown document, text file, clipboard text entry, or source file in Quick Search or Clipboard History and press ⌃Space; press it again or press Esc to close |
| AI conversation | ⌃⇧A |
| Category search | app / file / ql / sc (apps / files / quick links / shortcuts) |
| Folder browsing | Select a folder and press Tab |
| Move display / color picker / calculation history | prev, next / co / calc, then Return |
| Web search / terminal command | go keyword, yt keyword / > pwd |
| Action menu / Settings | ⌘K / ⌘, (when the window is focused) |
Customize triggers in Settings › Commands. For supported items, Quick Preview and its current shortcut appear at the top of the More menu (⌘K). Source files are syntax-highlighted by language.
If macOS uses ⌃Space to switch input sources, Asky handles the shortcut first when a preview is available. You can also change Quick Preview for Files and Applications and Clipboard History in Settings › Keyboard Shortcuts.
Development
Requires Xcode with Swift 6.2+ and XcodeGen (brew install xcodegen). Run from the repository root:
xcodegen generate
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer \
xcodebuild -project Asky.xcodeproj -scheme Asky -configuration Debug \
-derivedDataPath build/DerivedData build
open build/DerivedData/Build/Products/Debug/Asky.app
If Swift Package resolution fails on the network, add -skipPackageUpdates to the xcodebuild command.
Core checks:
(cd MCPBridge && DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift build)
(cd Packages/KulaCore && DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift test)
Image strip parsing regression: python3 App/Tests/run-agent-reply-regression.py --image-gallery (build Debug first); add --preview to open a four-image carousel for interaction checks. Live-model tests are opt-in; see image reply regression and DeepSeek input cache testing.
See the Development and Release Guide for UI regressions, Debug previews, and signing and packaging. Testing on macOS 14/15 hardware is still pending; consult the validation records for current coverage.
| Directory | Responsibility |
|---|---|
App/ |
SwiftUI / AppKit interface and interactions |
Packages/KulaCore/ |
Core logic, native Agent, and unified system access through ToolService |
MCPBridge/ |
Native MCP bridge |
PluginSupport/ |
Legacy JavaScript plugin compatibility scripts |
Docs index · Product requirements · Architecture · Design system · Plugins
Contributing
Issues and pull requests are welcome. Include your Asky and macOS versions, reproduction steps, and expected behavior when reporting a problem, and read the contributing guide before submitting a change.
License
Distributed under the MIT License. Third-party dependencies retain their respective licenses.
Ähnliche Projekte entdecken
Wird geladen…