Skip to main content

Lattice AI

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

모델은 갈아타도, 내 지식은 내 컴퓨터에 남는 로컬 우선 AI 브레인.

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

v12.6.0 Living Brain walkthrough

Lattice AI is a Digital Brain that lives on your computer. Chat, files, folders, notes, and web pages all land in one knowledge graph you own. The default is local. Cloud is optional, and nothing leaves the machine without your consent.

대화·파일·폴더·웹페이지가 전부 내 컴퓨터 안의 지식 그래프로 쌓입니다. 기본은 로컬이고, 클라우드는 선택입니다.

Install

pip install ltcai        # or: npm install -g ltcai
LTCAI                    # then open http://127.0.0.1:4825/app

First five minutes

  1. Open the app and sign in as the owner.
  2. Pick a recommended local model for this computer.
  3. Drop a folder, a file, or a note into Capture.
  4. Ask the Brain a question in your own words.
Login Model install Model library

Screenshot index: output/release/v12.6.0/SCREENSHOT_INDEX.md

What you can do

See your Brain's story in time — a growth curve, an activity heatmap, and each day's story Brain Chronicle Chat with a Brain that remembers — every conversation grows durable, source-linked memory Brain Chat
See how knowledge connects — a real relationship graph, not a file list Memory Graph Capture anything — files, whole folders, notes, screenshots, web pages Capture
Automate with review — agent changes become proposals you approve first Review Center Pick a model in one click — recommended local models for your hardware Recommended Models
Watch a file become memory — three named steps, not a pipeline diagram Material to memory Say how much it may do alone — one dial in plain words Settings

Why this is yours

  • The memory stays. Knowledge lives in a local SQLite Brain you can back up, export, inspect, and restore (.latticebrain).
  • The model is replaceable. Switch local MLX and optional cloud without rebuilding context from zero.
  • It says when it does not know. Thin retrieval, a poor page extract, or hash-only search is named, not dressed as meaning.
  • Edits wait for you. New files can land with little friction. Changing or deleting existing files becomes a proposal with a diff.
  • Small models can still act. A 2B-class local model can call tools and skills; a model too small to emit JSON is walked through numbered choices.

매번 AI에게 프로젝트 맥락을 다시 설명하고 있다면, 지식이 여러 서비스에 흩어져 있다면, 그 기억을 특정 회사가 아니라 내가 소유하고 싶다면 — Lattice AI가 그 브레인입니다.

Current Release

The current release is 12.6.0 — Hybrid Graph:

