Tagged articles

Context Compression

63 articles · Page 1 of 1
Xiaomi Tech
Xiaomi Tech
Sep 10, 2026 · Artificial Intelligence

Inside Xiaomi Super XiaoAI: Fast/Slow Routing & Full-Duplex Dialogue for Automotive AI

Xiaomi details the dual-system architecture behind Super XiaoAI: a fast/slow routing layer that cuts model latency 35% via no-think mode and RAG-Planning, plus a full-duplex dialogue engine with three-level context compression (60–86% token reduction) and four-type interruption handling for natural in-car conversation.

Automotive AIContext CompressionFast/Slow System
0 likes · 10 min read
Inside Xiaomi Super XiaoAI: Fast/Slow Routing & Full-Duplex Dialogue for Automotive AI
JD Cloud Developers
JD Cloud Developers
Sep 1, 2026 · Artificial Intelligence

Claude Code vs Codex: Deep Architectural Comparison of AI Agent Memory Systems

This article provides an architecture-level comparison of Claude Code's four-layer automated memory system (CLAUDE.md, Auto Memory, Session Memory, AutoDream) versus Codex's two-layer manual declarative system (AGENTS.md + Session Context), analyzing persistence strategies, cross-session transfer, context compression, MCP support, and design philosophy trade-offs between automation and controllability.

AGENTS.mdAI Agent MemoryAutoDream
0 likes · 52 min read
Claude Code vs Codex: Deep Architectural Comparison of AI Agent Memory Systems
Top Architecture Tech Stack
Top Architecture Tech Stack
Aug 24, 2026 · Artificial Intelligence

Why Codex’s Quota Reset Highlights Hidden Costs Beyond Tokens

OpenAI’s decision to reset Codex quotas reveals that AI programming agents incur complex, multi‑dimensional usage costs—including long‑context image handling, high‑percentile consumption, and auxiliary features like title generation—making simple token counting insufficient for accurate billing.

AI AgentsContext CompressionOpenAI Codex
0 likes · 10 min read
Why Codex’s Quota Reset Highlights Hidden Costs Beyond Tokens
AndroidPub
AndroidPub
Aug 20, 2026 · Artificial Intelligence

How to Stop Large‑Model Coding Agents from Forgetting in Multi‑Turn Dialogues

The article explains why a coding agent may appear to forget earlier decisions, introduces a three‑layer memory system (interaction history, request projection, logical execution chain), and details token‑budget constraints, prompt‑caching trade‑offs, and a suite of context‑compression strategies to keep agents reliable across long conversations.

Agent MemoryContext CompressionEvent Sourcing
0 likes · 16 min read
How to Stop Large‑Model Coding Agents from Forgetting in Multi‑Turn Dialogues
TonyBai
TonyBai
Aug 14, 2026 · Artificial Intelligence

DeepSeek Opens Harness: How a Plug‑in‑First Architecture Makes Every Agent Component Swappable

DeepSeek's newly open‑sourced Harness (dsh) introduces a plug‑in‑first design that decouples models, tools, sessions, storage, and UI into interchangeable modules, detailing its Cordis meta‑framework, profile‑bundle layering, turn/step loop, event system, and early support for context compression and long‑term memory.

Context CompressionCordisDeepSeek
0 likes · 16 min read
DeepSeek Opens Harness: How a Plug‑in‑First Architecture Makes Every Agent Component Swappable
Machine Heart
Machine Heart
Jul 30, 2026 · Artificial Intelligence

How Two Settings Tripled GPT‑5.6 Sol’s ARC‑AGI‑3 Score

OpenAI found that enabling retained reasoning and context compression in the GPT‑5.6 Sol API raised its ARC‑AGI‑3 benchmark score from 13.3% to 38.3%—a three‑fold increase—while also cutting token usage by about six times, highlighting how evaluation frameworks and settings can mask a model’s true capabilities.

AI benchmarkingARC-AGI-3Context Compression
0 likes · 8 min read
How Two Settings Tripled GPT‑5.6 Sol’s ARC‑AGI‑3 Score
Linyb Geek Road
Linyb Geek Road
Jul 29, 2026 · Artificial Intelligence

Why Adding More Documents Can Degrade RAG Answers

The article explains that stuffing a RAG system with many overlapping or conflicting documents consumes tokens, slows responses, and introduces noise that prevents the model from correctly using the most relevant evidence, ultimately worsening answer quality.

Context CompressionEvidence RankingLLM
0 likes · 14 min read
Why Adding More Documents Can Degrade RAG Answers
AI Programming Lab
AI Programming Lab
Jul 23, 2026 · Artificial Intelligence

How Codex and Claude Code Compress Context: Mechanisms, Experiments, and Performance

