Skip to content
AI Primer
TOPIC50 stories

Context Engineering

How agents gather, compress, structure, and use context.

RELEASE22nd September
OpenAI releases GPT-6 Sol and GPT-6 Luna at roughly half GPT-5.6 API prices

OpenAI released GPT-6 Sol and GPT-6 Luna at API prices roughly half those of their GPT-5.6 predecessors. The models add controllable prompt-cache breakpoints and are rolling out in Codex and ChatGPT Work.

WORKFLOW1w ago
Teknium reports Jev compaction can increase token costs

Teknium’s public evaluation says a Jev compaction strategy removes tool calls and eventually stops yielding savings. Repeated compaction can invalidate caches and increase total token costs, according to the critique.

RELEASE4w ago
Tencent releases 770B-parameter Hy4 Preview open weights

Tencent released Hy4 Preview, a 770B-parameter mixture-of-experts model with 49B active parameters and a 1M-token context window. vLLM added day-zero support, while Cline, OpenCode Go, and Vercel AI Gateway made the model available.

NEWS4w ago
Prefix Sliding cuts long-rollout inference time by up to 3×

The Prefix Sliding paper introduces an inference method that preserves the task prefix and a recent-token window while discarding older reasoning tokens. Its authors report up to 3× faster inference without retraining and longer reinforcement-learning rollouts.

NEWS4w ago
Glean says runtime routing cuts enterprise-agent token costs by 81%

Glean says its runtime routes enterprise-agent work across more than 40 models using company context. It reports $0.58 per query and 78% user preference over Claude Cowork in a 180-person benchmark.

NEWS1mo ago
Study finds instructions account for 60.5% of coding-agent reading

A study of 557 coding-agent sessions finds instruction files and working notes account for most of what agents read. Related work puts installed skills' standing prompt cost at 50–280 tokens, while Backpass turns past sessions into reviewable AGENTS.M files.

WORKFLOW1mo ago
Study finds context compactors retain only 17% of standing agent rules

A University of Pennsylvania study found common compactors retained only 17% of standing session rules while preserving task information. Practitioners use verified Markdown handoffs and background compaction to manage long coding-agent runs.

RELEASE1mo ago
Codex opens 1M-token GPT-5.6 Sol context for ChatGPT subscribers

Codex now lets ChatGPT subscribers enable a 1 million-token context window for GPT-5.6 Sol. Automatic compaction starts at 900,000 tokens, and tokens beyond the default window count double against limits.

WORKFLOW1mo ago
Speculative decoding tests report acceptance drop from 0.71 to 0.18 after ~32K context

A practitioner report found speculative-decoding acceptance fell from 0.71 to 0.18 beyond about 32K context. Separate DSpark and mlx-dspark tests reported speedups on RTX and Apple Silicon setups.

NEWS1mo ago
Echo Gap paper reports agents endorsed 31%–54% of their own wrong answers

The Echo Gap paper found self-improving agents can store wrongly self-scored episodes. Tested models endorsed 31% to 54% of their own wrong answers, while other work proposed RL-trained harness state and in-model memory.

WORKFLOW1mo ago
Agent builders compare thin harnesses with large skill files for coding agents

Practitioner threads argued coding agents work better with task-specific harnesses, compact runbooks, evals, and deterministic checks. Examples included Sentry MCP traces and state-machine guardrails.

WORKFLOW1mo ago
Agent builders test task-specific harnesses; AGENTS.md eval logs 288 runs

Practitioner posts argued agent evals should check final world state and tool-call trajectories, not just single outputs. A 288-run AGENTS.md test found context files did not improve correctness.

WORKFLOW2mo ago
Agent skills cause regressions in nearly 6,000 paired office-automation runs

A paper summary found agent skills caused regressions across nearly 6,000 paired office-automation runs. VS Code also added prompt-to-skill migration, making the workflow more accessible despite reliability cautions.

NEWS2mo ago
UW study finds agent memory can preserve prompt-injection payloads

