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.
Total Recall: Agent Memory and Harness Engineering
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.
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.
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.
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.
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
- works atNacho Martinez works at
Oracle
developer advocate“I’m an AI developer advocate”
2:09inMemory-Aware Agent Harnesses for Anti-Money LaunderingYouTube Verified6 sources· Talk, Web· archived
- uses
“We'll be running it on GitHub Codespaces”
YouTube Unverified1 source· Talk
- launchedNacho Martinez: A course on agent memory with Andrew Ng
“I launched a course with Andrew Ng. On agent memory.”
YouTube Unverified1 source· Talk
- featureOracle DBFS: Stores files inside the database with transactional consistency, vector search, relations, security, and high availability
“you can store files inside the database on a file system”
YouTube Unverified1 source· Talk
- feature
Oracle: Offers a converged database supporting JSON, relational, spatial, and graph data
“We support JSON, relational, spatial, graph, and anything else you can think of.”
YouTube Unverified1 source· Talk
- feature
Oracle Agent Memory Package: Provides context compaction, summarization, and memory extraction through a single line of code
“With OAMP, you can do all of this in a single line of code.”
YouTube Unverified1 source· Talk
- featureTotal Recall: Lets users create, chat with, and inspect an agent harness, including context, tools, skills, data sources, traces, and tool calls
“This app is going to allow you to create, chat, and interact with the whole agent harness.”
YouTube Unverified1 source· Talk
- featureOCI Generative AI: Provides managed inference for models from Oracle’s partners
“we can provide inference to their models through our managed service”
YouTube Unverified1 source· Talk













