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 331–360 of 890 articles · Page 12 of 30
- AI Storytelling: Build Your Own Ollama Creative Writing Assistant in 2025
- AI Poetry Creator: Fine-tuning Ollama Models for Creative Expression
- AI Book Writing: Ollama Chapter Planning and Plot Development Guide
- RTX 4090 Optimization: Running Mistral Small 3.1 at Maximum Performance
- Retail Inventory Management: Ollama Demand Forecasting and Stock Optimization
- Real Estate AI Valuation: Ollama Property Analysis and Market Prediction
- Multilingual Support Setup: Mistral Small 3.1 for Global Applications
- Mistral Small 3.2 Function Calling: Advanced API Integration Tutorial
- IBM Granite 3.3 Enterprise Setup: Complete Business Intelligence Tutorial
- Human Resources Automation: Build Smart Resume Screening with Ollama AI
- How to Deploy IBM Granite for Financial Risk Assessment in 2025
- Granite Model Fine-tuning: Complete Guide to Industry AI Customization
- Granite Integration with IBM Watson: Complete Hybrid AI Architecture Guide
- Granite 128K Context Window: Enterprise Document Processing Guide
- Codestral Performance Optimization: 2x Faster Code Generation Setup
- Codestral Multi-Language Support: Complete Setup Guide for 80+ Programming Languages
- Building Corporate Knowledge Base: IBM Granite Document Understanding Complete Guide
- Building Conversational AI: Mistral Small 3.1 Chatbot Development Guide
- Building Compliance AI: IBM Granite Regulatory Document Analysis
- Building AI Code Reviewer: Codestral Integration with GitLab CI/CD Pipeline
- Building AI Agents: Mistral Small 3.2 Autonomous Task Execution
- Apache 2.0 License Benefits: Complete Commercial Mistral Small Deployment Guide
- Step-by-Step: Upgrading Ollama Without Losing Custom Models
- Step-by-Step: Custom Ollama Build from Source Code
- Step-by-Step Guide: Solving Ollama Installation Conflicts in 2025
- Ollama Version Rollback: Downgrade Tutorial and Best Practices
- Ollama Model Format Migration: Complete GGUF Conversion Tutorial
- Ollama Logging Configuration: Advanced Debugging Tutorial
- Ollama Expert Tips: Hidden Features and Advanced Techniques for 2025
- Ollama Error Code Reference: Complete Diagnostic Guide