YUNOVA · AI Agents · Module 1: What an AI agent is

A simple agent, traced step by step

Notes for offline study · 30 November 2026

A simple agent, traced step by step

Key points

  • एक simple agent में चार हिस्से होते हैं: model, tools की list, बातचीत का history और loop।
  • हर step पर model या तो सीधा जवाब देता है या tool call माँगता है; आपका code tool चलाकर result वापस भेजता है।
  • हर step को print या log करने से आप देख पाते हैं कि agent ने क्या सोचा, कौन-सा tool चलाया और क्या मिला।
  • Loop में अधिकतम steps की सीमा रखें ताकि agent अटक कर अनंत बार न चले।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.