The article analyzes Codex's opaque, encrypted compaction items versus Claude Code's transparent summaries, explains trigger mechanisms, details a reverse‑engineering prompt‑injection experiment, and presents a benchmark where native server compression achieves 100% accuracy while plain text summaries lag behind.

AnthropicClaude CodeCodex
0 likes · 11 min read
How Codex and Claude Code Compress Context: Mechanisms, Experiments, and Performance
Linyb Geek Road
Linyb Geek Road
Jul 11, 2026 · Artificial Intelligence

Why Are AI Agent Bills Soaring? Token‑Saving Techniques to Cut Costs

The article explains that most token cost comes from system‑added context rather than the user query, breaks down cost components, and offers a hierarchy of optimizations—from usage habits and prompt caching to model routing, tool management, and output compression—to dramatically reduce AI coding agent expenses.

AI agentContext CompressionPrompt Cache
0 likes · 23 min read
Why Are AI Agent Bills Soaring? Token‑Saving Techniques to Cut Costs
Efficient Ops
Efficient Ops
Jul 6, 2026 · Artificial Intelligence

Why AI Coding Agent Bills Soar and 5 Token‑Saving Techniques to Cut Costs

The article reveals that exploding AI coding agent bills are driven mainly by hidden context payloads rather than the user query, breaks the cost into five categories, and provides a layered set of practical optimizations—from usage habits and model routing to context compression tools like RTK and Caveman—to dramatically reduce token consumption.

AI agentCavemanContext Compression
0 likes · 23 min read
Why AI Coding Agent Bills Soar and 5 Token‑Saving Techniques to Cut Costs
IT Services Circle
IT Services Circle
Jun 30, 2026 · Artificial Intelligence

Building an AI Agent to Generate Apple Logo Animations: From ReAct Loops to Harness Engineering

The article walks through creating a web‑wrapped ChatGPT agent that automatically fetches SVG logos, uses ReAct’s think‑act‑observe cycle, handles memory limits with context compression, coordinates multiple AI workers, and adds safety layers—collectively called Harness—to reliably produce Apple logo animations.

AI AgentsContext CompressionHarness Engineering
0 likes · 14 min read
Building an AI Agent to Generate Apple Logo Animations: From ReAct Loops to Harness Engineering
java1234
java1234
Jun 26, 2026 · Artificial Intelligence

Headroom: Open‑Source AI Agent Context Compression Cuts Token Usage by 60‑95%

Headroom inserts a reversible compression layer between your AI agent and the LLM, trimming irrelevant context such as tool outputs, logs, and RAG results, which can reduce token consumption by 60‑95% while preserving accuracy, as demonstrated on real‑world workloads.

AI AgentsContext CompressionHeadroom
0 likes · 7 min read
Headroom: Open‑Source AI Agent Context Compression Cuts Token Usage by 60‑95%
James' Growth Diary
James' Growth Diary
Jun 25, 2026 · Artificial Intelligence

Why Compression Isn’t Truncation: Hermes’s Structured Summaries Keep Prefix Cache Hits

The article explains how Hermes Agent avoids the pitfalls of naive sliding‑window truncation—such as orphaned tool calls and broken KV‑cache—by using a three‑segment protection scheme, cheap tool‑result pre‑pruning, and a structured, reference‑only summary that dramatically reduces tokens while preserving and even improving prefix cache hit rates.

Context CompressionHermes AgentLLM
0 likes · 17 min read
Why Compression Isn’t Truncation: Hermes’s Structured Summaries Keep Prefix Cache Hits
James' Growth Diary
James' Growth Diary
Jun 15, 2026 · Artificial Intelligence

Taming Context Explosion: Multi‑Agent Compression Engineering in Claude Code

The article dissects Claude Code’s three‑layer compression system—microCompact, autoCompact, and sessionMemoryCompact—explaining how each layer mitigates the multiplicative token growth of multi‑agent workflows, the compact_boundary bookmark for resume support, cache‑friendly designs, and practical pitfalls.

Claude CodeContext CompressionLLM
0 likes · 22 min read
Taming Context Explosion: Multi‑Agent Compression Engineering in Claude Code
Java Architect Essentials
Java Architect Essentials
Jun 14, 2026 · Artificial Intelligence

Claude Code’s New Self‑Healing Feature Crushes Six Developer Nightmares

Claude Code’s latest overhaul tackles six common developer frustrations—terminal flicker, silent stalls, cryptic errors, context deadlocks, flaky connections, and session crashes—by introducing a full‑screen TUI, streaming reasoning, clearer error messages, smarter context compression, a hardened MCP layer, and automatic self‑healing.

