Chapter 9. Agent Memory and Context Graphs
The code for this chapter is in the
code/ch09folder of the companion repository. It extends the agent from Chapter 8. See its README for dependency installation and the environment variables the scripts expect.
Sara Patel, OMG Consulting’s Director of Staffing, has been using the agent from Chapter 8 for three months. It works. But every Monday morning she has to re-explain her preferences from scratch: senior consultants only on healthcare engagements, no more than two juniors on a fintech project, never staff anyone on the Anthem account who hasn’t shipped production Java in the last two years. By the time Sara has typed all that context into the chat, she could have done the staffing manually.
Worse, last Friday a partner walked into her office and asked why the agent had recommended Carol Nguyen for the Anthem migration three weeks earlier. Carol had performed well, but the partner needed an explanation he could put in a client-facing memo, and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access