A UW study found coding agents can refuse malicious memory-file instructions while preserving the payload for later use. The state-management debate also covered callable memories, reusable skills, and session-history eval pipelines.

WORKFLOW2mo ago
Claude Code cuts system prompt by more than 80% without hurting coding evals

Anthropic said Claude Code cut more than 80% of its system prompt without hurting coding evals. Other workflows use filesystem research folders, session IDs, wiki memory, and composable memory APIs to keep context durable.

WORKFLOW2mo ago
Developers share scoped coding-agent workflows for staged context control

Practitioners are sharing smaller, staged coding-agent loops instead of one large prompt. Examples include a Claude Code software factory, project-specific review agents, searchable logs, and harness layers for evals and observability.

RELEASE2mo ago
Firecrawl releases /search endpoint with agent-ready excerpts

Firecrawl introduced a new /search system that returns relevant excerpts instead of full pages for agent workflows. The launch claims 94.7% on SimpleQA and roughly 10x fewer tokens than full-page processing.

WORKFLOW2mo ago
Developers use Markdown files as long-term memory for agents

Developers described agents writing learned context into linked Markdown pages instead of repeatedly rebuilding it from RAG chunks. Related posts argued Markdown docs and llms.txt can improve agent navigation.

NEWS2mo ago
Baseten reports LLM fact writes can retain lift but vanish from answers

Baseten reports that injected facts can retain log-probability lift in weights while disappearing from answers, with prompts recovering 77–80% accuracy. OpenWiki adopted Open Knowledge Format for portable memory files.

WORKFLOW2mo ago
Developers report stale agents.md files derailing coding-agent runs

Practitioners reported coding agents following outdated agents.md files and generic project instructions. Other posts tied long-context drift and weak domain language to cleanup-heavy coding runs.

WORKFLOW2mo ago
Engineers argue coding agents need ADRs and lean navigation docs

Matt Pocock argued teams should delete docs that restate code and keep ADRs, glossaries, and thin navigation pointers. Zeeg reported colocated repo specs drifted and did not steer agents enough.

WORKFLOW2mo ago
Engineers use markdown wikis as lightweight memory for Codex, Claude Code, and Hermes

Practitioners described GitHub or folder-based markdown knowledge bases that feed persistent company or personal context to Codex, Claude Code, and Hermes. OpenWiki added codebase and personal brain modes for the same pattern.

WORKFLOW2mo ago
Claude Code user estimates subagent prompt caching raised spend by 8%

One Claude Code user parsed 95 sessions and estimated subagent prompt caching made total spend about 8% high. pxpipe separately rendered dense text as images to cut context cost, with exactness tradeoffs.

NEWS2mo ago
Sakana lists 11 ICML 2026 papers on LLM speed, memory, and agent evals

Sakana listed 11 ICML 2026 papers covering LLM speed, memory, and agent evaluation. The lineup includes TwELL sparse kernels, RePo context positioning, CoffeeBench long-horizon agents, SoftMatcha 2 corpus search, Doc-to-LoRA memory, and Fast-weight Product Key Memory.

RELEASE2mo ago
Condense.chat opens Adeline 1 proxy for 9% agent-loop compaction

Condense.chat opened a compression proxy that strips tokens with Helene 1 and compacts settled agent loops with Adeline 1 to about 9% of their size. The service claims 100M saved tokens and 3× plan extension for Claude or Codex users, so test it on non-sensitive workflows first.

WORKFLOW3mo ago
Codex users report /goal, /rewind, and /compact workflows after launch

A day after /goal and thread automations landed in Codex, practitioners started standardizing on /goal specs, /fork or /side detours, and /rewind plus /compact recovery. The pattern matters because verifier design and compaction timing now control how well long runs hold together.

RELEASE3mo ago
Junior adds memory and cuts one analytics task from 3m to 1m

