ReAct, think/act/observe cycles, agent steps, and trajectories — the core of how agents operate.
Key vocabulary
ReAct = Reason + Act — the agent thinks before each action.
Agent step — one full think/act/observe iteration.
Trajectory — the complete sequence of steps an agent took to complete (or fail) a task.
Stuck loop — when an agent repeats the same action without progress.
Max steps — a hard limit on how many steps the agent may take.
0 / 22 completed
1 / 22
A colleague says: “Our agent follows the ReAct pattern.” What does this mean?
ReAct = Reasoning + Acting. In each iteration the agent reasons, acts, then observes. This “think before you act” structure improves reliability over purely reactive agents.
2 / 22
In the think/act/observe loop, what happens during the observe phase?
Observe = receiving feedback from the environment, typically the output of a tool call. The agent uses the observation to inform its next reasoning step.
3 / 22
An “agent step” refers to:
Agent step = one full cycle: reason → act → observe. Counting steps helps with cost estimation and loop detection.
4 / 22
A team says: “The agent’s trajectory showed it tried three search queries before finding the answer.” What is a trajectory?
Trajectory = the full record of what an agent did from start to finish. Used for debugging, evaluation, and training on successful examples.
5 / 22
Your agent keeps calling the same search tool with slightly different queries and never produces a final answer. This is called:
Stuck in a loop is when an agent repeats actions without converging. Safeguards: max_steps limit, loop detection, and a fallback response. One of the most common production failure modes.
6 / 22
PR Description
Subject: Improved Search Query Efficiency for User Support Agent
Body:
As part of the ongoing optimization efforts, the agent's trajectory showed it was repeatedly attempting variations of the same search query to resolve user support tickets. We've implemented a more robust initial query strategy and refined the agent's logic to reduce redundant attempts and improve response times. The current iteration demonstrates a 15% reduction in average query count per ticket resolution, as measured by our internal metrics.
Which of the following best describes the 'trajectory' mentioned in this PR description?
This question tests understanding of 'trajectory' in the context of an agent loop. The description uses it to refer specifically to the *sequence* of actions taken – namely, the repeated search queries. Option A is too broad; option B is exactly right, describing a step-by-step progression. Options C and D are irrelevant to the meaning within this specific PR update discussion. Understanding that 'trajectory' here refers to a series of events is crucial for interpreting the optimization efforts described.
7 / 22
During a code review of the user support agent's search logic, Sarah commented: 'The agent's trajectory showed it tried three search queries before finding the answer.' Considering the context of an agent iteratively refining its approach to problem-solving, what does 'trajectory' most accurately represent in this statement?
The term 'trajectory' in this context refers to the *sequence* of actions taken by the agent. It's not about lifespan or processing speed (options A & C) nor is it a configuration parameter (option D). Instead, it describes the path the agent followed – the specific search queries it attempted – leading up to finding an answer; visualizing this as a chain of events is key to understanding the phrase.
8 / 22
Mark in #devops posted this Slack message: 'The agent's loop was stuck – it kept generating the same API call to /v1/users without ever returning a valid response. It needs a better initial state.' What does Mark likely mean by 'loop'? Consider what an agent is doing repeatedly and how it's interacting with systems.
Mark is using 'loop' informally to describe the *repeated* nature of the agent's interaction with the API. The agent was continuously calling /v1/users without a successful response – this indicates it wasn't converging on a solution and was stuck in a repetitive cycle. It's a common shorthand for describing an agent's ongoing process.
9 / 22
PR Description
Subject: Improved Search Query Efficiency for User Support Agent
Body:
As part of the ongoing optimization efforts, the agent's trajectory showed it was repeatedly attempting variations of the same search query to resolve user support tickets. We've implemented a more robust initial query strategy and refined the agent's logic to reduce redundant attempts and improve response times. The current iteration demonstrates a 15% reduction in average query count per ticket resolution, as measured by our internal metrics.
Which of the following best describes the 'trajectory' mentioned in this PR description?
This question tests understanding of 'trajectory' in the context of an agent loop. The description uses it to refer specifically to the *sequence* of actions taken – namely, the repeated search queries. Option A is too broad; option B is exactly right, describing a step-by-step progression. Options C and D are irrelevant to the meaning within this specific PR update discussion. Understanding that 'trajectory' here refers to a series of events is crucial for interpreting the optimization efforts described.
10 / 22
During a code review of the user support agent's search logic, Sarah commented: 'The agent's trajectory showed it tried three search queries before finding the answer.' Considering the context of an agent iteratively refining its approach to problem-solving, what does 'trajectory' most accurately represent in this statement?
The term 'trajectory' in this context refers to the *sequence* of actions taken by the agent. It's not about lifespan or processing speed (options A & C) nor is it a configuration parameter (option D). Instead, it describes the path the agent followed – the specific search queries it attempted – leading up to finding an answer; visualizing this as a chain of events is key to understanding the phrase.
11 / 22
Mark in #devops posted this Slack message: 'The agent's loop was stuck – it kept generating the same API call to /v1/users without ever returning a valid response. It needs a better initial state.' What does Mark likely mean by 'loop'? Consider what an agent is doing repeatedly and how it's interacting with systems.
Mark is using 'loop' informally to describe the *repeated* nature of the agent's interaction with the API. The agent was continuously calling /v1/users without a successful response – this indicates it wasn't converging on a solution and was stuck in a repetitive cycle. It's a common shorthand for describing an agent's ongoing process.
12 / 22
PR Description
Subject: Improved Search Query Efficiency for User Support Agent
Body:
As part of the ongoing optimization efforts, the agent's trajectory showed it was repeatedly attempting variations of the same search query to resolve user support tickets. We've implemented a more robust initial query strategy and refined the agent's logic to reduce redundant attempts and improve response times. The current iteration demonstrates a 15% reduction in average query count per ticket resolution, as measured by our internal metrics.
Which of the following best describes the 'trajectory' mentioned in this PR description?
This question tests understanding of 'trajectory' in the context of an agent loop. The description uses it to refer specifically to the *sequence* of actions taken – namely, the repeated search queries. Option A is too broad; option B is exactly right, describing a step-by-step progression. Options C and D are irrelevant to the meaning within this specific PR update discussion. Understanding that 'trajectory' here refers to a series of events is crucial for interpreting the optimization efforts described.
13 / 22
During a code review of the user support agent's search logic, Sarah commented: 'The agent's trajectory showed it tried three search queries before finding the answer.' Considering the context of an agent iteratively refining its approach to problem-solving, what does 'trajectory' most accurately represent in this statement?
The term 'trajectory' in this context refers to the *sequence* of actions taken by the agent. It's not about lifespan or processing speed (options A & C) nor is it a configuration parameter (option D). Instead, it describes the path the agent followed – the specific search queries it attempted – leading up to finding an answer; visualizing this as a chain of events is key to understanding the phrase.
14 / 22
Mark in #devops posted this Slack message: 'The agent's loop was stuck – it kept generating the same API call to /v1/users without ever returning a valid response. It needs a better initial state.' What does Mark likely mean by 'loop'? Consider what an agent is doing repeatedly and how it's interacting with systems.
Mark is using 'loop' informally to describe the *repeated* nature of the agent's interaction with the API. The agent was continuously calling /v1/users without a successful response – this indicates it wasn't converging on a solution and was stuck in a repetitive cycle. It's a common shorthand for describing an agent's ongoing process.
15 / 22
PR Description
Subject: Improved Search Query Efficiency for User Support Agent
Body:
As part of the ongoing optimization efforts, the agent's trajectory showed it was repeatedly attempting variations of the same search query to resolve user support tickets. We've implemented a more robust initial query strategy and refined the agent's logic to reduce redundant attempts and improve response times. The current iteration demonstrates a 15% reduction in average query count per ticket resolution, as measured by our internal metrics.
Which of the following best describes the 'trajectory' mentioned in this PR description?
This question tests understanding of 'trajectory' in the context of an agent loop. The description uses it to refer specifically to the *sequence* of actions taken – namely, the repeated search queries. Option A is too broad; option B is exactly right, describing a step-by-step progression. Options C and D are irrelevant to the meaning within this specific PR update discussion. Understanding that 'trajectory' here refers to a series of events is crucial for interpreting the optimization efforts described.
16 / 22
During a code review of the user support agent's search logic, Sarah commented: 'The agent's trajectory showed it tried three search queries before finding the answer.' Considering the context of an agent iteratively refining its approach to problem-solving, what does 'trajectory' most accurately represent in this statement?
The term 'trajectory' in this context refers to the *sequence* of actions taken by the agent. It's not about lifespan or processing speed (options A & C) nor is it a configuration parameter (option D). Instead, it describes the path the agent followed – the specific search queries it attempted – leading up to finding an answer; visualizing this as a chain of events is key to understanding the phrase.
17 / 22
Mark in #devops posted this Slack message: 'The agent's loop was stuck – it kept generating the same API call to /v1/users without ever returning a valid response. It needs a better initial state.' What does Mark likely mean by 'loop'? Consider what an agent is doing repeatedly and how it's interacting with systems.
Mark is using 'loop' informally to describe the *repeated* nature of the agent's interaction with the API. The agent was continuously calling /v1/users without a successful response – this indicates it wasn't converging on a solution and was stuck in a repetitive cycle. It's a common shorthand for describing an agent's ongoing process.
18 / 22
During a standup meeting, Alex says: 'The agent's loop was failing because it hadn't initialized the database connection properly.' What does 'initialization' mean in this context? Consider the agent's role as an automated task.
'Initialization' refers to the process of setting up a system or component with its required parameters and resources. In this case, it means configuring the database connection—establishing the credentials and settings needed for the agent to communicate with the database server. A failure to initialize would prevent the loop from functioning properly.
19 / 22
Liam posted in a Slack channel: 'The agent's trajectory showed it repeatedly calling the API endpoint /users/42 with different user IDs but never getting a result.' What is Liam referring to when he uses the term 'trajectory'?
'Trajectory' in this context describes the *path* or *sequence* of actions the agent took. It's not about simply trying all IDs, but rather the specific steps and attempts the agent made to find a user with ID 42, illustrating a looping behavior.
20 / 22
During a code review, Maria commented: 'The agent's loop was stuck in an infinite cycle because the condition for termination wasn't correctly defined.' What is the *core* problem described here?
The central issue is a lack of a proper termination condition. An infinite loop occurs when the loop's condition never becomes false, preventing the loop from exiting and causing the program or agent to continue executing indefinitely. The incorrect definition of this stopping point is the root cause.
21 / 22
You receive an API response from the agent: `{"status": "error", "message": "Agent failed to find a matching user. Query parameters were incorrect."}`. What does 'query parameters' refer to in this scenario?
'Query parameters' are the variables or values you pass along with an API request to refine your search. In this case, they're the specific inputs used by the agent when constructing its search query for a user—likely things like username, email address, or ID.
22 / 22
In a PR description, David writes: 'The agent's loop was exhibiting erratic behavior; its trajectory showed it repeatedly attempting different API calls to the same endpoint with varying payloads.' What does the phrase 'varying payloads' suggest about the agent's actions?
'Varying payloads' indicates that the agent wasn't consistently sending the same request data to the API endpoint. Instead, it was experimenting with different input values (the 'payload') for each iteration of its loop—likely trying to find a combination that would produce the desired result.
What will I practice in "Agent Loop Vocabulary | Coders Lingo"?
This is an AI Agents Language exercise set. It walks through 22 scenario-based multiple-choice questions built around real usage of AI Agents Language terminology that IT professionals encounter on the job.
Is this exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is free to complete with no account, sign-up, or paywall.
How many questions are in this exercise?
This set contains 22 questions. Each one shows immediate feedback and a detailed explanation after you answer, so you learn the correct usage right away rather than waiting for a final score.
Do I need prior experience to complete this exercise?
No prior experience is required. Each question includes a full explanation covering the reasoning behind the correct answer, so the exercise itself teaches the AI Agents Language vocabulary as you go.
Can I retry the exercise if I get questions wrong?
Yes — use the "Try again" button on the results screen to reset your answers and go through all the questions again. There is no limit on attempts.
Is my progress saved?
Your answers and score for the current session are tracked in the browser as you go. No account or login is needed, and there is nothing to install.
What if I don't understand a term used in a question?
Read the explanation shown after you answer each question — it breaks down the correct term in plain English with a real-world example. You can also check the site Glossary for quick definitions.
How is this different from reading a blog article on the topic?
Exercises like this one are interactive drills that test and reinforce specific vocabulary through multiple-choice questions, while blog articles explain concepts in prose. Practising here after reading builds active recall, not just passive recognition.
Where can I find more AI Agents Language exercises?
See the AI Agents Language exercises hub for the full set of related pages, or browse all exercise categories from the main Exercises index.
Can I use this exercise to prepare for a technical interview?
Yes — AI Agents Language vocabulary comes up often in technical discussions and interviews. Pair this exercise with our dedicated Interview Preparation section for role-specific practice.