Перейти к содержимому

What Is an AI Agent? A Plain-English Guide

Night Ferry

0:00 / 0:00

What Is an AI Agent? A Plain-English Guide

6 просмотров · 8 дн. назад
Night Ferry
6 подписчиков
6 просмотров · 8 дн. назад
AI agents, explained: after this lesson you'll be able to say in one sentence what an AI agent is, tell it apart from a chatbot and a fixed workflow, and decide whether a task really needs one. We build the idea up one piece at a time: a language model that can only talk, tool calling (the model writes a request and ordinary software carries it out), the loop of deciding, acting and checking, how the loop stops, and what "memory" really means. Then we walk through an invented but realistic example: a repair-request agent at a small property-management office, with its tools, its instructions, its structured output, the checks in plain code, the human approval step, error handling and what to log. We finish with the main ways agents fail (compounding errors, bad stopping, guessing, prompt injection), four guardrails (permissions, budgets, approvals, logs) and a checklist to use before you build one. No coding needed. Chapters 0:00 Why the word is confusing 0:26 Chatbots and tool calling 1:54 The agent loop, step by step 4:07 Agent vs workflow vs chatbot 5:06 Worked example: a repair-request agent 9:44 Why AI agents fail 11:21 Guardrails that work 11:54 Recap checklist Key sources OpenAI: A practical guide to building agents: https://cdn.openai.com/business-guide... OpenAI API docs: Function calling: https://developers.openai.com/api/doc... Claude API docs: How tool use works: https://platform.claude.com/docs/en/a... OpenAI API docs: Conversation state: https://developers.openai.com/api/doc... OWASP GenAI: LLM01 Prompt Injection: https://genai.owasp.org/llmrisk/llm01... OWASP GenAI: LLM06 Excessive Agency: https://genai.owasp.org/llmrisk/llm06... OWASP GenAI: LLM10 Unbounded Consumption: https://genai.owasp.org/llmrisk/llm10... UK NCSC: Prompt injection is not SQL injection: https://www.ncsc.gov.uk/blog-post/pro... Anthropic: Building effective agents: https://www.anthropic.com/engineering... Anthropic: Effective context engineering for AI agents: https://www.anthropic.com/engineering... Anthropic: A framework for safe and trustworthy agents: https://www.anthropic.com/news/our-fr... Simon Willison: a working definition of an agent: https://simonwillison.net/2025/Sep/18... Simon Willison: The lethal trifecta for AI agents: https://simonwillison.net/2025/Jun/16... Chip Huyen: Agents: https://huyenchip.com/2025/01/07/agen... Yao et al.: τ-bench, consistency of tool-using agents: https://arxiv.org/abs/2406.12045 #AIAgents #AIAutomation #AI