Shared Sessions

Your agents work in isolation. They duplicate effort, overwrite each other, and lose context between handoffs.

LeanCTX introduces workspace/channel-based session sharing. Multiple agents connect to the same session state, see each other's decisions, and coordinate through CAS (Compare-And-Swap) revisions. Session state includes task context, findings, knowledge, and compaction snapshots — all synchronized in real-time.

Le problème

Agents Working in Silos

Agent A refactors auth while Agent B adds a feature depending on the old auth API. Without shared context, they produce conflicts that take hours to resolve. Knowledge is lost between handoffs.

List active sessions across a workspace. See which agents are connected and their current revision state.

lean-ctx
lean-ctx (session list --workspace my-team)
- workspace: my-team
- channel: feat/auth-refactor rev:14 agents: cursor, claude-code
- channel: fix/api-timeout rev:7 agents: windsurf
- channel: main rev:42 agents: copilot, kiro
Shared Sessions

5 outils

01

Workspace Isolation

Each workspace represents a team or project. Agents in the same workspace share context while remaining isolated from other workspaces.

02

Channel-Based Coordination

Channels map to branches, tasks, or features. Agents on the same channel see the same session state and coordinate automatically.

03

CAS Revisions

Every session mutation carries a revision number. Compare-And-Swap ensures no updates are lost when multiple agents write concurrently.

04

Session Survival

Sessions persist across agent restarts and IDE switches. Compaction snapshots ensure context is never lost.

05

Agent Identity

Each connected agent has a unique identity. The session tracks who made which decision and when.

N Concurrent Agents
CAS Conflict Resolution
0 Lost Updates
outils

4 MCP outils

LeanCTX introduces workspace/channel-based session sharing. Multiple agents connect to the same session state, see each other's decisions, and coordinate through CAS (Compare-And-Swap) revisions. Session state includes task context, findings, knowledge, and compaction snapshots — all synchronized in real-time.

Shared Sessions

Documentation associée

Vérification

Chaque sortie porte une preuve

LeanCTX génère des artefacts de preuve pour chaque session : quels fichiers ont été lus, ce qui a été compressé, quelles vérifications ont réussi et comment les tokens ont été dépensés. Cela rend le travail IA auditable, reproductible et fiable.

Explore Shared Sessions

LeanCTX introduces workspace/channel-based session sharing. Multiple agents connect to the same session state, see each other's decisions, and coordinate through CAS (Compare-And-Swap) revisions. Session state includes task context, findings, knowledge, and compaction snapshots — all synchronized in real-time.