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.

问题

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 工具

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
工具

4 MCP 工具

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

相关文档

验证

每个输出都附带证明

LeanCTX为每个会话生成证明构件:读取了哪些文件、压缩了什么、哪些检查通过了、Token如何使用。这使AI工作可审计、可重放、值得信赖。

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.