# State and memory — AI Agents और Tool Use / MCP

Source: https://www.geekswithgeeks.com/hi/ai-agents-mcp/ai-agents-mcp-16

> State and memory को स्पष्ट evidence के साथ लागू करें।

## State and memory को समझें

**State and memory** में पहले उसकी समस्या समझें। Implementation चुनने से पहले input, constraint और दिखने वाला outcome पहचानें।

## Workflow देखें

**State and memory** में समझें, काम करें, verify करें और सुधारें।

![State and memory का workflow।](assets/figures/ai-agents-mcp/section-4-map.svg) — चित्र 4.1 — दोहराया जा सकने वाला workflow।

## उपयोगी तुलना

**State and memory** route plan जैसा है: हर step को destination से जोड़ता है।

अपनी reasoning जाँचें।

**Quiz:** State and memory के लिए सही पहला step क्या है?

- [x] Goal और constraint तय करें।
- [ ] Unverified example copy करें।
- [ ] Measurement छोड़ दें।

*Answer:* Goal और constraint तय करें।. स्पष्ट goal और constraint निर्णय को review योग्य बनाते हैं।
