Skip to main content

Lattice AI Workspace OS for local-first graph, memory, agent, workflow, and skill operations

Project description

Lattice AI

Lattice AI

A local-first AI workspace — Plan → Execute → Review with multiple LLMs, on top of a durable Knowledge Graph.

Apple Silicon (MLX) local model management · Personal & Organization workspaces · Multi-agent workflows · SSO for teams


Lattice AI turns your files, documents, images, screenshots, conversations, decisions, notes, and work history into linked knowledge. AI then works on top of that Knowledge Graph to advise, analyze, generate documents, and automate work.

It is built around a simple product rule:

Do not control the user in the name of protection. Explain clearly, disclose sources and risks, then let the user decide.

What Lattice AI is

Lattice AI is four things working together, not an operating system and not a simple chat front-end:

  • Local-first AI Workspace — runs on your machine first; your data and graph stay local by default.
  • AI Pipeline Platform — a Plan → Execute → Review loop that can route across multiple LLMs for each stage.
  • Knowledge Graph Platform — multimodal inputs become entities, relationships, evidence, and artifacts that outlive any single model.
  • Workspace Platform — Personal and Organization workspaces, role-based access, and SSO for teams.

Highlights

  • Multimodal ingestion — accepts PDFs, Word, spreadsheets, slide decks, images, screenshots, notes, code, web content, conversations, and work logs without asking you to pre-convert them.
  • Knowledge Graph core — extracts entities, relationships, evidence, decisions, and artifacts so your work memory survives model changes.
  • Multi-agent workflow — agents hand off work with structured context packets, review/retry loops, and replayable timelines.
  • Local model management — MLX-VLM on Apple Silicon, with current-generation multimodal model recommendations based on your CPU, GPU, RAM, storage, and OS.
  • Source disclosure — every recommended model shows its facts in plain language before use: maker country, maker company, run mode (local/cloud), internet requirement, and model name.
  • Basic / Advanced / Admin modes — the same features everywhere; the modes differ only in how much is explained. Admin mode adds authority (user management, permissions, audit logs, org/security policy, model approval).

v2.2.1 — Frontend & UX overhaul

v2.2.1 is a UX-focused release. No features were removed; the interface was re-laid out and re-themed.

  • Responsive, mobile-first UI — phone, tablet, laptop, desktop, ultrawide, and 4K. Content is re-laid out for each size, never hidden.
  • Light / Dark themes via design tokens — a single source of truth in static/css/tokens.css. :root holds light values, [data-lt-theme="dark"] holds dark values. The theme toggle, OS preference detection, and persistence live in static/scripts/ux.js.
  • Accessibility — 44px touch targets, :focus-visible rings, a keyboard-safe chat composer (uses visualViewport insets), iOS no-zoom inputs, and reduced-motion support.
  • Knowledge Graph UX — responsive canvas that re-fits on resize, zoom buttons, fullscreen, minimap, relationship filtering, a mobile graph↔card view, and a theme-aware palette.
  • Admin UX — wide tables reflow to cards on mobile, with larger touch targets and full dark/light support.
  • File UX — drag & drop and screenshot paste to attach. Model cards explain country, company, run mode, and internet use in plain language.

Knowledge Graph flow

files / documents / images / conversations / work history
  -> multimodal understanding
  -> entity extraction
  -> relationship extraction
  -> evidence storage
  -> Knowledge Graph update
  -> advice / analysis / document generation / automation

The graph preserves your work memory even when the model changes.

Local model policy

Lattice AI recommends current-generation multimodal models for local use and keeps text-only recommendation paths out of the product:

Family Default role Example current recommendation
Gemma 4 Default Google multimodal family mlx-community/gemma-4-12b-it-4bit
Gemma 4 large Higher-quality local multimodal work mlx-community/gemma-4-31b-it-4bit
Qwen3-VL Smaller, balanced multimodal options mlx-community/Qwen3-VL-4B-Instruct-4bit
Llama 4 Meta multimodal option mlx-community/Llama-4-Scout-17B-16E-Instruct-4bit

Low-spec machines use smaller or quantized multimodal models rather than older text-only models. See MODEL_POLICY.md for the full policy.

Requirements

  • Python 3.11+
  • macOS, Windows, or Linux for the workspace server
  • Apple Silicon for local MLX-VLM model execution (optional; cloud models work without it)

Quick start

Lattice AI is a Python + FastAPI app. The CLI entry point is ltcai_cli.py.

npm install        # installs the npm package and dev tooling
npm run dev        # runs: python3 ltcai_cli.py --reload

Then open:

http://127.0.0.1:4825

Prefer Python directly?

python3 ltcai_cli.py
# host/port: --host 127.0.0.1 --port 4825

For local model execution on Apple Silicon, install the optional extra:

pip install "ltcai[local]"   # adds mlx-vlm

Useful commands:

npm test                # python3 -m pytest tests/ -v
npm run check:python    # py_compile across core modules
npm run build           # python3 -m build

VS Code extension

A companion VS Code extension lives in vscode-extension/.

cd vscode-extension
npm install
npm run build
npm run package:vsix

Build & packaging

Lattice AI ships as a Python package (ltcai), an npm package (ltcai), and a VS Code extension.

python3 -m build        # Python wheel + sdist
npm pack                # npm tarball

Publishing is intentionally manual — no glob uploads. See RELEASE.md for the exact, version-scoped publish steps for PyPI, npm, the VS Code Marketplace, and Open VSX.

Documentation

Release history

Version Theme
2.2.1 Frontend & UX overhaul — responsive, design-token theming, accessibility, graph/admin UX
2.2.0 Multimodal-first Knowledge Graph, source disclosure, Gemma-4 recommendation policy
2.1.0 Agent platform maturity
2.0.0 Agentic workspace platform
1.7.0 Graph and collaboration
1.6.0 Product experience deepening

License

MIT

Project details


Release history Release notifications | RSS feed

This version

2.2.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ltcai-2.2.1.tar.gz (590.6 kB view details)

Uploaded Source

Built Distribution

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

ltcai-2.2.1-py3-none-any.whl (525.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ltcai-2.2.1.tar.gz
Algorithm Hash digest
SHA256 012f2eaf6847170d2d19a562bf78ee287c69fa031bf7832211fa6b66aae0756b
MD5 2bfda35e45a9799d2dcd6451447a4d90
BLAKE2b-256 8210aa5e6c4d5480807cda7e6fe7ec9cac6e06d098ea59323820af2814f0475c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ltcai-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b17a6beffca6088592f6f65fa6b18683cc314ed1c36c623d09693373e840b76
MD5 53850c5ad6a4d3eb9f516e61d8f3ecce
BLAKE2b-256 3226d920f0883a2d1e3bef79a8783aec43230c351d53c3c8f1b3f8ed5c8d83a4

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