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
Lattice AI v4.7.0 is the local-first Living Brain admin separation release. It keeps the v4 Brain Core, StorageEngine, FastAPI localhost API, Tauri shell, backup, restore, model runtime, graph, and portability architecture intact while making the normal user surface simpler and moving logs, users, security events, and Brain operations into a separate Admin Console.
The product opens by stating the core reason to exist: models will change, but the user's knowledge should not. It creates a private local profile, studies the computer, recommends a replaceable model voice, asks before install/download/load work, then lands in Brain Chat with starter prompts for durable decisions, projects, documents, and context. The graph is still real and searchable, but it now grows out of the Brain as the deepest exploration layer instead of acting like a separate dashboard.
External package registries are owner-published and can lag behind this GitHub Release. Release uploads must use the exact v4.7.0 artifact filenames below.
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.
2. Environment Analysis
Lattice reads the machine locally and summarizes what kind of Brain this computer can support.
3. Recommended Models
The model step is a short recommendation list. It avoids catalog noise and keeps runtime/install details behind clear user consent.
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.
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.
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 | |
| Level 2 | Memory Layer | |
| Level 3 | Knowledge Layer | |
| Level 4 | Relationship Layer | |
| Level 5 | Knowledge Graph with nodes, edges, search, and focus detail |
Walkthrough:
Model setup status evidence:
Separate admin console evidence:
Screenshot index and capture notes: output/release/v4.7.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_brainpackage for graph, memory, context, conversations, ingestion, runtime, workflow, storage, and portability. Isolation tests preventlattice_brainfrom importinglatticeai. - Storage:
StorageEngineabstraction with SQLite default and optional PostgreSQL/pgvector scale mode. - Portability: encrypted
.latticebrainarchives 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
#/adminconsole. Admin history, audit, stats, and sensitivity reads honor the active workspace when present.
See ARCHITECTURE.md for the detailed v4.7.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 v4.7.0 artifacts:
dist/ltcai-4.7.0-py3-none-any.whldist/ltcai-4.7.0.tar.gzltcai-4.7.0.tgzdist/ltcai-4.7.0.vsixsrc-tauri/target/release/bundle/dmg/Lattice AI_4.7.0_aarch64.dmg
Attach only those exact files to the GitHub Release. Do not upload dist/*.
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-4.7.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 v4.7.0 filenames.
Release History
| Version | Theme |
|---|---|
| 4.7.0 | Admin Separation Release: keeps the user Brain simple, adds a separate Admin Console for users/logs/security/Brain operations, refreshes screenshots/GIFs, synchronizes release docs, and builds 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 |
| 4.4.0 | Brain Engine Extraction: Brain Core physically moved into lattice_brain with isolation tests |
| 4.3.3 | Dead-Code Cleanup Release |
| 4.3.2 | Product Polish & Graph UX Overhaul RC |
| 4.3.1 | End-User Audit Repair RC |
| 4.3.0 | Portability & Product Hardening RC |
| 4.2.0 | Brain Core & Storage Rebuild |
| 4.1.0 | Frontend & Desktop Rebuild |
| 4.0.1 | Digital Brain maintenance |
| 4.0.0 | Digital Brain Platform foundation |
| 3.0.0 | v3 local-first AI workspace platform |
Current Documentation
- ARCHITECTURE.md - v4.7.0 architecture.
- docs/PRODUCT_DIRECTION_REVIEW.md - Brain-first product direction review.
- FEATURE_STATUS.md - current feature status and historical status ledger.
- RELEASE_NOTES.md - release notes index.
- RELEASE_NOTES_v4.7.0.md - v4.7.0 admin separation release notes.
- RELEASE_NOTES_v4.6.1.md - v4.6.1 release refresh history.
- RELEASE_NOTES_v4.6.0.md - v4.6.0 Living Brain history.
- RELEASE.md - release checklist and exact artifact guidance.
- SECURITY.md - security posture.
- docs/CHANGELOG.md - changelog.
- docs/V4_7_0_ADMIN_SEPARATION_REPORT.md - v4.7.0 admin separation report.
- docs/V4_6_1_RELEASE_REFRESH_REPORT.md - v4.6.1 release refresh report.
- docs/V4_6_0_LIVING_BRAIN_EXPERIENCE_REPORT.md - v4.6.0 Living Brain design notes.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ltcai-4.7.0.tar.gz.
File metadata
- Download URL: ltcai-4.7.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d1e489f8fe713d111eedd015f4e93bacaa6339175d4bc08e99becedce92cee5
|
|
| MD5 |
6dca627905c6e44f7e130cce586d33f5
|
|
| BLAKE2b-256 |
9727202aecb236a4267b36bdff82321b3bf57aa8089611e715754c725d008d0b
|
File details
Details for the file ltcai-4.7.0-py3-none-any.whl.
File metadata
- Download URL: ltcai-4.7.0-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd3abef9f8a52756ad2ec2c11aba645801e180869602aba1a190e30c85148392
|
|
| MD5 |
2abc77125be9eee35607346e0bd30fa1
|
|
| BLAKE2b-256 |
12a2bc63a6df78064b29c27e9a7f42442cdba0f7163435152d4ccc70e7dafce5
|