Integrating Logical Chain-of-Thought Planning with Agentic Context Engineering for Self-Improving LLM Agents

dc.contributor.authorبالطاهر، سعيدة
dc.contributor.authorدباب، هبه الرحمان
dc.date.accessioned2026-10-12T07:50:46Z
dc.date.issued2026-06
dc.descriptionمذكرة ماستر إعلام الي
dc.description.abstractLarge Language Models (LLMs) have demonstrated strong capabilities in generation and reasoning, yet their effectiveness in long-running agentic settings remains limited by the absence of reliable mechanisms for preserving validated experience across interactions. In practice, such systems often repeat unsuccessful behaviors, rediscover previously solved tasks, and remain dependent on transient context rather than accumulating stable operational knowledge. This thesis addresses this limitation through the Curated Persistent Context (CPC) framework, a structured memory architecture for self-improving LLM agents. CPC stores only verified and reusable knowledge units, called Learning Atoms, and integrates them into an operational loop that combines retrieval, generation, verification, and persistent update. To strengthen the reliability of the framework, its core behavior is also studied through the formal perspective of Temporal Logic of Actions (TLA+), which enables the specification of system states, transitions, and key correctness properties. The proposed framework is evaluated through controlled experimental tasks and progressive use cases comparing CPC against a memory-less baseline. The analysis focuses on success rate, execution effciency, memory growth, and long-term stability. The results show that curated persistent memory improves consistency, reduces redundant exploration, and moves agent behavior from purely probabilistic generation toward more deterministic and reusable problem solving.أظهرت النماذج اللغوية الكبيرة قدرات قوية في التوليد والاستدلال، إلا أن فعاليتها في البيئات الوكيلية طويلة الأمد ما تزال محدودة بسبب غياب آليات موثوقة لحفظ الخبرات المتحقق منها عبر التفاعلات المتعددة. عملياً، تميل هذه الأنظمة إلى تكرار السلوكات غير الناجحة، وإعادة اكتشاف مهام سبق حلها، والاعتماد على سياق عابر بدل بناء معرفة تشغيلية مستقرة. تعالج هذه المذكرة هذا القيد من خلال إطار السياق الدائم المنقح ، (CPC) وهو بنية ذاكرة منظمة موجهة للوكلاء المعتمدين على النماذج اللغوية الكبيرة والقادرين على التحسن الذاتي. يخزن هذا الإطار وحدات المعرفة المتحقق منها والقابلة لإعادة الاستخدام فقط، والتي تسمى ذرات التعلم، ويدمجها ضمن حلقة تشغيلية تجمع بين الاسترجاع والتوليد، والتحقق، والتحديث الدائم. ولتعزيز موثوقية الإطار، تتم دراسة سلوكه الأساسي أيضاً من منظور منطق الأفعال الزمني ، (+TLA) مما يسمح بتوصيف حالات النظام، وانتقالاته، وخصائص الصحة الأساسية. يتم تقييم الإطار المقترح من خلال مهام تجريبية مضبوطة وحالات استعمال تدريجية تقارن CPC بخط أساس لا يعتمد على ذاكرة دائمة. يركز التحليل على معدل النجاح، وكفاءة التنفيذ، ونمو الذاكرة، والاستقرار على المدى الطويل. وتبين النتائج أن الذاكرة الدائمة المنقحة تحسن الاتساق، وتقلل الاستكشاف المكرر، وتنقل سلوك الوكيل من التوليد الاحتمالي البحت نحو حل مشكلات أكثر حتمية وقابلية لإعادة الاستخ
dc.identifier.citationدباب، هبه الرحمان.بالطاهر، سعيدة.Molecular Spectroscopy. Pedagogical publication.Department of computer science.Faculty of Exact Sciences.University of El Oued, 2025
dc.identifier.urihttps://archives.univ-eloued.dz/handle/123456789/42835
dc.language.isofr
dc.publisherUniversity of El Oued جامعة الوادي
dc.subjectLLM Agents
dc.subjectCurated Persistent Context
dc.subjectLearning Atoms
dc.subjectChain-of-Thought Planning
dc.subjectAgentic Context Engineering
dc.subjectTLA+
dc.subjectFormal Verification
dc.subjectSelf-Improving Systems..
dc.subjectوكلاء النماذج اللغوية الكبيرة، السياق الدائم المنقح، ذرات التعلم، التخطيط بسلسلة التفكير، هندسة السياق الوكيلي، ،+TLA التحقق الشكلي، ، الأنظمة ذاتية التحسن.
dc.titleIntegrating Logical Chain-of-Thought Planning with Agentic Context Engineering for Self-Improving LLM Agents
dc.typemaster

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
main (22)-1-26 - Hima Bibliothèque.pdf
Size:
3.41 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: