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 361–390 of 890 articles · Page 13 of 30
- Ollama Environment Variables: Complete Configuration Reference Guide
- Ollama Configuration File Errors: Complete Troubleshooting Guide 2025
- Ollama Codestral Integration: Advanced Code AI Setup for Local Development
- Ollama Code Generation: Build Your Local AI Programming Assistant in 2025
- Ollama Browser Extension: Run Local AI Models Directly in Your Browser
- Network Connectivity Issues in Ollama: Comprehensive Fix Guide
- Migrating from Ollama v0.8 to v0.9.2: Complete Upgrade Guide
- How to Recover Corrupted Ollama Models: Complete Data Recovery Guide
- How to Preserve Custom Modelfiles During Ollama Updates: Complete Guide
- How to Fix Ollama Code Generation Errors: Quality Improvement Guide
- How to Fix 'Model Download Failed' Error in Ollama: Complete Troubleshooting Guide
- Healthcare AI with Ollama: HIPAA-Compliant Medical Documentation System
- Educational AI Assistant: Complete Ollama University Knowledge Base Implementation Guide
- Building Financial AI Chatbots: Complete Ollama Banking and Investment Advisory Tutorial
- Step-by-Step: Creating Calculator AI with Ollama Tool Functions
- Ollama Vision Model API: Complete Guide to Image Analysis and Description Generation
- Ollama Tool Calling Tutorial: Function Integration with Llama 3.1
- Ollama Slack Integration: Enterprise Chat AI Setup Guide
- Ollama Semantic Search: Build Smart Document Discovery in 5 Steps
- Ollama Multimodal Engine: Complete Text and Image Processing Tutorial
- Ollama Memory Optimization: Reducing RAM Usage for Large Models
- Ollama Function Calling API: External Service Integration Made Simple
- LLaVA 1.6 34B Setup: Advanced Vision AI with Ollama Tutorial
- How to Validate Tool Calling Responses in Ollama Applications: Complete Guide
- How to Use Ollama with Discord Bots: Complete Chat AI Implementation Guide
- How to Process Images with Ollama: Complete Multimodal AI Implementation Guide
- How to Optimize RAG Retrieval Accuracy with Ollama Models: 7 Proven Techniques
- How to Fix Tool Calling Errors in Ollama: Complete Debugging Guide
- How to Fix Ollama Tool Execution Timeouts: Complete Troubleshooting Guide
- How to Fix "Image Format Not Supported" Error in Ollama Vision - Complete Troubleshooting Guide