Skip to main content

Lattice AI — local-first Living Brain workspace: conversation, durable memory, hybrid search, real agent/workflow runtimes, advanced graph exploration, and portable encrypted brain archives

Project description

Lattice AI

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

Your private AI memory layer. Keep your knowledge. Switch any model.

모델은 바꿔도, 내 지식은 남는 로컬 AI 브레인.

Lattice AI is a local-first Digital Brain for your conversations, documents, decisions, project history, relationships, and workflows. It is not a ChatGPT clone, a model launcher, a graph database, or a note app. The model is the voice you use today. The Brain is the durable asset you keep.

Use Lattice AI when you want to:

  • remember project decisions across weeks or months and see the source later;
  • preserve context when switching between local, cloud, or future models;
  • connect documents, conversations, files, notes, and decisions into one Brain;
  • export, backup, inspect, verify, and move the Brain as an encrypted .latticebrain archive;
  • avoid cloud lock-in and keep knowledge local by default;
  • get an honest unavailable state instead of a fake answer when no model or evidence is available.

By default, Lattice binds to localhost, stores the Brain on your machine, keeps model downloads and cloud calls behind explicit consent, and separates normal Brain use from the Admin Console. Korean and English UI copy share the same underlying Brain, so language preference changes the interface, not your data.

External package registries are owner-published and can lag behind this GitHub Release. Release uploads must use the exact v5.2.0 artifact filenames below.

5.2.0 major update: Structured model capability registry + automated HF verification (scripts/verify_hf_model_registry.py) + expanded modern multimodal candidates. User-facing recommendations are narrowed to current load-ready families; registry-only candidates stay visible for verification transparency until config/tokenizer/load readiness is confirmed. Frontend now shows verified status, modality badges, hardware fit notes, and explicit download/load strategies before consent. See RELEASE.md and docs/CHANGELOG.md.

Living Brain Flow

1. Login

First launch opens to Login only. The local profile is the beginning of the Brain, not a dashboard, graph, or setup grid. The first screen frames Lattice as a durable knowledge home where models are replaceable and ownership stays with the user. (v5.1.0 hardened login; v5.2.0 added transparent verified model registry.)

Login

2. Environment Analysis

Lattice reads the machine locally and summarizes what kind of Brain this computer can support.

Environment Analysis

3. Recommended Models

The model step is a short recommendation list. It avoids catalog noise and keeps runtime/install details behind clear user consent. Users who do not know which model to choose can start with the recommended model in one click.

Recommended Models

4. Install And Load

The install screen keeps consent visible and shows install, download, validate, and load progress. No model download or runtime install starts silently, and the screen explains that large downloads may take minutes without inventing fake ETA data.

Install and Load

5. Brain Chat

After setup, the home experience is the living Brain plus conversation. The Brain stays present while the user types, recalls context, and receives responses. The home now includes a compact Brain overview for recent memories, older memories, and major topics, plus saved-to-memory feedback after chat.

Brain Chat Home

Brain Depths

The user travels inward through the Brain. Each depth keeps conversation nearby while revealing more structure.

Depth Experience Evidence
Level 1 Living Brain presence Living Brain Level 1
Level 2 Memory Layer Memory Layer
Level 3 Knowledge Layer Knowledge Layer
Level 4 Relationship Layer Relationship Layer
Level 5 Knowledge Graph with nodes, edges, search, and focus detail Knowledge Graph Layer

Walkthrough:

v5.1.0 Living Brain walkthrough

Model setup status evidence:

Model setup status

Separate admin console evidence:

Admin Console

Screenshot index and capture notes: output/release/v5.1.0/SCREENSHOT_INDEX.md

Architecture At A Glance

  • Desktop shell: Tauri 2 is the release desktop shell and starts the localhost sidecar.
  • Frontend: React, TypeScript, Vite, TanStack Query, Zustand, Cytoscape.js, React Flow, Tailwind/shadcn-style primitives, and generated OpenAPI types.
  • Backend: FastAPI on localhost is the UI source of truth.
  • Brain Core: independent lattice_brain package for graph, memory, context, conversations, ingestion, runtime, workflow, storage, and portability. Isolation tests prevent lattice_brain from importing latticeai.
  • Storage: StorageEngine abstraction with SQLite default and optional PostgreSQL/pgvector scale mode.
  • Portability: encrypted .latticebrain archives plus backup, restore, inspect, verify, import dry-run, and confirmed restore/import flows. The Brain home keeps conversation first and surfaces the everyday "Care for my Brain" ownership path as a collapsed control with export, backup, archive, inspect, and restore preview actions while keeping destructive confirmed restore in Settings. Restore operations create pre-restore backups and roll back failed DB/blob swaps so the current Brain is not left half-restored.
  • Privacy: local-first and private-first by default. Cloud models, Telegram, Brain Network, Docker/Postgres setup, model downloads, and update checks are opt-in paths.
  • Admin separation: user chat and Brain ownership stay in the main Brain surface; user directory, audit logs, security events, policies, and index rebuild controls live under the separate #/admin console. Admin history, audit, stats, and sensitivity reads honor the active workspace when present.

