CoreAI Agent is a vibe-coded exploration of Apple’s Core AI and Swift APIs. It bundles local Deep and Fast models inside a native macOS app and explores what basic, private agentic workflows can feel like when inference, conversations, tools, and runtime telemetry all live on the Mac.
Reasoning, tool activity, retained-context composition, and KV-cache usage remain visible while the agent works.
The app includes persistent conversations and workspaces, streamed reasoning and Markdown responses, automatic skill discovery, configurable web-search approval, document artifacts, context compaction, and performance statistics.
- Apple Silicon Mac with substantial unified memory
- macOS 27 and Xcode 27 or newer
- Git LFS
- UV for installing the Hugging Face CLI
- About 50 GB of free disk space for the model checkout and packaged app
Deep mode uses an approximately 19 GB Qwen3.8 27B INT4 model. Fast mode uses NVIDIA Nemotron 3 Nano 4B with a native 4.6 GB Core AI INT8 conversion; reasoning is off by default and can be enabled from the mode menu. Both inference models support local 131,072-token exports. A smaller Qwen3 0.6B INT4 model generates conversation titles. Model choice is saved per conversation and can be changed mid-session; the next turn re-prefills the visible conversation with the selected model.
Clone the repository, fetch the small title model through Git LFS, and download the pinned Deep and Fast Core AI artifacts from Hugging Face:
git clone <repository-url>
cd coreai-agent
git lfs install
git lfs pull
uv tool install huggingface-hub
make downloadmake download uses the hf command installed by huggingface-hub to fetch
immutable revisions of the 128K Qwen
and Nemotron
exports.
Verify the toolchain, run the tests, and package the app:
make preflight
make test
make package
open "dist/CoreAI Agent.app"The inference models are hosted outside GitHub because their compiled payloads exceed this repository's Git LFS per-object limit. make package prefers validated local exports in Models/Qwen3.8-27B-CoreAI-128K and Models/Nemotron-3-Nano-4B-CoreAI-128K, then uses the pinned 128K downloads. make export writes experimental Qwen artifacts under .build/model-candidates; promotion into Models is deliberate and requires a complete SHA256SUMS manifest. Once packaged, the app performs no model download; Fast/Deep selection only chooses between bundled Core AI resources.
The Nemotron conversion is published at ETeissonniere/Nemotron-3-Nano-4B-CoreAI-128K under the NVIDIA Nemotron Open Model License. See the redistribution and provenance notes before distributing a build.
See COREAI.md for model provenance, reproducible export commands, and details about the local Core AI runtime adaptation.
This is an exploration, not a production assistant. It targets beta Apple APIs and tooling; the bundled inference graphs expose a 131,072-token context bound; web search asks for approval before a query leaves the Mac unless the user explicitly allows searches by default in Settings; and the generated app is intended for local development rather than distribution—it is ad hoc signed for local use, not Developer ID signed or notarized.
CoreAI Agent is an independent project and is not affiliated with, endorsed by, or sponsored by Apple Inc. Apple is a trademark of Apple Inc.; references to Core AI describe the Apple technologies explored by this project.