AI programmingClaude CodeContext Compression
0 likes · 7 min read
Claude Code’s New Self‑Healing Feature Crushes Six Developer Nightmares
IT Services Circle
IT Services Circle
Jun 9, 2026 · Artificial Intelligence

Boost Your Productivity 10× with Claude Code Slash Commands – Complete Guide

This tutorial walks through Claude Code’s built‑in slash commands, explaining each command’s purpose, when to use it, and providing concrete examples and demo prompts so developers can manage sessions, control context, run background tasks, and streamline AI‑assisted coding efficiently.

AI programmingAutomationClaude Code
0 likes · 20 min read
Boost Your Productivity 10× with Claude Code Slash Commands – Complete Guide
AI Architecture Path
AI Architecture Path
Jun 3, 2026 · Artificial Intelligence

How Headroom Cuts Claude Code Token Usage by Up to 95% Without Losing Accuracy

Headroom is a locally run, reversible context‑compression layer for Claude Code that reduces input tokens by 60‑95 % without sacrificing precision, eliminates context‑limit errors, cuts token costs, protects privacy, and enables seamless memory sharing across multiple AI coding agents, as demonstrated by real‑world benchmarks.

AI codingClaude CodeContext Compression
0 likes · 15 min read
How Headroom Cuts Claude Code Token Usage by Up to 95% Without Losing Accuracy
James' Growth Diary
James' Growth Diary
Jun 1, 2026 · Artificial Intelligence

How Hermes Implements Bounded Memory: Character Limits, Compression, and Snapshots to Prevent Overflow

The article details Hermes' bounded memory system, which uses character limits for persistent files, a three‑stage context compression pipeline, boundary alignment to protect tool calls, snapshot caching, triple redaction, and anti‑thrashing mechanisms, ensuring agents never overflow or lose critical information.

Context CompressionHermesLLM Agents
0 likes · 16 min read
How Hermes Implements Bounded Memory: Character Limits, Compression, and Snapshots to Prevent Overflow
Data STUDIO
Data STUDIO
Jun 1, 2026 · Artificial Intelligence

Build a CLI AI Agent in Just 250 Python Lines

This tutorial walks through seven incremental stages—starting with a simple while‑True loop and adding tool‑calling, dynamic skill loading, slash commands, JSON persistence, automatic context compression, and a background timed loop—to create a fully functional CLI AI Agent using Ollama and the local qwen3.5 model without GPU or API keys.

AI agentCLIContext Compression
0 likes · 15 min read
Build a CLI AI Agent in Just 250 Python Lines
TechVision Expert Circle
TechVision Expert Circle
May 24, 2026 · Artificial Intelligence

Inside Claude Code: How Its Production‑Grade Agent Engine Works

This article dissects Claude Code’s architecture, detailing its simple while‑loop core, layered tool system with lazy loading, seven‑layer permission defense, five‑stage context compaction, sub‑agent collaboration, hook mechanisms, and the CLAUDE.md context‑engineering approach, revealing why token efficiency and deterministic security drive its design.

Agent LoopClaude CodeContext Compression
0 likes · 14 min read
Inside Claude Code: How Its Production‑Grade Agent Engine Works
James' Growth Diary
James' Growth Diary
May 24, 2026 · Artificial Intelligence

Wrapping Up Harness Engineering: The Six Pillars Methodology Explained

This article reviews the six foundational pillars of Harness Engineering—context architecture, architectural constraints, self‑verification loop, context isolation, entropy governance, and detachability—showing how Claude Code implements them, why infrastructure, not model size, is the real bottleneck, and offering ten concrete actions for practitioners.

AI AgentsContext CompressionEntropy Management
0 likes · 17 min read
Wrapping Up Harness Engineering: The Six Pillars Methodology Explained
AI Engineer Programming
AI Engineer Programming
May 10, 2026 · Artificial Intelligence

Lossless Context Management (LCM): Handling Unlimited Agent Tasks with Finite Windows

The article analyzes the limitation of finite LLM context windows for unbounded agent tasks, reviews existing truncation, summarization, and RAG approaches, and presents the Lossless Context Management (LCM) architecture with immutable storage, hierarchical DAG compression, three‑level summarization, and zero‑overhead processing for both short and large‑scale workloads.

AI AgentsAgent MemoryAgentic-Map
0 likes · 9 min read
Lossless Context Management (LCM): Handling Unlimited Agent Tasks with Finite Windows
Architect's Ambition
Architect's Ambition
May 8, 2026 · Artificial Intelligence

A 12,000‑Word Guide to Agent Harness: Designing and Implementing Production‑Ready AI Agents

The article presents a comprehensive 7‑layer Agent Harness architecture that transforms experimental LLM‑based agents into stable, cost‑effective, secure, and observable production‑grade autonomous workers, illustrated with real‑world case studies, performance metrics, and concrete implementation details.

