# Repository Briefing: Sentient-OS-Labs/sentient-os
> Source: https://repoforai.com/repo/Sentient-OS-Labs/sentient-os (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Sentient-OS-Labs/sentient-os
- **Official Docs / Website**: https://sentient-os.ai
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Swift
- **License**: AGPL-3.0
- **Engineering Health**: A (82/100 · Maintenance 35/35 · Adoption 16/25 · Releases 20/20 · License 11/20)
- **Latest Release**: 3.2.3 (2026-11-27) — https://github.com/Sentient-OS-Labs/sentient-os/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Self-Hosted, Local AI
- **Momentum**: 806 ★ total (+1 24h / +11 7d) · 85 forks
- **Topics**: `ai-agents`, `intelligence-layer`, `knowledge-base`, `llm`, `local-first`, `macos`, `mcp`, `on-device-ai`, `personal-ai`, `privacy`, `proactive-intelligence`, `second-brain`
- **When to Use**: Best for: Apple silicon users who repeatedly reconstruct context from mail, notes, and files before drafting replies, preparing expense reports, or updating records, and want to review the result before committing it. Skip if: You need a headless automation service, deterministic execution for fixed workflows, or an air-gapped setup that must retain the built-in Summarize, Proofread, and voice features.

## Overview
```text
### Architecture & Core Mechanics
Sentient OS is a native Swift macOS agent with a two-stage inference pipeline. A built-in Gemma 4 E4B model processes selected local sources through a customized LiteRT-LM integration, using Metal for text and vision. Filters help discard irrelevant material and common sensitive identifiers before summaries pass to a separately chosen local or hosted model. That model organizes knowledge into ordinary Markdown under `~/Sentient OS - Knowledge Base/`; the app's reader and graph view use the same files.

The engine implementation at `Sentient OS macOS/Engine/Engine.swift` reuses a loaded engine across a batch but starts a fresh conversation for each item and releases its context afterward. Visual-token, context, KV-cache, and output limits constrain per-item work; speculative decoding uses the model's multi-token prediction heads, and GPU recovery helps the batch survive interruptions. A separate scheduler and dedicated wake helper manage bounded awake sessions and checkpointed progress.

### Key Capabilities & Differentiators
The analysis pipeline can draw from enabled files, saved screenshots, iMessage, WhatsApp, Apple Notes, Apple Mail, and Apple Calendar. Sidekick grounds a short request in the current screen and accumulated knowledge, then clicks, types, attaches files, or switches windows in existing apps and the logged-in browser using its own cursor. Magic Reply uses the visible conversation, relevant knowledge, and editable examples in `writingstyle.md` to insert an unsent draft. Overnight preparation surfaces suggested next steps for review rather than executing them.

Backend selection is split by function. The main model can use a compatible local vision server via the Responses API or a supported hosted option such as ChatGPT, Claude, or OpenRouter. Magic Reply is configured separately and supports compatible Responses and Chat Completions endpoints, including local options through LM Studio and Ollama. Summarize, Proofread, and voice dictation use separate cloud routes.

### Trade-offs & Limitations
Compared with a request-driven screen agent, Sentient OS does more work before the user asks: it processes recurring sources and maintains context that can shorten the next handoff. The cost is an ongoing background workload and a broader set of data sources to govern. Compared with deterministic automation, screen-driven interaction can handle more varied chores without a dedicated integration for each one, but final form fields, attachments, and account changes deserve review before commitment.

Local triage reduces per-item upload and cloud inference costs, but local-first is not the same as offline. Hosted models process the context supplied to them, and invoking a screen-aware action can capture a screenshot. A larger local model trades provider exposure for unified-memory and compute demands; fit depends on quantization, context length, and what else is running. The AGPL-3.0 license warrants review for redistribution or modified network deployments; commercial licensing is a separate option.

### Hardware & Deployment Guide
For macOS 3.2.3, use an Apple silicon Mac running macOS 15.4 or later. Install with `brew install --cask sentient-os-labs/tap/sentient-os`. The 8 GB baseline applies to the built-in model, not a second large vision model. For broader offline use, download the models and runtimes, select a compatible local main model and a local Magic Reply provider separately, and use local sources. No separate Sentient account is required, but cloud quick actions, online connectors, and web tasks retain network dependencies.

For overnight processing, keep the menu-bar app running and configure overnight wake. It can wake a plugged-in Mac at 3 AM even with the lid closed. Battery runs are opt-in and subject to charge and thermal checks. macOS 3.2.3 (build 30) is a version-only rebuild that retains 3.2.2's functionality and Proofread changes. A separate Windows 3.1.10 release updates Sidekick-key onboarding for right Alt or right Ctrl; that release note does not establish parity with the macOS pipeline.
```

## Key Capabilities
```text
- Inference split: Built-in Gemma 4 E4B analyzes selected sources; a separately chosen model organizes knowledge and supports planning and Sidekick.
- Apple silicon runtime: Customized LiteRT-LM integration uses Metal for text and vision and multi-token prediction for speculative decoding.
- Batch isolation: A warm engine is reused across items, but every item gets a fresh conversation with bounded context and KV-cache budgets.
- Scheduling: A dedicated wake helper supports bounded overnight sessions with checkpoints; eligible idle work pauses when active use resumes.
- Provider interfaces: The local main model uses a vision-checked Responses endpoint; Magic Reply separately accepts compatible Responses and Chat Completions endpoints.
- Review boundaries: Magic Reply leaves drafts unsent, and overnight suggestions do not execute until the user starts them.
```

## Quick Start / Clone
```bash
brew install --cask sentient-os-labs/tap/sentient-os
```
