# Repository Briefing: Intuition-Lab/personal-model
> Source: https://repoforai.com/repo/Intuition-Lab/personal-model (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Intuition-Lab/personal-model
- **Official Docs / Website**: https://intuition-lab.github.io/personal-model/
- **Category**: RAG, Data & Memory (知识库 / 爬虫 / 记忆层)
- **Primary Language**: Python
- **License**: Apache-2.0
- **Engineering Health**: B+ (74/100 · Maintenance 26/35 · Adoption 14/25 · Releases 14/20 · License 20/20)
- **Latest Release**: v0.3.2 (2026-07-12) — https://github.com/Intuition-Lab/personal-model/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: MCP, Self-Hosted, Local AI, CLI
- **Momentum**: 1,334 ★ total (+0 24h / +2 7d) · 89 forks
- **Topics**: `agent-memory`, `local-first`, `macos`, `mcp`, `personal-ai`, `personal-model`, `privacy`, `python`
- **When to Use**: Best for: Mac users who want Claude Code, Codex, Cursor Agent, or other trusted MCP clients to resume work from a shared record of recent activity, with source receipts to check what actually happened. Skip if: You need cross-platform capture, a hosted multi-tenant retrieval layer, turnkey task execution, or semantic modeling without configuring or authorizing an LLM path.

## Overview
```text
### Architecture & Core Mechanics
Personal Model is a single-owner macOS memory runtime rather than a general-purpose RAG database. A macOS Accessibility watcher, optional local OCR, a trusted ingest API, and a mobile companion bridge feed a capture buffer. The runtime groups the input into timeline blocks and sessions. A reducer turns sessions into event memory every five minutes by default, and an incremental `memory_delta/apply` stage updates the personal model.

The Python CLI uses Typer and Rich, and the manifest lists `mcp>=1.23.0` for client access. SQLite is shared across runtime processes: the daemon owns schema creation, migration, and WAL maintenance, while the `persome mcp` stdio process can read and write an initialized store without requiring the daemon to stay up. MCP is the integration boundary: the runtime supplies context and evidence, while clients choose and execute tasks.

### Key Capabilities & Differentiators
Collection and BM25 keyword recall work without an LLM. Semantic modeling requires one and organizes evidence into Points (observations), Lines (relationships or changes), Faces (patterns), Volumes (higher-order structures), and a Root (the current integrated model). When evidence is sparse, the runtime can report missing layers rather than fill them in. Clients can use `search` to find relevant context, inspect source receipts with `read_receipt` or `resolve_evidence`, and retrieve a compact `get_model_snapshot` overview before paging into specific sections.

Read-only import can seed the model from existing Markdown history. Local folders are always available, while Obsidian and Notion sources appear only when detected on the Mac. For unattended semantic processing, configure a local or hosted provider, or explicitly let the runtime use a supported coding-agent subscription through its CLI; the runtime does not receive that client's OAuth token. A trusted MCP client that supports Sampling with tools can instead process a batch of 1–10 pending sessions per request.

### Trade-offs & Limitations
Compared with product-native assistant memory, Personal Model needs more setup but gives several trusted agents access to the same evidence-linked record, including activity outside chat. Compared with a general RAG backend, it handles Mac activity capture and personal state formation for you, but is not a cross-platform or multi-tenant retrieval service. An early semantic model can remain sparse, and the five-minute reduction interval is a processing cadence, not a recall-latency guarantee.

Local storage does not mean end-to-end offline use: trusted MCP clients can read personal context, and hosted semantic processing can send selected material off the Mac. Keep the localhost endpoint off public tunnels and evaluate the client and provider boundaries before enabling them. The baseline can run without a model provider; beyond that, plan for storage growth from capture and writes, CPU load from OCR, and resource use that depends on the local model and concurrency you choose.

### Hardware & Deployment Guide
The alpha runtime requires macOS 13 or later and Xcode Command Line Tools. Its Python manifest supports 3.12 and 3.13. Install the `personal-model` PyPI distribution with `uv tool install personal-model`, then run `persome onboard` to initialize and verify the runtime. Onboarding scopes Accessibility grants to the helper and, when enabled, the event-driven watcher. It requests Screen Recording only when the capture policy requires it and never requires Full Disk Access. Local OCR uses bundled PP-OCRv6 on Apple Silicon and Apple Vision on Intel.

v0.3.0 introduced explicit onboarding and transactional updates for source installs. v0.3.1 added the PyPI distribution, and v0.3.2 added Official MCP Registry metadata and an entry point for the same local stdio server. Upgrade PyPI installations with `uv tool upgrade --python 3.12 personal-model` and rerun onboarding; reserve `persome update` for `install.sh` installations. After either upgrade, restart editors hosting stdio MCP before resuming writes so they reconnect using the updated SQLite maintenance coordination.
```

## Key Capabilities
```text
- Capture policy: Accessibility follows the active app context; Screen Recording is requested only when screenshot or OCR policy requires pixels.
- Processing: A five-minute default reducer converts active work into event memory and applies incremental model updates.
- Provenance: `search`, `read_receipt`, and `resolve_evidence` let a client retrieve context and inspect its supporting sources.
- Modeling: BM25 works without an LLM; semantic processing can use a local or hosted provider, or an explicitly authorized coding-agent subscription.
- Client access: On-demand stdio MCP serves trusted clients such as Claude Code, Codex, and Cursor Agent without putting an HTTP bearer token in their configuration.
- Data ownership: Corrections preserve an audit trail, exports are redacted by default, and explicit erasure is available.
```

## Quick Start / Clone
```bash
uv tool install personal-model
persome onboard
persome model open --after 30
```
