Lattice AI — local-first Digital Brain that keeps your knowledge durable across any AI model.
Project description
Lattice AI
Your model is the voice you use today. Your Brain is the asset you keep.
모델은 갈아타도, 내 지식은 내 컴퓨터에 남는 로컬 우선 AI 브레인.
Chat, files, folders, notes, and web pages all flow into one durable knowledge graph on your computer. Any model — local MLX or cloud — can speak with that memory. Nothing leaves your machine without explicit consent.
대화·파일·폴더·웹페이지가 전부 내 컴퓨터 안의 지식 그래프로 쌓이고, 어떤 모델이든 그 기억을 이어받아 대화합니다.
What You Can Do
| Chat with a Brain that remembers — every conversation grows durable, source-linked memory |
See how knowledge connects — a real relationship graph, not a file list |
| Capture anything — files, whole folders, notes, screenshots, web pages |
Automate with review — agent changes become proposals you approve first |
| Pick a model in one click — recommended local models for your hardware |
Stay in control — audit, roles, retention in a separate admin surface |
Why Lattice AI
- Own your memory — knowledge lives in a local SQLite Brain you can back up,
export, inspect, and restore (
.latticebrainencrypted archive). - Model-independent — switch between local MLX models and cloud models without rebuilding context from zero.
- Honest by design — the Brain tells you when retrieval context is limited, when captured pages extracted poorly, and when the vector index is catching up.
- Safe automation — automations are consent-first drafts; edits to existing content always pass through a reviewable proposal with a diff.
매번 AI에게 프로젝트 맥락을 다시 설명하고 있다면, 지식이 여러 서비스에 흩어져 있다면, 그 기억을 특정 회사가 아니라 내가 소유하고 싶다면 — Lattice AI가 그 브레인입니다.
Quick Start
pip install ltcai # or: npm install -g ltcai
LTCAI # then open http://127.0.0.1:4825/app
Apple Silicon local models: pip install "ltcai[local]". Desktop app (Tauri)
ships as a dmg on each GitHub Release.
First-run flow — wake the Brain, pick the owner, load a recommended model:
Screenshot index and capture notes: output/release/v10.2.0/SCREENSHOT_INDEX.md
Current Release
The current release is 10.2.0 — Load-Bearing Fixes:
A full code review of 10.1.1 scored the codebase 71/100 and found two things that were true but invisible. This release is that review's response.
- A database connection leak that hid behind garbage collection.
with sqlite3.connect(...)commits but never closes, and 70+ call sites relied on it. Nothing showed until something held a stack frame alive — a profiler, a logged traceback, a coverage tracer — and then descriptors ran out. Every one of those sites now closes. - Coverage is measurable for the first time: 71%. It could not be run before, because running it was the thing that exhausted descriptors. There is now a floor in CI so it cannot silently fall.
- "Sensitive memories are never sent" is finally true. The filter was real,
correct, and wired — but nothing in the product could mark a memory, and the
blocked-type list was empty, so it could never fire. You can now mark any
memory from the boundary panel, files under
.ssh/.aws/.envand friends are flagged automatically at ingestion, and credential-shaped node types are blocked outright. - Knowledge that leaves is now redacted and recorded. Secret-shaped text is stripped from the outbound payload, and every send — and every refusal — writes an audit entry naming what went, how much, and where to.
- 112 silent
except: passhandlers now say something. Behaviour is unchanged; each records the failure at debug level, so a genuine bug in an optional path is no longer indistinguishable from the optional thing being absent. - The lint net was widened to the bug classes that actually bit — loop
variable capture, truncating
zip, silent handlers — and mypy now runs on the trust-critical modules. CI gained macOS and Python 3.14, so the machine this is developed on and the platform it ships a.dmgfor are both tested.
Release notes: RELEASE.md · Full history: docs/CHANGELOG.md
Expected artifacts for 10.2.0 release must use exact filenames:
dist/ltcai-10.2.0-py3-none-any.whldist/ltcai-10.2.0.tar.gzltcai-10.2.0.tgzdist/ltcai-10.2.0.vsixsrc-tauri/target/release/bundle/dmg/Lattice AI_10.2.0_aarch64.dmg
Do not use wildcard artifact uploads. Package registry publishing remains owner-run.
Architecture At A Glance
FastAPI on localhost is the source of truth; the React/Vite frontend and the
Tauri desktop shell sit on top; the independent lattice_brain package owns
the graph, memory, ingestion, and portability. Local-first by default — cloud
calls, downloads, Telegram, and update checks are opt-in.
See ARCHITECTURE.md for details and
docs/DEVELOPMENT.md for the developer workflow
(npm install && npm run dev, validation via npm run lint,
npm run test:unit, npm run test:visual).
Known Limitations
- External package registries are owner-published and can lag behind GitHub.
- PostgreSQL/pgvector is optional scale/migration tooling. SQLite remains the live local Brain store in 10.2.0.
- Docker, model downloads, cloud model calls, Telegram, Brain Network, and update checks require explicit user action.
- Conversation does not fabricate answers when no model is loaded. Agent and workflow simulation without a loaded LLM is deterministic and LLM-free (it does not call a model) — labeled as such, never presented as autonomous model success.
- Some backend-generated messages (for example the Postgres DSN notice) are produced server-side in English and are shown as-is; server-side i18n is not part of 10.2.0.
Release History
| Version | Theme |
|---|---|
| 10.2.0 | Load-Bearing Fixes |
| 10.1.1 | Reachable Boundary |
| 10.1.0 | Hybrid Brain |
| 10.0.1 | One Source of Truth |
| 10.0.0 | Plain Language |
| 9.9.9 | Lean Shell |
| 9.9.8 | Autonomy Dial |
| 9.9.7 | No Gaps Left |
| 9.9.6 | Same Brain Everywhere |
| 9.9.5 | Closed Gaps |
| 9.9.4 | Durable Loops |
| 9.9.3 | Closed Loops |
| 9.9.2 | Artifact Trust |
| 9.9.1 | Clean Foundations |
| 9.9.0 | Fail-Closed Trust |
| 9.8.0 | Honest Knowledge Pipeline |
| 9.7.0 | Proactive Hybrid Brain |
| 9.6.0 | Trusted Agent Loop |
| 9.5.0 | Command Center |
| 9.4.0 | Question-Driven Everyday Automation |
| 9.3.0 | Proactive Brain Intelligence |
| 9.2.0 | Model-Agnostic File Generation |
| 9.1.0 | Code Review Completion & Fail-Closed Runtime |
| 9.0.0 | Code Review Closure & Runtime Cleanup |
| 8.9.0 | Scoped Memory & Tool Policy Hardening |
| 8.8.0 | Brain Core Extraction & Recall Proof Hardening |
| 8.7.0 | Runtime State Hygiene & Release Evidence Refresh |
| 8.6.0 | Desktop Capture & Navigation Reliability |
| 8.5.0 | Tool Registry Readiness & Config DI |
| 8.4.0 | Action-Aware Brain Chat |
| 8.3.0 | Orchestrated Brain Readiness |
| 8.2.0 | Brain Brief |
| 8.1.0 | Intuitive Brain Home |
| 8.0.0 | Runtime Architecture Contract |
Per-release details: RELEASE_NOTES.md
Documentation
- docs/WHY_LATTICE.md — product philosophy
- docs/TRUST_MODEL.md — local-first trust model
- PRIVACY.md — privacy and external communication policy
- FEATURE_STATUS.md — feature status and limitations
- SECURITY.md — security posture
- RELEASE.md — release guide and notes
License
MIT. See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ltcai-10.2.0.tar.gz.
File metadata
- Download URL: ltcai-10.2.0.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a78ebb99b93a050f37907a45a56213573e34e7e9a46f81c61d0ddfa87c6b63b8
|
|
| MD5 |
6d5bd8f421ceb63f818794b0716e5cf0
|
|
| BLAKE2b-256 |
80d02d4f579e9fea3849c935255d71833ff6bcb0164937723cfb0319fc64caa8
|
File details
Details for the file ltcai-10.2.0-py3-none-any.whl.
File metadata
- Download URL: ltcai-10.2.0-py3-none-any.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a0f5783bd26d7b4ce61fa0874a7fab6889fefb499051fff6353b57d4f5c2239
|
|
| MD5 |
8e94c63f5bc592bd6118c4e01f387d07
|
|
| BLAKE2b-256 |
a59dfff7afaca45b2e471146b3ec80d0b9ebb8ae9d5ebcb464e9c325d6f350e8
|