{"id":49143555,"url":"https://github.com/cai-layer/cai","last_synced_at":"2026-04-22T02:01:04.330Z","repository":{"id":337099617,"uuid":"1152320286","full_name":"cai-layer/cai","owner":"cai-layer","description":"Press ⌥C on anything. Transform with AI, scripts, and shortcuts on any selection. 100% local and private. ","archived":false,"fork":false,"pushed_at":"2026-04-20T17:01:03.000Z","size":46532,"stargazers_count":23,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-20T17:41:35.877Z","etag":null,"topics":["clipboard-manager","llm","local-ai","macos","menu-bar","privacy","productivity","swiftui"],"latest_commit_sha":null,"homepage":"https://getcai.app/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cai-layer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"soyasis"}},"created_at":"2026-02-07T17:46:33.000Z","updated_at":"2026-04-20T17:01:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cai-layer/cai","commit_stats":null,"previous_names":["soyasis/cai","clipboard-ai/cai","cai-layer/cai"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/cai-layer/cai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cai-layer%2Fcai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cai-layer%2Fcai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cai-layer%2Fcai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cai-layer%2Fcai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cai-layer","download_url":"https://codeload.github.com/cai-layer/cai/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cai-layer%2Fcai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32117798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clipboard-manager","llm","local-ai","macos","menu-bar","privacy","productivity","swiftui"],"created_at":"2026-04-22T02:00:31.863Z","updated_at":"2026-04-22T02:01:04.322Z","avatar_url":"https://github.com/cai-layer.png","language":"Swift","funding_links":["https://github.com/sponsors/soyasis"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/cailogo-dark-rounded.png\" width=\"128\" height=\"128\" alt=\"Cai logo\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eCai\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003ePress ⌥C on anything.\nRun custom actions, locally. \u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n  Select any text or image and transform with AI, scripts, shortcuts and more. \u003c/br\u003eZero app switching. \n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"../../releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/cai-layer/cai?label=download\u0026color=blue\" alt=\"Download\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/macOS-14.0%2B-blue\" alt=\"macOS 14.0+\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Swift-5.9-F05138\" alt=\"Swift 5.9\"\u003e\n  \u003ca href=\"https://huggingface.co/mlx-community\"\u003e\u003cimg src=\"https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-MLX%20Community-yellow\" alt=\"Hugging Face\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/runs%20100%25%20locally-black\" alt=\"Runs locally\"\u003e\n\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://getcai.app\"\u003eWebsite\u003c/a\u003e · \u003ca href=\"https://getcai.app/docs/\"\u003eDocs\u003c/a\u003e · \u003ca href=\"../../releases/latest\"\u003eDownload\u003c/a\u003e · \u003ca href=\"https://github.com/cai-layer/cai-extensions\"\u003eExtensions\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/cai-demo.gif\" width=\"720\" alt=\"Cai demo — select text, press ⌥C, pick an action\"\u003e\n\u003c/p\u003e\n\n## What\n\nSelect any text or image anywhere, press **⌥C**, and run AI prompts, shell scripts, or connectors like GitHub and Linear **without the app switching**. One hotkey, no config, everything runs locally.\n\nNo cloud. No telemetry. No accounts.\n\n## How It Works\n\n1. **Select text or copy an image** anywhere on your Mac\n2. Press **⌥C** (Option+C)\n3. Cai detects the content type and shows relevant actions\n4. Pick an action with arrow keys or **⌘1–9**\n5. Hit **return** to finish. Result is auto-copied to your clipboard — just **⌘V** to paste\n\n**Examples:**\n\n- Take a screenshot → Create GitHub issue\n- Select a recipe → Ask AI: _\"Extract ingredients for 2 people\"_\n- Select `\"serendipity\"` → Define, Explain, Translate, Search\n- Select `\"Let's meet Tuesday at 3pm at Starbucks\"` → Create calendar event, Open in Maps\n- Select an email in Mail → Reply, Summarize, Translate\n\n→ [Read the full How It Works guide](https://getcai.app/docs/usage/how-it-works/)\n\n## Features\n\n- **Smart content detection** — recognizes what you copied (text, image, URL, JSON, meeting, address) and shows the right actions\n- **Built-in AI** — [Apple Intelligence](https://getcai.app/docs/getting-started/llm-setup/) on macOS 26+, or in-process MLX inference on Apple Silicon. No server, no cloud, no setup\n- **GitHub \u0026 Linear** — create issues from any selected text with AI-generated title, body, and duplicate detection\n- **Custom actions** — save reusable AI prompts, URL templates, and shell commands as one-click actions\n- **Image to Text** — on-device OCR via Apple Vision framework\n- **Bring your own LLM** — works with [LM Studio](https://lmstudio.ai/), [Ollama](https://ollama.com/), any OpenAI-compatible server, or any model from [HuggingFace mlx-community](https://huggingface.co/mlx-community)\n\nAlso includes:\n\n- **Custom output destinations** (Mail, Notes, webhooks, AppleScript)\n- **Follow-up questions**\n- **Context Snippets** (pass per-app context to the LLM)\n- **Clipboard history** (last 100, search and pin)\n- Keyboard-first (arrow keys, ⌘1–9)\n- Community extensions\n\n→ [See all features in the docs](https://getcai.app/docs/)\n\n## Installation\n\n### Homebrew\n\n```bash\nbrew tap cai-layer/cai \u0026\u0026 brew install --cask cai\n```\n\n### Manual Download\n\n1. Download the `.dmg` from the [latest release](../../releases/latest)\n2. Open the DMG and drag **Cai.app** to your Applications folder\n\n### After Install\n\n1. Open the app and grant **Accessibility permission** when prompted\n2. On macOS 26+, Cai uses Apple Intelligence automatically. Otherwise, the built-in MLX model downloads on first launch — or skip if you already use LM Studio / Ollama\n\n→ [Full installation guide](https://getcai.app/docs/getting-started/installation/) · [LLM setup](https://getcai.app/docs/getting-started/llm-setup/)\n\n### Build from Source\n\n```bash\ngit clone https://github.com/cai-layer/cai.git\ncd cai/Cai\nopen Cai.xcodeproj\n```\n\nIn Xcode: select the **Cai** scheme and **My Mac** as destination, then **Product → Run** (⌘R).\n\n\u003e **Note:** The app requires **Accessibility permission** and runs **without App Sandbox** (required for global hotkey and CGEvent posting).\n\n## What's New\n\n→ Check the [full changelog](../../releases/latest)\n\n## Documentation\n\nFull documentation is at [getcai.app/docs](https://getcai.app/docs/):\n\n- **[How It Works](https://getcai.app/docs/usage/how-it-works/)** — content detection, smart actions, follow-ups\n- **[Keyboard Shortcuts](https://getcai.app/docs/usage/keyboard-shortcuts/)** — every key and what it does\n- **[LLM Setup](https://getcai.app/docs/getting-started/llm-setup/)** — Apple Intelligence, MLX, LM Studio, Ollama, cloud providers\n- **[Choosing a Model](https://getcai.app/docs/getting-started/llm-setup/#choosing-a-model)** — model picker guide and quantization explainer\n- **[Ask AI](https://getcai.app/docs/usage/custom-actions/)** — free-form prompts on selected text\n- **[Custom Actions](https://getcai.app/docs/usage/saved-actions/)** — save prompts, URLs, and shell commands\n- **[Custom Destinations](https://getcai.app/docs/usage/destinations/)** — webhooks, AppleScript, deeplinks, shell\n- **[Connectors](https://getcai.app/docs/usage/connectors/)** — GitHub and Linear integration\n- **[Context Snippets](https://getcai.app/docs/usage/context-snippets/)** — per-app context for smarter actions\n- **[Community Extensions](https://getcai.app/docs/usage/extensions/)** — install and create shared actions\n- **[Troubleshooting](https://getcai.app/docs/troubleshooting/common-issues/)** — common issues and fixes\n\n## Requirements\n\n- **macOS 14.0** (Sonoma) or later\n- **Apple Silicon** (M1 or later) for the built-in AI engine\n- **8 GB RAM** minimum, 16 GB recommended for larger models\n- **Accessibility permission** (for global hotkey ⌥C)\n\n## Under the Hood\n\n- **SwiftUI + AppKit** — native macOS, no Electron\n- **[MLX-Swift](https://github.com/ml-explore/mlx-swift)** — in-process LLM inference on Apple Silicon, no subprocess or server\n- **No App Sandbox** — global hotkey requires CGEvent posting outside the sandbox\n- **[MCP](https://modelcontextprotocol.io/) via ~200-line JSON-RPC client** (Beta) — GitHub and Linear connectors with zero external MCP dependencies\n\n---\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcai-layer%2Fcai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcai-layer%2Fcai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcai-layer%2Fcai/lists"}