r/ContextEngineering • • 1h ago

Release: The Agentic Collaboration Framework (ACF) and Intelligent Context Management (ICM), on an OpenCode v2 fork (MIT)

2 Upvotes

Context compaction is an event that injures an agent's understanding. Each compaction loses detail, and the agent has to recover from it. Repeat it and the loss compounds.

Intelligent Context Management (ICM) replaces compaction. The working agent assesses what it needs for the work ahead and why, then keeps material verbatim, distills tool output, compresses finished work, releases what no longer serves, or leaves its context as it is. Edits change what the model sees, not the saved history. ICM selects content itself only for model input limit overflow protection.

ICM is part of the Agentic Collaboration Framework (ACF), a multi-agent framework for long-horizon work that spans many sessions, where a problem has to be modeled before it can be solved. You work with one primary agent, the Principal. It delegates to Partners, Associates and Assistants, and checks and integrates their work against its working-model, its evolving model of the problem. ACF's instructions are protocols that agents enact as processes, not a rule for each case.

Both run on acf-opencode, our fork of OpenCode v2. Upstream OpenCode v2.2.5 had no place to keep a context plugin's decisions with the session; the fork adds an API that keeps them and applies them whenever the session's history is loaded for the model. It also adds a session Interlink tool, so Principals in different sessions can message and task each other.

The ICM README describes the system, includes an exploratory replay study with its limits, and says what hasn't been measured: https://github.com/DefendTheDisabled/intelligent-context-management

ACF: https://github.com/DefendTheDisabled/agentic-collaboration-frameworkContext compaction is an event that injures an agent's understanding. Each compaction loses detail, and the agent has to recover from it. Repeat it and the loss compounds.

Intelligent Context Management (ICM) replaces compaction. The working agent assesses what it needs for the work ahead and why, then keeps material verbatim, distills tool output, compresses finished work, releases what no longer serves, or leaves its context as it is. Edits change what the model sees, not the saved history. ICM selects content itself only for model input limit overflow protection.

ICM is part of the Agentic Collaboration Framework (ACF), a multi-agent framework for long-horizon work that spans many sessions, where a problem has to be modeled before it can be solved. You work with one primary agent, the Principal. It delegates to Partners, Associates and Assistants, and checks and integrates their work against its working-model, its evolving model of the problem. ACF's instructions are protocols that agents enact as processes, not a rule for each case.

Both run on acf-opencode, our fork of OpenCode v2. Upstream OpenCode v2.2.5 had no place to keep a context plugin's decisions with the session; the fork adds an API that keeps them and applies them whenever the session's history is loaded for the model. It also adds a session Interlink tool, so Principals in different sessions can message and task each other.

The ICM README describes the system, includes an exploratory replay study with its limits, and says what hasn't been measured: https://github.com/DefendTheDisabled/intelligent-context-management

ACF: https://github.com/DefendTheDisabled/agentic-collaboration-framework


r/ContextEngineering • • 10h ago

Workflow folks: how do you prove a run actually finished the job, not just finished green?

1 Upvotes

I used to trust the green check way too much. A scheduled workflow of mine would finish clean, no errors anywhere, and I would move on. Then one morning I opened the destination out of boredom and found a chunk of the items just were not there. The run had not failed, exactly. It had done most of the job and quietly skipped the rest, and the success status told me nothing about that.

That one cost me a stupid amount of time, because I had to work backwards through days of "successful" runs trying to figure out which ones actually landed and which ones only looked like they did.

I got tired of that, and honestly tired of re-briefing every new run on what the last one did, so I built something to fix that side of it for myself. Not selling anything here. I am just trying to find out whether the checking part is a real problem for other people too, or whether everyone else already solved this and I was just sloppy.

So what do you check beyond the green execution? Do you read back from the destination and compare, count what went in against what came out, run some kind of reconciliation pass later? Or do you mostly trust the status and only dig in when a human complains?

And the partial thing specifically. Has a run ever reported success while only part of the work landed, like most items made it and a few silently did not? What did that cost you when you found it, and how long had it been happening?

