Skip to contentমূল লেখায় যান

Topic 06 · AI agentsটপিক 06 · AI agents

The Stop Check

After each step, an agent loop asks one question: answer now, or keep going? This page explains how the loop decides to end, which hard limits stop it, what the harness reports when a limit is hit, and how a tester checks each way out.

7 min read7 মিনিটে পড়া যায় · 6 sections6টি সেকশন · 8 sources8টি সোর্স · updated Nov 2026আপডেট: Nov 2026

Done, limit, or errorকাজ শেষ, সীমা, নাকি error

Run three agents under turn and budget caps and see which way each one leaves the loop.তিনটা agent-কে turn আর budget-এর সীমায় চালান আর দেখুন প্রতিটা কোন পথে loop থেকে বের হয়।

2 min2 মিনিট8 steps8টি ধাপ
  • Turns / max_turnsটার্ন / max_turns0 / 20
  • Spend / max_budget_usdখরচ / max_budget_usd$0.00 / $3.00
  • Exitবের হওয়া—
Agentএজেন্টloopলুপturn 0 / 20টার্ন 0 / 20Stopস্টপhookহুকDoneকাজ শেষsuccesssuccessTurn limitturn সীমাerror_max_turnserror_max_turnsBudget capbudget সীমাerror_max_budget_usderror_max_budget_usdturns →টার্ন →orange = tool turn green = final answer ✗ = no room for itকমলা = tool turn সবুজ = চূড়ান্ত উত্তর ✗ = জায়গা নেই

You’ll learnআপনি শিখবেন

  • Three exits: done, limit, errorতিন পথ: কাজ শেষ, সীমা, error
  • Why max_turns needs one extra turnকেন max_turns-এ একটা বাড়তি turn লাগে
  • Spend can pass the budget by one responseখরচ একটা response পর্যন্ত budget পার করতে পারে
  • A Stop hook is capped at 8 continuesStop hook 8 বার পর্যন্ত চালু রাখতে পারে

In plain words

The stop check is the point in the loop where the agent either gives its final output or goes around again. In most harnesses, the model makes this choice through its output. In the Claude Agent SDK, the loop goes on until Claude gives a response with no tool calls. That response is the final result Source 1সোর্স 1. The OpenAI Agents SDK uses the same rule: output of the desired type with no tool calls is the final output, and tool calls start the loop again Source 4সোর্স 4.

The model's choice is not the only way out. Anthropic notes that agents often also have stopping conditions, such as a maximum number of iterations, to keep control Source 7সোর্স 7. Harnesses give you these limits:

A run can also end on an error. So the stop check has three exits: done, limit hit, and error. A tester must know which exit a run took. See also Agentic Loops.

সহজ English

The stop check is the point where the agent decides what to do next. It either gives its final answer or goes around the loop again.

Usually the model makes this choice by what it writes. In the Claude Agent SDK, the loop goes on until Claude answers with no tool calls. That answer is the final result Source 1সোর্স 1.

The OpenAI Agents SDK uses the same rule. An answer of the right type with no tool calls is the final output Source 4সোর্স 4. Tool calls start the loop again Source 4সোর্স 4.

The model's choice is not the only way out. Anthropic notes that agents often have stopping conditions too. One example is a maximum number of rounds, to keep control Source 7সোর্স 7. Harnesses give you these limits:

A run can also end because of an error. So there are three ways out: done, limit hit, and error. A tester must know which way a run ended. See also Agentic Loops.

বাংলা ব্যাখ্যা

Stop check হলো loop-এর সেই জায়গা, যেখানে agent হয় চূড়ান্ত উত্তর দেয়, নয়তো আবার loop ঘোরে। বেশিরভাগ harness-এ model তার output দিয়েই এই সিদ্ধান্ত নেয়। Claude Agent SDK-তে loop চলতে থাকে যতক্ষণ না Claude কোনো tool call ছাড়া একটা উত্তর দেয়। সেই উত্তরই চূড়ান্ত result Source 1সোর্স 1। OpenAI Agents SDK-ও একই নিয়ম মানে: ঠিক type-এর আর tool call ছাড়া output হলো final output, আর tool call থাকলে loop আবার চলে Source 4সোর্স 4।

Model-এর সিদ্ধান্তই বের হওয়ার একমাত্র পথ নয়। Anthropic বলে, নিয়ন্ত্রণ রাখতে agent-এ প্রায়ই stopping condition-ও থাকে, যেমন সর্বোচ্চ কতবার ঘুরবে Source 7সোর্স 7। Harness আপনাকে এই সীমাগুলো দেয়:

একটা run error-এর কারণেও শেষ হতে পারে। তাই বের হওয়ার পথ তিনটা: কাজ শেষ, সীমা পার, আর error। একজন tester-কে জানতে হবে একটা run কোন পথে শেষ হলো। Agentic Loops-ও দেখুন।

How it works

The model decides it is done. A turn is one round trip: tool calls, the tools run, and the results go back. Turns continue until the output has no tool calls Source 1সোর্স 1.

model response
     |
     +-- has tool calls? -- yes --> run tools --> limit hit? -- no --> next turn
     |                                                |
     no                                              yes
     |                                                |
     v                                                v
 final output (success)                     error result (no final text)

The hard limits.

HarnessLimitDefaultAt the limit
Claude Agent SDKmax_turns, max_budget_usdNo limitResult subtype error_max_turns or error_max_budget_usd Source 1সোর্স 1
Claude Code CLI--max-turns, --max-budget-usd (print mode only)No limit for --max-turns--max-turns ends the run with an error result and a nonzero exit code Source 1সোর্স 1
OpenAI Agents SDKmax_turns10 (DEFAULT_MAX_TURNS) Source 8সোর্স 8; max_turns=None turns it offMaxTurnsExceeded exception Source 4সোর্স 4
LangGraphrecursion_limit (super-steps)10,007 (from version 1.1.4; 10,000 in 1.0.6–1.1.3)GraphRecursionError Source 5সোর্স 5

Details that matter for tests. In the Agent SDK, max_turns must count one extra turn for the final text-only response. Without it, the run ends with error_max_turns and no final response Source 1সোর্স 1. The budget is checked after each response arrives, so spend can pass the cap by up to the cost of one response Source 1সোর্স 1. In LangGraph, recursion_limit is a top-level config key, not a key inside configurable Source 5সোর্স 5.

What the harness reports. The Agent SDK result has a subtype:

  • success
  • error_max_turns
  • error_max_budget_usd
  • error_during_execution
  • error_max_structured_output_retries

Only success has the result text. Every subtype has total_cost_usd, usage, num_turns, and session_id Source 1সোর্স 1. A single-shot query() raises an error after an error result, and the Claude Code process exits with a nonzero code Source 1সোর্স 1. The result also has a stop_reason, for example end_turn, max_tokens, or refusal Source 1সোর্স 1.

Graceful ends. The OpenAI Agents SDK accepts error_handlers, which can return a controlled final output instead of the error Source 4সোর্স 4. LangGraph has a RemainingSteps value, so a graph can wrap up before it hits the limit Source 5সোর্স 5.

A check before the stop. In Claude Code, a Stop hook runs when the main agent finishes. It does not run after a user interrupt Source 3সোর্স 3. It can block the stop and make Claude continue. The stop_hook_active field is true when Claude already continues because of a stop hook. After 8 stop-hook continuations in a row, Claude Code ends the turn Source 3সোর্স 3.

সহজ English

The model decides it is done. A turn is one round trip: the model asks for tools, the tools run, and the results go back. Turns go on until the model answers with no tool calls Source 1সোর্স 1.

The hard limits.

  • Claude Agent SDK: max_turns and max_budget_usd. No limit by default. At a limit, the result subtype is error_max_turns or error_max_budget_usd Source 1সোর্স 1.
  • Claude Code CLI: --max-turns and --max-budget-usd, in print mode only. --max-turns has no limit by default. --max-turns ends the run with an error result and a nonzero exit code at the limit Source 1সোর্স 1.
  • OpenAI Agents SDK: max_turns. The default is 10 (DEFAULT_MAX_TURNS) Source 8সোর্স 8, and max_turns=None turns the limit off. Past the limit, you get a MaxTurnsExceeded exception Source 4সোর্স 4.
  • LangGraph: recursion_limit counts super-steps. The default is 10,007 (from version 1.1.4; it was 10,000 from 1.0.6 to 1.1.3). Past the limit, you get GraphRecursionError Source 5সোর্স 5.

Some details matter for tests. In the Agent SDK, max_turns must count one extra turn for the final text answer. If not, the run ends with error_max_turns and no final answer Source 1সোর্স 1. The budget is checked after each response comes back, so spend can go past the cap by up to the cost of one response Source 1সোর্স 1. In LangGraph, recursion_limit is a top-level config key, not a key inside configurable Source 5সোর্স 5.