Junior’s first memory system cut one analytics task from about 3 minutes to 1 minute in early tests, with tokens down two-thirds and tool calls down 60%. The feature moves persistent task learning into the agent loop, though the results are still internal.

WORKFLOW3mo ago
Developers publish loop libraries and control-loop guides for long-running agents

Builders released reusable loop artifacts this week, including a Loop Library Skill, repo templates, and published control-loop definitions for docs sweeps, onboarding checks, and error triage. It matters because teams are turning one-shot prompting into persistent agent runs with explicit stop conditions and shared repo state.

RELEASE3mo ago
Plannotator 0.21.0 adds direct file editing, embedded CLI agents, and Bedrock support

Plannotator 0.21.0 added direct document editing, an embedded CLI agent for co-context, first-class HTML handling, and Bedrock and Vertex support. It matters because the tool is moving from annotation-only review toward persistent IDE-like agent sessions with shared file diffs and cloud model backends.

NEWS3mo ago
Perplexity Computer adds Brain context graph with +25% correctness on memory-heavy tasks

Perplexity rolled out Brain, a self-updating context graph that carries prior sessions, files, and decisions into new Computer tasks. In research preview for Max users, it matters because Perplexity says the memory layer improves correctness and recall while lowering per-task cost on history-dependent work.

RELEASE3mo ago
Factory adds AutoWiki: /wiki generates repo docs on every push

Two days after Factory 2.0 launched, Factory added AutoWiki, which turns a repo into structured engineering docs that update on every push and can be generated from Droid with /wiki. The feature keeps architecture and request-path context aligned with the live codebase.

RELEASE3mo ago
Z.ai releases GLM-5.2 open weights with 1M context and 46.2% DeepSWE

Z.ai released GLM-5.2 MIT-licensed open weights with 1M context and broad runtime support. Vendor and arena results put it near frontier closed models on long-horizon coding.

WORKFLOW3mo ago
Codex supports agent-written `/goal` prompts for spawned threads

Codex users are having the agent write its own `/goal` and sub-agent goals, with OpenAI-side commentary describing that as a built-in meta-prompting pattern. The workflow turns long autonomous runs into a tighter control loop, but users still review goals first so a bad objective does not burn tokens for hours.

WORKFLOW3mo ago
Practitioners report Fable 5 planner workflows with Opus, Codex, and HTML logs

Users are using Fable 5 as a planner and long-run orchestrator while pushing implementation and heavy reasoning to Opus and Codex. The setup keeps Fable on supervision and planning, so teams can track execution through live status pages on larger tasks.

WORKFLOW3mo ago
Hyperbrowser, InsForge, and Higgsfield release Fable 5 harnesses and MCP workflows

Hyperbrowser shipped a Claude Code harness, InsForge showed a Fable run drop from 5.5M to 2.3M tokens, and Higgsfield published new MCP workflows. These tools add reusable harness, context, and interface layers around Fable for more controlled runs.

WORKFLOW3mo ago
/teach adds npx install and primary-source lessons

Matt Pocock's /teach skill installs with npx skills add mattpocock/skills --skill teach and runs structured strategy lessons inside a Claude agent. Follow-up posts add primary-source reading to the lessons and point to a larger dedicated repo.

WORKFLOW3mo ago
Anthropic updates Fable prompting with /model, high effort, and /goal loops

Anthropic published Fable-specific guidance for Claude Code and API, emphasizing the /model switch, higher default effort, simpler prompts, and /goal-style verification loops. The Claude Code team says older prompt scaffolds can work against Fable's longer sessions.

WORKFLOW3mo ago
Claude Code users report auto mode, dynamic workflows, and critique loops finding 144 bugs

Practitioners shared repeatable setups for multi-hour Claude runs using auto approvals, dynamic workflows, cloud sessions, and critique loops. One large-codebase sweep reported 144 bugs fixed in about four hours with fewer false positives under model critique.

WORKFLOW3mo ago
Codex users compare iOS dictation, multi-thread UX, and long-context prompts