AI AgentsAgent ArchitectureContext Compression
0 likes · 33 min read
A 12,000‑Word Guide to Agent Harness: Designing and Implementing Production‑Ready AI Agents
Machine Heart
Machine Heart
May 7, 2026 · Artificial Intelligence

How TACO Lets CLI Agents Self‑Evolve to Drop Useless Context

TACO is a plug‑and‑play, training‑free framework that lets terminal‑based autonomous agents automatically learn compression rules to filter low‑value output while preserving critical decision cues, achieving higher task success rates and better token efficiency across multiple terminal‑related benchmarks.

Code IntelligenceContext CompressionLLM
0 likes · 14 min read
How TACO Lets CLI Agents Self‑Evolve to Drop Useless Context
AI Tech Publishing
AI Tech Publishing
May 1, 2026 · Artificial Intelligence

5 Counterintuitive Design Principles for Prompt Caching in Claude Code

The article details five counterintuitive design principles for Claude Code's prompt caching—optimizing prompt layout, using message‑based updates, never switching models or tools mid‑conversation, safely compressing context, and monitoring cache health—backed by concrete examples and up to 90% cost savings.

AI engineeringClaude CodeContext Compression
0 likes · 10 min read
5 Counterintuitive Design Principles for Prompt Caching in Claude Code
AI Tech Publishing
AI Tech Publishing
May 1, 2026 · Artificial Intelligence

Turning Harness into a Distributed Context Management System for Long‑Task Agents

The article explains why the reliability of long‑task agents now hinges on harness design rather than model strength, and details four harness innovations—programmatic tool calls, sub‑agents as isolation boundaries, context compression, and skill‑search priority—that Glean uses to build a distributed context management system.

Context CompressionSub‑agentsagent harness
0 likes · 11 min read
Turning Harness into a Distributed Context Management System for Long‑Task Agents
AI Step-by-Step
AI Step-by-Step
Apr 27, 2026 · Artificial Intelligence

Hermes Prompt Runtime: Managing Provider, Prompt, Memory, and Context

Hermes Prompt Runtime introduces a layered architecture that first resolves the model provider, then builds a stable system prompt, freezes memory snapshots for session boundaries, isolates per‑call temporary context, and compresses long histories, thereby keeping long‑term semantics stable, improving prompt caching, and reducing context‑window pressure.

Agent ArchitectureContext CompressionHermes
0 likes · 12 min read
Hermes Prompt Runtime: Managing Provider, Prompt, Memory, and Context
Alibaba Cloud Developer
Alibaba Cloud Developer
Apr 24, 2026 · Artificial Intelligence

How Hermes Agent Achieves Self‑Evolution: A Deep Dive into Prompt, Context, and Harness Design

This article provides a detailed technical analysis of Hermes Agent, explaining how its dynamic skill generation and reinforcement‑learning loop enable true self‑evolution, and examines the prompt engineering, context compression, memory architecture, harness mechanisms, error handling, and plugin ecosystem that differentiate it from OpenClaw and Claude Code.

Agent FrameworkContext CompressionHermes Agent
0 likes · 41 min read
How Hermes Agent Achieves Self‑Evolution: A Deep Dive into Prompt, Context, and Harness Design
Shuge Unlimited
Shuge Unlimited
Apr 23, 2026 · Artificial Intelligence

Deep Dive into Hermes Agent: Self‑Improving AI Agent Architecture with 110K+ Stars

Hermes Agent, an open‑source self‑improving AI agent framework that has amassed over 110 K GitHub stars, introduces a native closed‑learning loop, a unified single‑process agent cycle, self‑registering tools, pluggable context compression, multi‑API model support, and a scalable multi‑platform gateway, all built on Python 3.11+, SQLite + WAL, and extensive modular design.

AI agentContext CompressionHermes Agent
0 likes · 24 min read
Deep Dive into Hermes Agent: Self‑Improving AI Agent Architecture with 110K+ Stars
ZhiKe AI
ZhiKe AI
Apr 19, 2026 · Artificial Intelligence

Claude Code Agent Architecture: 4‑Layer Breakdown & 3 Key Designs from while(true) to Autonomous Decision‑Making

The article dissects Claude Code Agent's four‑layer architecture—interaction, orchestration, execution, and infrastructure—explaining how the perpetual while(true) queryLoop drives LLM streaming, how StreamingToolExecutor enables safe concurrent tool execution, and how the autoCompact four‑stage compression with a circuit‑breaker safeguards context length.

Claude Code AgentContext CompressionLLM tool integration
0 likes · 19 min read
Claude Code Agent Architecture: 4‑Layer Breakdown & 3 Key Designs from while(true) to Autonomous Decision‑Making
o-ai.tech
o-ai.tech
Apr 17, 2026 · Artificial Intelligence