One more I keep wondering about. Have you ever broken a run on purpose just to prove your check actually fires? A check that has never failed feels a lot like a hope to me, but maybe I am overthinking it.

What if something handled all of this for you, in the cloud over MCP, so every agent and tool got the same context: decisions, failed attempts, conversations, skills, procedures, tasks. You never touch a file again. Would you guys pay for something that fixes this? Have you ever thought about paying for a tool to manage all of this for you, or has the thought never crossed your mind?


r/ContextEngineering • • 11h ago

The Context Triad: A Unified Framework for Understanding LLM Behavior

Thumbnail github.com
1 Upvotes

The Context Triad is a unified framework for understanding how the placement, subsequent contextual history, and relative support of represented meaning influence language model behavior.

An instruction, definition, constraint, or intended interpretation may remain present and recoverable within a model's context without consistently governing its subsequent behavior.

How does the shape of context influence model behavior?

The Context Triad addresses this question through three primary dimensions, six compound dimensions, and three higher-order dimensions. The accompanying Research Atlas maps existing research, empirical investigations, and engineering practices onto this architecture.

Repository: https://github.com/ArchitecturalGravity/ArchitecturalGravity/tree/main/Research/Context_Triad

The Context Triad

Context Triad

Semantic Locality

The placement and distribution of semantic representations relative to their points of use.

Behavioral influence varies with the position, distance, structural surroundings, and distribution of representations. Greater proximity does not necessarily guarantee greater influence.

Semantic Shadow

The effects of subsequent context and ordering on earlier semantic influence.

Subsequent information can suppress, reinforce, reinterpret, or supersede earlier meaning. Consistency with historical meaning remains distinct from correctness under authorized updates.

Semantic Weight

The balance of coherent semantic support among competing meanings.

Support can accumulate through repetition, elaboration, examples, and paraphrasing. Semantic Weight is distinct from raw token volume, neural network weights, attention scores, and behavioral influence itself.

Quantification and Measurement

DimensionMeasurement Framework
Semantic LocalitySequence distance, normalized position, placement profiles, and position–response functions
Semantic ShadowSemantic-continuation exposure, signed contrasts, order-sensitive comparisons, and matched contextual histories
Semantic WeightSupport proxies, competitive shares, support ratios, absolute support totals, and support–response functions

The framework also develops pairwise and three-way interaction measurements, distinguishing behavioral consistency with a semantic object from correctness under the authorized current state.

Interactive Model

The Context Triad Interactive Model provides an interactive representation of the framework, offering a means of exploring its primary dimensions and the relationships through which contextual configuration shapes semantic influence.

The Extended Context Triad

Extended Context Triad

The Extended Context Triad develops the interactions between the primary dimensions into six regional compound dimensions and three higher-order dimensions, characterizing the persistence, direction, and organization of semantic influence.

Compound Dimensions

DimensionCompositionFocus
Locality ContinuityLocality + ShadowPersistence of influence across changes in contextual distance and placement
Locality ConcentrationLocality + WeightDistribution of coherent support relative to points of use
Shadow ContinuityShadow + LocalityPersistence of influence through exposure to subsequent context
Shadow MomentumShadow + WeightDirectional development of influence through successive contextual exposure
Weight ConcentrationWeight + LocalityOrganization of coherent support across contextual locations
Weight MomentumWeight + ShadowAccumulation of supporting and competing influence through contextual history

Higher-Order Dimensions

DimensionCompositionFocus
AnchoringLocality Continuity + Locality ConcentrationSustained attachment of semantic influence to relevant points of use
TrajectoryShadow Continuity + Shadow MomentumEvolution of semantic influence across successive operations
ConsolidationWeight Concentration + Weight MomentumOrganization and accumulation of coherent support around a common meaning

The six compound dimensions describe three shared pairwise relationships from their respective primary dimensional perspectives.

The complete architecture comprises twelve named dimensions occupying nine geometric positions, representing conceptual relationships rather than independent internal mechanisms.

Behavioral Outcomes and Dynamics

The framework distinguishes between behavioral outcomes and the dynamics through which behavioral influence changes.

Behavioral Outcomes

