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.
5 herramientas
Workspace Isolation
Each workspace represents a team or project. Agents in the same workspace share context while remaining isolated from other workspaces.
Channel-Based Coordination
Channels map to branches, tasks, or features. Agents on the same channel see the same session state and coordinate automatically.
CAS Revisions
Every session mutation carries a revision number. Compare-And-Swap ensures no updates are lost when multiple agents write concurrently.
Session Survival
Sessions persist across agent restarts and IDE switches. Compaction snapshots ensure context is never lost.
Agent Identity
Each connected agent has a unique identity. The session tracks who made which decision and when.
4 MCP herramientas
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.
ctx_session Cross-session memory (CCP). Actions: load (restore ~400 tok), save, status, task, finding, decision, reset, list, cleanup, snapshot, restore, resume, profile (context profiles), role (governance), budget (limits), slo (observability), diff (compare sessions), verify (output verification stats), episodes (episodic memory), procedures (procedural memory).
ctx_handoff Context Ledger Protocol (hashed, deterministic, local-first). Actions: create|show|list|pull|clear.
ctx_agent Multi-agent coordination (shared message bus + persistent diaries). Actions: register (join with agent_type+role), post (broadcast or direct message with category), read (poll messages), status (update state: active|idle|finished), handoff (transfer task to another agent with summary), sync (overview of all agents + pending messages + shared contexts), diary (log discovery/decision/blocker/progress/insight — persisted across sessions), recall_diary (read agent diary), diaries (list all agent diaries), list, info.
ctx_share Share cached file contexts between agents. Actions: push (share files from your cache to another agent), pull (receive files shared by other agents), list (show all shared contexts), clear (remove your shared contexts).
Cada salida lleva prueba
LeanCTX genera artefactos de prueba para cada sesión: qué archivos se leyeron, qué se comprimió, qué verificaciones pasaron y cómo se gastaron los tokens. Esto hace que el trabajo de IA sea auditable, reproducible y confiable.
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.