Pivot
  • Market Data & Reports
  • Podcasts
  • Events
  • Premium
  • English
    • Uzbek
No Result
View All Result
  • Login
  • News
  • Funding & Deals
  • Startups
  • Venture Capital
  • SaaS & AI
  • Founder Stories
  • Uzbek Startups
Pivot
  • Market Data & Reports
  • Podcasts
  • Events
  • Premium
  • English
    • Uzbek
No Result
View All Result
Pivot

What context engineering is and why it matters for AI agents

by Pivot
July 24, 2026
in News
Reading Time: 3 mins read
A A
What context engineering is and why it matters for AI agents
Share on FacebookShare on TwitterShare on Telegram

Over the past two years, “prompt engineering” became one of the most-used terms in AI. Now Anthropic engineers are pointing to a new stage — context engineering. It’s not just about choosing the right words, but about managing the entire information space fed to a model: system instructions, tools, MCP connections, external data, and conversation history.

Prompt engineering is about writing one effective instruction for an LLM. Context engineering is broader: it’s the continuous management of what set of tokens a model works with at every inference step. When an AI agent runs in a loop (autonomously calling tools again and again), each new step requires re-evaluating the information gathered in previous steps. This ongoing curation process is what’s called context engineering.

Anthropic researchers have observed that as an LLM’s context window grows, its ability to accurately recall information declines — a phenomenon called context rot. The cause lies in the transformer architecture, where every token attends to every other token, creating n² pairwise relationships for n tokens. As context length grows, these relationships get “diluted” and the model’s attention spreads thin.

This resembles the limits of human working memory: every new token draws from the model’s finite “attention budget.” That’s why effective context engineering means giving the model the smallest possible set of high-signal tokens.

System prompts should be clear, simple, and pitched at the right “altitude” — neither overly rigid (hardcoded rules for every case) nor overly vague. Anthropic recommends organizing prompts into distinct sections using structure like XML tags or Markdown headers.

Tools are the agent’s channel for interacting with its environment. They should be token-efficient, non-overlapping in function, and clear in purpose. If a human engineer can’t say definitively which tool should be used in a given situation, an AI agent can’t be expected to do better.

Examples (few-shot) are one of the most effective ways to show a model the expected behavior — but the “less is more” principle applies here too: rather than listing every possible edge case, a handful of well-chosen, canonical examples is enough.

Three techniques for long-horizon tasks

For tasks that run for hours or span many steps — like migrating a large codebase or conducting deep research — a single context window isn’t enough. Anthropic outlines three solutions:

  1. Compaction — as a conversation nears the context limit, its contents are summarized and a new context window is reinitiated from that summary. In Claude Code, this works by preserving architectural decisions and unresolved bugs while discarding redundant tool outputs.
  2. Structured note-taking (agentic memory) — the agent writes notes outside the context window (e.g., a NOTES.md file) and reads them back in when needed. This was clearly demonstrated in the “Claude Plays Pokémon” experiment, where the agent maintained strategic notes across thousands of steps and continued seamlessly even after context resets.
  3. Sub-agent architecture — instead of one agent managing an entire project, specialized sub-agents handle focused tasks with a clean context and return only a condensed summary (typically 1,000–2,000 tokens). This approach has shown a clear advantage over single-agent systems on complex research tasks.

Anthropic notes that the smarter a model becomes, the less rigid engineering it needs — agents will increasingly operate with more autonomy. But for now, treating context as a finite, valuable resource remains a central principle for building reliable AI agents.

Tags: #aiagents#context#engineering
Previous Post

Y Combinator reveals 13 startup ideas it wants to fund in Fall 2026

Next Post

TBC Bank Group completes acquisition of controlling stake in OLX Uzbekistan

Pivot

Related Posts

Google Introduces Gemini 4 Argon Globally

Google Introduces Gemini 4 Argon Globally

October 15, 2026
Uzbekistan Plans a 50 MW Nuclear-Powered Data Center

Uzbekistan Plans a 50 MW Nuclear-Powered Data Center

October 15, 2026
Microsoft Unveils Maia 300 AI Chip, Plans Large-Scale Deployment From 2027

Microsoft Unveils Maia 300 AI Chip, Plans Large-Scale Deployment From 2027

October 14, 2026
Uzbekistan and the US discuss investment projects in mining, energy and IT

Uzbekistan and the US discuss investment projects in mining, energy and IT

October 14, 2026
Next Post
TBC Bank Group completes acquisition of controlling stake in OLX Uzbekistan

TBC Bank Group completes acquisition of controlling stake in OLX Uzbekistan

Anthropic launches Opus 5

Anthropic launches Opus 5

Please login to join discussion

false

  • Latest
  • Trending
  • Comments
Google Introduces Gemini 4 Argon Globally

Google Introduces Gemini 4 Argon Globally

October 15, 2026
AI could affect 40% of jobs worldwide

AI could affect 40% of jobs worldwide

October 15, 2026
TEG becomes the first Uzbek company to enter the US stock market

TEG becomes the first Uzbek company to enter the US stock market

October 15, 2026
Uzbekistan Plans a 50 MW Nuclear-Powered Data Center

Uzbekistan Plans a 50 MW Nuclear-Powered Data Center

October 15, 2026

18-year-old high school dropout raises $6.2M from Y Combinator

October 2, 2025
Junior crisis: are IT training centers creating an army of the unemployed?

Junior crisis: are IT training centers creating an army of the unemployed?

January 6, 2026
An open conversation with Alex Mashrabov — the Andijan-born founder behind Higgsfield AI

An open conversation with Alex Mashrabov — the Andijan-born founder behind Higgsfield AI

November 16, 2025
Airbnb: The $100 Billion Success Story – Its Origins and Transformative Impact on Hospitality!

Airbnb: The $100 Billion Success Story – Its Origins and Transformative Impact on Hospitality!

January 4, 2025
$1 billion allocated to the “Mahalla Project” program

$1 billion allocated to the “Mahalla Project” program

What is a startup, and how does it differ from a traditional business?

What is a startup, and how does it differ from a traditional business?

What is an MVP (Minimum Viable Product)? Validating your idea on a low budget

What is an MVP (Minimum Viable Product)? Validating your idea on a low budget

AloqaVentures: Fueling Innovation in Uzbekistan’s Startup Ecosystem

AloqaVentures: Fueling Innovation in Uzbekistan’s Startup Ecosystem

Pivot

We are the Intelligence Platform for Founders & Investors in Emerging Markets — combining news, data, and community to unlock opportunities across GCC, Central Asia, and frontier ecosystems.

Follow us

Categories

  • News
  • Funding & Deals
  • Startups
  • Venture Capital
  • SaaS & AI
  • Founder Stories
  • Uzbek Startups

Pages

  • Market Data & Reports
  • Podcasts
  • Events
  • Premium
  • English
    • Uzbek

Recent Post

  • Google Introduces Gemini 4 Argon Globally
  • AI could affect 40% of jobs worldwide
  • TEG becomes the first Uzbek company to enter the US stock market
  • Privacy policy

© 2025 Pivot

Welcome Back!

Sign In with Google
Sign In with Linked In
OR

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • News
  • Funding & Deals
  • Startups
  • Venture Capital
  • SaaS & AI
  • Founder Stories
  • Uzbek Startups
  • Login
  • Cart
  • uz Uzbek
  • en English

© 2025 Pivot

Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?