OutcomeDescription
PreservationMeaning remains behaviorally effective
SuppressionMeaning loses behavioral influence
DisplacementCompeting meaning becomes dominant
TransformationMeaning is reinterpreted or altered in application
ResolutionCompeting meanings are reconciled according to authority and scope

Behavioral Dynamics

DynamicDescription
ReinforcementInfluences strengthen the same tendency
InterferenceInfluences oppose one another
CompensationOne influence offsets another's disadvantage
DominanceOne influence prevails over competitors
RecoveryWeakened meaning regains effectiveness
ReversalInfluence changes direction
SaturationAdditional influence produces diminishing gains
ThresholdSmall contextual changes produce substantial behavioral shifts
InstabilityBehavioral consistency varies across matched conditions

These classifications connect contextual configuration, interaction dynamics, and resulting model behavior.

The Context Triad Research Atlas

Context Triad Research Atlas

The Research Atlas maps 87 external research sources and 14 internal investigations across the framework's dimensional and behavioral constructs, including adjacent research.

It comprises four regional research maps — Locality, Shadow, Weight, and Behavioral — connected through a unified research index.

The atlas synthesizes established findings, related evidence, and applied engineering practices within a common conceptual architecture, without treating conceptual correspondence as independent validation.

Empirical Investigations

StudyTrialsObservations
Glip Preference Anchoring360Selection varied with label, description, position, and rival ordering. The final position was selected in 213 trials.
Fox–Leopard Displacement360Expanding competing support reduced replies without a single selection from 52 to 6, while evidence of pangram identification remained similar.
Planetary Order vs. Greek Genealogy390Permuting the same nine names produced Solar System interpretations ranging from 1/30 to 28/30 replies across scattered layouts.

These investigations provide empirical grounding for aspects of the framework while identifying relationships requiring further controlled investigation and independent replication.

Applications

The Context Triad provides a common framework for understanding model behavior across:

  • Context engineering and prompt sensitivity
  • Long-context evaluation
  • Agentic architectures and persistent task-state management
  • Retrieval-augmented generation
  • Multi-turn instruction adherence
  • Context compression and memory architecture
  • Semantic conflict resolution and model reliability

Across these domains, the framework shifts the analytical focus from the availability of meaning alone toward the contextual relationships that shape its behavioral effectiveness.

Conclusion

The Context Triad unifies the placement, contextual history, relative support, interactions, and behavioral dynamics of represented meaning within a common framework for understanding LLM behavior.

Understanding model behavior requires examining not only what context contains, but how context is shaped and how contextual forces influence represented meaning.

The complete framework, component papers, Research Atlas, interactive model, and empirical investigations are publicly available.

https://github.com/ArchitecturalGravity/ArchitecturalGravity/tree/main/Research/Context_Triad


r/ContextEngineering • • 12h ago

From an MQTT event to document context: a visual RAG workflow

Thumbnail
reddit.com
1 Upvotes

I teach IoT and AI and develop SHAPE, a visual programming environment.

I built a teaching demo where a sensor error received over MQTT triggers a query against a technical manual, rather than requiring someone to open a chat and describe the problem.

The workflow:

  1. Upload a sample sensor manual and prepare it for retrieval.
  2. Receive an MQTT message such as {"errorCode": "E01"}.
  3. Use the error code to query the document-aware service.
  4. Parse the generated response as JSON and publish it back through MQTT.

SHAPE connects the steps with visual blocks. ChordLLM manages documents and retrieval, while Ollama runs Ministral locally. In this example, the manual is attached to one conversation.

The context-design question is what should accompany the error code. The demo uses a single manual, but with multiple devices, the code alone would not identify the right documentation.

Generated troubleshooting steps still need verification against the source, and JSON parsing does not guarantee a valid schema.

How would you scope retrieval in a multi-device setup: separate knowledge bases per device, or a shared collection filtered by device model and manual version?

Code and documentation: https://github.com/TactigonTeam/Tactigon-Shape


r/ContextEngineering • • 14h ago

Long-Term memory structure

Post image
2 Upvotes

Posted originally in r/EverMindAI


