Lattice AI is a local-first Digital Brain that unifies your conversations, files, folders, notes, and web captures into one private Knowledge Graph you own. Local inference is the default; cloud models are strictly optional, and nothing leaves your machine without explicit consent.
Why Lattice AI
- Local-First Digital Brain & Hardware Auto-Fit — All memories, provenance, and graph relationships live locally in SQLite and portable encrypted
.latticebrainarchives. Fresh installs work offline out-of-the-box with deterministiclattice-local-hash-v1lexical/hash embeddings and upgrade seamlessly to hardware-sized local EmbeddingGemma 2 (768d) or configured semantic providers (mlx-community,ggml-orgGGUF,onnx-community) with live SSE download progress (MB/s&ETA). - Hybrid GraphRAG (BM25F + Vector + 2-Hop Knowledge Graph RRF) — Combines field-weighted Okapi BM25F (with Korean particle stripping, CJK bigrams, and identifier subwords), dense/subword vector recall, and 1-hop/2-hop Knowledge Graph structural expansion (
RELATES_TO,MENTIONS,PART_OF,[[wikilinks]],#tags) via Reciprocal Rank Fusion — backed by graph-aware agent skills and MCP search tools. - Proposal-First Safe Autonomy & Review Center — Additive creations run with minimal friction; edits or deletions of existing user files and cloud-extracted memories stage as hash-verified Review Center proposals with side-by-side diffs before applying. Even small 2B-class local models can safely act via guided prompts, and workflow/agent simulation without a loaded LLM is explicitly deterministic and LLM-free (it does not call a model).
- One Brain Across Every Surface — Use the macOS Desktop App (
.dmg), the Web Studio (/app), the VS Code / Cursor / Open VSX Extension, the Browser Extension, or theLTCAICLI against the same local Brain.
Universal Adaptive Agent Harness Benchmark (v13.4.0)
LatticeAI 13.4.0 introduces the Universal Adaptive Agent Harness (rust/lattice-agent/src/kernel/): an architectural harness that elevates small, local instruction-tuned models (0.5B to 7B parameters) to frontier-grade reliability across tool chains, web interaction, computer use, and bi-temporal RAG grounding with zero per-model branches.
Empirical results measured against Qwen2.5-0.5B-Instruct-Q4_K_M across 25 real-world benchmark tasks:
| Capability Category | Raw Baseline (No Harness) | Standard Loop (v13.3) | Adaptive Harness (v13.4.0) | Absolute Improvement |
|---|---|---|---|---|
| Tool Calling | 20.0% (1/5) | 0.0% (0/5) | 80.0% (4/5) | +60.0 pp |
| Web Handling | 0.0% (0/5) | 80.0% (4/5) | 80.0% (4/5) | +80.0 pp |
| Computer Use | 0.0% (0/5) | 0.0% (0/5) | 100.0% (5/5) | +100.0 pp |
| Answer Quality | 60.0% (3/5) | 20.0% (1/5) | 60.0% (3/5) | 0.0 pp (+40 pp vs std) |
| RAG Grounding | 60.0% (3/5) | 20.0% (1/5) | 100.0% (5/5) | +40.0 pp (+80 pp vs std) |
| Overall Pass Rate | 28.0% (7/25) | 24.0% (6/25) | 84.0% (21/25) | +56.0 pp (+200.0% relative gain) |
Read the full empirical benchmark report, methodology, and reproducibility guide in ADAPTIVE_HARNESS_BENCHMARK.md (or Korean mirror).
Quick Start
1. Desktop App (macOS)
Download Lattice AI_14.1.1_aarch64.dmg from GitHub Releases and launch the app.
2. One-Command CLI & Web Studio
pip install ltcai # or: npm install -g ltcai
LTCAI # opens the Web Studio at http://127.0.0.1:4825/app
- Apple Silicon local models (MLX):
pip install "ltcai[local]" - Pointer automation tools (optional):
pip install "ltcai[pointer]"
3. Editor Extension (VS Code · Cursor · Antigravity)
Install parktaesoo.ltcai from VS Code Marketplace or Open VSX to sync files, ask Brain-grounded questions, and review proposals directly inside your editor.
First Five Minutes
- Wake your Brain and confirm your local owner profile.
- Pick a recommended local model & embedder sized for your hardware (with real-time SSE download progress).
- Capture a source — drop a folder, document, note, or web page.
- Ask in your own words and inspect the grounded citations, Knowledge Graph connections, and Review Center diffs.
Product Tour
| Onboarding & Hardware Fit | Live Model Library & SSE Progress |
|---|---|
| Brain Chat Home — grounded answers with source proof | Memory Graph — explore 2-hop concept & file links |
| Capture & Knowledge Journey — watch material become memory | Review Center — inspect diffs before any edit applies |
| Brain Chronicle — growth curve, heatmap & daily story | Autonomy Dial & System — plain-language permission controls |
Full visual index: output/release/v14.1.1/SCREENSHOT_INDEX.md (login & library views: 01-login.png, 06-capture.png, 07-model-library.png).
Documentation & Architecture Hub
| Area | Document | What You'll Find |
|---|---|---|
| Getting Started | docs/ONBOARDING.md | 5-minute product flow and first-run guarantees |
| Product Philosophy | docs/WHY_LATTICE.md | Why the Brain outlives any individual AI model |
| System Architecture | ARCHITECTURE.md | lattice-host Rust server, single GraphWriter, and 20-route Python AI worker |
| Feature Matrix | FEATURE_STATUS.md | Current shipped capabilities and honest system boundaries |
| Adaptive Harness Benchmark | docs/ADAPTIVE_HARNESS_BENCHMARK.md | 25-task empirical study (28.0% → 84.0% on Qwen2.5-0.5B-Instruct-Q4_K_M) |
| Operations & Self-Hosting | docs/OPERATIONS.md | Storage layout, .latticebrain backup/restore, and public mode checklist |
| Enterprise & Open Core | docs/ENTERPRISE.md | Open-core capability seam and EDITION_STRATEGY.md |
| Security & Privacy | SECURITY.md · PRIVACY.md | Threat model, loopback defaults, egress audit, and TRUST_MODEL.md |
| Contributor Guide | docs/DEVELOPMENT.md · CONTRIBUTING.md | Local build, Rust crate maps, quality gates, and docs/ROADMAP.md |
| CI / CD & Release Gates | docs/CI_AND_RELEASE_GATES.md | Hard CI-gated auto-CD, parallel test matrix, and supply-chain hardening |
| Releases & Changelog | RELEASE.md · docs/CHANGELOG.md | Per-release notes (docs/releases/) and RELEASE_NOTES.md |
Current Release
The current release is 14.1.1 — Living Synthesis:
- Repository-Wide Python Formatting & Global
C901Enforcement — Formatted all 219 Python files withruff format .(recorded in.git-blame-ignore-revs), wiredruff format --check .intonpm run lint:pythonand CI, decomposedcreate_models_routerandcreate_worker_compute_router, and removed all remaining"C901"per-file ignores inpyproject.tomlso McCabemax-complexity = 20is enforced globally with zero exemptions. - Fail-Closed Server i18n Ratchet & Container Hygiene — Explicitly classified
worker_compute_render.pyandworker_resilience.pyinNON_ROUTER_HELPERSsoscripts/check_server_i18n.mjsenforces0 unclaimedmodules underlatticeai/api/, and added explicit--chown=lattice:lattice --chmod=0755to thelattice-hostruntime copy inDockerfile. - Built on v14.1.0 Foundation — Unified Rust ↔ Python offset-free UTC timestamps, fail-fast Tauri production port pinning (
4825), strict TypeScript 7noUncheckedIndexedAccessat 100% Vitest coverage, PR Playwright visual smoke, and 100% EN↔KO bidirectional documentation parity.
Release notes & exact 14.1.1 distribution artifacts
Release notes: docs/releases/RELEASE_NOTES_v14.1.1.md · Guide: RELEASE.md · History: docs/CHANGELOG.md.
Expected artifacts for 14.1.1 must use exact filenames:
dist/ltcai-14.1.1-py3-none-any.whldist/ltcai-14.1.1.tar.gzltcai-14.1.1.tgzdist/ltcai-14.1.1.vsixsrc-tauri/target/release/bundle/dmg/Lattice AI_14.1.1_aarch64.dmg
Do not use wildcard artifact uploads. Package registry publishing runs via .github/workflows/publish.yml (CD) when the GitHub Release is published.
Honest Boundaries
- Local by default: SQLite is the live Brain store; cloud models (
cli_oauthorapi_keyprobed viaGET /models), model downloads, Brain Network, and update checks require explicit user action. - Honest retrieval & simulation: When no LLM is loaded, agent and workflow simulation is deterministic and LLM-free (it does not call a model) and is labeled as such. Exact brute-force vector search is the default (
LATTICEAI_VECTOR_INDEX=hnswopts intohnsw+rescoreat 512+ vectors). - Safe deletion & signing: Watch prune removes vanished files from the Knowledge Graph only after confirmation (never from disk). The macOS
.dmgis ad-hoc signed, so first launch uses the standard Gatekeeper allow step. Remaining honest gaps are tracked in docs/ROADMAP.md and FEATURE_STATUS.md.
Release History
Public release history in this repository covers v13.0.0+ (the Rust-host + domain-grouped architecture). Full per-release notes live in RELEASE_NOTES.md and docs/releases/.
| Version | Theme | Release Note |
|---|---|---|
| 14.1.1 | Living Synthesis | RELEASE_NOTES_v14.1.1.md |
| 14.1.0 | Living Synthesis | RELEASE_NOTES_v14.1.0.md |
| 14.0.0 | Living Synthesis | RELEASE_NOTES_v14.0.0.md |
| 13.9.0 | Living Synthesis | RELEASE_NOTES_v13.9.0.md |
| 13.8.0 | Living Synthesis | RELEASE_NOTES_v13.8.0.md |
| 13.7.2 | Living Synthesis | RELEASE_NOTES_v13.7.2.md |
| 13.7.1 | Living Synthesis | RELEASE_NOTES_v13.7.1.md |
| 13.7.0 | Living Synthesis | RELEASE_NOTES_v13.7.0.md |
| 13.6.0 | Living Synthesis | RELEASE_NOTES_v13.6.0.md |
| 13.5.0 | Living Synthesis | RELEASE_NOTES_v13.5.0.md |
| 13.4.2 | Living Synthesis | RELEASE_NOTES_v13.4.2.md |
| 13.4.1 | Living Synthesis | RELEASE_NOTES_v13.4.1.md |
| 13.4.0 | Living Synthesis | RELEASE_NOTES_v13.4.0.md |
| 13.3.1 | Living Synthesis | RELEASE_NOTES_v13.3.1.md |
| 13.3.0 | Living Synthesis | RELEASE_NOTES_v13.3.0.md |
| 13.2.1 | Living Synthesis | RELEASE_NOTES_v13.2.1.md |
| 13.2.0 | Living Synthesis | RELEASE_NOTES_v13.2.0.md |
| 13.1.0 | Living Synthesis | RELEASE_NOTES_v13.1.0.md |
| 13.0.0 | Sovereign Synthesis | RELEASE_NOTES_v13.0.0.md |
Metadata
Release files for ltcai 14.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ltcai-14.1.1.tar.gz | 2.5 MB | Without provenance | Details for ltcai-14.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ltcai-14.1.1-py3-none-any.whl | Python 3 | none | any | Details for ltcai-14.1.1-py3-none-any.whl |
Total release size: 4.6 MB
Release files / ltcai-14.1.1.tar.gz
| Download URL | ltcai-14.1.1.tar.gz |
|---|---|
| Size | 2.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b740d894b33edb734fe19a08787f88f96ba7b8375007321eb4ce804c35e9c85c
|
|
BLAKE2b-256 checksum How to use checksums |
e2ff72f0dc257b75c57f1485c2e4d5389de776b5e8fdd592b7b6a39df9885fab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Release files / ltcai-14.1.1-py3-none-any.whl
| Download URL | ltcai-14.1.1-py3-none-any.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce730de2a49eed08a79a7f92132208e8f50206679f1558c1d354762c05ebe2af
|
|
BLAKE2b-256 checksum How to use checksums |
b1d7c35a854224d15e720b10497bc91abfc3de0150f3d8c7e19c59803eb6c12d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.18
|
Security for ltcai 14.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.