ltcai 1.7.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -21
- package/docs/CHANGELOG.md +119 -0
- package/docs/EDITION_STRATEGY.md +10 -4
- package/docs/ENTERPRISE.md +3 -1
- package/docs/MULTI_AGENT_RUNTIME.md +428 -0
- package/docs/PLUGIN_SDK.md +664 -0
- package/docs/REALTIME_COLLABORATION.md +423 -0
- package/docs/V2_ARCHITECTURE.md +540 -0
- package/docs/WORKFLOW_DESIGNER.md +485 -0
- package/latticeai/__init__.py +1 -1
- package/latticeai/api/agents.py +154 -0
- package/latticeai/api/marketplace.py +81 -0
- package/latticeai/api/plugins.py +115 -0
- package/latticeai/api/realtime.py +91 -0
- package/latticeai/api/workflow_designer.py +216 -0
- package/latticeai/core/marketplace.py +178 -0
- package/latticeai/core/multi_agent.py +561 -0
- package/latticeai/core/plugins.py +416 -0
- package/latticeai/core/realtime.py +190 -0
- package/latticeai/core/workflow_engine.py +329 -0
- package/latticeai/core/workspace_os.py +406 -6
- package/latticeai/server_app.py +88 -2
- package/latticeai/services/platform_runtime.py +204 -0
- package/package.json +8 -2
- package/plugins/README.md +35 -0
- package/plugins/git-insights/plugin.json +15 -0
- package/plugins/hello-world/plugin.json +16 -0
- package/plugins/hello-world/skills/hello_skill/SKILL.md +15 -0
- package/static/activity.html +70 -0
- package/static/agents.html +136 -0
- package/static/platform.css +75 -0
- package/static/plugins.html +133 -0
- package/static/scripts/platform.js +64 -0
- package/static/workflows.html +143 -0
- package/static/workspace.html +5 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<img src="https://raw.githubusercontent.com/TaeSooPark-PTS/LatticeAI/main/docs/images/logo.svg" alt="Lattice AI" width="280"/>
|
|
3
3
|
<br/>
|
|
4
|
-
<strong>AI Workspace
|
|
4
|
+
<strong>Lattice AI — Local-first Agentic Workspace Platform: plugins, visual workflows, multi-agent runs, and realtime activity over your graph, memory, skills, and timeline.</strong>
|
|
5
5
|
<br/><br/>
|
|
6
6
|
|
|
7
7
|
[](https://pypi.org/project/ltcai/)
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
Most AI tools answer one chat at a time. They do not remember your folders, your project history, your previous decisions, or how your files relate to each other.
|
|
26
26
|
|
|
27
|
-
**Lattice AI turns your local workspace into
|
|
27
|
+
**Lattice AI turns your local workspace into a Local-first Agentic Workspace Platform.**
|
|
28
28
|
|
|
29
29
|
It reads approved local folders, indexes chats and documents, builds a searchable knowledge graph, and connects the graph to snapshots, personal memory, agent runs, workflow history, skills, and an auditable timeline.
|
|
30
30
|
|
|
@@ -156,7 +156,7 @@ See [docs/architecture.md](docs/architecture.md) for request and data-flow detai
|
|
|
156
156
|
</table>
|
|
157
157
|
|
|
158
158
|
> Every image in this section is a **real screenshot** of the running app
|
|
159
|
-
> (Lattice AI
|
|
159
|
+
> (Lattice AI v2.0.0), captured with a headless browser.
|
|
160
160
|
|
|
161
161
|
---
|
|
162
162
|
|
|
@@ -353,28 +353,39 @@ Supported routes include OpenAI-compatible APIs, OpenRouter, Groq, Together, xAI
|
|
|
353
353
|
|
|
354
354
|
## Current release
|
|
355
355
|
|
|
356
|
-
**1.
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
- **
|
|
365
|
-
|
|
366
|
-
- **
|
|
367
|
-
|
|
368
|
-
- **
|
|
369
|
-
|
|
370
|
-
and
|
|
356
|
+
**2.1.0 — Agent Platform Maturity Release.** Lattice AI operationalizes the
|
|
357
|
+
v2.0 platform without replacing it: agent handoff, context packets, review/retry,
|
|
358
|
+
planning, memory, replay, marketplace templates, and realtime execution
|
|
359
|
+
observability are now first-class and still additive.
|
|
360
|
+
|
|
361
|
+
- **Agent handoff + context packets** — handoffs now carry `handoff_id`,
|
|
362
|
+
source/target agent ids, reason, status, timestamps, and safe structured
|
|
363
|
+
context packets for replayable role transfer.
|
|
364
|
+
- **Review / retry loops** — Planner -> Executor -> Reviewer records plan
|
|
365
|
+
review, reviewer notes, retry history, retry limits, and failure propagation.
|
|
366
|
+
- **Timeline / replay** — agent and workflow runs expose replay frames showing
|
|
367
|
+
who acted, when, why, input, output, and decisions.
|
|
368
|
+
- **Agent memory + planning** — short-term, workspace, and long-term memory
|
|
369
|
+
kinds are supported with workspace-scoped snapshots; plans are persisted with
|
|
370
|
+
run history and plan-review metadata.
|
|
371
|
+
- **Workflow / agent / plugin hardening** — plugin outputs enter agent context,
|
|
372
|
+
agent outputs enter workflow outputs, and plugin/workflow/agent failures emit
|
|
373
|
+
observable execution events.
|
|
374
|
+
- **Marketplace foundation** — local Plugin, Workflow, and Agent templates have
|
|
375
|
+
metadata, export/import, install hooks, and a registry. No cloud marketplace
|
|
376
|
+
service is introduced.
|
|
377
|
+
- **Realtime execution observability** — existing SSE feed now emits agent,
|
|
378
|
+
handoff, review, retry, workflow, plugin, and execution failure events.
|
|
371
379
|
- **Compatibility preserved** — API schemas, `server:app`,
|
|
372
|
-
`latticeai.server_app.app`, CLI, MCP, model, workspace, chat, KG,
|
|
373
|
-
|
|
380
|
+
`latticeai.server_app.app`, CLI, MCP, model, workspace, chat, KG, existing
|
|
381
|
+
skills/snapshots/memories/agent history, and the VS Code extension remain
|
|
382
|
+
backward compatible. Changes are additive; no destructive migrations.
|
|
374
383
|
|
|
375
384
|
| Version | Theme |
|
|
376
385
|
|---|---|
|
|
377
|
-
| **1.
|
|
386
|
+
| **2.1.0** | Agent Platform Maturity Release (handoff, context packets, review/retry, replay, memory, planning, marketplace foundation) |
|
|
387
|
+
| 2.0.0 | Agentic Workspace Platform (Plugin SDK, Workflow Designer, Multi-Agent Runtime, Realtime) |
|
|
388
|
+
| 1.7.0 | Graph & Collaboration Release |
|
|
378
389
|
| 1.6.0 | Product Experience Deepening (UX + real screenshots) |
|
|
379
390
|
| 1.5.0 | Unified Product Release (CI/VSIX recovery, model recommendation, Enterprise PoC) |
|
|
380
391
|
| 1.4.0 | Server App final decomposition |
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,124 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.1.0] - 2026-06-01
|
|
4
|
+
|
|
5
|
+
> Agent Platform Maturity Release — v2.1 operationalizes the v2.0 platform
|
|
6
|
+
> without redesigning it. Agent handoff, context packets, review/retry loops,
|
|
7
|
+
> timeline replay, memory snapshots, planning records, marketplace templates,
|
|
8
|
+
> and realtime execution observability are now first-class and additive.
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Explicit agent handoff** — handoff records now include `handoff_id`,
|
|
13
|
+
source/target agent ids, reason, task summary, context packet, status, and
|
|
14
|
+
timestamps. Handoffs are workspace-scoped, persisted, inspectable, and replayable.
|
|
15
|
+
- **Agent context packets** — structured transfer packets include objective,
|
|
16
|
+
task summary, workspace/graph/memory/workflow context, plugin outputs,
|
|
17
|
+
constraints, reviewer notes, and retry metadata with obvious secret fields
|
|
18
|
+
redacted before persistence.
|
|
19
|
+
- **Review / retry loops** — Planner -> Executor -> Reviewer records plan review,
|
|
20
|
+
reviewer outcomes (`approve`, `reject`, `retry`), retry history, retry limits,
|
|
21
|
+
reviewer notes, and failure propagation.
|
|
22
|
+
- **Timeline / replay** — agent and workflow runs expose replay support through
|
|
23
|
+
persisted frames that show actor, time, reason, input, output, and decision.
|
|
24
|
+
UI pages add replay viewers for agent and workflow runs.
|
|
25
|
+
- **Agent memory and planning** — `short_term`, `workspace`, and `long_term`
|
|
26
|
+
memory scopes are supported, memory snapshots are workspace-scoped and
|
|
27
|
+
replayable, and agent plans persist with plan-review metadata.
|
|
28
|
+
- **Workflow / agent / plugin hardening** — plugin output enters agent context,
|
|
29
|
+
agent output enters workflow output, retry paths are bounded, and failures
|
|
30
|
+
propagate into run status and realtime events.
|
|
31
|
+
- **Marketplace foundation** — local Plugin, Workflow, and Agent templates with
|
|
32
|
+
metadata, export/import, install hooks, and a template registry. No cloud
|
|
33
|
+
marketplace service is introduced.
|
|
34
|
+
- **Realtime execution observability** — existing SSE feed emits
|
|
35
|
+
`agent_started`, `handoff_created`, `handoff_accepted`, `handoff_completed`,
|
|
36
|
+
`review_requested`, `review_approved`, `retry_requested`,
|
|
37
|
+
`workflow_started`, `plugin_started`, `plugin_completed`, `execution_failed`,
|
|
38
|
+
and related workspace-scoped events.
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- Python package, npm package, VS Code extension, Workspace OS, FastAPI app, and
|
|
43
|
+
`/health` version metadata aligned at `2.1.0`.
|
|
44
|
+
- Multi-Agent Runtime, Plugin SDK, Workflow Engine, and Realtime surface
|
|
45
|
+
versions now report `2.1.0`.
|
|
46
|
+
- Platform UI pages for agents, workflows, plugins, and activity now expose
|
|
47
|
+
handoff chains, review panels, retry history, replay, templates, and plugin
|
|
48
|
+
execution visibility.
|
|
49
|
+
|
|
50
|
+
### Validation
|
|
51
|
+
|
|
52
|
+
- Unit coverage added for handoff/context persistence, review/retry history,
|
|
53
|
+
memory snapshots, replay, workflow-agent-plugin output propagation,
|
|
54
|
+
marketplace template install, and realtime execution events.
|
|
55
|
+
- Package-store publishing remains manual; release artifacts are version-scoped.
|
|
56
|
+
|
|
57
|
+
## [2.0.0] - 2026-06-01
|
|
58
|
+
|
|
59
|
+
> Agentic Workspace Platform — Lattice AI becomes a local-first **Agentic
|
|
60
|
+
> Workspace Platform** with four integrated subsystems: Plugin SDK, Workflow
|
|
61
|
+
> Designer, Multi-Agent Runtime 2.0, and Realtime Collaboration. Backward
|
|
62
|
+
> compatible and additive: API paths/schemas, `server:app`,
|
|
63
|
+
> `latticeai.server_app.app`, CLI, Workspace/Chat/Model/MCP/KG APIs, existing
|
|
64
|
+
> skills/snapshots/memories/agent & workflow history, and VS Code extension
|
|
65
|
+
> commands remain stable. New Workspace OS state keys (`plugin_registry`,
|
|
66
|
+
> `workflow_runs`) are backfilled on load via deep-merge — no destructive
|
|
67
|
+
> migration.
|
|
68
|
+
|
|
69
|
+
### Added
|
|
70
|
+
|
|
71
|
+
- **Plugin SDK** (`latticeai/core/plugins.py`, `latticeai/api/plugins.py`) —
|
|
72
|
+
`plugin.json` manifest, an allow-listed permission model, discovery,
|
|
73
|
+
validation, lifecycle (install/enable/disable/uninstall), and a permissioned
|
|
74
|
+
execution boundary. Plugins **extend** the existing skill registry (installing
|
|
75
|
+
a plugin registers its bundled skills) rather than replacing skills. Ships two
|
|
76
|
+
example plugins (`plugins/hello-world`, `plugins/git-insights`). Routes under
|
|
77
|
+
`/plugins/registry`, `/plugins/validate`, `/plugins/install`, `/plugins/enable`,
|
|
78
|
+
`/plugins/disable`, `/plugins/uninstall`, `/plugins/execute`, page `/plugins/sdk`.
|
|
79
|
+
- **Workflow Designer** (`latticeai/core/workflow_engine.py`,
|
|
80
|
+
`latticeai/api/workflow_designer.py`) — node-based workflows
|
|
81
|
+
(trigger/tool/skill/plugin/agent/condition/output), validation, a bounded
|
|
82
|
+
deterministic execution engine, run history, and JSON export/import. Legacy
|
|
83
|
+
`steps`-list workflows are auto-normalized so pre-2.0 history still runs.
|
|
84
|
+
Routes under `/workflows/api/*`, page `/workflows`.
|
|
85
|
+
- **Multi-Agent Runtime 2.0** (`latticeai/core/multi_agent.py`,
|
|
86
|
+
`latticeai/api/agents.py`) — Planner/Executor/Reviewer/Researcher/Release role
|
|
87
|
+
orchestration with handoff, bounded retry, and an observable timeline; runs
|
|
88
|
+
persist to agent history + knowledge graph + timeline. Deterministic by
|
|
89
|
+
default (no LLM required) with an injectable role runner. Routes under
|
|
90
|
+
`/agents/api/*`, page `/agents`.
|
|
91
|
+
- **Realtime Collaboration** (`latticeai/core/realtime.py`,
|
|
92
|
+
`latticeai/api/realtime.py`) — in-process pub/sub bus, presence, and an
|
|
93
|
+
activity feed over SSE. Wired as the Workspace OS `event_sink`, so every
|
|
94
|
+
timeline event flows to the feed automatically. Workspace isolation enforced;
|
|
95
|
+
single-user local mode preserved. Routes `/realtime/stream` (SSE),
|
|
96
|
+
`/realtime/feed`, `/realtime/presence*`, page `/activity`.
|
|
97
|
+
- **Cross-system integration** (`latticeai/services/platform_runtime.py`) —
|
|
98
|
+
workflows can run tools/skills/plugins/agents; agent runs can run
|
|
99
|
+
plugins/workflows; graph entities link to workflow runs and agent runs; all
|
|
100
|
+
activity surfaces in the unified timeline + realtime feed. Recursion is bounded
|
|
101
|
+
by construction.
|
|
102
|
+
- **Platform UI** — `static/plugins.html`, `workflows.html`, `agents.html`,
|
|
103
|
+
`activity.html` (+ shared `static/platform.css`, `static/scripts/platform.js`),
|
|
104
|
+
linked from the Workspace dashboard.
|
|
105
|
+
- **Docs** — `docs/V2_ARCHITECTURE.md`, `docs/PLUGIN_SDK.md`,
|
|
106
|
+
`docs/WORKFLOW_DESIGNER.md`, `docs/MULTI_AGENT_RUNTIME.md`,
|
|
107
|
+
`docs/REALTIME_COLLABORATION.md`.
|
|
108
|
+
|
|
109
|
+
### Changed
|
|
110
|
+
|
|
111
|
+
- Python package, npm package, VS Code extension, Workspace OS, FastAPI app, and
|
|
112
|
+
`/health` version metadata aligned at `2.0.0`.
|
|
113
|
+
- `server_app` cross-system wiring extracted into
|
|
114
|
+
`latticeai/services/platform_runtime.py` to keep the assembly file lean.
|
|
115
|
+
|
|
116
|
+
### Validation
|
|
117
|
+
|
|
118
|
+
- Unit (incl. new plugin/workflow/multi-agent/realtime suites), integration
|
|
119
|
+
smoke, startup/import, route-compatibility (full v1.x baseline preserved),
|
|
120
|
+
and release-artifact checks. Package-store publishing remains manual.
|
|
121
|
+
|
|
3
122
|
## [1.7.0] - 2026-06-01
|
|
4
123
|
|
|
5
124
|
> Graph & Collaboration Release — Graph Canvas interactions, Enterprise Admin
|
package/docs/EDITION_STRATEGY.md
CHANGED
|
@@ -5,10 +5,12 @@ the boundary stays predictable for contributors and users.
|
|
|
5
5
|
|
|
6
6
|
## Editions
|
|
7
7
|
|
|
8
|
-
- **Community** — this repository, MIT licensed. Local-first
|
|
9
|
-
local LLMs, knowledge graph, Personal **and** Organization
|
|
10
|
-
role-based membership, snapshots, memory, agents, workflows,
|
|
11
|
-
auditable timeline.
|
|
8
|
+
- **Community** — this repository, MIT licensed. Local-first **Agentic Workspace
|
|
9
|
+
Platform**: local LLMs, knowledge graph, Personal **and** Organization
|
|
10
|
+
workspaces, role-based membership, snapshots, memory, agents, workflows,
|
|
11
|
+
skills, the auditable timeline, and the full v2.0 platform — **Plugin SDK**,
|
|
12
|
+
**Workflow Designer**, **Multi-Agent Runtime 2.0**, and **Realtime
|
|
13
|
+
Collaboration**. Community is a complete product.
|
|
12
14
|
- **Enterprise** — a separately-distributed plugin adding organization-scale
|
|
13
15
|
governance, identity, compliance, and deployment capabilities. Distributed and
|
|
14
16
|
licensed separately. See [ENTERPRISE.md](ENTERPRISE.md).
|
|
@@ -39,6 +41,10 @@ the boundary stays predictable for contributors and users.
|
|
|
39
41
|
| Personal & Organization workspaces | ✅ | — |
|
|
40
42
|
| Base roles (owner/admin/member/viewer) | ✅ | — |
|
|
41
43
|
| Snapshots / memory / agents / workflows / skills | ✅ | — |
|
|
44
|
+
| Plugin SDK (manifest, lifecycle, permission boundary) | ✅ | RBAC/ABAC over plugin permissions |
|
|
45
|
+
| Workflow Designer (build/run/run-history) | ✅ | Org approval gates, scheduled triggers |
|
|
46
|
+
| Multi-Agent Runtime 2.0 (roles/handoff/retry) | ✅ | Policy-bounded autonomous runs |
|
|
47
|
+
| Realtime Collaboration (presence + activity feed) | ✅ | Cross-tenant fan-out, retention |
|
|
42
48
|
| Audit timeline (local) | ✅ | — |
|
|
43
49
|
| Capability seam & enum | ✅ (declares) | ✅ (implements) |
|
|
44
50
|
| SSO/SCIM/IdP provisioning | seam only | ✅ |
|
package/docs/ENTERPRISE.md
CHANGED
|
@@ -9,7 +9,9 @@ Lattice AI follows an **open-core** model:
|
|
|
9
9
|
|
|
10
10
|
- **Community** (this repository, MIT) is fully functional on its own: local
|
|
11
11
|
LLMs, knowledge graph, Personal and Organization workspaces, roles, snapshots,
|
|
12
|
-
memory, agents, workflows, skills, and the
|
|
12
|
+
memory, agents, workflows, skills, the auditable timeline, and the full v2.0
|
|
13
|
+
Agentic Workspace Platform (Plugin SDK, Workflow Designer, Multi-Agent Runtime
|
|
14
|
+
2.0, Realtime Collaboration).
|
|
13
15
|
- **Enterprise** is a separately-distributed plugin that attaches advanced,
|
|
14
16
|
organization-scale governance and deployment capabilities through a stable
|
|
15
17
|
runtime seam. It is never bundled into the Community build.
|