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.0.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.0.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.0.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.0.0 — Living Synthesis:

  • Full-Stack Security & Concurrency Hardening — Versioned $scrypt$ Result-based hashing, bounded rate limiting with unified HTTP 429 + Retry-After and English CSRF denials in lattice-auth, pure-Rust UTC clock eliminating all unsafe libc FFI in lattice-core, spawn_blocking offload for filesystem/session I/O, bounded HNSW/cloud-budget caches, fail-closed proxy client, and platform-guarded MLX extras with Ruff security rules re-enabled.
  • Strict TypeScript 7 Frontend, Tauri Desktop & Extensions — Enabled strict TypeScript 7 compiler flags and modular AppRouteView.tsx at 100% Vitest coverage; serialized Tauri gateway lifecycle with pinned 127.0.0.1:4825 CSP/capabilities; hardened VS Code and browser extensions with Bearer auth, TTL single-use approval token caching, live DOM capture, and UTF-8 byte truncation.
  • Real Windows Rust CI, Tauri CI, Digest-Pinned Docker & Modernized 14.0.0 Architecture Docs — Added windows-latest Rust workspace tests, macos-latest Tauri tests, and SHA256 digest-pinned multi-stage Dockerfile smoke checks in CI, and modernized ARCHITECTURE.md, docs/architecture.md, and all Korean mirrors to 14.0.0.
Release notes & exact 14.0.0 distribution artifacts

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

Expected artifacts for 14.0.0 must use exact filenames:

  • dist/ltcai-14.0.0-py3-none-any.whl
  • dist/ltcai-14.0.0.tar.gz
  • ltcai-14.0.0.tgz
  • dist/ltcai-14.0.0.vsix
  • src-tauri/target/release/bundle/dmg/Lattice AI_14.0.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.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.0.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.0.0
File Size Uploaded Provenance Actions
ltcai-14.0.0.tar.gz 2.5 MB Without provenance Details for ltcai-14.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 4.6 MB

Release files / ltcai-14.0.0.tar.gz

Download URL ltcai-14.0.0.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
31ee283f57a8c061efd633115c784c6958b870c26ca8341a39cb7b6a5d1d3592
BLAKE2b-256 checksum
How to use checksums
c0342c7d9fd48b3f94311ae121361470557c220b2c1822c34eaca4b6424e374e
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.0.0-py3-none-any.whl

Download URL ltcai-14.0.0-py3-none-any.whl
Size 2.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e5d8cb773750306e13f60d3626a5a4b0567195155d1d009ab83a6815e5d305fb
BLAKE2b-256 checksum
How to use checksums
648e0c42a7ee2497e4e07cb3f4e4a211790f876484c52e42d7a9f9cde34c5ccc
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.0.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.0.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