WhoBuilt

Total Recall: Agent Memory and Harness Engineering

Sep 18, 2026· 1 h 1 min· 37K views·Watch on YouTube

Speaker

Ignacio Martinez, an Oracle developer advocate, introduces agent memory and harness engineering at an AI Engineer workshop, then guides attendees through building a harness in GitHub Codespaces.

The harness is where teams can shape agents

Martinez describes an AI agent as a language model plus a harness for memory, tools, and perception. Since teams have limited control over model reasoning, he says harness engineering focuses on making results more reliable and repeatable. He outlines seven harness components, including storage, memory engineering, semantics, agent loops, and context engineering.

Combine files and databases for memory

Martinez says files are easy for models to work with, while databases offer transactional consistency, backups, and search. He recommends a hybrid: use files for short-term memory, then promote durable information such as user preferences into a database. He presents Oracle DBFS as a way to store files in a database with database features.

Keep memory useful and context focused

Martinez distinguishes short-term, long-term, and shared memory, with examples such as a coding agent’s to-do list, prior conversations, and communication between agents. He warns that adding more material to a context window can cause context rot, so harnesses should retrieve relevant information and keep context focused. He describes Oracle’s Agent Memory Package as a way to create context cards containing topics, summaries, facts, preferences, and recent messages.

Build an agent through a workshop

Martinez describes a minimal agent loop as observing, reasoning, and acting, and says it should be failure-resistant. He also explains toolbox and skillbox patterns, which load tools and skills into context when needed. In the workshop, attendees build the harness incrementally across 19 tasks, starting with a model call and adding search, retrieval, and other components.

Improve behavior by promoting skills

Martinez defines continual learning as improving an agent over time through changes to weights, representations, or context. The workshop focuses on context and token space as accessible approaches. One example is distilling successful workflows into reusable skills, then refining those skills to reflect a team’s preferences.

Takeaways

  • Treat the harness as the part your team can shape around a model’s reasoning.
  • Use files for temporary memory and databases for durable information that needs consistency and search.
  • Retrieve only relevant tools, skills, and memories to keep context focused.
  • Turn successful workflows into reusable skills and refine them over time.
  • Set a limit on agent retries and tool calls based on the model and task.

Mentioned in this talk

Search inside this talk

What was claimed 9

Show all 9 facts

Related talks