الذاكرة

كل جلسة جديدة تبدأ من الصفر. ذكاؤك الاصطناعي ينسى كل ما تعلمه.

LeanCTX يحتفظ بالجلسات ومعرفة المشروع ورسوم التبعيات البيانية وتسليمات الوكلاء عبر عمليات إعادة التشغيل. محرك بقاء الجلسة يضمن أن استعلامات الاسترداد المنظمة تنجو من ضغط السياق، فلا يُفقد أي سياق حاسم أثناء المهمة. تُخزن الحقائق بدرجات ثقة وتتناقص تلقائياً مع الوقت. غرف المعرفة تُنظم المعلومات حسب الموضوع، وحزم التسليم المنظمة تتيح انتقالات سلسة بين الوكلاء مع الحفاظ الكامل على السياق.

المشكلة

وكيلك ينسى كل شيء

في كل مرة تبدأ محادثة جديدة، ينسى وكيل AI الخاص بك كل شيء: قرارات الهندسة المعمارية، أنماط الأخطاء، اتفاقيات API، وما جُرّب وفشل.

ctx_knowledge يحفظ معرفة المشروع عبر الجلسات. اسأل مرة واحدة، تذكّر إلى الأبد.

ctx_knowledge
ctx_knowledge ({ action: "search", query: "auth architecture" })
- Found 3 facts (project: my-app)
- 1. JWT with refresh tokens, Redis session store
- 2. RBAC with 4 roles: admin, editor, viewer, guest
- quality: 0.92, last verified: 2h ago
الذاكرة

5 أدوات

01

جلسات مستمرة

حالة الجلسة تنجو من إعادة التشغيل مع نقاط التفتيش والضغط والنمو المحدود.

02

معرفة المشروع

حقائق وأنماط وتناقضات وذاكرة أخطاء مع تقييم الثقة وسياسات الانحلال.

03

رسوم التبعيات البيانية متعددة الحواف

Property Graph مع اجتياز Multi-Edge BFS عبر الاستيرادات والاستدعاءات والتصديرات ومراجع الأنواع وحواف tested_by مع تقييم التأثير المُرجّح.

04

تسليمات الوكلاء

حزم تسليم منظمة مع يوميات ومهام وإسناد التكلفة عبر الوكلاء.

05

محرك بقاء الجلسة

استعلامات الاسترداد المنظمة تنجو من ضغط السياق - القرارات الحاسمة والمهام المفتوحة وسياق الهندسة المعمارية تُحفظ تلقائياً.

Protocol

بروتوكول استمرارية السياق (CCP)

بروتوكول استمرارية يضمن بقاء الجلسات والمعرفة والسياق عبر حدود الوكلاء.

CCP Protocol
protocol CCP
version v1
pillar الذاكرة
status active
مستمر الجلسات
متنامية معرفة المشروع
كاملة تغطية الرسم البياني
أدوات

14 MCP أدوات

LeanCTX يحتفظ بالجلسات ومعرفة المشروع ورسوم التبعيات البيانية وتسليمات الوكلاء عبر عمليات إعادة التشغيل. محرك بقاء الجلسة يضمن أن استعلامات الاسترداد المنظمة تنجو من ضغط السياق، فلا يُفقد أي سياق حاسم أثناء المهمة. تُخزن الحقائق بدرجات ثقة وتتناقص تلقائياً مع الوقت. غرف المعرفة تُنظم المعلومات حسب الموضوع، وحزم التسليم المنظمة تتيح انتقالات سلسة بين الوكلاء مع الحفاظ الكامل على السياق.

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_knowledge

Persistent project knowledge across sessions (facts, patterns, history). Supports recall modes, embeddings, feedback, and typed relations.

ctx_graph

Unified code graph. Actions: build (index), related (connected files), symbol (def/usages), impact (blast radius), status (stats), enrich (add commits+tests+knowledge), context (task-based query), diagram (Mermaid deps/calls).

ctx_impact

Graph-based impact analysis. Actions: analyze|chain|build|status.

ctx_architecture

Graph-based architecture analysis. Actions: overview|clusters|layers|cycles|entrypoints|module.

ctx_callgraph

Unified call graph query. direction=callers|callees for a symbol. Returns file/symbol/line edges.

ctx_callers

Find all symbols that call a given function/method. Deprecated alias for ctx_callgraph direction=callers.

ctx_callees

Find all functions/methods called by a given symbol. Deprecated alias for ctx_callgraph direction=callees.

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_task

Multi-agent task orchestration. Actions: create|update|list|get|cancel|message|info.

ctx_handoff

Context Ledger Protocol (hashed, deterministic, local-first). Actions: create|show|list|pull|clear.

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).

ctx_compress

Context checkpoint for long conversations.

ctx_compress_memory

Compress a memory/config file (CLAUDE.md, .cursorrules, etc.) to save tokens on every session start. Preserves code blocks, URLs, paths, headings, tables. Creates .original.md backup.

الذاكرة

الوثائق ذات الصلة

التحقق

كل مخرج يحمل إثباتاً

يُولّد LeanCTX أدلة إثبات لكل جلسة: أي الملفات قُرئت، وما الذي ضُغط، وأي الفحوصات نجحت، وكيف أُنفقت التوكنات. هذا يجعل عمل AI قابلاً للتدقيق والإعادة والثقة.

استكشف أدوات الذاكرة

LeanCTX يحتفظ بالجلسات ومعرفة المشروع ورسوم التبعيات البيانية وتسليمات الوكلاء عبر عمليات إعادة التشغيل. محرك بقاء الجلسة يضمن أن استعلامات الاسترداد المنظمة تنجو من ضغط السياق، فلا يُفقد أي سياق حاسم أثناء المهمة. تُخزن الحقائق بدرجات ثقة وتتناقص تلقائياً مع الوقت. غرف المعرفة تُنظم المعلومات حسب الموضوع، وحزم التسليم المنظمة تتيح انتقالات سلسة بين الوكلاء مع الحفاظ الكامل على السياق.