r/ContextEngineering • • 17h ago

I built PromptPump: a local CLI that turns a one-line request into a structured, repo-aware prompt (Ollama, no API keys)

Thumbnail
gallery
5 Upvotes

Hey everyone, I've been working on PromptPump, an open-source CLI that takes a short request and compiles it into a structured, context-rich prompt you can paste into any AI assistant. It runs 100% locally on Ollama, so there are no API keys and your prompts and code never leave your machine.

The problem: A request like "add a pause menu" or "a fox in a snowy forest" leaves a lot unspecified. A good prompt needs structure (role, objective, constraints, output format) and context (what your project actually looks like). Writing that by hand every time is slow, so most of us skip it.

What it does

promptpump run "add source citations to each RAG answer" --stack fastapi
  • Three modes: code, image, and content (stories, scripts, articles). Each has its own schema. Code covers role, measurable objective, success criteria, scope, and output format. Image covers subject, style, composition, and lighting. Content covers audience, structure, voice, and boundaries.
  • Repo-aware code prompts: for ongoing projects it scans your workspace and injects the file tree, key files, and a symbol outline (Python via ast; JS/TS and Go via regex), packed into a token budget by BM25 relevance to your request. It tells the model to reuse existing functions instead of reinventing helpers.
  • Grounding and validation: the context section is overwritten with deterministic scan facts, and the output is checked for unsupported file or function references. Missing sections trigger a repair attempt, and unknowns are listed under "Assumptions (verify before coding)."
  • Stack profiles: 60+ built-in rule sets (FastAPI, Django, React, PyTorch, Docker, and more) that you can combine with --stack.
  • Safe by default: respects .gitignore, never reads .env, keys, or credentials, doesn't follow symlinks, and makes no network calls except to your Ollama server.
  • Transparent: --dry-run shows exactly what the model would receive, and --stats shows the token budget and the input reduction versus pasting the whole repo.
  • Built-in telemetry: promptpump telemetry measures TTFT, tokens/sec, and peak GPU memory on your hardware.

Does it actually help? Honest answer: early signal, not proof. I ran a small pilot with three synthetic Python tasks, one generation each, all on qwen2.5-coder:7b, scored by pytest:

Raw requestFull repo dumpPromptPump
Tasks passed0/32/3

That's far too small to claim a general quality win, so I'm treating it as a hypothesis. The benchmark harness, fixtures, and raw results are in the repo if you want to poke holes in it or add tasks.

Hardware note: it runs fine on modest machines. On my 6 GB RTX 3050 laptop, the 7B model decodes at about 18 tokens/s, while a 14B model spills to CPU and drops to about 3 tokens/s.

Install

pipx install promptpump
promptpump doctor

Python 3.10+ and Ollama required. MIT licensed.

GitHub: https://github.com/RiteshNipane/PromptPump

I'd love feedback on the prompt schemas, what stack profiles or benchmark tasks to add, and whether the repo-context approach holds up on your projects. Happy to answer questions.


r/ContextEngineering • • 1d ago

Scheduled agents: what does yours load before it acts, and who chose that list?

1 Upvotes

I used to start every scheduled run basically blind and then act surprised when it did something weird. I would paste in a status note I typed that morning, last run's output if I remembered to save it (often I did not), and the rest just lived in my head. One morning a run cheerfully worked off a constraint I had dropped two days earlier, because that old note was the one that happened to get loaded. The run looked fine. Took me about an hour of rereading output to figure out why it felt off.

I got tired of burning time on that re-briefing ritual every single run, so I built something to fix it for myself. Not selling anything here, I am just trying to work out whether this bootstrap part is a real problem for other people or whether my setup was just messy.

So when one of your runs kicks off, what does it actually pull in before the first action? Project status, decisions, constraints, what the last run did, all of it? Or just one summary file you keep updating by hand?

Is that list fixed, same load every time, or does something pick it per task? And who picked it in the first place, you on a good day, or did it just grow?

The stale thing is what gets me. What has loading the wrong thing, or one outdated thing, actually cost you? I have also never worked out whether loading more at the start helps or just gives the run more old stuff to be confidently wrong about.