How Hermes Agent Self‑Evolves: Memory, Skills, and Offline Training Pipelines

This article dissects Hermes Agent’s self‑evolution mechanism, explaining how stable facts are stored in memory, reusable procedures become skills, and rollout trajectories are turned into training data through background review, context compression, and OPD‑based token‑level distillation.

Agent ArchitectureContext CompressionHermes Agent
0 likes · 33 min read
How Hermes Agent Self‑Evolves: Memory, Skills, and Offline Training Pipelines
Tech Verticals & Horizontals
Tech Verticals & Horizontals
Apr 15, 2026 · Artificial Intelligence

How Hermes Enables AI to Remember, Learn, and Grow Autonomously

The article dissects Hermes’s autonomous learning loop, detailing how immutable facts are stored in long‑term memory, reusable methods become skills, session history is searchable, and a background review process periodically consolidates knowledge while a pre‑compression rescue safeguards key information.

AIContext CompressionHermes
0 likes · 15 min read
How Hermes Enables AI to Remember, Learn, and Grow Autonomously
Machine Heart
Machine Heart
Apr 13, 2026 · Artificial Intelligence

What’s the Underlying Logic of Coding Agents and Why Do Claude Code Variants Outperform Others?

The article dissects coding agents by outlining their six core components, explaining how an agent harness orchestrates model inference, repository context, prompt caching, tool validation, context compression, structured memory, and bounded sub‑agents, and shows why these architectural choices give Claude Code a performance edge over plain LLMs.

Context CompressionLLMagent harness
0 likes · 22 min read
What’s the Underlying Logic of Coding Agents and Why Do Claude Code Variants Outperform Others?
Architect Practice
Architect Practice
Apr 12, 2026 · Artificial Intelligence

What Engineering Problems Does Claude Code’s Harness Engineering Solve?

The article dissects Claude Code’s open‑source TypeScript implementation to reveal the five‑layer Harness Engineering architecture—Query Loop, system‑prompt assembly, tool orchestration, multi‑level context compression, and multi‑Agent coordination—showing how each layer solves concrete engineering challenges for reliable AI agents.

AI agentContext CompressionHarness Engineering
0 likes · 20 min read
What Engineering Problems Does Claude Code’s Harness Engineering Solve?
AI Tech Publishing
AI Tech Publishing
Apr 12, 2026 · Artificial Intelligence

How Hermes Agent’s Multi‑Layer Memory Beats OpenClaw’s Simple Markdown Store

The article dissects Hermes Agent’s four‑store memory architecture—declarative, procedural, situational, and persona—deterministic routing, frozen snapshots, nudge‑driven persistence, security scanning, dual‑peer modeling, skill management, and three‑phase context compression, showing why it outperforms OpenClaw’s breadth‑first design.

Context CompressionHermes AgentLLM Agents
0 likes · 17 min read
How Hermes Agent’s Multi‑Layer Memory Beats OpenClaw’s Simple Markdown Store
macrozheng
macrozheng
Apr 10, 2026 · Artificial Intelligence

Inside Claude Code: How a 500k‑Line AI Programming Tool Leaked and What Its Architecture Reveals

The Claude Code source leak exposed over 500,000 lines of AI‑coding tool code, revealing its npm publishing mishap, the layered architecture built on React Ink, the ReAct‑style agent loop, sophisticated tool orchestration, multi‑tier memory management, context compression, security checks, feature flags, and even anti‑distillation defenses.

AI AgentsClaude CodeContext Compression
0 likes · 30 min read
Inside Claude Code: How a 500k‑Line AI Programming Tool Leaked and What Its Architecture Reveals
IT Services Circle
IT Services Circle
Apr 6, 2026 · Artificial Intelligence

Mastering RAG Interview Questions: A Complete Retrieval Optimization Blueprint

This article breaks down the full RAG retrieval pipeline—from query understanding and rewriting, through hybrid retrieval and reranking, to chunking, context compression, and dynamic routing—providing concrete techniques, formulas, and performance metrics to help candidates ace interview questions on RAG systems.

Context CompressionHard Negative MiningHybrid Retrieval
0 likes · 16 min read
Mastering RAG Interview Questions: A Complete Retrieval Optimization Blueprint
AI Tech Publishing
AI Tech Publishing
Apr 6, 2026 · Artificial Intelligence

Six Core Components of a Coding Agent Explained with Code

The article systematically breaks down the six essential building blocks of a programming agent—live repository context, prompt shape and cache reuse, structured tool access and validation, context reduction, structured session memory, and bounded sub‑agent delegation—illustrated with a Mini Coding Agent implementation and comparisons to Claude Code, Codex, and OpenClaw.

