Agentic AI
Table of Contents
1. LangChain
Provides components for building agents:
Model wrappers
Wrapper for providers like OpenAI, Anthropic, Local, etc.
- Message types
- Prompt Templates
Tools
You can convert any python function to a tool just by decorating it with
@tools- Structured Output
Document Loaders
For ingesting data from sources like PDFs, websites, Markdown files, Google Drive, Notion, S3, etc.
PyPDFLoader- Text Splitters:
RecursiveCharacterTextSplitter - Embedding model wrappers
- Vector store integrations
- Retrievers: It can use the vector store or can use external APIs
Agents
from langchain.agents import create_agent agent = create_agent( model=llm, tools=[get_weather, search_docs], system_prompt="You are a helpful assistant." )
- Chains
LangGraph provides a graph based state transition abstraction, persistence for those states, and other useful tooling.