Agent Loop Lifecycle Flashcards

(19 cards)

1
Q

What is the first step in the agent loop?

A

The human or system provides a goal or task to the AI (e.g., “Add a travel expense”).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What happens after the task is given in the agent loop?

A

The AI model (via LiteLLM) decides what action to take next.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the AI model’s role in the agent loop?

A

To interpret the goal, decide the next action, and adapt its plan based on results.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What tool sends the AI model’s decision to Python for execution?

A

LiteLLM acts as the bridge, translating the model’s output into code-executable form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What happens after the AI’s action is executed in Python?

A

The system collects feedback or results (success, failure, or data).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why is feedback critical in the agent loop?

A

It tells the AI whether the last action succeeded or failed, guiding its next decision.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the AI do after receiving feedback?

A

It analyzes the feedback and updates its plan for the next action.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When does the agent loop stop?

A

When the goal or task is fully completed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the “think–act–observe–adapt” cycle?

A

The repeating process that lets the agent reason, act, learn, and refine its actions over time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the role of Python in the agent loop?

A

It performs the actual actions the AI specifies (like API calls or file updates).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the role of LiteLLM in the agent loop?

A

It communicates between Python and the AI model, translating instructions and results.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What happens if an action fails in the agent loop?

A

The failure becomes feedback, prompting the AI to adapt its next step or retry differently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the metaphor for the agent loop process?

A

Like a chef tasting and adjusting a recipe — act, taste, adjust, repeat until perfect.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What makes agentic systems more powerful than simple chatbots?

A

They can perform actions, learn from outcomes, and continuously improve.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the final state of the agent loop?

A

“Task complete” — the goal has been achieved successfully.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How does feedback create agency?

A

It closes the loop, allowing the AI to self-correct and take initiative instead of waiting for human commands.

17
Q

What enables autonomy in agentic AI systems?

A

The continuous feedback loop between decision, action, and outcome.

18
Q

What is the relationship between the agent loop and adaptability?

A

The loop structure lets the agent respond dynamically to unexpected results.

19
Q

In simple terms, what is an agent loop?

A

A repeating conversation between an AI’s thinking and a system’s doing, until the goal is met.