Context CompressionLLMPython
0 likes · 15 min read
Six Core Components of a Coding Agent Explained with Code
Shuge Unlimited
Shuge Unlimited
Apr 4, 2026 · Artificial Intelligence

Inside Claude Code: Three‑Tier Compression Enabling Unlimited‑Length AI Tasks

The article dissects Claude Code's three‑level progressive compression system—MicroCompact, SessionMemoryCompact, and Full Compact—showing how it edits cached prompts, maintains background memory files, and generates a structured nine‑section summary to keep AI agents operating over arbitrarily long conversations within a limited context window.

AI agentAuto CompressionClaude Code
0 likes · 17 min read
Inside Claude Code: Three‑Tier Compression Enabling Unlimited‑Length AI Tasks
AI Open-Source Efficiency Guide
AI Open-Source Efficiency Guide
Apr 1, 2026 · Artificial Intelligence

Build an AI Agent Harness from Scratch: Deep Dive into Claude Code Architecture

This article walks developers through the learn-claude-code project, teaching them how to construct a Claude‑style AI Agent Harness by covering twelve progressive lessons, core concepts such as agents, harnesses, sub‑agents, context compression, task management, and providing runnable Python examples and architectural diagrams.

AI agentClaude CodeContext Compression
0 likes · 13 min read
Build an AI Agent Harness from Scratch: Deep Dive into Claude Code Architecture
ArcThink
ArcThink
Apr 1, 2026 · Artificial Intelligence

Inside Claude Code: 1,900‑File Source Dive Reveals Six‑Layer Architecture

After a source‑map leak exposed Claude Code’s 1,900 TypeScript files, this analysis dissects its six‑layer architecture, dynamic prompt assembly, four‑level caching, 60+ tool governance pipeline, six built‑in agents, five context‑compression strategies, and the real engineering trade‑offs hidden beneath the product.

AI engineeringAgent SystemsContext Compression
0 likes · 31 min read
Inside Claude Code: 1,900‑File Source Dive Reveals Six‑Layer Architecture
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Mar 29, 2026 · Artificial Intelligence

Mastering RAG Prompt Engineering: Prevent Hallucinations and Boost Accuracy

This article dissects the unique challenges of RAG prompting, presents a systematic System/User Prompt design with strong constraints and citation requirements, compares constraint strengths with quantitative hallucination rates, and offers long‑context compression strategies and rigorous testing methods to ensure reliable LLM answers.

Context CompressionLLMRAG
0 likes · 19 min read
Mastering RAG Prompt Engineering: Prevent Hallucinations and Boost Accuracy
Fighter's World
Fighter's World
Mar 28, 2026 · Artificial Intelligence

What Engineering Decisions Make AI Coding Agents Effective? Lessons from the OpenDev Paper

The article dissects OpenDev’s open‑source AI coding agent, comparing its scaffolding‑vs‑harness architecture, cognitive‑flow design, context‑compression strategies, tool‑reliability mechanisms and safety layers with Claude Code, Cursor, Codex and Augment, and shows that harness‑level engineering remains the biggest performance lever even for frontier models.

AI coding agentContext CompressionHarness Engineering
0 likes · 39 min read
What Engineering Decisions Make AI Coding Agents Effective? Lessons from the OpenDev Paper
Su San Talks Tech
Su San Talks Tech
Mar 26, 2026 · Artificial Intelligence

Unlocking AI Agents: How OpenClaw Turns Language Models into Actionable Bots

This article explains how OpenClaw functions as an AI Agent framework that connects chat applications to large language models, manages multi‑turn dialogues, executes tool commands, handles memory and security, and demonstrates advanced features such as sub‑agents, cron jobs, and context compression.

AI agentContext CompressionMemory Management
0 likes · 19 min read
Unlocking AI Agents: How OpenClaw Turns Language Models into Actionable Bots
SuanNi
SuanNi
Mar 24, 2026 · Artificial Intelligence

How Compression, Orchestration, and LangGraph Are Redefining LLM Context Engineering

This article analyzes the six pillars of context engineering for large language models, focusing on compression techniques, extractive vs. abstractive methods, the LLMLingua toolkit, dynamic orchestration with routing and agentic RAG, and how LangGraph enables sophisticated agent‑driven workflows.

Agentic RAGContext CompressionLLM
0 likes · 14 min read
How Compression, Orchestration, and LangGraph Are Redefining LLM Context Engineering
AI Explorer
AI Explorer
Mar 14, 2026 · Artificial Intelligence

Build a Claude‑Code‑Level AI Agent in 12 Incremental Lessons