Codex usage moved further into phone-first workflows, with iOS dictation loops, background voice capture, and app updates like searchable settings and restored state. The comparisons still flag rough spots in multi-thread UX, Windows support, and cases where CLI tabs or cloud agents are easier to manage.

WORKFLOW3mo ago
Codex /goal template adds 6 fields for verification commands and stop conditions

A community workflow broke long-running Codex goals into six required fields, then added an eight-item preflight checklist and helper tools. The structure is meant to reduce runs that drift, stop early, or claim completion without an objective verification step.

NEWS3mo ago
ChatGPT adds memory summaries and 2x memory in Dreaming V3 rollout

OpenAI rolled out a more capable ChatGPT memory system that keeps context across conversations, shows a reviewable memory summary, and doubles memory for US Plus and Pro users. The change matters because persistent context becomes a first-class product feature with explicit controls instead of a static saved-memories note list.

NEWS3mo ago
Weaviate launches Engram memory service with async writes

Weaviate introduced Engram, a dedicated agent memory service with async writes, semantic topic grouping, tenant scopes, and composable pipelines. It matters because teams can add a hosted memory layer for agent stacks without stitching custom memory workflows into each application.

NEWS3mo ago
GitHub Copilot adds 1M context window and reasoning levels

GitHub Copilot now supports a 1M-token context window and configurable reasoning levels in VS Code, Copilot CLI, and the Copilot app. It matters because larger repo context and explicit effort controls arrive in the same surfaces teams already use for agent-assisted development.

WORKFLOW4mo ago
Codex community ships /dynamic swarms, session lifecycles, and model routing

Builders added /dynamic orchestration, custom-model routing, and repo runbooks around Codex as users exposed new session lifecycle controls in the app. That makes Codex a better fit for long-running, multi-context coding work.

NEWS4mo ago
Claude Opus 4.8 adds mid-conversation system messages without breaking prompt cache

Opus 4.8 can accept new system-role instructions after a user turn while keeping earlier prompt segments cacheable. That lets long-running agents update constraints mid-loop without replaying the full system prompt on every call.

WORKFLOW4mo ago
Researchers and builders ship external memory layers with recipe stores and 33% cheaper updates

A new MeMo paper and several community memory systems converged on keeping knowledge outside the base model through recipe files, semantic and autobiographical stores, and background reconsolidation. The pattern matters because engineers are treating context loss as a systems problem instead of only asking for larger context windows.

WORKFLOW4mo ago
Developers ship Chrome MCP, repo-graph search, and token compression for Claude Code and Codex

Independent developers released browser-control MCP tooling, repo-context graphing and packaging utilities, and token-compression helpers for coding agents. The cluster matters because agent workflows are now adding browser control, context packing, and cost controls as external infrastructure instead of waiting on raw model upgrades alone.

WORKFLOW4mo ago
Codex users share /goal audits, mobile delegation, and Raspberry Pi workflows

Practitioners published reusable Codex workflows for project audits, memory-driven skill packaging, mobile delegation, and remote computer use. Try the prompt-and-steps patterns if you want to adapt Codex across repos and devices.

WORKFLOW4mo ago
Agent Skills ecosystem ships handoff docs, htmx v4 packs, and Project Think support

Independent builders published reusable skills infrastructure across coding agents, including Project Think preview support, handoff docs, and an htmx v4 skill pack. That matters because skills are starting to work like portable workflow units instead of one-off prompt snippets inside a single tool.

WORKFLOW4mo ago
Codex users ship durable-memory workspaces and auto-triage flows

Independent Codex users published Obsidian memory setups, reusable skill prompts, auto-triage flows, and Cloudflare-backed runners for longer jobs. That matters because Codex is being wrapped into persistent workspaces and operator-defined subagents instead of one-shot chats.

AI PrimerAI Primer

Your daily guide to AI tools, workflows, and creative inspiration.

© 2026 AI Primer. All rights reserved.