What the harness reports. The Agent SDK result has a subtype: success, error_max_turns, error_max_budget_usd, error_during_execution, or error_max_structured_output_retries. Only success has the result text. Every subtype has the cost, the usage, the number of turns, and the session ID Source 1সোর্স 1. A single-shot query() raises an error after an error result, and the Claude Code process exits with a nonzero code Source 1সোর্স 1. The result also has a stop_reason, for example end_turn, max_tokens, or refusal Source 1সোর্স 1.

Soft endings. The OpenAI Agents SDK has error_handlers. They can give back a controlled final output instead of the error Source 4সোর্স 4. LangGraph has a RemainingSteps value, so a graph can finish up before it hits the limit Source 5সোর্স 5.

A check before the stop. In Claude Code, a Stop hook runs when the main agent finishes. It does not run after a user interrupt Source 3সোর্স 3. It can block the stop and make Claude keep working. The stop_hook_active field is true when Claude already keeps working because of a stop hook. After 8 such continues in a row, Claude Code ends the turn Source 3সোর্স 3.

বাংলা ব্যাখ্যা

Model ঠিক করে কাজ শেষ। একটা turn হলো একটা round trip: model tool চায়, tool চলে, আর ফলাফল ফেরত যায়। Model tool call ছাড়া উত্তর না দেওয়া পর্যন্ত turn চলতে থাকে Source 1সোর্স 1।

কড়া সীমাগুলো।

  • Claude Agent SDK: max_turns আর max_budget_usd। ডিফল্টভাবে কোনো সীমা নেই। সীমায় পৌঁছালে result subtype হয় error_max_turns বা error_max_budget_usd Source 1সোর্স 1।
  • Claude Code CLI: --max-turns আর --max-budget-usd, শুধু print mode-এ। ডিফল্টভাবে --max-turns-এর কোনো সীমা নেই। সীমায় পৌঁছালে --max-turns একটা error result আর nonzero exit code দিয়ে run শেষ করে Source 1সোর্স 1।
  • OpenAI Agents SDK: max_turns। ডিফল্ট হলো 10 (DEFAULT_MAX_TURNS) Source 8সোর্স 8, আর max_turns=None দিলে সীমা বন্ধ হয়। সীমা পার হলে একটা MaxTurnsExceeded exception আসে Source 4সোর্স 4।
  • LangGraph: recursion_limit super-step গোনে। ডিফল্ট হলো 10,007 (version 1.1.4 থেকে; 1.0.6 থেকে 1.1.3 পর্যন্ত ছিল 10,000)। সীমা পার হলে GraphRecursionError আসে Source 5সোর্স 5।

টেস্টের জন্য কিছু খুঁটিনাটি জরুরি। Agent SDK-তে max_turns-এ শেষ text উত্তরের জন্য একটা বাড়তি turn গুনতে হয়। না গুনলে run error_max_turns দিয়ে শেষ হয়, কোনো চূড়ান্ত উত্তর ছাড়া Source 1সোর্স 1। প্রতিটা response আসার পরে budget যাচাই হয়, তাই খরচ একটা response-এর খরচ পর্যন্ত সীমা পার হতে পারে Source 1সোর্স 1। LangGraph-এ recursion_limit হলো config-এর top-level key, configurable-এর ভেতরের key নয় Source 5সোর্স 5।

Harness কী রিপোর্ট দেয়। Agent SDK result-এ একটা subtype থাকে: success, error_max_turns, error_max_budget_usd, error_during_execution, বা error_max_structured_output_retries। শুধু success-এ result text থাকে। প্রতিটা subtype-এ খরচ, usage, turn সংখ্যা আর session ID থাকে Source 1সোর্স 1। একটা single-shot query() error result-এর পরে একটা error raise করে, আর Claude Code process একটা nonzero code দিয়ে বের হয় Source 1সোর্স 1। Result-এ একটা stop_reason-ও থাকে, যেমন end_turn, max_tokens, বা refusal Source 1সোর্স 1।

নরমভাবে শেষ করা। OpenAI Agents SDK-তে error_handlers আছে। এগুলো error-এর বদলে একটা নিয়ন্ত্রিত final output ফেরত দিতে পারে Source 4সোর্স 4। LangGraph-এ একটা RemainingSteps value আছে, তাই সীমায় পৌঁছানোর আগেই graph কাজ গুছিয়ে শেষ করতে পারে Source 5সোর্স 5।