This open‑source tutorial walks developers through twelve progressive lessons, expanding a minimal 84‑line agent to a full‑featured 694‑line Claude‑Code‑style AI system that covers tool calls, sub‑agents, context compression, and multi‑agent collaboration.

AI agentAgent LoopClaude Code
0 likes · 9 min read
Build a Claude‑Code‑Level AI Agent in 12 Incremental Lessons
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
Feb 24, 2026 · Artificial Intelligence

How COMI Achieves 25‑Point Performance Gains at 32× Compression Using Marginal Information Gain (ICLR 2026)

The COMI framework introduces a marginal information gain metric and a coarse‑to‑fine adaptive compression strategy that preserves relevance and diversity, enabling 32× text compression while boosting downstream QA performance by up to 25 points and doubling inference speed.

Context CompressionLong-Context RetrievalMarginal Information Gain
0 likes · 7 min read
How COMI Achieves 25‑Point Performance Gains at 32× Compression Using Marginal Information Gain (ICLR 2026)
Smart Sea Tide
Smart Sea Tide
Feb 24, 2026 · Artificial Intelligence

When Meta’s AI Safety Lead Watched OpenClaw Erase Her Inbox: Lessons on Autonomous Agent Risks

Meta AI safety director Summer Yue deployed the OpenClaw agent to manage her mailbox, but a context‑compression flaw caused the LLM to ignore a stop command and delete over 200 emails, highlighting critical safety gaps in autonomous AI agents and prompting industry‑wide calls for stronger sandboxing and prompt‑injection defenses.

AI safetyContext CompressionLLM
0 likes · 5 min read
When Meta’s AI Safety Lead Watched OpenClaw Erase Her Inbox: Lessons on Autonomous Agent Risks
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
Feb 23, 2026 · Artificial Intelligence

How COMI Achieves 32× Compression and Boosts Performance by 25 Points

The COMI framework introduces a marginal information gain metric and a coarse‑to‑fine two‑stage compression strategy that preserves relevance and diversity, enabling 32× context reduction while improving Exact Match on NaturalQuestions by nearly 25 points and more than doubling inference speed.

Context CompressionLong-Context RetrievalMarginal Information Gain
0 likes · 7 min read
How COMI Achieves 32× Compression and Boosts Performance by 25 Points
Wuming AI
Wuming AI
Jan 29, 2026 · Artificial Intelligence

How to Compress Long LLM Conversations with Smart Summarization and Sliding Window

This article explains how to keep essential information from lengthy AI chat histories by using an intelligent summarization prompt, injecting the summary as a system message, and applying a sliding‑window strategy that retains the last three exchanges, thereby reducing token cost and preserving context continuity.

C++Context CompressionLLM
0 likes · 11 min read
How to Compress Long LLM Conversations with Smart Summarization and Sliding Window
Architect
Architect
Jan 28, 2026 · Artificial Intelligence

How to Build a Reliable Long-Term Memory System for AI Agents

Designing a robust AI memory for long-running agents requires separating context from persistent storage, using markdown files, pre‑compaction flushing, hybrid vector‑BM25 retrieval, session pruning, and rebuildable SQLite indexes, ensuring explainable, editable, and portable recall while preventing context bloat and security leaks.

AI memoryClawdbotContext Compression
0 likes · 19 min read
How to Build a Reliable Long-Term Memory System for AI Agents
PaperAgent
PaperAgent
Jan 28, 2026 · Artificial Intelligence

How Clawdbot Achieves Persistent, Local Memory for LLM Agents

Clawdbot implements a fully local, persistent memory system for LLM agents by storing context and long‑term knowledge in editable Markdown files, indexing them with SQLite‑vec and FTS5, supporting multi‑agent isolation, compression, pruning, and configurable session lifecycles to maintain efficient, cost‑effective interactions.

Context CompressionLLM AgentsVector Search
0 likes · 13 min read
How Clawdbot Achieves Persistent, Local Memory for LLM Agents
AI Engineering
AI Engineering
Jan 18, 2026 · Artificial Intelligence

Why a Single For Loop Powers BU’s Open‑Source Agent Framework

The BU Browser Use team open‑sourced bu‑agent‑sdk, a minimal LLM agent framework that treats the agent as a simple for‑loop and adds explicit done tools, context compression, ephemeral messages, and a unified LLM interface, enabling flexible, low‑overhead AI applications.

Agent FrameworkContext CompressionLLM
0 likes · 7 min read
Why a Single For Loop Powers BU’s Open‑Source Agent Framework
AI Insight Log
AI Insight Log
Dec 27, 2025 · Industry Insights

Why AI Code Generators Like Cursor Could Trigger an Infinite Software Crisis – Lessons from Netflix

