{"repo":"vstorm-co/summarization-pydantic-ai","free":true,"listed":false,"github":"https://github.com/vstorm-co/summarization-pydantic-ai","clone":"git clone https://github.com/vstorm-co/summarization-pydantic-ai.git","description":"Context Management processor for Pydantic AI agents, providing LLM-powered summarization or zero-cost sliding window trimming to handle infinite/long-running conversations without context overflow. Supports flexible triggers, safe cutoffs, and custom prompts for efficient AI apps.","language":"Python","stars":71,"topics":["ai-agents","anthropic","chatgpt","claude","context-engineering","deepagents","gemini","llm","pydantic-ai","python"],"license":"MIT","category":"ai-agents","readme_excerpt":"Summarization for Pydantic AI Unlimited context for long-running agents. Auto-summarize or slide the window — never hit the context wall. Docs &middot; PyPI &middot; Install &middot; Ecosystem &middot; Deep Agents LLM summarization &nbsp;&bull;&nbsp; Zero-cost sliding window &nbsp;&bull;&nbsp; Auto token tracking &nbsp;&bull;&nbsp; Limit warnings &nbsp;&bull;&nbsp; Safe tool-pair cutoff --- ### ⬆️ Upstreamed to pydantic-ai-harness Working together with the Pydantic team, we moved this library's functionality into the official pydantic-ai-harness — it now lives in pydantic ai harness/compaction (PR #465, merged). For new projects, use the harness — it is maintained by Pydantic alongside Pydantic AI itself, and the compaction strategies there have moved past what this library does (see the mapping below). This repository stays on PyPI and keeps working for everyone already depending on it. This library In pydantic ai harness.compaction --- --- SummarizationProcessor / create summarization processor() SummarizingCompaction SlidingWindowProcessor / create sliding window processor() SlidingWindowCompaction LimitWarnerCapability / create limit warner processor() WarnNearLimits ContextManagerCapability TieredCompaction (cheap passes first, summary only if still over budget) Tool-output truncation ClampOversizedMessages , ClearToolResults on context update token tracking ReportContextUsage compact conversation tool / guided compaction compact now() , SummarizingCompaction.with focus(","default_branch":null,"files":null,"tree":[],"storefront":"/r/vstorm-co","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vstorm-co/summarization-pydantic-ai/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}