Agentic Systems in the Real World

Introduction to AI Agents

Adel Nehme

VP of AI Curriculum, DataCamp

Best Practices Using Off-the Shelf Agentic Tools

$$

AI_agents_1

Introduction to AI Agents

Best Practices Using Off-the Shelf Agentic Tools

Best Practices

$$

  • Design useful prompts with context
1 Image generated with GPT-4o
Introduction to AI Agents

Design Useful Prompts with Context

Effective prompt patterns

  • Detailed examples of what good looks like
  • Context for the task being worked on

AI-assisted coding use-case: Updating code

  • Detailed examples of what final code should look like
  • Context of the original code, and why it needs updating
Introduction to AI Agents

Best Practices Using Off-the Shelf Agentic Tools

Best Practices

$$

  • Design useful prompts with context
  • Understand the agent's capabilities and limitations
1 Image generated with GPT-4o
Introduction to AI Agents

Understanding Capabilities and Limitations

  • What tools does it have access to?
  • How up to date is the model information?
Introduction to AI Agents

Best Practices Using Off-the Shelf Agentic Tools

Best Practices

$$

  • Design useful prompts with context
  • Understand the agent's capabilities and limitations
  • Always verify your agent's output
1 Image generated with GPT-4o
Introduction to AI Agents

Always Verify Your Agent's Output

1 DataCamp, https://www.datacamp.com/blog/ai-hallucination
Introduction to AI Agents

Best Practices Using Off-the Shelf Agentic Tools

Best Practices

$$

  • Design useful prompts with context
  • Understand the agent's capabilities and limitations
  • Always verify your agent's output
  • Always be mindful of costs
1 Image generated with GPT-4o
Introduction to AI Agents

Always Be Mindful of Costs

1 Image generated with GPT-4o
Introduction to AI Agents

Best Practices Using Off-the Shelf Agentic Tools

Best Practices

$$

  • Design useful prompts with context
  • Understand the agent's capabilities and limitations
  • Always verify your agent's output
  • Always be mindful of costs
  • Use AI agents responsibly
1 Image generated with GPT-4o
Introduction to AI Agents

Use AI Agents Responsibly

1 Image generated with GPT-4o
Introduction to AI Agents

Best Practices For Designing and Building AI Agents

$$

$$

AI agent tools landscape

Introduction to AI Agents

Best Practices For Designing and Building AI Agents

Best Practices

$$

  • Always design for human intervention
1 Image generated with GPT-4o
Introduction to AI Agents

Always Design for Human Intervention

Introduction to AI Agents

Best Practices For Designing and Building AI Agents

Best Practices

$$

  • Always design for human intervention
  • Do you really need an agent?
1 Image generated with GPT-4o
Introduction to AI Agents

Do You Really Need an Agent?

Criteria for using AI Agents

  1. Require complex decision-making
  2. Require heavy reliance on unstructured data
  3. Have difficult to maintain rules
  4. Require adaptive problem solving

Examples of agentic use cases

  1. Autonomous customer support systems
  2. Coding assistants that can read code bases, provide updates, and implement them automatically
  3. A deep research assistant that can synthesize research
Introduction to AI Agents

Best Practices For Designing and Building AI Agents

Best Practices

$$

  • Always design for human intervention
  • Do you really need an agent?
  • Always be mindful of costs
1 Image generated with GPT-4o
Introduction to AI Agents

Always Be Mindful of Costs

1 Image generated with GPT-4o
Introduction to AI Agents

Best Practices For Designing and Building AI Agents

Best Practices

$$

  • Always design for human intervention
  • Do you really need an agent?
  • Always be mindful of costs
  • Start simple and iterate
1 Image generated with GPT-4o
Introduction to AI Agents

Start Simple and Iterate

1 Image generated with GPT-4o
Introduction to AI Agents

Best Practices For Designing and Building AI Agents

Best Practices

$$

  • Always design for human intervention
  • Do you really need an agent?
  • Always be mindful of costs
  • Start simple and iterate
  • Monitor everything
1 Image generated with GPT-4o
Introduction to AI Agents

Monitor Everything

1 Image generated with GPT-4o
Introduction to AI Agents

Let's Practice!

Introduction to AI Agents

Preparing Video For Download...