awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

21 repository-uri

Awesome GitHub RepositoriesContext Window Optimizations

Techniques and tools for reducing the volume of data sent to large language models to maximize available token space.

Distinct from AI Description Refiners: The candidates focus on human-readable descriptions, translation, or UI lists, whereas this is specifically about reducing token overhead for LLM context windows.

Explore 21 awesome GitHub repositories matching artificial intelligence & ml · Context Window Optimizations. Refine with filters or upvote what's useful.

Awesome Context Window Optimizations GitHub Repositories

Găsește cele mai bune repo-uri cu AI.Vom căuta cele mai potrivite repository-uri folosind AI.
  • juliusbrussee/cavemanAvatar JuliusBrussee

    JuliusBrussee/caveman

    73,390Vezi pe GitHub↗

    Caveman is a set of tools and configurations designed for large language model token optimization. It focuses on reducing the amount of data processed during AI interactions to lower costs and maximize the available context window. The project implements a fragmented communication style that replaces full grammatical sentences with concise technical keywords. This approach extends to AI context optimization by condensing memory files and tool descriptions, and includes a specialized configuration for generating terse, one-line code reviews and short conventional commit messages. The system i

    Provides condensed formatting for server descriptions to reduce token consumption within an AI agent's context window.

    JavaScriptaianthropiccaveman
    Vezi pe GitHub↗73,390
  • addyosmani/agent-skillsAvatar addyosmani

    addyosmani/agent-skills

    60,849Vezi pe GitHub↗

    Agent-skills is a collection of structured instructions and behavioral personas designed to standardize how AI coding agents perform engineering tasks. It functions as a workflow orchestrator that maps natural language intent to repeatable technical sequences and verification checklists. The project distinguishes itself through the use of specialized markdown-defined roles, such as security auditors or test engineers, to apply targeted domain expertise. It employs an evidence-based verification model that requires runtime data or passing tests as mandatory exit criteria to ensure AI-generated

    Implements strategies to optimize LLM token usage by dynamically loading and unloading skill sets.

    Shellagent-skillsantigravityantigravity-ide
    Vezi pe GitHub↗60,849
  • tirth8205/code-review-graphAvatar tirth8205

    tirth8205/code-review-graph

    18,822Vezi pe GitHub↗

    This project is a static code analysis tool and local-first code indexer that builds a persistent dependency graph of functions, classes, and imports. It functions as an AI context optimizer and codebase dependency graph, designed to reduce token usage by providing AI assistants with only the most relevant code fragments and impact analysis for a given change. The system implements a Model Context Protocol server that exposes code intelligence and architectural graph queries to external AI coding tools. It distinguishes itself by computing the change blast radius and risk scores of modificati

    Filters codebase data to reduce token consumption by delivering only the most relevant fragments and impact reports to LLMs.

    Pythonai-codingclaudeclaude-code
    Vezi pe GitHub↗18,822
  • mksglu/context-modeAvatar mksglu

    mksglu/context-mode

    17,558Vezi pe GitHub↗

    This project provides a system for managing agent context and session memory, featuring an agent context compactor, an AI session memory manager, and a tool output sandbox. It functions as a middleware layer and server extension for the Model Context Protocol to optimize context windows and reduce token usage. The system optimizes agent performance by sandboxing tool outputs and externalizing large data sets, replacing raw I/O with pointers and concise summaries. It employs a persistent knowledge base that indexes session history and tool outputs for retrieval via full-text search, ensuring s

    Reduces token consumption by sandboxing tool outputs and managing information flow to agents.

    TypeScriptantigravityclaudeclaude-code
    Vezi pe GitHub↗17,558
  • qodo-ai/pr-agentAvatar qodo-ai

    qodo-ai/pr-agent

    11,630Vezi pe GitHub↗

    PR Agent is an AI-powered code analysis tool and pull request reviewer that uses large language models to automate version control workflows. It functions as a programmatic agent that integrates with version control platforms to provide automated quality checks, explain code changes, and manage pull request documentation. The system distinguishes itself by enforcing organizational engineering standards through a customizable rule-based system. It leverages retrieval-augmented generation to inject repository context and organizational guidelines into its analysis, ensuring that feedback remain

    Implements summarization strategies to compress large code diffs, ensuring they fit within the token limits of language models.

    Pythoncode-reviewcodereviewcoding-assistant
    Vezi pe GitHub↗11,630
  • brexhq/prompt-engineeringAvatar brexhq

    brexhq/prompt-engineering

    9,538Vezi pe GitHub↗

    This project is a comprehensive guide and framework for large language model prompt engineering. It provides a collection of techniques and patterns for optimizing model responses through structured system prompts, context management, and a variety of implementation patterns. The project focuses on several specialized domains, including the creation of autonomous agents through reasoning loops and the implementation of retrieval augmented generation to inject semantic context into prompts. It also provides methods for enforcing structured outputs in serialization formats like JSON or YAML for

    Implements techniques for reducing token overhead and optimizing context window usage.

    Vezi pe GitHub↗9,538
  • sarwarbeing-ai/agentic_design_patternsAvatar sarwarbeing-ai

    sarwarbeing-ai/Agentic_Design_Patterns

    9,498Vezi pe GitHub↗

    This project is a collection of architectural templates and design patterns for building autonomous AI agents. It provides a framework for transitioning from simple prompt-response loops to goal-oriented systems that utilize structural patterns to increase autonomy and improve the reliability of complex task completion. The framework focuses on reasoning orchestration, specifically through the implementation of reflection and self-correction cycles. It enables the coordination of specialized agents via task delegation and state sharing to solve complex problems. The architectural surface cov

    Implements mechanisms to filter and inject relevant information to optimize the LLM context window.

    Jupyter Notebook
    Vezi pe GitHub↗9,498
  • togethercomputer/openchatkitAvatar togethercomputer

    togethercomputer/OpenChatKit

    8,981Vezi pe GitHub↗

    OpenChatKit is a training and inference toolkit for large language models. It provides a comprehensive set of tools for managing the model lifecycle, including a fine-tuning pipeline, a model weight converter, and a command-line interface for interacting with conversational agents. The toolkit features a framework for retrieval augmented generation, allowing models to incorporate relevant context from external vector indices. It also includes utilities for converting trained model checkpoints into formats compatible with standard inference libraries. The project covers conversational AI trai

    Includes capabilities to adjust language models to optimize performance for extended input windows.

    Python
    Vezi pe GitHub↗8,981
  • davidkimai/context-engineeringAvatar davidkimai

    davidkimai/Context-Engineering

    8,431Vezi pe GitHub↗

    Context-Engineering is a prompt engineering framework and cognitive architecture for large language models. It provides a set of patterns and methodologies for designing structured prompts and modular reasoning flows that decompose complex tasks into specialized, step-by-step problem solving templates. The project distinguishes itself through stateful prompt management and context window optimization. It maintains persistent memory across multiple interaction turns by compressing conversation history into compact internal state cells and employs techniques to maximize information density per

    Ships techniques for reducing token overhead to maximize the available information density within the context window.

    Python
    Vezi pe GitHub↗8,431
  • muratcankoylan/agent-skills-for-context-engineeringAvatar muratcankoylan

    muratcankoylan/Agent-Skills-for-Context-Engineering

    8,376Vezi pe GitHub↗

    This project is a comprehensive framework for the orchestration, evaluation, and context management of large language model agents. It provides a set of architectural patterns and standards for designing agent interactions, integrating external tools, and establishing memory architectures to persist knowledge across sessions. The system focuses on optimizing the limited memory of language models through token-aware context compression and filesystem-based context offloading. It incorporates secure execution environments using sandboxed virtual machines and isolated containers to safely run ba

    Optimizes LLM token usage through token-aware context compression and efficient data retrieval strategies.

    Python
    Vezi pe GitHub↗8,376
  • microsoft/agent-frameworkAvatar microsoft

    microsoft/agent-framework

    7,277Vezi pe GitHub↗

    The agent-framework is an LLM agent orchestration framework and multi-agent workflow engine designed for building autonomous AI agents. It provides a tool integration layer for binding external functions, APIs, and sandboxed code as executable tools for language models. The framework distinguishes itself through a graph-based system for designing sequential and parallel task flows, featuring state management and checkpointing for long-running processes. It implements comprehensive conversational state management and an observability suite that uses telemetry to trace execution flows and monit

    Optimizes token usage by implementing high-level summaries and on-demand loading of detailed instructions.

    Pythonagent-frameworkagentic-aiagents
    Vezi pe GitHub↗7,277
  • open-multi-agent/open-multi-agentAvatar open-multi-agent

    open-multi-agent/open-multi-agent

    6,422Vezi pe GitHub↗

    Open Multi-Agent is a TypeScript framework for multi-agent orchestration that decomposes natural language goals into a runtime-generated directed acyclic graph of tasks. It functions as a task orchestrator and workflow state manager, coordinating multiple AI models to execute parallel and sequential operations. The framework is distinguished by a proposer-judge consensus protocol used to validate agent outputs through a quorum of agreement. It employs provider-agnostic model routing to assign specific models to tasks based on roles or execution phases and utilizes state-based workflow checkpo

    Reduces token usage through sliding windows and summarization strategies to maximize available LLM context space.

    TypeScriptagent-frameworkagent-orchestrationagentic-ai
    Vezi pe GitHub↗6,422
  • klavis-ai/klavisAvatar Klavis-AI

    Klavis-AI/klavis

    5,640Vezi pe GitHub↗

    Klavis is a platform for managing Model Context Protocol (MCP) servers and providing sandboxed environments where AI agents can safely interact with external tools and services. It functions as an integration framework that orchestrates MCP server instances, exposes tools and resources for AI agents, and isolates agent interactions from production data through horizontally scalable sandbox environments. The platform distinguishes itself through its ability to generate long-horizon agentic tasks that simulate realistic tool-use workflows with live SaaS applications and production MCP servers.

    Optimizes context windows by structuring agent-environment interactions into efficient execution paths.

    Pythonagentsaiai-agents
    Vezi pe GitHub↗5,640
  • modelengine-group/nexentAvatar ModelEngine-Group

    ModelEngine-Group/nexent

    5,265Vezi pe GitHub↗

    Nexent este un plan de control AI enterprise și o platformă de orchestrare a agenților LLM. Oferă un mediu zero-code pentru proiectarea, implementarea și gestionarea agenților AI de producție printr-un framework de colaborare multi-agent care coordonează agenți autonomi specializați folosind protocoale de mesagerie standardizate. Platforma integrează Model Context Protocol pentru a conecta agenții cu instrumente, plugin-uri și servicii externe printr-o interfață de comunicare universală. Se distinge în continuare printr-un manager dedicat de baze de cunoștințe RAG care importă documente nestructurate și utilizează căutarea hibridă pentru a oferi context fundamentat pentru răspunsurile modelului. Sistemul acoperă o gamă largă de capabilități, inclusiv controlul accesului multi-tenant bazat pe roluri, interacțiunea multimodală prin text, voce și imagini, și regăsirea vectorială hibridă. Include, de asemenea, o piață pentru distribuția și descoperirea agenților, alături de instrumente de observabilitate pentru capturarea urmelor de execuție. Platforma suportă deployment securizat prin împachetare offline containerizată pentru infrastructuri air-gapped.

    Optimizes the active memory by injecting relevant tools and info to maximize token efficiency.

    Pythonagentagentic-aiagentic-framework
    Vezi pe GitHub↗5,265
  • realpython/materialsAvatar realpython

    realpython/materials

    5,173Vezi pe GitHub↗

    Acest proiect este o colecție cuprinzătoare de materiale educaționale de programare Python, incluzând tutoriale, exerciții și mostre de cod curate. Acesta servește drept curriculum de învățare și set de instrumente de inginerie software, utilizând Jupyter Notebooks pentru a combina codul executabil cu text educațional descriptiv. Repository-ul oferă ghiduri practice de implementare pentru construirea de aplicații cu modele de limbaj mari, cum ar fi sisteme de generare augmentată prin regăsire (RAG), agenți AI cu stare și fluxuri de lucru de machine learning. Se distinge prin oferirea unei abordări structurate a fluxurilor de lucru de codare agentică, acoperind distilarea ferestrei de context, rutarea modelelor agnostice la furnizor și output-uri structurate impuse prin schemă. Materialele acoperă o gamă largă de capabilități de inginerie software, inclusiv programarea asincronă cu cozi de sarcini distribuite, dezvoltarea de aplicații web cu API-uri REST și fluxuri de lucru de analiză a datelor. Include, de asemenea, resurse pentru stăpânirea designului orientat pe obiecte, implementarea pipeline-urilor CI/CD și aplicarea standardelor profesionale de linting și formatare.

    Provides techniques for summarizing conversation history to optimize token usage within LLM context windows.

    Jupyter Notebook
    Vezi pe GitHub↗5,173
  • vudovn/antigravity-kitAvatar vudovn

    vudovn/antigravity-kit

    4,979Vezi pe GitHub↗

    Antigravity-kit is a multi-agent orchestrator and routing engine designed to coordinate specialized large language model agents. It functions as a conversational workflow automation tool and a context management system that executes complex tasks through a chat interface. The system utilizes a routing engine to classify user requests and dispatch them to domain-expert agents. It employs a multi-agent orchestration model that allows specialist workers to operate in parallel and combine their outputs. To manage operational efficiency, the kit includes a memory layer for storing project convent

    Reduces the volume of data sent to LLMs to maximize available token space and lower costs.

    TypeScript
    Vezi pe GitHub↗4,979
  • microsoft/lmopsAvatar microsoft

    microsoft/LMOps

    4,418Vezi pe GitHub↗

    LMOps este un framework operațional bazat pe cercetare pentru optimizarea deployment-ului, fine-tuning-ului și performanței modelelor de limbaj mari. Oferă un toolkit specializat pentru adaptarea modelelor de bază, accelerarea inferenței, optimizarea prompt-urilor și orchestrarea contextului. Framework-ul se distinge printr-un accelerator de inferență care reduce latența generării de token-uri prin verificarea și copierea span-urilor de text care se suprapun din documentele de referință. Dispune, de asemenea, de un optimizator de prompt engineering care utilizează reinforcement learning, beam search și markere de limbaj non-natural pentru a rafina automat instrucțiunile pentru o calitate mai ridicată a output-ului. Toolkit-ul acoperă arii largi de capabilități, inclusiv tuning-ul și adaptarea modelelor pentru domenii profesionale, alinierea comportamentului folosind feedback generat de model și gestionarea contextului retrieval-augmented pentru răspunsuri fundamentate. Suportă, de asemenea, scalarea învățării în context pentru prompt-uri cu secvențe lungi și selecția datelor de antrenament de înaltă calitate pentru a îmbunătăți eficiența fine-tuning-ului.

    Orchestrates the retrieval of external information and scales in-context learning for grounded responses.

    Python
    Vezi pe GitHub↗4,418
  • parcadei/continuous-claude-v3Avatar parcadei

    parcadei/Continuous-Claude-v3

    3,531Vezi pe GitHub↗

    This project is an agentic development framework and autonomous software engineering system. It utilizes a coordinated network of specialized LLM agents to automate the full software development lifecycle, from codebase exploration and architectural planning to implementation and automated refactoring. The system is distinguished by an agentic memory system and a test-driven development orchestrator. It maintains project continuity across sessions by capturing architectural learnings and state in a persistent semantic database and enforces code quality through an automated cycle of generating

    Reduces token consumption by replacing raw file reads with structured summaries and search intent analysis.

    Pythonagentsclaude-codeclaude-code-cli
    Vezi pe GitHub↗3,531
  • memodb-io/acontextAvatar memodb-io

    memodb-io/Acontext

    3,035Vezi pe GitHub↗

    Acontext is an LLM orchestration backend and agent memory framework designed to manage session state and knowledge for AI agents. It functions as a context manager and orchestration layer that integrates model providers with a secure code sandbox and a zero-knowledge data store. The project is distinguished by its approach to knowledge distillation, capturing agent learnings as reusable Markdown skills and structured memory files. It provides a secure execution environment where shell commands and scripts run in isolated containers with the ability to mount these persistent skill files direct

    Compresses active context using summaries and editing strategies to maximize available token space.

    TypeScriptagentagent-development-kitagent-observability
    Vezi pe GitHub↗3,035
  • moonshotai/kimi-codeAvatar MoonshotAI

    MoonshotAI/kimi-code

    2,473Vezi pe GitHub↗

    Kimi-code is a command-line interface and orchestration framework designed to integrate autonomous AI agents into software development workflows. It functions as a terminal-based assistant that manages multi-step coding tasks, including planning, file system modifications, shell command execution, and test running, all while maintaining conversational context within a local development environment. The project distinguishes itself through a focus on secure, autonomous agent orchestration and granular control over AI interactions. It enforces strict security by requiring explicit user approval

    Optimizes context windows by compressing conversation history to maintain focus on relevant project information within token limits.

    TypeScript
    Vezi pe GitHub↗2,473
Înapoi12Înainte
  1. Home
  2. Artificial Intelligence & ML
  3. Context Window Optimizations

Explorează sub-etichetele

  • RAG-Specific Context OptimizersTools designed specifically to prune and manage the information density of retrieved documents in RAG pipelines. **Distinct from Context Window Optimizations:** Specializes general context window optimization for the specific requirements of retrieval-augmented generation.