QUESTION 1 OF 10

What distinguishes an AI agent from a simple model call?

Reveal the answer and explore the explanation.

01
EasyCore

What distinguishes an AI agent from a simple model call?

Answer
Answer

System that selects actions using a model or policy in pursuit of a goal.

Practical example

Choose which approved tool to call based on task state.

PythonRelated concept example
def execute(action, allowed_tools):
    if action not in allowed_tools:
        raise ValueError('Unauthorized tool')
    return allowed_tools[action]()

A real system must also validate arguments, permissions and consequential actions.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As