থামার আগে একটা যাচাই। Claude Code-এ main agent কাজ শেষ করলে একটা Stop hook চলে। User interrupt করলে এটা চলে না Source 3সোর্স 3। এটা থামা আটকে Claude-কে কাজ চালিয়ে যেতে বলতে পারে। Claude আগে থেকেই stop hook-এর কারণে কাজ চালালে stop_hook_active field true হয়। পরপর 8 বার এমন হলে Claude Code turn শেষ করে দেয় Source 3সোর্স 3।

A real-life example

This example is invented. A team runs a test-fixing agent in CI with claude -p --max-turns 20 --max-budget-usd 3.00. These flags work in print mode only Source 2সোর্স 2.

Run 1: done. The agent runs the tests, fixes one file, runs the tests again, and answers with no tool call. The subtype is success Source 1সোর্স 1.

Run 2: the turn limit. A test depends on a service that is down, so the test can never pass. The agent tries again and again. At turn 20, the CLI exits with an error and a nonzero exit code Source 1সোর্স 1. The result has no result text, but it still has num_turns, total_cost_usd, and session_id Source 1সোর্স 1. The CI job fails, and the log shows the subtype error_max_turns.

Run 3: the budget. A large refactor uses many tokens. The run stops with error_max_budget_usd. The final cost is a little above 3.00, because the response that reached the cap still completes Source 1সোর্স 1.

The team also wants proof before "done". Anthropic says that an agent must get ground truth from the environment at each step Source 7সোর্স 7. So the team adds a Stop hook that runs the tests and blocks the stop if they fail. The hook checks stop_hook_active, so that it does not block forever on a test that cannot pass Source 3সোর্স 3.

সহজ English

This example is invented. A team runs a test-fixing agent in CI with claude -p --max-turns 20 --max-budget-usd 3.00. These flags work only in print mode Source 2সোর্স 2.

Run 1: done. The agent runs the tests, fixes one file, runs the tests again, and answers with no tool call. The subtype is success Source 1সোর্স 1.

Run 2: the turn limit. A test needs a service that is down, so the test can never pass. The agent tries again and again. At turn 20, the CLI exits with an error and a nonzero exit code Source 1সোর্স 1. The result has no result text. It still has num_turns, total_cost_usd, and session_id Source 1সোর্স 1. The CI job fails, and the log shows error_max_turns.

Run 3: the budget. A big refactor uses many tokens. The run stops with error_max_budget_usd. The final cost is a little over 3.00, because the response that reached the cap still finishes Source 1সোর্স 1.

The team also wants proof before "done". Anthropic says an agent must get ground truth from the environment at each step Source 7সোর্স 7. So the team adds a Stop hook. It runs the tests and blocks the stop if they fail. The hook checks stop_hook_active, so it does not block forever on a test that cannot pass Source 3সোর্স 3.

বাংলা ব্যাখ্যা

এই উদাহরণটা বানানো। একটা টিম CI-তে claude -p --max-turns 20 --max-budget-usd 3.00 দিয়ে একটা test-fixing agent চালায়। এই flag-গুলো শুধু print mode-এ কাজ করে Source 2সোর্স 2।

Run 1: কাজ শেষ। Agent টেস্ট চালায়, একটা file ঠিক করে, আবার টেস্ট চালায়, আর কোনো tool call ছাড়া উত্তর দেয়। Subtype হয় success Source 1সোর্স 1।

Run 2: turn-এর সীমা। একটা টেস্ট এমন একটা service-এর ওপর নির্ভর করে, যেটা বন্ধ। তাই টেস্টটা কখনো pass করবে না। Agent বারবার চেষ্টা করে। Turn 20-এ CLI একটা error আর nonzero exit code দিয়ে বের হয়ে যায় Source 1সোর্স 1। Result-এ কোনো result text থাকে না, কিন্তু num_turns, total_cost_usd আর session_id থাকে Source 1সোর্স 1। CI job fail করে, আর log-এ error_max_turns দেখা যায়।

Run 3: budget। একটা বড় refactor অনেক token খরচ করে। Run error_max_budget_usd দিয়ে থামে। চূড়ান্ত খরচ 3.00-এর একটু বেশি হয়, কারণ যে response সীমায় পৌঁছায়, সেটা তবুও শেষ হয় Source 1সোর্স 1।