Separate thing I keep hitting: a lot of my thinking happens out loud on my phone, speech to text while I am away from my desk, and that context always ends up stuck there while the runs live on my laptop. Is that just me?

What if something handled all of this for you, in the cloud over MCP, so every agent and tool got the same context: decisions, failed attempts, conversations, skills, procedures, tasks. You never touch a file again. Would you guys pay for something that fixes this? Have you ever thought about paying for a tool to manage all of this for you, or has the thought never crossed your mind?


r/ContextEngineering • • 2d ago

Keeping coding agents’ context useful: bounded tool output, exact retrieval and LSP navigation

Thumbnail
reddit.com
1 Upvotes

A test command can produce thousands of lines when the useful evidence is a failed assertion, a stack trace, and a few lines around it.
I maintain Straitjacket, an open-source CLI/MCP sidecar for coding agents. Its Antigravity integration targets the agy CLI.
The workflow is straightforward: capture command output locally, return a bounded digest, then retrieve exact lines when the agent needs them.
With Python 3.11+, run this in a repository that has a pytest suite:
python -m pip install 'ctx-harness==0.5.0'
ctx run -- python -m pytest -q
The result includes a retrieval handle. Use the actual handle from your run:
ctx search 'run:YOUR_HANDLE#stdout' 'AssertionError'
ctx get 'run:YOUR_HANDLE#stdout' --lines 120:136
Choose the line range returned by search, and use #stderr where appropriate.
In our local replay, a 20,001-line fixture contained 302,628 o200k_base tokens. The canonical digest was 531 tokens. The test verified the stored bytes, retained a quiet anomaly, and retrieved an omitted line exactly. It made zero model calls.
That measures representation size and evidence retrieval. It does not establish how many extra successful turns you get before compaction, or whether your provider bill falls.
A few practical lessons:

  • Bound large results before they enter history. This does not shrink messages already in the conversation.
  • Keep retrieval addresses and relevant source references in task handoffs.
  • Use symbol lookup for symbols and text search for arbitrary strings. Replacing every grep with a reference query can lose useful matches.
  • Keep selected tools and instructions stable during a session, then measure actual cache reads and writes.

The repository also includes capability inventory and pruning: choosing which optional tools and skills to expose before launching a supported host. That is separate from summarizing old conversation messages.
Captures are local plaintext, with a default 64 MiB cap per stream. The digest declares discarded regions. Small outputs can acquire wrapper overhead, so wrapping everything is not automatically useful.
Code and reproduction instructions:
https://github.com/vamsiramakrishnan/straitjacket
If you have a sanitized build/test log where the digest misses the important clue or retrieval causes extra loops, I would like to reproduce that case.


r/ContextEngineering • • 2d ago

Most LLM apps silently break their own prompt cache. Here's what I found auditing 20 open-source ones (feedback wanted)

Thumbnail
reddit.com
1 Upvotes

r/ContextEngineering • • 2d ago

When a scheduled agent is wrong because its source went stale, who catches it?

1 Upvotes

I used to have a scheduled run that pulled from a doc I trusted. Real source, real quote in the output, nothing made up. The problem was the doc described a limit that had changed two weeks earlier, so the answer was confidently wrong and it passed every source check I threw at it. I only caught it because I happened to remember the change myself. Which, honestly, is a stupid safety net.

That one cost me a few hours of re-reading outputs I had already skimmed once. And it got worse the more the run produced, because reviewing scales with output, not with how important any of it is.

I built something to fix the memory side of this for myself, so I am not stuck re-briefing every run from zero. Not selling anything here, I am just trying to find out if this stale source thing bites other people or if my setup was just sloppy.

So for folks running scheduled agents: when an answer is wrong because the source went stale, who catches it in your setup, and what does the catching cost you? Do you check freshness before the agent reasons from a fact, or do you only review after it writes? And does that review time stay flat for you, or does it creep up as the agent gets busier?

Curious what you have tried too. Timestamps on facts, re-fetching the important ones, a second pass, anything. Did any of it actually hold up once you stopped watching it closely?

