AIF-C01 notes
Optimizing foundation models

Agents

Agents extend a generative AI model so it can act, not just answer.

Key functions

  • Intermediary operations: connect the model to backend systems such as databases, CRM platforms, and service management tools.
  • Launching actions: adjust settings, process transactions, retrieve documents.
  • Feedback integration: collect the outcomes of actions to improve the model over time.

AnyCompany's three agents

  1. Agent 1 changes customers' plans based on their prompts.
  2. Agent 2 adds data from conversations to the enterprise database, which improves future RAG answers.
  3. Agent 3 sends a satisfaction survey when the conversation ends, to track the 4-out-of-5 goal.

A multi-step task chains actions together, such as calculating a value and then formatting the answer as JSON.

On this page