Martinez frames the workshop around a medium-sized bank that needs to flag suspicious transactions for human review. He argues that long-running agents need more than a capable model: engineers must build the memory, tools, and context handling that let agents work within limited context windows.
Memory-Aware Agent Harnesses for Anti-Money Laundering
Speaker
Nacho Martinez, an AI developer advocate and data scientist at Oracle, presents an AI Engineer workshop on building memory-aware agent harnesses for bank anti-money-laundering analysis.
The harness data layer includes an agent loop, connections to external data, memory, context engineering, tools, and skills. Martinez distinguishes short-term context from long-term episodic, procedural, and semantic memory, and describes summarization and compaction as ways to manage limited context.
Martinez says files work well for unstructured data while databases can help when concurrent writes need transactional consistency. To avoid loading hundreds of tools and skills into every request, the workshop retrieves a small relevant set through vector search, with reranking as an optional refinement. He also describes combining keyword and semantic search to improve retrieval.
The agent loop assembles context from tools, skills, conversation history, files, and databases, then calls a model and repeats as configured. The workshop caps the loop at eight iterations and 60 seconds of reasoning per iteration. In its bank scenario, a Grok model on Oracle Cloud analyzes synthetic transactions and flags suspicious activity for later human inspection.
Martinez recommends tailoring a harness to a specific problem instead of building a general-purpose agent platform. A financial review agent and a system for extended mathematical work need different context handling, patience, and constraints. He suggests beginning with only the components the use case requires.
Takeaways
- Treat memory, context assembly, and tool access as engineering choices that shape agent performance.
- Keep the active context focused by retrieving only a few relevant skills and tools for each task.
- Use databases when concurrent writes require transactional consistency; use files where unstructured storage fits.
- Set explicit iteration and time limits for autonomous workflows, then send high-impact findings to people for review.
- Build a narrow harness around the task, data, and constraints instead of carrying over unnecessary components.
Mentioned in this talk
Search inside this talk
What was claimed 8
- works atNacho Martinez works at
Oracle
developer advocate“I’m an AI developer advocate”
YouTube Verified6 sources· Talk, Web· archived
- feature
GitHub Codespaces: Hosts the workshop development environment
“The workshop is hosted on GitHub Codespaces”
YouTube Unverified1 source· Talk
- featureagent harness: Scaffolds tool use, memory, and perception
“all the scaffolding you need to build those three components—tool use, memory, and perception”
YouTube Unverified1 source· Talk
- metricagent loop: Workshop limit of 60 seconds of reasoning per iteration
“a maximum of 60 seconds of reasoning for each iteration”
YouTube Unverified1 source· Talk
- metricagent loop: Workshop limit of eight iterations
“the maximum number of iterations in our case is eight”
YouTube Unverified1 source· Talk
- uses
“a Grok model running on OCI”
YouTube Unverified1 source· Talk
- featureMCP: Can provide access to pre-created, proven SQL queries
“pre-create some SQL queries and then let the agents access those”
YouTube Unverified1 source· Talk
- featurehybrid search: Combines semantic search with keyword search to improve retrieval
“combines semantic search using embeddings with keyword search”
YouTube Unverified1 source· Talk













