Skip to main content

Lattice AI v3 local-first AI workspace platform with knowledge graph, vector index, hybrid search, agents, and workspace modes

Project description

Lattice AI

Lattice AI

Lattice AI v3 — Local-First AI Workspace Platform.

Work across Personal and Organization workspaces with Knowledge Graph, Vector Index, Hybrid Search, Native Chat, agents, files, models, and Basic / Advanced / Admin modes.

PyPI version npm version VS Code Marketplace Open VSX GitHub release License: MIT Python 3.11+ VS Code extension

Lattice AI demo

Install

Install the local workspace:

pip install ltcai

Add Apple Silicon local model support:

pip install "ltcai[local]"

Install the npm CLI:

npm install -g ltcai

Install the coding extension:

Quick Start

Start the workspace:

LTCAI

Then open:

http://127.0.0.1:4825/app

Development checkout:

npm install
npm run dev

Useful validation commands:

npm run check:python
npm run test:unit
npm run build

What Is Lattice AI?

Lattice AI v3 is a local-first AI workspace platform for people and teams who want their files, models, graph context, retrieval, and agent workflows in one place.

  • Primary app shell: /app is the default product experience with Native Chat, Knowledge Graph, Hybrid Search, Files, Pipeline, Agents, Models, My Computer, Settings, and Admin areas. Classic pages remain compatibility routes only; normal workflows stay in /app.
  • Local-first AI Workspace: work starts on your machine, with local data and workspace state by default.
  • AI Pipeline Platform: plan, execute, review, retry, and replay work across local models, cloud models, tools, files, and generated artifacts.
  • Knowledge Graph Platform: documents, images, screenshots, notes, conversations, and decisions become linked entities, relationships, evidence, and reusable context.
  • Multi-Agent Workflow Platform: agents hand off structured context, review work, retry with reasons, and keep timelines inspectable.
  • Personal / Organization Workspace: move between personal work and team workspaces with role-aware views and Basic / Advanced / Admin modes.
  • Vector Index and Hybrid Search: local vector rows are derived from the Knowledge Graph and fused with keyword and graph signals.
  • Local Model Management: choose current multimodal local models with source disclosure, hardware-aware recommendations, and cloud fallback options.
  • Community-first workspaces: Personal and Organization workspaces ship in the local product; enterprise SSO/SCIM/governance remain future extensions.

Why Lattice AI?

Most AI tools split your work across a chat window, a model picker, loose files, and disconnected automations. Lattice AI keeps those parts together:

  • files and conversations become graph context;
  • graph context feeds pipelines and coding actions;
  • model cards disclose country, company, run mode, internet usage, and model identity;
  • personal and organization workspaces keep team workflows separate from local work;
  • multi-agent workflows leave behind replayable plans, reviews, retries, and outcomes.

v3.2.0 Highlights

Lattice AI v3.2.0 is the feature-complete release for all non-enterprise use cases. Every platform capability is operable from /app with no Classic dependency — built on real backends with honest live/unavailable states (never fabricated data).

  • Multi-agent collaboration — Planner → Researcher → Executor → Reviewer with handoffs, shared context packets, and replayable timelines.
  • Agent Registry — every agent (built-in role + custom) carries registry metadata: type, version, capabilities, and configuration. No hardcoded lists.
  • Marketplace & Templates — an offline catalog with five named agent templates (Research Assistant, Coding Assistant, Knowledge Curator, Documentation Writer, Workflow Builder) plus clone / export / import / install.
  • Workflow Agents — trigger → agent chain → tools → memory → result, with a run ledger and replay.
  • Autonomous Planning — goal → plan → execute → review → replan, with inspect/replay and bounded-retry safeguards.
  • Long-Term Memory + Memory Manager — workspace, project, agent, conversation, graph, and vector tiers unified behind one service, with recall, inspect, prune, compact, rebuild, and clear.
  • Skills, Hooks, Tool Registry, and MCP Manager — install/enable/disable skills; lifecycle hooks across runs/tools/agents/pipelines/workflows; a governed tool registry; and connected MCP servers, tools, and health.

The earlier v3.1 work (Classic retired from normal workflows, retrieval wired through a shared service layer, hash-manifested assets) remains the foundation.

Release audit: docs/V3_2_AUDIT.md records the v3.2.0 claim audit, fixes, tests, real-app browser validation, and artifact checks.

  • Native v3 Chat lives inside /app#/chat and streams through the real POST /chat backend while showing friendly setup guidance when no model is loaded.
  • Knowledge Graph, Vector Index, and Hybrid Search are first-class retrieval surfaces. Hybrid results show keyword, local vector, and graph scores.
  • Personal and Organization workspaces, plus Basic / Advanced / Admin modes, are built into the shell.
  • Models can load/unload from the native Models view; Agents read the AgentRuntime boundary with run health, history, events, replay, and stop affordances.
  • Production embedding profiles cover local bge-m3, nomic-embed-text, e5-large, gte-large, Ollama nomic-embed-text, mxbai-embed-large, BGE-M3-compatible providers, MLX, and OpenAI-compatible text-embedding-3-small / text-embedding-3-large. Hash embeddings remain fallback only.
  • /app loads static/v3/asset-manifest.json and build-generated hashed assets such as app.<hash>.js and lattice.base.<hash>.css; manual ?v= cache-busting is no longer used by runtime HTML.