See ARCHITECTURE.md for the detailed v5.2.0 architecture.

Installation

Run from Python:

pip install ltcai
LTCAI

Run from npm:

npm install -g ltcai
ltcai

Open the local app:

http://127.0.0.1:4825/app

Apple Silicon local model extras:

pip install "ltcai[local]"

Release Artifacts

Validated 5.2.0 artifacts (current release):

  • dist/ltcai-5.2.0-py3-none-any.whl
  • dist/ltcai-5.2.0.tar.gz
  • ltcai-5.2.0.tgz
  • dist/ltcai-5.2.0.vsix
  • src-tauri/target/release/bundle/dmg/Lattice AI_5.2.0_aarch64.dmg

Attach only those exact files to the GitHub Release. Do not upload a wildcard from the dist directory. (v5.1.0 and prior artifact references in historical sections and screenshot paths are intentionally preserved.)

Local Development

npm install
npm run dev

Build and validate release artifacts:

npm run release:artifacts
npm run release:validate

Main validation set:

npm run check:python
node scripts/run_python.mjs -m ruff check .
npm run lint
npm run typecheck
npm run test:unit
npm run test:integration
npm run test:visual
npm run desktop:tauri:check
node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-5.2.0-py3-none-any.whl
npm pack --dry-run
npm run docs:check-links

Known Limitations

  • External package registries are owner-published and can lag behind the GitHub Release.
  • PostgreSQL/pgvector is optional scale mode. SQLite is the default local brain.
  • 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/workflow simulation without a loaded LLM is deterministic and does not call a model. It is labeled as LLM-free/model-free rather than presented as autonomous model success.
  • Historical artifacts can remain in dist/; uploads must use exact target version (e.g. 5.2.0) filenames.

Release History

Version Theme
5.1.0 Product Trust & Clarity Release: clarifies the private AI memory-layer promise, hardens CSP/secret/auto-read/download gates, adds trust/privacy docs, and refreshes v5.1.0 evidence
5.0.0 Multilingual Brain Foundation Release: adds persisted Korean/English language choice across first-run onboarding, Brain home, graph exploration, and Admin Console while preserving the v4 runtime foundations
4.7.2 Intuitive Brain UX Release: safer login, one-click recommended setup, direct Brain views, memory-save feedback, and exact v4.7.2 artifacts
4.7.0 Admin Separation Release: added the separate Admin Console for users/logs/security/Brain operations, refreshed screenshots/GIFs, synchronized release docs, and built exact v4.7.0 artifacts
4.6.1 Living Brain Release Refresh: publishable version bump after v4.6.0 PyPI immutability, refreshed README/screenshots/GIFs, synchronized release docs, and exact v4.6.1 artifacts
4.6.0 Living Brain Experience: made Brain plus conversation the home product, added an animated living Brain presence, and moved graph exploration to the deepest intentional layer
4.5.1 Product Reimagining RC: replaced the desktop shell, navigation model, onboarding journey, first-viewport hierarchy, and visual system while preserving capabilities and local-first architecture
4.5.0 Product Experience Recovery RC: restored first-run setup, workspace/model onboarding, explicit model install/download/validate/load flow, Gemma 4 runtime compatibility gating, Basic-mode polish, and graph discoverability

Current Documentation

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

ltcai-5.2.0.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ltcai-5.2.0-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file ltcai-5.2.0.tar.gz.

File metadata

  • Download URL: ltcai-5.2.0.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for ltcai-5.2.0.tar.gz
Algorithm Hash digest
SHA256 499cdd52f2f69bb73bbf416f986820b945a28e50f432e59bc81844a915a224ee
MD5 9ec2928531927f7b69e1f7f1da3310fe
BLAKE2b-256 60ff11cf2bb5a5f1c6abdb007d4972e896110780246d92fa6680af78f442fa13

See more details on using hashes here.

File details

Details for the file ltcai-5.2.0-py3-none-any.whl.

File metadata

  • Download URL: ltcai-5.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for ltcai-5.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46ee583d719ce91bf47b973d598ebd15d079cca035eab1fb39933acff6052186
MD5 acbac979b3dddab613f201f67a8c2ef4
BLAKE2b-256 29570ad8e261e249c854755615b3510214538c24c2241d06bd2130536eb042b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page