Skip to main content

English 한국어

Lattice AI

Your model is the voice you use today. Your Brain is the asset you keep.

PyPI Version npm Version VS Code Marketplace Version Open VSX Version CI Status CD Status License


v14.1.0 Living Brain walkthrough

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 .latticebrain archives. Fresh installs work offline out-of-the-box with deterministic lattice-local-hash-v1 lexical/hash embeddings and upgrade seamlessly to hardware-sized local EmbeddingGemma 2 (768d) or configured semantic providers (mlx-community, ggml-org GGUF, 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 the LTCAI CLI 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.0_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

  1. Wake your Brain and confirm your local owner profile.
  2. Pick a recommended local model & embedder sized for your hardware (with real-time SSE download progress).
  3. Capture a source — drop a folder, document, note, or web page.
  4. 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
Recommended Models Install & Load Progress
Brain Chat Home — grounded answers with source proof Memory Graph — explore 2-hop concept & file links
Brain Chat Home Memory Graph
Capture & Knowledge Journey — watch material become memory Review Center — inspect diffs before any edit applies
Material to Memory Review Center
Brain Chronicle — growth curve, heatmap & daily story Autonomy Dial & System — plain-language permission controls
Brain Chronicle Settings

Full visual index: output/release/v14.1.0/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.0 — Living Synthesis:

  • Unified UTC Timestamps & Fail-Fast Tauri Pinned Port — Unified Rust ↔ Python timestamps onto offset-free UTC (YYYY-MM-DDTHH:MM:SS) across clock.rs, lattice_brain/utils.py, and _kg_fsutil.py (verified under Asia/Seoul, America/New_York, and UTC), and introduced PortPolicy::PinnedProduction in src-tauri so production desktop builds fail fast on port 4825 conflicts instead of drifting off the pinned CSP/capability origin.
  • Full-Stack Static Analysis & Type Safety Hardening — Enabled Ruff "BLE", lowered McCabe max-complexity from 30 to 20, and minimized Bandit ignores across Python; moved CSRF strings into rust/lattice-auth/src/messages.rs with a structured CsrfReason enum and simplified infallible Tauri commands; and enabled TypeScript 7 "noUncheckedIndexedAccess": true across 68 frontend files (457 errors resolved at 100% Vitest coverage across 113 files / 1,852 tests).
  • PR Visual Regression Gate & v14.1.0 Documentation Modernization — Enabled the Playwright visual smoke job on pull requests as well as pushes to main, and refreshed all canonical, reference, and Korean mirror Markdown documentation to v14.1.0 with 100% EN↔KO bidirectional parity.
Release notes & exact 14.1.0 distribution artifacts

Release notes: docs/releases/RELEASE_NOTES_v14.1.0.md · Guide: RELEASE.md · History: docs/CHANGELOG.md.

Expected artifacts for 14.1.0 must use exact filenames:

  • dist/ltcai-14.1.0-py3-none-any.whl
  • dist/ltcai-14.1.0.tar.gz
  • ltcai-14.1.0.tgz
  • dist/ltcai-14.1.0.vsix
  • src-tauri/target/release/bundle/dmg/Lattice AI_14.1.0_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_oauth or api_key probed via GET /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=hnsw opts into hnsw+rescore at 512+ vectors).
  • Safe deletion & signing: Watch prune removes vanished files from the Knowledge Graph only after confirmation (never from disk). The macOS .dmg is 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.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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ltcai 14.1.0
File Size Uploaded Provenance Actions
ltcai-14.1.0.tar.gz 2.5 MB Without provenance Details for ltcai-14.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ltcai 14.1.0
File Interpreter ABI Platform Actions
ltcai-14.1.0-py3-none-any.whl Python 3 none any Details for ltcai-14.1.0-py3-none-any.whl

Total release size: 4.6 MB

Release files / ltcai-14.1.0.tar.gz

Download URL ltcai-14.1.0.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
f4f9262382e47564ecd1e651e492d0aaa2bc8559aca4a1f00fc7e2147b3ebb92
BLAKE2b-256 checksum
How to use checksums
0f57b81edf8b7339fc63ea3a3f406d5288500b8db52d307ebb6d35df14174ccc
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.0-py3-none-any.whl

Download URL ltcai-14.1.0-py3-none-any.whl
Size 2.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a857bc1a8a81f1b815edb8f7d502949e304596d45df56e60b3b27c3759e9de57
BLAKE2b-256 checksum
How to use checksums
130bdc7b83bbb4ff88beae78ad621d7a8c4947efe08c95321ca48c901222d627
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.0

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.

Release history Release notifications | RSS feed

This release

14.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page