টিম "কাজ শেষ" বলার আগে প্রমাণও চায়। Anthropic বলে, agent-কে প্রতিটা ধাপে environment থেকে ground truth পেতে হবে Source 7সোর্স 7। তাই টিম একটা Stop hook যোগ করে। এটা টেস্ট চালায়, আর টেস্ট fail করলে থামা আটকে দেয়। Hook-টা stop_hook_active যাচাই করে, যাতে যে টেস্ট pass করতে পারে না, তার জন্য চিরকাল আটকে না রাখে Source 3সোর্স 3।

Common mistakes

সহজ English

বাংলা ব্যাখ্যা

  • কোনো সীমাই না রাখা। Agent SDK-তে turn আর budget-এর সীমা ডিফল্টভাবে বন্ধ Source 1সোর্স 1। CLI-তে --max-turns-এর ডিফল্টভাবে কোনো সীমা নেই Source 2সোর্স 2। তখন একটা খোলা কাজ অনেকক্ষণ চলতে পারে। Anthropic বলে, production agent-এর জন্য budget রাখা একটা ভালো ডিফল্ট Source 1সোর্স 1।
  • উত্তরের জন্য জায়গা না রাখা turn-এর সীমা। max_turns যদি শেষ text-only turn না গোনে, তাহলে যে run সফল হতো, সেটা error_max_turns দিয়ে শেষ হয় Source 1সোর্স 1।
  • বাড়তি জায়গা ছাড়া budget। খরচ একটা response পর্যন্ত, আর চলতে থাকা sub-agent-এর খরচ যোগ করে, সীমা পার হতে পারে Source 1সোর্স 1।
  • Subtype না দেখে result পড়া। শুধু success-এ result text থাকে Source 1সোর্স 1।
  • প্রতিটা শেষকে সফল ধরা। একটা refusal error হিসেবে নয়, একটা সাধারণ HTTP 200 response হিসেবে আসে Source 6সোর্স 6। max_tokens দিয়ে থামা মানে উত্তর token-এর সীমায় পৌঁছেছে Source 6সোর্স 6।
  • pause_turn উপেক্ষা করা। Server tool থাকলে API-এর নিজের loop সীমায় (ডিফল্ট 10 বার) পৌঁছালে API pause_turn দিতে পারে। Response-টা ফেরত পাঠান, যাতে Claude চালিয়ে যেতে পারে Source 6সোর্স 6।
  • ভুল জায়গায় config। LangGraph-এ recursion_limit configurable-এর ভেতরে দেবেন না। এটা config-এর top-level key Source 5সোর্স 5।
  • এমন stop check যেটা কখনো ছাড়ে না। যে Stop hook কখনো না মেটা শর্তে আটকে রাখে, সেটা agent-কে ব্যস্ত রাখে। stop_hook_active যাচাই করুন Source 3সোর্স 3।

What a tester can check

Tutorial advice

This list is the tutorial's own advice, not a fact from a source.

  • Each exit is reachable. Write one test for each exit: success, the turn limit, the budget limit, and an error. Check the subtype, the exception, or the exit code of each.
  • A limit is always set. Check the config of every CI and production run for a turn limit and a budget. Fail the review if one is missing.
  • The final answer fits in the limit. Give a task that needs exactly N tool turns. With max_turns set to N, expect error_max_turns. With N + 1, expect success.
  • The budget overshoot is small. Set a small budget and compare the final cost with the cap.
  • No false "done". Compare the final text with the real state. "All tests pass" must match a real green run.
  • Partial work is reported. When a limit stops the run, check that the logs show the turns, the cost, and the session ID, so someone can resume or debug.
  • A refusal or a cut answer is not a pass. Check that your harness flags refusal and max_tokens as non-success.
  • The stop check lets go. Make the done-check fail every time. The run must still end, and the report must say that the task is not done.

সহজ English

Tutorial advice

This list is the tutorial's own advice, not a fact from a source.

  • Every way out works. Write one test for each way out: success, the turn limit, the budget limit, and an error. Check the subtype, the exception, or the exit code of each.
  • A limit is always set. Look at the config of every CI and production run. It needs a turn limit and a budget. If one is missing, fail the review.
  • The final answer fits. Give a task that needs exactly N tool turns. With max_turns at N, expect error_max_turns. With N + 1, expect success.
  • The budget goes over only a little. Set a small budget. Compare the final cost with the cap.
  • No false "done". Compare the final text with the real state. "All tests pass" must match a real green run.
  • Half-done work is reported. When a limit stops the run, check that the logs show the turns, the cost, and the session ID. Then someone can resume or debug.
  • A refusal or a cut answer is not a pass. Check that your harness marks refusal and max_tokens as not a success.
  • The stop check lets go. Make the done-check fail every time. The run must still end. The report must say that the task is not done.

