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 391–420 of 890 articles · Page 14 of 30
- How to Build AI Agents with Ollama Tool Calling: Complete Guide
- Fix Ollama RAG Memory Issues When Processing Large Documents
- Fix Ollama Plugin Conflicts in IDEs: Complete Troubleshooting Guide 2025
- Troubleshooting Modelfile Syntax Errors: 7 Common Mistakes That Break Your AI Models
- Step-by-Step: Installing Ollama with NVIDIA GPU Support and CUDA
- Step-by-Step: Creating Knowledge Base with Ollama and ChromaDB
- Step-by-Step: Building Character AI with Ollama Modelfile Configuration
- Qwen3 Code Generation: Building AI Development Assistant with Ollama
- Ollama v0.9.2 Installation Guide: Windows, macOS, and Linux Setup 2025
- Ollama Temperature and Parameter Tuning: Complete Response Optimization Guide
- Ollama REST API Tutorial: Building AI Applications with HTTP Requests
- Ollama OpenAI Compatibility: Complete Drop-in Replacement Setup Guide 2025
- Ollama Offline Installation: Running AI Models Without Internet Connection
- Ollama Modelfile Tutorial: Creating Custom AI Models from Scratch
- Ollama Model Versioning: Managing Custom Model Updates Like a Pro
- Ollama GPU Memory Allocation: Fixing VRAM Insufficient Errors and Performance Issues
- Ollama ARM64 Installation: Apple Silicon M1/M2 Optimization Guide
- How to Update Ollama Models: Version Management and Migration Tutorial
- How to Switch Between CPU and GPU Inference in Ollama: Complete Performance Guide
- How to Solve Ollama 'Port 11434 Already in Use' Error: Complete Network Configuration Guide
- How to Import GGUF Models into Ollama: Complete Conversion Guide
- How to Implement Streaming Responses with Ollama API: Complete Developer Guide
- How to Fix 'Ollama Command Not Found' Error: Complete PATH Configuration Guide
- How to Create Domain-Specific AI Models with Ollama Modelfile: Complete Guide 2025
- How to Build PDF Chat with Ollama: Vector Database Integration Guide
- Fix Ollama GPU Detection Issues: Complete Driver Configuration Guide
- Custom System Prompts in Ollama: Advanced Model Personalization
- Apple Metal Performance Shaders: M1/M2 Ollama Optimization Guide
- Advanced Modelfile Techniques: Multi-Model Ensembles and Routing
- Troubleshooting Phi-4 Installation on Windows 11: Common Errors Fixed