What if something handled all of this for you, in the cloud over MCP, so every agent and tool got the same context: decisions, failed attempts, conversations, skills, procedures, tasks. You never touch a file again. Would you guys pay for something that fixes this? Or has the thought of paying for a tool to manage all of this never crossed your mind?


r/ContextEngineering • • 2d ago

Google adk vs langgraph

Thumbnail reddit.com
1 Upvotes

r/ContextEngineering • • 2d ago

REQL update: better agent coordination, more complete handoffs, and measured token savings

1 Upvotes

Hey everyone!

I’ve updated REQL, my open source tool that helps AI coding agents navigate repositories and preserve working context across sessions.

This update focuses on reducing repeated work when a task spans multiple agents or conversations: recovering the decisions behind a change, giving the next agent enough context, and coordinating implementation and verification.

If you’re new to REQL, it builds a local graph of your code, tests, and documentation. Agents can retrieve relevant symbols, relationships, and source excerpts, alongside saved tasks, decisions, failed approaches, and next steps.

What’s improved?

  • More complete task recovery: context now follows the full chain of prerequisites, parent goals, conflicts, and replacement decisions. Shared work also retains previous revisions, so another session can recover what changed and why.
  • More useful source briefs: task context can include more complete verified source, relevant tests, and linked documentation. This gives agents more of the code they need to continue an assigned task.
  • Clearer coordination between agents: workers can explicitly wait for prerequisites after completing independent work. Task claims also identify the other active tasks that reference overlapping files.
  • Explicit verification plans: agents can run an ordered plan using the project’s own check commands. Passing results can be reused when the source revision, command, execution environment, and declared inputs match. Execution stops at the first failed check.

The coordination guide covers these workflows.

There are now concrete token comparisons in the README.

Three paired Codex comparisons reported:

  • 51% fewer total tokens for a test coverage import change.
  • 78% fewer total tokens for JavaScript and TypeScript test modifier indexing.
  • 38% fewer total tokens across both workers for a task coordinating Python, CLI, and MCP changes.

Each result comes from one paired comparison using the same frozen source tree and acceptance checks. Both runs in each pair passed. Totals count all input tokens, including cached input, plus output tokens. Results vary by task and run.

Results and measurement details

REQL still runs locally. Compilation and retrieval require no model calls, API keys, hosted service, or external graph database. It provides a CLI, Python API, and MCP server, with installable instructions for Codex, Claude Code, Cursor, and other supported assistants.

I’d like feedback from people using agents for larger changes: where do they repeat the most work in your setup—finding code, recovering earlier decisions, coordinating with another agent, or running checks? Concrete examples would help me choose what to improve next.


r/ContextEngineering • • 2d ago

Compaction and prompt caching are one decision, not two. I built an open-source package that fits both to your own traffic

Thumbnail
reddit.com
1 Upvotes

r/ContextEngineering • • 3d ago

An AI agent that lives in a GitHub repo — and why I think agents need a public memory

Thumbnail reddit.com
1 Upvotes

r/ContextEngineering • • 3d ago

How do you stop a scheduled run from rewriting more than it should?

1 Upvotes

I used to have one shared notes file that every scheduled run read at the start and rewrote at the end. Sounds tidy. In practice the sections I never asked it to touch kept drifting anyway, a status line would get reworded, an old decision would come back phrased slightly differently, and after a few days I honestly could not tell what I had written vs what a run had quietly cleaned up for me. I burned a stupid amount of time diffing versions just to work out what actually changed.

I am building something to fix this kind of thing for myself. Not selling anything here, I just want to know if this bites other people or if my setup was just sloppy.

The specific bit I am stuck on is edit scope. Did telling a run "only update this one part, leave everything else exactly as it is" actually hold for you? Mine obeyed for like two days and then started helpfully rewriting the whole file again. Did anyone end up going the other way, where the run only ever sees the slice it is allowed to change, so it physically cannot touch the rest? Or do you just review a diff after every run and live with that chore?

Also curious how this travels for you. I do a lot of my thinking out loud on my phone with speech-to-text and the notes live on my laptop, so by the time a run rewrites something I am usually finding out about it hours later on a different screen. Is that just me?

