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.

The Problem

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 tools

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
tools

4 MCP tools

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

Related Documentation

Verification

Every output carries proof

LeanCTX generates proof artifacts for every session: which files were read, what was compressed, which checks passed, and how tokens were spent. This makes AI work auditable, replayable, and trustworthy.

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.