Screenshots

Workspace

Workspace light theme

Workspace dark theme

Knowledge Graph

Knowledge Graph

AI Pipeline

AI Pipeline designer

Admin Dashboard

Admin dashboard

Mobile Responsive

Mobile responsive layout

Knowledge Graph Flow

files / documents / images / screenshots / conversations / decisions
  -> multimodal understanding
  -> entity and relationship extraction
  -> evidence and artifact storage
  -> Knowledge Graph update
  -> AI pipeline context
  -> coding actions / analysis / documents / team workflows

The graph keeps useful workspace context available even when you change models.

v3 Backend Retrieval

The v3 backend adds a local-first retrieval stack that combines the Knowledge Graph, a SQLite vector index, and hybrid result fusion. It preserves existing graph data while adding derived vector rows that can be rebuilt at any time.

Embedding status: production profiles are exposed through GET /api/embeddings/providers, while lattice-local-hash-v1 remains a deterministic fallback for offline indexing and tests. It is never presented as a production semantic embedding model.

Core API contracts:

  • POST /api/search/hybrid
  • GET /api/search/keyword?q=...
  • GET /api/search/vector?q=...
  • GET /api/graph
  • GET /api/graph/node?node_id=...
  • GET /api/graph/relationship
  • GET /api/index/status
  • POST /api/index/rebuild

See docs/V3_BACKEND_ARCHITECTURE.md for the storage model, search model, migration behavior, and API response shape.

Local Model Policy

Lattice AI recommends current-generation multimodal models for local use and keeps local model choices explicit.

Family Default role Example 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

Every recommended model card shows maker country, maker company, run mode, internet requirement, and model name. See MODEL_POLICY.md.

Architecture

Personal / Organization Workspace
  -> files, chats, screenshots, model choices, workflow events
  -> Knowledge Graph
  -> AI Pipeline
  -> Multi-Agent Workflow
  -> coding actions, documents, analysis, team handoffs

Core areas:

  • FastAPI local workspace app
  • Knowledge Graph storage and graph APIs
  • AI pipeline and workflow designer
  • Multi-agent handoff, review, retry, and replay records
  • Local model management and model recommendation catalog
  • VS Code / Cursor / VSCodium extension surface
  • Personal and organization workspace boundaries

Documentation

Release history

Version Theme
3.2.0 Feature-complete platform — multi-agent collaboration, agent registry, marketplace + templates, workflow agents, autonomous planning, long-term memory + manager, skills/hooks/tool registries, MCP manager, all operable from /app
3.1.0 Mainline platform completion — native /app workflows, Classic retired from normal paths, production embedding profiles, AgentRuntime/registries, hashed v3 assets
3.0.1 Release-blocker remediation — provider-backed embeddings (Hash/MLX/Ollama/OpenAI/Custom), unified AgentRuntime boundary, every v3 surface connected or clearly unavailable
3.0.0 v3 local-first AI workspace platform — /app, Native Chat, Knowledge Graph, Vector Index, Hybrid Search, workspace modes
2.2.7 Visual system stabilization — cohesive dark/light screens, crisp chat composer, dark graph canvas, Workspace OS polish
2.2.6 Token-native CSS foundation
2.2.5 Release hygiene hotfix — dark overlays, modal stack, cache-busting, favicon, and Telegram log masking
2.2.4 Chat dark-mode completion
2.2.3 Frontend stability and UX fixes
2.2.2 Frontend QA stabilization — mobile nav, admin actions, overflow fixes, and expanded visual tests
2.2.1 Frontend and UX overhaul for responsive workspace, themes, graph UX, admin reflow, and file attachment
2.2.0 Multimodal-first Knowledge Graph and local model source disclosure
2.1.0 Multi-agent workflow maturity
2.0.0 AI pipeline, workflow, and plugin platform foundation
1.7.0 Graph and collaboration
1.6.0 Product experience deepening

License

MIT

Project details


Release history Release notifications | RSS feed

This version

3.2.0

Download files

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

Source Distribution

ltcai-3.2.0.tar.gz (755.5 kB view details)

Uploaded Source

Built Distribution

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

ltcai-3.2.0-py3-none-any.whl (798.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ltcai-3.2.0.tar.gz
Algorithm Hash digest
SHA256 0de90de6a36d1af0e832361386aa6cc70b96df57d068055ba0243540e02c85c4
MD5 63f18f7a6162aacf24a7948e856f2029
BLAKE2b-256 e408cb56f458902f0f5345e893f58a3fde8a07a115b9c5c0c5778d4152780386

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ltcai-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 798.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-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc7d4b6b089c584262833e852a2238b67ecf5cae87e44225ade6e62cf75b4110
MD5 3d22e7e219de53e011f5242aed3dad7d
BLAKE2b-256 f78370496673dcd9c561936c319e67730ecf21e81bed266e9df81fc0ed90b52a

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