Part 3: What Are Tools in AI?

# Part 3: What are Tools in AI? In the previous part, we talked about different types of agents, from rule-based to fully autonomous, and how the right level of autonomy depends on the problem you're solving. But here's a shared trait across all agent types, no matter how simple or complex: > They rely on tools to perform actions. --- ## What Are “Tools” in AI? In the context of agentic AI, tools are external capabilities the LLM can invoke, things like:

This metadata is what allows the LLM to reason about which tool to use and how. --- ## A Note on Parsing and Structured Outputs The parser plays a key role in converting the LLM’s response into a structured tool call — something the system can reliably execute (like `get_order_status(order_id=12345)`). But in many modern setups, you don’t always need a separate parser. Most popular LLMs, especially those designed for tool use, can directly produce structured outputs — like JSON or function calls — that can be consumed by your backend as-is. Similarly, well-designed tools return structured data, making it easier for the LLM to reason about what to do next. The structure on both sides (input and output) is what makes agent loops robust, traceable, and production-grade. --- ## The Takeaway A lot of this will feel familiar if you've built or worked with APIs before. But if you're not from that world, don’t overthink the wiring. Just remember this: > AI models on their own can understand and generate. > When they’re connected to software, tools, APIs, and internal systems — they can actually do things. --- In the next part, we’ll learn about Retrieval-Augmented Generation (RAG) — what it is, when to use it, and how it fits naturally into agentic pipelines as a memory or context layer.

Course: Agentic AI Crash Course by Aishwarya Naresh Reganti

Source: aishwaryanr/awesome-generative-ai-guide

License: MIT License