AI Agents
Browse articles on AI Agents — tutorials, guides, and in-depth comparisons.
AI agents are LLM-powered systems that can plan, use tools, and take multi-step actions to complete complex tasks. In 2026, agent frameworks have matured enough for production use — here's how to build reliable ones.
Framework Comparison
| Framework | Best for | Language | Complexity |
|---|---|---|---|
| LangGraph | Complex stateful workflows, human-in-the-loop | Python | High |
| CrewAI | Role-based multi-agent teams | Python | Medium |
| AutoGen | Conversational multi-agent research | Python | Medium |
| n8n | Visual automation + AI nodes | Visual/JS | Low |
| Flowise | No-code RAG chatbots and pipelines | Visual | Low |
| Dify | Full-stack LLM app platform | Visual/API | Low |
Core Agent Architecture
Every agent needs four things:
- LLM backbone — the model that reasons and decides (GPT-4o, Claude 3.5, Llama 3.3)
- Tools — functions the agent can call (web search, code execution, database queries)
- Memory — short-term (conversation history) and long-term (vector store)
- Orchestration — the loop that decides when to call tools vs return a final answer
Quick Start with LangGraph
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
from langchain_community.tools.tavily_search import TavilySearchResults
llm = ChatOpenAI(model="gpt-4o")
tools = [TavilySearchResults(max_results=3)]
agent = create_react_agent(llm, tools)
result = agent.invoke({"messages": [("user", "What's the latest on LangGraph?")]})
print(result["messages"][-1].content)
Learning Path
- Single-tool ReAct agent — understand the think → act → observe loop
- Multi-tool agent — add web search, code execution, database access
- Memory patterns — conversation buffer, vector store for long-term recall
- Multi-agent systems — supervisor + worker pattern with CrewAI or LangGraph
- Human-in-the-loop — approval gates, interrupt and resume
- Production — streaming, error recovery, observability with LangSmith
Showing 421–450 of 890 articles · Page 15 of 30
- Step-by-Step: Integrating Phi-4 with Visual Studio Code and Ollama
- Step-by-Step: Configuring Llama 3.3 Tool Calling Features in Ollama
- QWQ 32B Reasoning Model: Complete Ollama Installation and Setup Guide
- Phi-4 API Integration: Building Chatbots with Python and Ollama
- Llama 4 Vision Image Analysis: Complete Implementation Tutorial with Code
- Llama 3.2 Vision 11B and 90B: Complete Ollama Setup Tutorial for Multimodal AI
- Llama 3.2 1B and 3B Models: Lightweight AI Setup for Resource-Constrained Systems
- How to Solve Phi-4 Insufficient VRAM Error: 7 Memory Optimization Techniques That Work
- How to Fix Llama 3.3 'Model Not Found' Error in Ollama: Complete Solution
- How to Fix Gemma 3 Permission Denied Error: Complete Authentication Setup Guide
- How to Fine-tune Phi-4 for Domain-Specific Tasks: Complete Tutorial 2025
- How to Enable DeepSeek-R1 Thinking Mode in Ollama: Advanced Reasoning Setup
- Google Gemma 3 27B Setup: Complete Ollama Installation Guide 2025
- Gemma 3 Vision Capabilities: Multimodal AI Tutorial with Image Processing
- Gemma 3 Text Generation: Advanced Prompting Techniques and Best Practices
- Gemma 3 Apache 2.0 License: Commercial Use Setup and Legal Guidelines
- DeepSeek-R1 API Integration: Building RAG Applications with Python and LangChain
- Build AI Code Assistant with Phi-4 in 25 Minutes
- Transformers with LangChain: Building Complex AI Workflows 2025
- Transformers in Transportation: AI-Powered Route Optimization and Traffic Analysis
- Manufacturing Quality Control: Defect Detection with Transformers
- How to Build Trading Bots with Transformers: Complete AI Trading Guide 2025
- How to Audit Transformers for Bias: Complete Fairness Testing Framework
- Insurance Claim Processing: Automated Assessment with Transformer Models
- How to Build HR Resume Screening with Transformers: Candidate Matching AI
- How to Generate Text with GPT-4 in Transformers: Creative Writing AI Guide
- How to Build ChatBots with Transformers: Complete Conversational AI Tutorial
- Transformers Agents Tutorial: Building AI Assistants with Tool Use
- Stable Code 3B Setup: Complete Guide to Code Generation with Transformers 2025
- Mixtral 8x7B Setup Guide: Running Mixture-of-Experts with Transformers