বাংলা ব্যাখ্যা

Tutorial advice

এই তালিকা টিউটোরিয়ালের নিজের পরামর্শ, কোনো source থেকে নেওয়া তথ্য নয়।

  • প্রতিটা বের হওয়ার পথ কাজ করে। প্রতিটা পথের জন্য একটা করে টেস্ট লিখুন: success, turn-এর সীমা, budget-এর সীমা, আর একটা error। প্রতিটার subtype, exception বা exit code দেখুন।
  • সবসময় একটা সীমা থাকে। প্রতিটা CI আর production run-এর config দেখুন। একটা turn-এর সীমা আর একটা budget লাগবে। একটা না থাকলে review fail করুন।
  • চূড়ান্ত উত্তর সীমার ভেতরে আসে। এমন কাজ দিন যাতে ঠিক N টা tool turn লাগে। max_turns N হলে error_max_turns আশা করুন। N + 1 হলে success আশা করুন।
  • Budget একটু-ই পার হয়। ছোট একটা budget দিন। চূড়ান্ত খরচকে সীমার সঙ্গে মিলিয়ে দেখুন।
  • মিথ্যা "কাজ শেষ" নয়। চূড়ান্ত text-কে আসল অবস্থার সঙ্গে মিলিয়ে দেখুন। "সব টেস্ট pass" কথাটা একটা আসল সবুজ run-এর সঙ্গে মিলতে হবে।
  • অর্ধেক কাজের রিপোর্ট থাকে। সীমার কারণে run থামলে দেখুন log-এ turn, খরচ আর session ID আছে কি না, যাতে কেউ resume বা debug করতে পারে।
  • Refusal বা কাটা উত্তর pass নয়। দেখুন আপনার harness refusal আর max_tokens-কে success নয় বলে চিহ্নিত করে কি না।
  • Stop check ছেড়ে দেয়। কাজ-শেষের যাচাইটা প্রতিবার fail করান। Run-কে তবুও শেষ হতে হবে, আর রিপোর্টে বলতে হবে কাজ শেষ হয়নি।

Key words

TermMeaning
Stop checkThe point where the loop gives a final output or goes around again.
Final outputA response with no tool calls, which ends the loop.
TurnOne round trip: tool calls, the tools run, and the results go back.
max_turnsA limit on turns (Claude Agent SDK, OpenAI Agents SDK). --max-turns in the Claude Code CLI.
max_budget_usdA limit on estimated spend (Claude Agent SDK). --max-budget-usd in the CLI.
recursion_limitThe LangGraph limit on super-steps. Raises GraphRecursionError.
MaxTurnsExceededThe OpenAI Agents SDK exception when a run passes max_turns.
Result subtypeThe end state of an Agent SDK run, for example success or error_max_turns.
stop_reasonWhy the model stopped its last response, for example end_turn, max_tokens, or refusal.
Stop hookA Claude Code hook that runs when the agent finishes and can make it keep working.

Reels on this topicএই টপিকের রিলস

Short videos from other creators, picked for this topic. They are not part of this page's fact-checked text. Nothing loads from YouTube until you press Play.অন্য ক্রিয়েটরদের বানানো ছোট ভিডিও, এই টপিকের জন্য বাছাই করা। এগুলো এই পেজের ফ্যাক্ট-চেক করা লেখার অংশ নয়। চালান বাটন চাপার আগে YouTube থেকে কিছুই লোড হয় না।

  1. [1]
    How the agent loop works

    Anthropic (Claude Code docs, Agent SDK) · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  2. [2]
    CLI reference

    Anthropic (Claude Code docs) · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  3. [3]
    Hooks reference

    Anthropic (Claude Code docs) · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  4. [4]
    Running agents

    OpenAI (Agents SDK docs) · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  5. [5]
    Graph API overview

    LangChain (LangGraph docs) · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  6. [6]
    Handling stop reasons

    Anthropic (Claude API docs) · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  7. [7]
    Building effective agents

    Anthropic (Engineering) · accessed 2026-10-28দেখা হয়েছে: 2026-10-28

  8. [8]
    src/agents/run_config.py (DEFAULT_MAX_TURNS)

    OpenAI (openai-agents-python on GitHub) · accessed 2026-10-28দেখা হয়েছে: 2026-10-28