24.1 From prediction functions to agentic workflowsWhere agentic workflows do not helpAutonomy levels and realistic deployment boundariesInterface with reinforcement learning24.2 Cognitive architectures – How agents reasonThe ReAct frameworkTree of thoughtsReflexionChoosing and composing reasoning patterns24.3 Agent memory – State, persistence, and replayThe memory hierarchyWhy explicit state is mandatoryCheckpointing, replay, and diagnosisMemory lifecycle and governanceMemory and evaluation are coupled24.4 Tool integration – Contracts, controls, and context engineeringTool categories for research and forecastingTool contracts and selection qualityContext engineeringProvenance and structured outputEnforcing structured outputSource policyError handling and graceful degradation24.5 The engineering stack – Frameworks and migrationStart from constraints, not preferencesFrom notebook pattern to production demoMigration sequence that reduces reworkComparing frameworks locally24.6 Designing the research agent at the heart of the pipelineArchitecture and toolsetReAct loop and rich output extractionTrace inspection and replayWalkthrough of a typical runEvaluation and acceptance criteria24.7 Multi-agent forecasting systemsArchitecture – From agent ensemble to production pipelineAggregation and extremizationThe debate-supervisor patternProbability calibrationEvaluation, ablation, and baselines24.8 The ML4T research agentThe operator’s shapeSkills are the task-specific knowledge layerTwo example runs of the ML4T research loopWhat the runs share and where the limits sitKey Takeaways24.9 Preparing for productionThe reliability gap and observabilityStatistical testing and point-in-time integrityContamination-resistant evaluationEvaluation metric stackCost, latency, and deployment fitRelease process and monitoringCollective effects and risk posture24.10 Security and governanceThreat model – Where failures originatePrompt injection and retrieval defensesLeast privilege and the warden patternHuman-in-the-loop controls and governance artifactsSecurity testing and metrics24.11 Summary