概念
AI agents
A foundation model that plans, calls tools and takes actions to finish a goal.
本课尚未翻译,暂以英文显示。
- 1The user gives the agent a goal.
- 2The agent asks the foundation model to plan the next step.
- 3The agent calls a tool to carry it out.
- 4The task finishes, or the agent loops back to plan again.
Trip planning
- Searches flights, compares and books
IT help desk
- Reads a ticket, resets access, closes it
Order handling
- Checks stock, updates the order, emails the customer
Research
- Searches sources and writes a summary
| Use | The agent |
|---|---|
| Trip planning | Searches flights, compares and books |
| IT help desk | Reads a ticket, resets access, closes it |
| Order handling | Checks stock, updates the order, emails the customer |
| Research | Searches sources and writes a summary |
是什么
A plain foundation model answers a prompt and stops. An AI agent goes further. You give it a goal. It uses the model to plan the steps, calls tools to do them, checks the result and carries on until the task is done.
Tools are the agent's hands. A tool can be an API, a database query, a search or a function that books a ticket. The agent decides which tool to call and with what input, using what it learns along the way. This is how a model moves from talking about work to doing work.
是什么
Agents suit tasks with several steps and outside systems: handling an order, solving an IT ticket, planning a trip. On AWS you can build agents with Amazon Bedrock Agents (now called Agents Classic and closed to new accounts; see its lesson), and run them in production with Amazon Bedrock AgentCore. Agent patterns are explained in the Fundamentals of GenAI domain.
要记住
- An agent plans, calls tools and acts to reach a goal.
- The foundation model is the agent's reasoning part.
- Tools connect it to real systems such as APIs and databases.
- Good for multi-step tasks: orders, tickets, bookings, research.
- Amazon Bedrock can build agents. Amazon Bedrock AgentCore helps run them in production.
考试中
- “Take actions in other systems to finish a multi-step task” points to an AI agent.
- “Book a flight, check stock and update an order automatically” describes agent behavior.
别和这些弄混
- Agentic AI conceptsThe building blocks of AI agents: tools, memory, workflows, and teams of agents.
Amazon Bedrock AgentsA managed agent in Amazon Bedrock: the model plans the steps, calls your APIs and looks up your documents.
Amazon Bedrock AgentCoreA managed platform to run AI agents securely at scale, with memory, identity, tool access and monitoring.