Netflix senior engineer Jake Nations warns that the rise of AI‑powered code generators creates an "Infinite Software Crisis" by turning easy code generation into unmaintainable complexity, and outlines a three‑step "Context Compression" method to keep development disciplined and understandable.

AI code generationContext CompressionNetflix engineering
0 likes · 10 min read
Why AI Code Generators Like Cursor Could Trigger an Infinite Software Crisis – Lessons from Netflix
High Availability Architecture
High Availability Architecture
Dec 26, 2025 · Artificial Intelligence

Why AI-Generated Code Threatens Understanding: A Netflix Engineer’s Three‑Stage Method

In a Netflix talk, senior engineer Jake Nations reveals how AI can instantly produce code yet leave developers clueless, explains the historic software crisis, distinguishes essential from accidental complexity, and outlines a three‑stage "context compression" process to keep speed without sacrificing comprehension.

AIComplexityContext Compression
0 likes · 20 min read
Why AI-Generated Code Threatens Understanding: A Netflix Engineer’s Three‑Stage Method
AI Tech Publishing
AI Tech Publishing
Nov 30, 2025 · Artificial Intelligence

Agent Architecture Design Part 1: Context Compression Strategies and Their Use Cases

The article explains why large‑model agents need context compression, outlines five engineering‑level schemes (both lossless and lossy), demonstrates each with concrete XML snippets and step‑by‑step reasoning, and advises using lossless methods before resorting to lossy prompt‑driven compression.

Context CompressionLLMLossless
0 likes · 12 min read
Agent Architecture Design Part 1: Context Compression Strategies and Their Use Cases
DataFunTalk
DataFunTalk
Oct 20, 2025 · Artificial Intelligence

How DeepSeek-OCR Achieves 10× Context Compression with Vision Tokens

DeepSeek-OCR, a newly open‑sourced 3B‑parameter OCR model, uses a novel DeepEncoder and a 3B MoE decoder to compress long‑text contexts into visual tokens, achieving up to 10× compression with 97% accuracy and demonstrating strong practical performance on benchmarks and multilingual documents.

Context CompressionDeepSeekOCR
0 likes · 11 min read
How DeepSeek-OCR Achieves 10× Context Compression with Vision Tokens
Alibaba Cloud Developer
Alibaba Cloud Developer
Sep 9, 2025 · Artificial Intelligence

Tackling Real‑World Challenges in Multi‑Agent React: From ToolCalls to Context Compression

This article analyzes production‑grade issues of a multi‑agent React framework—such as long ToolCall latency, context bloat, missing intermediate states, loop control, and supervision gaps—and presents concrete XML‑based tool‑call prompts, context‑compression techniques, summary tools, and a plug‑and‑play MCP supervisor that together improve performance, reliability, and user‑facing output quality.

AI planningContext CompressionReAct pattern
0 likes · 16 min read
Tackling Real‑World Challenges in Multi‑Agent React: From ToolCalls to Context Compression
Architecture and Beyond
Architecture and Beyond
Sep 6, 2025 · Artificial Intelligence

How AI Agents Manage Context: Compression Strategies from Manus, Claude Code, and Gemini CLI

This article examines the context explosion problem in AI agents and compares three distinct compression approaches—Manus's never‑lose philosophy, Claude Code's aggressive 92% threshold with eight‑section summaries, and Gemini CLI's balanced 70% trigger with curated history—highlighting their trade‑offs in performance, cost, and reliability.

AIAgent designContext Compression
0 likes · 19 min read
How AI Agents Manage Context: Compression Strategies from Manus, Claude Code, and Gemini CLI
Instant Consumer Technology Team
Instant Consumer Technology Team
Jul 24, 2025 · Artificial Intelligence

Inside Claude Code: How a Local AI Agent OS Was Reverse‑Engineered

An in‑depth reverse‑engineering of Anthropic’s Claude Code reveals its multi‑agent architecture, real‑time steering queue, and novel context‑compression engine, exposing the 50k+ line obfuscated JavaScript core, the Agent scheduling layers, tool ecosystem, and storage system that power this local AI coding assistant.

AI AgentsClaude CodeContext Compression
0 likes · 11 min read
Inside Claude Code: How a Local AI Agent OS Was Reverse‑Engineered
Alibaba Middleware
Alibaba Middleware
Jul 10, 2025 · Artificial Intelligence

How Context Engineering Builds a Moat for Vertical and Domain Agents

The article explains how context engineering—evolving from simple prompts to structured information pipelines—enhances the reliability of vertical and domain-specific AI agents, outlines common failure modes such as context poisoning, and presents practical strategies like intelligent retrieval, isolation, pruning, and compression to construct robust agent systems.

AI AgentsContext CompressionRetrieval Augmentation
0 likes · 19 min read
How Context Engineering Builds a Moat for Vertical and Domain Agents