Challenge - 5 Problems
Agent Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Key difference between agents and chatbots
Which statement best describes how agents differ from chatbots?
Attempts:
2 left
💡 Hint
Think about autonomy and task handling capabilities.
✗ Incorrect
Agents are designed to act independently and handle multiple tasks, while chatbots typically focus on answering questions or following simple scripts.
🧠 Conceptual
intermediate2:00remaining
Agent capabilities beyond chatbots
Which capability is unique to agents compared to chatbots?
Attempts:
2 left
💡 Hint
Consider which system can act on its own initiative.
✗ Incorrect
Agents can take independent actions in their environment, while chatbots usually wait for user input before responding.
❓ Model Choice
advanced2:30remaining
Choosing a model for an agent vs chatbot
You want to build a system that can autonomously plan and execute tasks over time. Which model type suits this better?
Attempts:
2 left
💡 Hint
Think about models that learn from actions and consequences.
✗ Incorrect
Reinforcement learning models enable agents to learn by interacting with their environment and planning actions, unlike static chatbot models.
❓ Metrics
advanced2:30remaining
Evaluating agent vs chatbot performance
Which metric is more appropriate to evaluate an agent's success compared to a chatbot?
Attempts:
2 left
💡 Hint
Consider what shows an agent's ability to finish tasks.
✗ Incorrect
Task completion rate measures how well an agent achieves goals over time, which is less relevant for chatbots focused on single-turn replies.
🔧 Debug
expert3:00remaining
Debugging agent behavior in code
Given this simplified agent code snippet, what is the main reason the agent fails to act autonomously?
```python
class Agent:
def __init__(self):
self.tasks = []
def perceive(self, input):
self.tasks.append(input)
def act(self):
if self.tasks:
task = self.tasks.pop(0)
print(f"Executing {task}")
else:
print("No tasks to perform")
agent = Agent()
agent.act()
```
Options:
Attempts:
2 left
💡 Hint
Check how the agent gets tasks before acting.
✗ Incorrect
The agent's act method depends on tasks added by perceive, but perceive was never called, so no tasks exist to execute.