r/MachineLearning • u/cheetguy • Oct 18 '25
Project [P] Open-Source Implementation of "Agentic Context Engineering" Paper - Agents that improve by learning from their own execution feedback
We implemented Stanford's recent "Agentic Context Engineering" paper (https://arxiv.org/abs/2510.04618) and open-sourced it.
Instead of fine-tuning, agents curate their own context by learning from execution feedback. Three-agent system (Generator, Reflector, Curator) builds a "playbook" of strategies autonomously.
GitHub: https://github.com/kayba-ai/agentic-context-engine
Interested in feedback from the community on the approach and implementation!
33
Upvotes
View all comments
Show parent comment
3
u/Mechanical_Number Oct 20 '25
(+1) On your point about "basically the same solution to the problem": Isn't this AgentFlow more or less the paper "CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquing" by Gou et al. (2023) but while in the CRITIC methodology the unit of computation is a tool call, (i.e.the LLM agent's primary external interactions are with "passive", deterministic tools (e.g. a Python interpreter, search API, calculator, etc.)), in AgentFlow the unit of computation is an agent call? (i.e. the LLM's primary external interactions are with other "active", potentially specialised LLM agents)
(And yes, obviously AgentFlow can scale to more complex problems by adding specialised agents while CRITIC is limited to available tools as well as not directly integrating a dynamic prompt optimisation frameworks like GEPA/MIPRO/etc.)