Subagents and Multi-Agent Systems
A test lead does not run every test alone. The lead splits the work, gives each tester one clear job, and then puts the reports together. A multi-agent system does the same with AI agents: one agent plans and merges, and other agents each do one job in their own clean workspace.
7 min read7 মিনিটে পড়া যায় · 7 sections7টি সেকশন · 5 sources5টি সোর্স · updated Nov 2026আপডেট: Nov 2026
A lead agent and its subagentsএকটা লিড এজেন্ট আর তার সাবএজেন্ট
See how each subagent keeps its own context and returns only a summary, then slide the number of subagents and watch the total tokens rise.দেখুন প্রতিটা সাবএজেন্ট কীভাবে নিজের কনটেক্সট রাখে আর শুধু সারাংশ ফেরত দেয়, তারপর সাবএজেন্টের সংখ্যা বদলে মোট টোকেন বাড়তে দেখুন।
You’ll learnআপনি শিখবেন
- A subagent has its own contextসাবএজেন্টের নিজের কনটেক্সট আছে
- Only the final message returnsশুধু শেষ message ফেরে
- The lead's context stays smallলিডের কনটেক্সট ছোট থাকে
- More subagents cost more tokensবেশি সাবএজেন্টে বেশি টোকেন
In plain words
A subagent is a separate agent instance that a main agent starts to do one focused subtask Source 4সোর্স 4. In Claude Code, each subagent runs in its own context window, with its own system prompt, its own tool access, and its own permissions Source 3সোর্স 3.
A multi-agent system uses more than one agent on one task. A common shape is orchestrator-workers: a central model breaks the task down, gives the parts to worker models, and combines their results Source 2সোর্স 2. Anthropic's research feature uses this pattern: a lead agent coordinates and delegates to specialized subagents Source 1সোর্স 1.
The main benefit is a clean context. The subagent can read many files, but its tool calls and results stay inside it. Only its final message goes back to the parent Source 4সোর্স 4. The main cost is tokens: each subagent spends tokens of its own Source 3সোর্স 3.
This page is about the concept. For how to set up subagents in Claude Code, see Subagents.
সহজ English
A subagent is a second agent that the main agent starts to do one small job Source 4সোর্স 4. In Claude Code, each subagent has its own memory space (its context window), its own instructions, its own tools, and its own permissions Source 3সোর্স 3.
A multi-agent system uses more than one agent for one task. A common shape is orchestrator-workers. One model splits the task, gives the parts to worker models, and then joins their results Source 2সোর্স 2. Anthropic's research feature works this way. A lead agent plans and hands jobs to helper agents Source 1সোর্স 1.
The big win is a clean workspace. The helper can read many files, but all that reading stays with the helper. Only its last message goes back to the main agent Source 4সোর্স 4. The price is tokens. Each helper uses tokens of its own Source 3সোর্স 3.
বাংলা ব্যাখ্যা
Subagent হলো আলাদা একটা agent, যাকে main agent একটা ছোট, নির্দিষ্ট কাজের জন্য চালু করে Source 4সোর্স 4। Claude Code-এ প্রতিটা subagent নিজের context window-এ চলে। তার নিজের system prompt, নিজের tool, আর নিজের permission থাকে Source 3সোর্স 3।
Multi-agent system একটা কাজে একাধিক agent ব্যবহার করে। একটা পরিচিত গঠন হলো orchestrator-workers। একটা কেন্দ্রীয় model কাজটাকে ভাগ করে, ভাগগুলো worker model-দের দেয়, তারপর তাদের ফলাফল একসাথে জোড়ে Source 2সোর্স 2। Anthropic-এর research feature এভাবেই কাজ করে। একটা lead agent সমন্বয় করে আর বিশেষ subagent-দের কাজ ভাগ করে দেয় Source 1সোর্স 1।
সবচেয়ে বড় সুবিধা হলো পরিষ্কার context। Subagent অনেক ফাইল পড়তে পারে, কিন্তু তার tool call আর ফলাফল তার ভেতরেই থাকে। শুধু শেষ message-টা parent-এর কাছে ফেরে Source 4সোর্স 4। খরচ হলো token। প্রতিটা subagent নিজের token খরচ করে Source 3সোর্স 3।
How it works
Here is one example layout. The four worker roles are an example, not a fixed set:
+----------------------+
task -----> | Orchestrator (lead) | -----> one merged answer
+----------------------+
| | | ^
prompt v v v | final message only
+----------+ +--------+ +----------+
| Research | | Coding | | Verifier | ... more workers
| own ctx | | own ctx| | own ctx |
| own tools| | own | | read-only|
+----------+ +--------+ +----------+- Split. The orchestrator breaks the task into parts Source 2সোর্স 2. Each subagent needs an objective, an output format, guidance on tools and sources, and clear task boundaries Source 1সোর্স 1.
- Hand off. Unless the subagent is a fork (a copy of the parent conversation), the only input it gets from the parent is the prompt string of the Agent tool. File paths, errors, and decisions must be in that prompt Source 4সোর্স 4.
- Work in parallel. Subagents can run at the same time, so independent parts finish in the time of the slowest one, not the sum Source 4সোর্স 4. Anthropic's lead agent starts 3 to 5 subagents in parallel Source 1সোর্স 1.
- Return. Tool calls stay inside the subagent. Only its final message returns Source 4সোর্স 4. The parent may summarize that report Source 4সোর্স 4.
- Merge. The orchestrator combines the results Source 2সোর্স 2.
A verifier is a common worker. In the evaluator-optimizer pattern, one model call writes a response and another evaluates it and gives feedback in a loop Source 2সোর্স 2. Anthropic's research system ends with a separate CitationAgent that processes the documents and the report to place the citations Source 1সোর্স 1.
Other frameworks use other words. In the OpenAI Agents SDK, a handoff lets one agent delegate to another, and the model sees the handoff as a tool such as transfer_to_refund_agent Source 5সোর্স 5.
সহজ English
Picture one lead agent at the top and some helper agents below it. As an example, the helpers can be a research helper, a coding helper, and a checking helper. Each helper has its own workspace and its own tools. This set of helpers is only an example.
- Split. The lead splits the task into parts Source 2সোর্স 2. Each helper needs a goal, a shape for its answer, advice on tools and sources, and clear limits Source 1সোর্স 1.
- Hand off. Unless the helper is a fork (a copy of the main conversation), it gets only the prompt that the lead writes for it. So file paths, errors, and decisions must be in that prompt Source 4সোর্স 4.
- Work at the same time. Helpers can run together. Then the whole job takes as long as the slowest helper, not all of them added up Source 4সোর্স 4. Anthropic's lead agent starts 3 to 5 helpers at once Source 1সোর্স 1.
- Return. The helper's steps stay with the helper. Only its last message comes back Source 4সোর্স 4. The lead may shorten that report Source 4সোর্স 4.
- Merge. The lead joins the results Source 2সোর্স 2.
A checking helper is common. In one pattern, one model call writes an answer, and another call checks it and gives feedback, again and again Source 2সোর্স 2. Anthropic's research system ends with a separate agent that finds where each source belongs in the report Source 1সোর্স 1.
Other tools use other words. In the OpenAI Agents SDK, a handoff lets one agent pass a job to another agent. The model sees it as a tool, for example transfer_to_refund_agent Source 5সোর্স 5.
বাংলা ব্যাখ্যা
ধরুন, ওপরে একটা lead agent আর নিচে কয়েকটা subagent। উদাহরণ হিসেবে: একটা research agent, একটা coding agent, আর একটা verifier agent। প্রতিটার নিজের context আর নিজের tool আছে। এই ভূমিকাগুলো শুধু একটা উদাহরণ, নির্দিষ্ট কোনো তালিকা নয়।
- ভাগ করা। Orchestrator কাজটাকে কয়েকটা অংশে ভাগ করে Source 2সোর্স 2। প্রতিটা subagent-এর দরকার একটা লক্ষ্য, উত্তরের একটা format, tool আর source নিয়ে নির্দেশনা, আর কাজের পরিষ্কার সীমা Source 1সোর্স 1।
- হস্তান্তর। Subagent যদি fork (parent conversation-এর একটা কপি) না হয়, তাহলে parent থেকে সে শুধু Agent tool-এর prompt string পায়। তাই file path, error, আর সিদ্ধান্ত সেই prompt-এই লিখতে হয় Source 4সোর্স 4।
- একসাথে কাজ। Subagent-রা একই সময়ে চলতে পারে। তখন পুরো কাজে সময় লাগে সবচেয়ে ধীর subagent-এর সমান, সবার যোগফল নয় Source 4সোর্স 4। Anthropic-এর lead agent একসাথে 3 থেকে 5টা subagent চালু করে Source 1সোর্স 1।
- ফেরত। Tool call-গুলো subagent-এর ভেতরেই থাকে। শুধু শেষ message ফেরে Source 4সোর্স 4। Parent সেই report সংক্ষেপ করতে পারে Source 4সোর্স 4।
- একত্র করা। Orchestrator ফলাফলগুলো জোড়ে Source 2সোর্স 2।
Verifier একটা পরিচিত worker। Evaluator-optimizer pattern-এ একটা model call উত্তর লেখে, আরেকটা call সেটা যাচাই করে feedback দেয়, বারবার Source 2সোর্স 2। Anthropic-এর research system শেষে আলাদা একটা CitationAgent চালায়, যেটা document আর report দেখে citation বসায় Source 1সোর্স 1।
অন্য framework অন্য শব্দ ব্যবহার করে। OpenAI Agents SDK-তে handoff দিয়ে একটা agent আরেকটা agent-কে কাজ দেয়। Model এটাকে একটা tool হিসেবে দেখে, যেমন transfer_to_refund_agent Source 5সোর্স 5।
Trade-offs
| Gain | Cost |
|---|---|
| A clean main context: the parent gets a summary, not every file Source 4সোর্স 4 | More tokens: agents use about 4x the tokens of a chat, and Anthropic's multi-agent system used about 15x Source 1সোর্স 1 |
| Parallel work: the time of the slowest part Source 4সোর্স 4 | More parts that can fail: minor failures can be catastrophic for agents Source 1সোর্স 1 |
| Tight tools: a read-only worker cannot edit files Source 4সোর্স 4 | Information can get lost: the parent may summarize the report Source 4সোর্স 4 |
So "each extra agent costs more tokens" is true in direction, but there is no fixed price per agent. The 15x number is one measurement of one system Source 1সোর্স 1. In Anthropic's analysis, token usage alone explained 80% of the variance in performance Source 1সোর্স 1, and its multi-agent system (Claude Opus 4 lead, Claude Sonnet 4 subagents) beat a single Claude Opus 4 agent by 90.2% on an internal research eval Source 1সোর্স 1.
Use more agents only when the task is worth it. Anthropic says multi-agent systems need tasks whose value pays for the extra cost Source 1সোর্স 1. Tasks where all agents need the same context, or with many dependencies between agents, are a poor fit, and most coding tasks have fewer parallel parts than research Source 1সোর্স 1. A simple fact-finding job needs 1 agent and 3 to 10 tool calls Source 1সোর্স 1. Start with the simplest solution and add complexity only when needed Source 2সোর্স 2. To control cost, you can send a task to a faster, lower-cost model Source 3সোর্স 3.
সহজ English
More agents give you three good things. The main agent stays clean, because it gets a summary and not every file Source 4সোর্স 4. Parts run at the same time Source 4সোর্স 4. A helper can have only safe tools, for example read-only tools Source 4সোর্স 4.
They also cost more. Agents use about 4 times the tokens of a chat. Anthropic's multi-agent system used about 15 times Source 1সোর্স 1. More parts can break, and small failures can be very bad for agents Source 1সোর্স 1. Details can get lost, because the main agent may shorten a report Source 4সোর্স 4.
So "each extra agent costs more tokens" is right in direction. But there is no fixed price for each agent. The 15 times number comes from one system Source 1সোর্স 1. In Anthropic's study, the number of tokens used explained 80% of the difference in results Source 1সোর্স 1. Their multi-agent system (Claude Opus 4 lead, Claude Sonnet 4 subagents) beat a single Claude Opus 4 agent by 90.2% on their own research test Source 1সোর্স 1.
Use more agents only when the task is worth the cost Source 1সোর্স 1. Tasks where every agent needs the same information, or where agents depend a lot on each other, are a poor fit. Most coding tasks have fewer parts that can run at the same time than research does Source 1সোর্স 1. A simple fact search needs 1 agent and 3 to 10 tool calls Source 1সোর্স 1. Start with the simplest solution Source 2সোর্স 2. To save money, you can give a task to a faster, cheaper model Source 3সোর্স 3.
বাংলা ব্যাখ্যা
বেশি agent তিনটা সুবিধা দেয়। Main agent-এর context পরিষ্কার থাকে, কারণ সে প্রতিটা ফাইল নয়, একটা summary পায় Source 4সোর্স 4। অংশগুলো একসাথে চলে Source 4সোর্স 4। একটা subagent-কে শুধু নিরাপদ tool দেওয়া যায়, যেমন read-only tool Source 4সোর্স 4।
খরচও বেশি। Agent সাধারণত একটা chat-এর প্রায় 4 গুণ token খরচ করে। Anthropic-এর multi-agent system প্রায় 15 গুণ খরচ করেছে Source 1সোর্স 1। অংশ বেশি হলে ভাঙার জায়গাও বেশি, আর ছোট failure-ও agent-এর জন্য বড় বিপদ হতে পারে Source 1সোর্স 1। তথ্য হারাতে পারে, কারণ parent report সংক্ষেপ করতে পারে Source 4সোর্স 4।
তাই "প্রতিটা বাড়তি agent মানে বেশি token" কথাটা দিক হিসেবে ঠিক। কিন্তু প্রতি agent-এর কোনো নির্দিষ্ট দাম নেই। 15 গুণ সংখ্যাটা একটা system-এর একটা মাপ Source 1সোর্স 1। Anthropic-এর বিশ্লেষণে শুধু token ব্যবহার performance-এর পার্থক্যের 80% ব্যাখ্যা করেছে Source 1সোর্স 1। তাদের multi-agent system (Claude Opus 4 lead, Claude Sonnet 4 subagents) একটা internal research eval-এ একক Claude Opus 4 agent-এর চেয়ে 90.2% ভালো করেছে Source 1সোর্স 1।
কাজের মূল্য খরচের চেয়ে বেশি হলে তবেই বেশি agent ব্যবহার করুন Source 1সোর্স 1। যেখানে সব agent-এর একই context লাগে, বা agent-রা একে অপরের ওপর খুব নির্ভর করে, সেখানে এটা ভালো খাটে না। বেশিরভাগ coding কাজে research-এর চেয়ে কম অংশ একসাথে চালানো যায় Source 1সোর্স 1। একটা সহজ তথ্য খোঁজায় 1টা agent আর 3 থেকে 10টা tool call যথেষ্ট Source 1সোর্স 1। সবচেয়ে সহজ সমাধান দিয়ে শুরু করুন Source 2সোর্স 2। খরচ কমাতে কাজটা দ্রুত, কম দামের model-কে দিতে পারেন Source 3সোর্স 3।
A real-life example
This is an invented example. A team asks an agent: "Find why the checkout tests fail on staging, fix the cause, and prove the fix."
- The orchestrator writes three prompts. Each has an objective, an output format, and clear limits, as the Anthropic guidance asks Source 1সোর্স 1.
- A research subagent reads the CI logs and the last ten commits. It returns a short list of suspect changes, not the whole logs, because only its final message goes back Source 4সোর্স 4.
- A coding subagent changes the code and adds a test.
- A verifier subagent has read-only tools, so it can run nothing that edits files Source 4সোর্স 4. It checks the change against the bug report and gives feedback, like the evaluator in an evaluator-optimizer loop Source 2সোর্স 2.
- The orchestrator merges the three reports into one pull request summary.
The run uses many more tokens than one chat would Source 1সোর্স 1. If the team writes a vague prompt for the research subagent, it can repeat work or leave gaps Source 1সোর্স 1.
সহজ English
This is a made-up example. A team asks an agent: "Find why the checkout tests fail on staging, fix it, and show that the fix works."
- The lead agent writes three prompts. Each one has a goal, a shape for the answer, and clear limits Source 1সোর্স 1.
- A research helper reads the build logs and the last ten changes. It sends back a short list of suspect changes, not the whole logs. Only its last message goes back Source 4সোর্স 4.
- A coding helper changes the code and adds a test.
- A checking helper has only read tools, so it cannot edit files Source 4সোর্স 4. It checks the change against the bug report and gives feedback Source 2সোর্স 2.
- The lead joins the three reports into one summary.
The run uses many more tokens than one chat Source 1সোর্স 1. If a prompt is vague, a helper can repeat work or miss things Source 1সোর্স 1.
বাংলা ব্যাখ্যা
এটা একটা বানানো উদাহরণ। একটা টিম agent-কে বলে: "Staging-এ checkout test কেন fail করছে খুঁজে বের করো, কারণটা ঠিক করো, আর প্রমাণ দাও যে fix কাজ করে।"
- Orchestrator তিনটা prompt লেখে। প্রতিটায় একটা লক্ষ্য, উত্তরের format, আর পরিষ্কার সীমা থাকে Source 1সোর্স 1।
- একটা research subagent CI log আর শেষ দশটা commit পড়ে। সে পুরো log নয়, সন্দেহজনক পরিবর্তনের একটা ছোট তালিকা ফেরত দেয়, কারণ শুধু শেষ message ফেরে Source 4সোর্স 4।
- একটা coding subagent code বদলায় আর একটা test যোগ করে।
- একটা verifier subagent-এর শুধু read-only tool আছে, তাই সে কোনো ফাইল edit করতে পারে না Source 4সোর্স 4। সে bug report-এর সাথে পরিবর্তনটা মিলিয়ে দেখে আর feedback দেয় Source 2সোর্স 2।
- Orchestrator তিনটা report মিলিয়ে একটা pull request summary বানায়।
এই run একটা chat-এর চেয়ে অনেক বেশি token খরচ করে Source 1সোর্স 1। Research subagent-এর prompt অস্পষ্ট হলে সে একই কাজ আবার করতে পারে বা কিছু বাদ দিতে পারে Source 1সোর্স 1।
Common mistakes
- Vague task descriptions. Without detail, agents duplicate work, leave gaps, or miss information Source 1সোর্স 1.
- Missing context in the prompt. A subagent that is not a fork does not see the parent conversation. Put the paths, errors, and decisions in the prompt Source 4সোর্স 4.
- Too many agents for a small job. A simple fact-finding task needs 1 agent Source 1সোর্স 1. Start simple Source 2সোর্স 2.
- No limits on growth. Each subagent's requests count toward the query's
total_cost_usd, and a subagent can start subagents of its own, so one prompt can grow into a tree of agents Source 4সোর্স 4. The Agent SDK has caps for depth, concurrency, and spend Source 4সোর্স 4. - Splitting tightly linked work. Tasks where all agents need the same context are a poor fit Source 1সোর্স 1.
- Trusting the merge blindly. The parent may summarize a report Source 4সোর্স 4, and minor failures can be catastrophic for agents Source 1সোর্স 1.
সহজ English
- Vague jobs. Without detail, helpers repeat work, leave gaps, or miss information Source 1সোর্স 1.
- Missing facts in the prompt. A helper does not see the main conversation, unless it is a fork (a copy of that conversation). Put the paths, errors, and decisions in its prompt Source 4সোর্স 4.
- Too many agents for a small job. A simple fact search needs 1 agent Source 1সোর্স 1. Start simple Source 2সোর্স 2.
- No limits. Each helper's requests add to the total cost. A helper can start its own helpers, so one prompt can grow into a tree of agents Source 4সোর্স 4. The Agent SDK has limits for depth, for how many run at once, and for spend Source 4সোর্স 4.
- Splitting work that belongs together. Tasks where all agents need the same information are a poor fit Source 1সোর্স 1.
- Trusting the merge blindly. The main agent may shorten a report Source 4সোর্স 4. Small failures can be very bad for agents Source 1সোর্স 1.
বাংলা ব্যাখ্যা
- অস্পষ্ট কাজের বর্ণনা। বিস্তারিত না থাকলে agent-রা একই কাজ আবার করে, ফাঁক রাখে, বা তথ্য খুঁজে পায় না Source 1সোর্স 1।
- Prompt-এ context নেই। Fork (parent conversation-এর কপি) না হলে subagent parent-এর conversation দেখে না। Path, error, আর সিদ্ধান্ত prompt-এ লিখুন Source 4সোর্স 4।
- ছোট কাজে অনেক agent। একটা সহজ তথ্য খোঁজায় 1টা agent যথেষ্ট Source 1সোর্স 1। সহজ দিয়ে শুরু করুন Source 2সোর্স 2।
- বাড়ার কোনো সীমা নেই। প্রতিটা subagent-এর request query-র
total_cost_usd-এ যোগ হয়। একটা subagent নিজেও subagent চালু করতে পারে, তাই একটা prompt থেকে agent-এর একটা tree তৈরি হতে পারে Source 4সোর্স 4। Agent SDK-তে depth, concurrency, আর spend-এর সীমা আছে Source 4সোর্স 4। - জড়িত কাজ ভাগ করা। যেখানে সব agent-এর একই context লাগে, সেখানে এটা ভালো খাটে না Source 1সোর্স 1।
- Merge-কে চোখ বুজে বিশ্বাস করা। Parent report সংক্ষেপ করতে পারে Source 4সোর্স 4, আর ছোট failure-ও agent-এর জন্য বড় বিপদ হতে পারে Source 1সোর্স 1।
What a tester can check
Tutorial advice
These checks are the tutorial's own advice for a system that uses subagents.
- Test the merge. Give two workers results that conflict (for example, one says the bug is in the API and one says it is in the UI). Check that the final answer shows the conflict and does not hide one side.
- Check that nothing is lost. Compare each worker's report with the merged answer. Every key finding must still be there.
- Check the hand-off prompt. Read the prompt each worker got. It must hold the paths, IDs, and limits the worker needs.
- Measure cost per run. Log the tokens and the cost of the whole run, workers included. Set a budget and fail the run if it goes over.
- Check tool limits. Ask a read-only worker to edit a file. The edit must not happen.
- Use a verifier as a test step. Make the verifier check the output against a clear rule or the source, and record its verdict. Then test the verifier itself with known good and known bad inputs.
- Test a failed worker. Stop one worker in the middle. The orchestrator must report the gap, not invent the missing part.
- Repeat the run. Run the same task several times and compare the results and the cost.
সহজ English
Tutorial advice
These checks are the tutorial's own advice for a system that uses helper agents.
- Test the merge. Give two helpers answers that disagree. Check that the final answer shows the disagreement and does not hide one side.
- Check that nothing is lost. Compare each helper's report with the final answer. Every key finding must still be there.
- Check the prompt each helper got. It must hold the paths, IDs, and limits the helper needs.
- Measure cost per run. Record the tokens and the cost of the whole run, helpers included. Set a budget and fail the run if it goes over.
- Check tool limits. Ask a read-only helper to edit a file. The edit must not happen.
- Use a checking helper as a test step. Make it check the output against a clear rule and record its verdict. Then test the checker with known good and known bad inputs.
- Test a failed helper. Stop one helper in the middle. The lead must report the gap, not make up the missing part.
- Repeat the run. Run the same task several times and compare the results and the cost.
বাংলা ব্যাখ্যা
Tutorial advice
এই check-গুলো subagent ব্যবহার করে এমন system-এর জন্য এই tutorial-এর নিজের পরামর্শ।
- Merge test করুন। দুটো worker-কে পরস্পরবিরোধী ফলাফল দিন। দেখুন final উত্তর বিরোধটা দেখায় কি না, একটা দিক লুকিয়ে ফেলে কি না।
- কিছু হারাল কি না দেখুন। প্রতিটা worker-এর report final উত্তরের সাথে মেলান। প্রতিটা মূল finding থাকতে হবে।
- Hand-off prompt দেখুন। প্রতিটা worker যে prompt পেয়েছে সেটা পড়ুন। তাতে দরকারি path, ID, আর সীমা থাকতে হবে।
- প্রতি run-এর খরচ মাপুন। Worker-সহ পুরো run-এর token আর খরচ log করুন। একটা budget ঠিক করুন, আর তার বেশি হলে run fail করান।
- Tool-এর সীমা যাচাই করুন। একটা read-only worker-কে ফাইল edit করতে বলুন। Edit হওয়া চলবে না।
- Verifier-কে test step হিসেবে ব্যবহার করুন। Verifier output-কে একটা পরিষ্কার নিয়ম বা source-এর সাথে মিলিয়ে দেখুক, আর তার রায় record করুন। তারপর জানা ভালো আর জানা খারাপ input দিয়ে verifier-কেই test করুন।
- একটা worker fail করান। মাঝপথে একটা worker থামিয়ে দিন। Orchestrator-কে ফাঁকটা জানাতে হবে, অনুপস্থিত অংশ বানিয়ে বলা চলবে না।
- Run বারবার চালান। একই কাজ কয়েকবার চালিয়ে ফলাফল আর খরচ তুলনা করুন।
Key words
| Term | Meaning |
|---|---|
| Subagent | A separate agent instance that a main agent starts for one focused subtask |
| Multi-agent system | A system that uses more than one agent on one task |
| Orchestrator (lead agent) | The agent that splits the task, hands out the parts, and merges the results |
| Worker | An agent that does one part of the task and reports back |
| Context window | The text an agent can see at one time; each subagent has its own |
| Verifier | A worker that checks another worker's output and gives feedback |
| Handoff | In the OpenAI Agents SDK, a way for one agent to pass a task to another agent |
| Token | The unit that model usage and cost are counted in |