Hybrid Graph introduces 3-way BM25F + Vector + Knowledge Graph RRF Hybrid Indexing, graph-aware agent skills and MCP search tools, a multi-scale subword FallbackTextEmbedder, unauthenticated EmbeddingGemma 2 public mirrors & quantized GGUF/MLX/ONNX fallbacks, real-time SSE download progress streaming (MB/s & ETA) in Onboarding and Model Library, Pillow 13+ cleanup, Ubuntu 24.04/26.04 t64 & Chromium CI resilience, and a modular scripts/bump_version/ CLI. The door is still 422 operations / 41 families over a 20-route worker. Cloud is still optional and the default is still local.

  • 3-Way BM25F + Vector + Knowledge Graph RRF Hybrid Indexing & Graph Skills. Field-weighted Okapi BM25F (k1=1.2, b=0.75, Korean particle stripping, CJK bigrams, identifier subwords), 1-hop/2-hop Knowledge Graph structural expansion (RELATES_TO, MENTIONS, PART_OF, shared concepts, [[wikilinks]], #tags), and 3-way Reciprocal Rank Fusion (hybrid_bm25_vector_graph_search) with automatic zero-hit rescue on /api/search/hybrid. Agent/MCP tools (knowledge_search, obsidian_search, knowledge_graph_search, knowledge_graph_context) support mode=hybrid|bm25f|graph|graphrag|subgraph, hops, and include_graph subgraph extraction.
  • Multi-Scale Subword FallbackTextEmbedder (#13.1). Offline zero-download fallback embeddings (768d, lattice-fallback-subword-v2:768) in Python and Rust now extract 3..5-gram subwords, CJK bigrams/trigrams, Korean particle-stripped syllables & Jamo lead pairs, and word bigrams with 2-probe signed Blake2b projection and L2 normalization.
  • Unauthenticated EmbeddingGemma 2 Public Mirrors & Quantized Fallbacks (#14.2). When HF_TOKEN is unset or Hugging Face returns gated 401/403 errors for google/embeddinggemma-2, Lattice AI automatically falls back to public unauthenticated mirrors and quantized GGUF/MLX/ONNX distributions (mlx-community/embeddinggemma-2-4bit, mlx-community/embeddinggemma-2-8bit, ggml-org/embeddinggemma-2-GGUF, onnx-community/embeddinggemma-300m-ONNX) and honors HF_ENDPOINT custom mirror URLs.
    • Set HF_TOKEN=<your_token> to download gated upstream weights directly, or set HF_ENDPOINT=https://hf-mirror.com (or your internal mirror) to route Hugging Face downloads without manual repo overrides.
  • Real-Time SSE Embedding Download Progress Streaming (#15.2). Model download preparation streams live byte-level progress (percent, speed_bps / MB/s, eta_seconds, current_file, and gated_fallback) over text/event-stream SSE and GET /models, rendered in ProductFlow.tsx / InstallScreen.tsx and Library.tsx with 100% Vitest coverage.
  • Pillow 13+ Cleanup, Ubuntu 24.04/26.04 t64 CI Resilience & Modular scripts/bump_version/ CLI. Removed the Pillow <=12 getdata() fallback in scripts/check_screenshot_pixel_delta.py (#13.2), added scripts/check_ubuntu_runner_compat.mjs and t64 apt fallback chains across GitHub Actions workflows (#14.1), and decomposed scripts/bump_version.py into scripts/bump_version/ with all, openapi, cargo, and markers subcommands (#15.1).

Release notes live in docs/releases/. This version: docs/releases/RELEASE_NOTES_v12.6.0.md. Guide: RELEASE.md · History: docs/CHANGELOG.md.

Expected artifacts for 12.6.0 must use exact filenames:

  • dist/ltcai-12.6.0-py3-none-any.whl
  • dist/ltcai-12.6.0.tar.gz
  • ltcai-12.6.0.tgz
  • dist/ltcai-12.6.0.vsix
  • src-tauri/target/release/bundle/dmg/Lattice AI_12.6.0_aarch64.dmg

Do not use wildcard artifact uploads. Package registry publishing remains owner-run.

Architecture At A Glance

One Rust server on localhost is the source of truth: lattice-host answers every product route, owns every write to the Brain, and supervises a Python AI worker it reaches over loopback for the things a model does — inference, embedding, extraction, parsing, rendering, speech-to-text. The React/Vite frontend and the Tauri desktop shell sit on top of that one door. Local-first by default — cloud is optional (OAuth CLI or an API key you configure), and downloads, Brain Network, and update checks are opt-in.

See ARCHITECTURE.md for details and docs/DEVELOPMENT.md for the developer workflow (npm start / bin/ltcai.js is the product; npm run dev is the 20-route worker). Each of the two largest crates carries its own domain map — rust/lattice-agent/ARCHITECTURE.md and rust/lattice-platform/ARCHITECTURE.md — and open gaps are tracked in docs/ROADMAP.md. 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.
  • SQLite is the live local Brain store. The optional PostgreSQL/pgvector migration tooling is not part of the 12.1.0 worker.
  • Docker, model downloads, cloud model calls, Brain Network, and update checks require explicit user action. Cloud is optional: cli_oauth (agy / grok) was live-checked at zero billing; the api_key path probes GET /models with the key and fail-closes if the provider is unreachable — it does not run a billed completion to verify.
  • The Telegram bridge was removed in 11.6.0 — it lived in the platform code that became the AI worker. SSO/OIDC login and callback flows were removed with it; the configuration surface remains and password login is native.
  • 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.
  • POST /worker/render/pdf ships working out of the box: reportlab is a required dependency as of 11.6.0 (it used to be an undeclared lazy import that raised a 500; ltcai[pdf] remains as an empty alias for older install instructions).
  • The multimodal image and video analysis functions have no HTTP door as of 11.8.0: their only route wrapped a native image ingest that was never built. The observation code stays in Brain Core under unit test, and its module header says so.
  • The Python coverage gate is a line floor of 90 since 11.8.0 (the 100%-lines-and-branches gate was removed). The enforced claim is the floor, not whatever a given run measures.
  • Small-model content quality is gated honestly. With the guided profile even a 0.5B model writes the requested file and reaches DONE. A requested summary is filled from the file that was actually read; if those words are still missing the run is held for review, not marked done.
  • Vector search env still defaults to brute — exact and byte-compatible on a small Brain. At 512+ vectors with a bound worker sidecar it tries hnsw+rescore first and falls back to the exact scan if the sidecar cannot answer. LATTICEAI_VECTOR_INDEX=hnsw is still the explicit opt-in.
  • Watch prune removes vanished files from the graph, never from disk. A one-shot folder ingest still reports vanished files and waits for the confirmed prune door.
  • The macOS dmg is ad-hoc signed — effectively unsigned — so first launch needs the usual Gatekeeper step.
  • Pointer-control tools execute in the worker and are installed with pip install "ltcai[pointer]". Remaining honest gaps (open_keys pending-only, no Self-Model refiner, delete_node leaving PART_OF, review events silent without an owner, KG-api ingest text-only, two store cycles per review mutation) are listed with their reasons in docs/releases/RELEASE_NOTES_v12.4.0.md and prioritized in docs/ROADMAP.md.

Release History

Public history starts at 11.0.0. 11.6.0 rebuilt the product server in Rust and reduced the Python package to an AI worker, so a 10.x or 9.x install is a different program; SECURITY.md supports only 11.x, and this table states the same boundary. Earlier notes live in docs/releases/.

Version Theme
12.5.0 Deep Vector
12.4.0 Sharp Weight
12.3.0 Live Wire
12.2.1 True Count
12.2.0 Small Voice
12.1.0 Fast Path
12.0.0 Open House
11.9.0 Working Order
11.8.0 Travel Light
11.7.0 Clean Sweep
11.6.0 One Door
11.5.2 Tight Ship
11.5.1 Rust Full Loop
11.5.0 Rust Complete
11.4.0 Rust Foundation
11.3.0 Time Remembers
11.2.0 All Systems On
11.1.0 Product Intelligence
11.0.1 Both Branches
11.0.0 Full Measure

Per-release details: RELEASE_NOTES.md · folder: docs/releases/

Metadata

Release files for ltcai 12.6.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 12.6.0
File Size Uploaded Provenance Actions
ltcai-12.6.0.tar.gz 2.5 MB Without provenance Details for ltcai-12.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 4.5 MB

Release files / ltcai-12.6.0.tar.gz

Download URL ltcai-12.6.0.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
6e373c8ebbdf82057563c53f255cb06afe0951abe09a065a11fc54519c8c2455
BLAKE2b-256 checksum
How to use checksums
e83f4435fe4a920eebe12960274a651d13af8e70719a4fed23e2f9c564d121c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / ltcai-12.6.0-py3-none-any.whl

Download URL ltcai-12.6.0-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d9dc615f4de5ad5fa47ecf3a85f07ba0fa6eb75a987b7e9e53c72438e513ccca
BLAKE2b-256 checksum
How to use checksums
97ed09f56cee7d7ac97662bb5ccd393bfa97ae502db88cf7204da0a369a2318c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for ltcai 12.6.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

12.6.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