And when you switch tools mid-project, say you try a different agent for a week, does the new one respect the same boundaries or does it rewrite the file in its own style on day one? That re-briefing cost is half the reason I stopped trying new tools for a while.

What if something handled all of this for you, in the cloud over MCP, so every agent and tool got the same context: decisions, failed attempts, conversations, skills, procedures, tasks. You never touch a file again. Would you guys pay for something that fixes this? Or has the thought of paying for a tool to manage all of this never even crossed your mind?


r/ContextEngineering • • 4d ago

If what you approved changes before a scheduled run acts, should it ask again?

1 Upvotes

I used to run a couple of scheduled agents that would ping me to approve a draft before sending it. Approved a quote at like $500 in the morning, went and did other stuff, and by the time the run actually fired the number in the draft had quietly become $550 because something upstream updated it. Nothing flagged it. I only caught it because I happened to reopen the thread.

That kind of thing is part of why I started building something to fix the context mess for myself. My runs used to wake up with no memory of what got decided last time, so I was re-checking everything by hand anyway, which kind of defeated the point.

Honest question for people running scheduled stuff: if the thing you approved changes before the run acts on it, should it ask you again? I mean the actual content, a recipient list swaps a name, a message body gets edited, a total changes. Does your setup compare what you approved against what is about to go out, or does approval just unlock the run and whatever is in there at fire time goes?

What is the worst drift you have caught, or missed and found out about later? And where is your line, like any change at all should re-ask, or tiny changes can ride and only money/recipients matter?

I do a lot of these approvals from my phone too, usually half paying attention, which probably makes it worse. Is that just me?

What if something handled all of this for you, in the cloud over MCP, so every agent and tool got the same context: decisions, failed attempts, conversations, skills, procedures, tasks. You never touch a file again. Would you guys pay for something that fixes this? Have you ever thought about paying for a tool to manage all of this for you, or has the thought never crossed your mind?


r/ContextEngineering • • 4d ago

In an existing workflow, are the lines blurred between where a human in the loop needs to be and what the agent can actually do?

Thumbnail reddit.com
1 Upvotes

r/ContextEngineering • • 4d ago

GitHub - 4LPH7/Hive_Mind: One shared, self-improving memory for Claude Code, Codex and Antigravity: Obsidian vault + graphify code graphs over MCP, with ACE playbooks, vault lint

Thumbnail
github.com
1 Upvotes

r/ContextEngineering • • 4d ago

GraphRAG on the Valkey you already run: graph, vector and full-text indexes in one server

Thumbnail
reddit.com
1 Upvotes

r/ContextEngineering • • 5d ago

The user asked it to pay a bill. The bill told it to pay someone else first.

2 Upvotes

In an AgentDojo test, an attacker hid an extra payment instruction inside a bill. Without a guardrail, the agent followed it in all six runs.

Google's proposed defense checks each action before execution against the user's actual request. Across its benchmark tests, attack success fell from 48.7% to 0.9%, with a 2.6-point drop in benign-task utility.

The limit matters: the judge is another model reading untrusted content, and the attacks weren't adapted to defeat this defense. A strong benchmark result, not proof the problem is solved.

Source: https://developers.googleblog.com/did-the-user-ask-for-this-securing-ai-agents-against-intent-hijacking-with-semantic-governance-policies/


r/ContextEngineering • • 5d ago

Unmanaged agents reused existing components only 55–59% of the time in million-line codebases. With a context layer, 92%.

Thumbnail
leaddev.com
2 Upvotes

Context is where the hours go.


r/ContextEngineering • • 6d ago

AI Context Vaults for GTM/Customer Success

Thumbnail reddit.com
1 Upvotes

I am curious if anyone has advice on where to build a shared context vault for internal client data that the entire post sales org can collaborate on Thanks!


r/ContextEngineering • • 6d ago

Shared team context across AI conversations through MCP

Post image
1 Upvotes

r/ContextEngineering • • 7d ago

Jev for Context Assembly

Post image
7 Upvotes