Skip to content
المشاريع

Alpha-Park/genpark-agent-continuous-context-session-compactor-skill

عرض على GitHub

حول

Continuous long-context conversation compactor tracking token budgets, generating condensed sliding history summaries, and preventing context window truncation

الذكاء الاصطناعي وتعلّم الآلة

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • Token Budget Guarding: Enforces strict configurable budget limits (e.g. 8k, 32k, 128k).
  • Sliding History Distillation: Preserves critical system instructions and recent conversation while compressing historical turns.
  • Zero Overhead: In-memory token estimation and distillation with zero external LLM dependencies.

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
٠

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Continuous Context Session Compactor Skill for Autonomous Agents

MCP Compatible Python 3.9+ License: MIT Zero External Dependencies

Enables long-horizon autonomous agents to run persistently without context window exhaustion. Automatically calculates token consumption and creates concise sliding summaries for elder turns.

Capabilities

  • Token Budget Guarding: Enforces strict configurable budget limits (e.g. 8k, 32k, 128k).
  • Sliding History Distillation: Preserves critical system instructions and recent conversation while compressing historical turns.
  • Zero Overhead: In-memory token estimation and distillation with zero external LLM dependencies.

MCP Server Integration

python mcp_server.py

Available MCP Tools

  • compact_messages: Compact conversation array when exceeding token limits.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…