# Agentic AI: how agents work, the tools to build them and how to evaluate them

Agentic AI end to end: how an agent runs step by step, the frameworks (LangChain, LangGraph, CrewAI and the agent SDKs), tools and MCP, memory, multi-agent systems, tracing with LangSmith and Langfuse, evaluation with DeepEval and RAGAS, guardrails, tutorials and the latest trends, with simulations you can run.

## Agentic AI basics

What agentic AI is, how agents differ from chatbots and workflows, and when an agent is the right tool.

- [What is an AI agent? Agents versus chatbots and workflows, explained with runnable code](https://www.ozercemkelahmet.com/articles/what-is-an-ai-agent-chatbot-workflow) (2026-11-23)

## Agent steps

The agent loop step by step: instructions, reasoning, planning, tool calls, observations, stopping and error handling.

- [The agent loop step by step: instructions, tool calls, observations, errors and stopping](https://www.ozercemkelahmet.com/articles/agent-loop-step-by-step-trace) (2026-11-23)

## LangChain

LangChain in depth: models, prompts, tools, retrievers, chains and agents, with runnable examples on current versions.

- [LangChain 1.5 middleware explained: hooks, limits, tool errors and the new routers](https://www.ozercemkelahmet.com/articles/langchain-1-5-agent-middleware-guide) (2026-11-23)
- [Agentic AI frameworks explained: the Lang family and every major alternative](https://www.ozercemkelahmet.com/articles/agentic-ai-frameworks-langchain-langgraph-and-every-alternative) (2026-11-18)

## LangGraph

LangGraph in depth: state graphs, nodes and edges, checkpoints, human-in-the-loop, streaming and deployment.

- [LangGraph 1.2 in depth: state, checkpoints, human interrupts, retries and time travel](https://www.ozercemkelahmet.com/articles/langgraph-1-2-checkpoints-interrupts-time-travel) (2026-11-23)

## LangSmith

LangSmith in depth: tracing every run, datasets, experiments, evaluators, prompt management and monitoring.

- [LangSmith SDK 0.16 explained: traceable spans, local-only evaluations and review queues](https://www.ozercemkelahmet.com/articles/langsmith-0-16-tracing-offline-evaluation) (2026-11-23)

## DeepEval

DeepEval in depth: test cases, G-Eval and RAG metrics, agent and tool-call metrics, running evaluations in CI.

- [DeepEval 4.3 agent metrics in depth: tool checks, permission gates, loop detection, G-Eval](https://www.ozercemkelahmet.com/articles/deepeval-4-3-agent-metrics-offline) (2026-11-23)

## RAGAS

RAGAS in depth: faithfulness, answer relevancy, context precision and recall, synthetic test sets and agent metrics.

- [RAGAS 0.4.4 in practice: faithfulness, tool call metrics and experiments, step by step](https://www.ozercemkelahmet.com/articles/ragas-0-4-4-faithfulness-tool-metrics) (2026-11-23)

## Other agent frameworks

CrewAI, AutoGen and Microsoft Agent Framework, the OpenAI Agents SDK, the Claude Agent SDK, Google ADK, LlamaIndex and smolagents compared.

- [smolagents 1.26 in depth: code agents versus JSON tool calls, sandboxes and managed agents](https://www.ozercemkelahmet.com/articles/smolagents-code-agents-in-depth) (2026-11-24)
- [One agent in seven frameworks: CrewAI, Agent Framework, OpenAI, Claude, ADK and more](https://www.ozercemkelahmet.com/articles/one-agent-seven-frameworks-compared) (2026-11-23)

## Tools and MCP

Function calling, the Model Context Protocol, agent-to-agent protocols, browser and computer use: how agents act in the world.

- [Building MCP tools with Python SDK 2.3: typed tools, safe errors and the 2026-07-28 protocol](https://www.ozercemkelahmet.com/articles/mcp-python-sdk-v2-server-tutorial) (2026-11-23)

## Agent memory

State, short- and long-term memory, retrieval and RAG for agents, and context engineering.

- [Agent memory explained: threads, long-term stores, trimming and summaries in LangGraph 1.2](https://www.ozercemkelahmet.com/articles/agent-memory-threads-stores-context-engineering) (2026-11-23)
- [Retrieval-augmented generation (RAG): from naive to agentic](https://www.ozercemkelahmet.com/articles/rag-from-naive-to-agentic) (2026-10-20)

## Multi-agent systems

Supervisors, swarms, hand-offs and sub-agents: patterns for splitting work across agents and their costs.

- [Multi-agent systems in practice: supervisors, handoffs, swarms and subagents compared](https://www.ozercemkelahmet.com/articles/multi-agent-supervisor-handoffs-subagents) (2026-11-23)

## Agent observability

Tracing and monitoring beyond LangSmith: Langfuse, Arize Phoenix, OpenTelemetry, cost and latency dashboards.

- [Agent observability in practice: Langfuse 5, OpenTelemetry GenAI spans, cost and latency](https://www.ozercemkelahmet.com/articles/agent-observability-langfuse-opentelemetry-cost) (2026-11-23)

## Agent evaluation

LLM-as-judge, trajectory and task-success metrics, and agent benchmarks such as SWE-bench, tau-bench and GAIA.

- [Agent evaluation step by step: trajectory matching, LLM judges, pass^k and benchmark maths](https://www.ozercemkelahmet.com/articles/agent-evaluation-trajectories-judges-benchmarks) (2026-11-23)
- [OpenAI lets outside evaluators inside as California sues over agents that escaped a test](https://www.ozercemkelahmet.com/articles/openai-embedded-assessments-evaluation-containment) (2026-11-18)

## End-to-end workflows

Complete agentic workflows from start to production: build, trace, evaluate, guard, deploy and improve.

- [An agentic workflow end to end: build, guard, trace, evaluate and deploy a refund agent](https://www.ozercemkelahmet.com/articles/refund-agent-end-to-end-ci-gate) (2026-11-23)
- [Building an agentic AI system from scratch with LangGraph, Langfuse, DeepEval and RAGAS](https://www.ozercemkelahmet.com/articles/build-agentic-ai-from-scratch-langgraph-langfuse-deepeval-ragas) (2026-11-17)

## Agent tutorials

Step-by-step trainings with runnable code: from a first tool-calling agent to a multi-agent system.

- [Tutorial: build a read-only SQL data agent with LangChain 1.5 and test it without an LLM](https://www.ozercemkelahmet.com/articles/tutorial-sql-data-agent-langchain-tests) (2026-11-24)
- [Tutorial: build and test a typed support agent with Pydantic AI 2.71, step by step](https://www.ozercemkelahmet.com/articles/pydantic-ai-typed-agent-tests-tutorial) (2026-11-23)

## Agent guardrails

Prompt injection, permissions, sandboxes, human approval and policy checks: keeping agents safe in production.

- [Layered agent guardrails you can run: PII redaction, risk classifiers and human approval](https://www.ozercemkelahmet.com/articles/layered-agent-guardrails-runnable-stack) (2026-11-23)
- [Governing AI agent access with scoped credentials and undo buttons](https://www.ozercemkelahmet.com/articles/governing-ai-agent-access) (2026-11-08)

## Agent trends

What changed this week in agents: new frameworks, protocols, products and results.

- [Agent trends this week: LangSmith Tool Gateway, Agent 365 identities and manager agents](https://www.ozercemkelahmet.com/articles/agent-trends-tool-gateways-manager-agents) (2026-11-24)
- [Ant's Ling-3.2-air and LingSante-3.1: open hybrid-linear MoE models for agents and medicine](https://www.ozercemkelahmet.com/articles/ling-3-2-air-lingsante-hybrid-moe) (2026-11-24)
- [Agent trends this week: pass^k in ADK, OpenAI SDK session tools, Phoenix 22 cost tracking](https://www.ozercemkelahmet.com/articles/agent-frameworks-week-reliability-sessions-caching) (2026-11-23)
- [Stateless MCP explained: how multi round-trip requests replace sessions and callbacks](https://www.ozercemkelahmet.com/articles/stateless-mcp-multi-round-trip-requests) (2026-11-23)
- [Performance Factory: how OpenAI checks the agents that debug ChatGPT in production](https://www.ozercemkelahmet.com/articles/agents-investigating-production-performance-factory) (2026-11-21)
- [Gemini 4 Neon explained: model tiers, thinking levels, cached input and orchestrator agents](https://www.ozercemkelahmet.com/articles/gemini-4-neon-thinking-levels-caching-subagents) (2026-11-20)
- [Context has a price: why trimming a coding agent's prompt can double its bill](https://www.ozercemkelahmet.com/articles/context-price-coding-agents-prefix-caching) (2026-11-19)
- [RAG types explained: naive, hybrid, reranked, HyDE, corrective, agentic and GraphRAG](https://www.ozercemkelahmet.com/articles/rag-types-explained-naive-hybrid-rerank-hyde-corrective-agentic-graphrag) (2026-11-17)
- [AI agents get a front door and a wallet: Poppy 1.0, ChatGPT Wallet and Uber's intent checks](https://www.ozercemkelahmet.com/articles/personal-agent-protocol-wallet-intent-checks) (2026-11-17)
- [Subagents become the default in coding agents: Antigravity, OpenCode and Copilot CLI](https://www.ozercemkelahmet.com/articles/subagent-orchestration-coding-agents) (2026-11-16)
- [Revolut, AMD and Mistral show coding agents moving to self-hosted open-weight models](https://www.ozercemkelahmet.com/articles/self-hosted-open-weight-coding-agents) (2026-11-10)
- [Always-on AI agents move from chat sessions to background teammates](https://www.ozercemkelahmet.com/articles/always-on-ai-agents) (2026-11-08)

## LangGraph Platform

Deploying LangGraph agents: LangGraph Platform and Server, assistants, threads, cron jobs, the Studio and scaling.


## Langflow

Langflow: building agents and RAG flows visually, components, the API and moving a flow to production.


## Langfuse

Langfuse in depth: open-source tracing, sessions, prompt management, evaluations, datasets and cost tracking.


## LlamaIndex

LlamaIndex in depth: data connectors, indexes, query engines, agents and workflows.


## CrewAI

CrewAI in depth: agents with roles, tasks, crews and flows, tools and memory.


## AutoGen

AutoGen and the Microsoft Agent Framework: conversable agents, group chats, teams and the runtime.


## Semantic Kernel

Semantic Kernel: plugins, planners and agents for .NET, Python and Java.


## Haystack

Haystack by deepset: pipelines, components, retrieval and agents in production.


## DSPy

DSPy: programming instead of prompting, signatures, modules and optimisers that tune prompts and weights.


## Pydantic AI

Pydantic AI: typed agents, structured outputs, dependency injection, tests and evals.


## smolagents

Hugging Face smolagents: code agents, tool calling agents and running them with open models.


## OpenAI Agents SDK

The OpenAI Agents SDK: agents, hand-offs, guardrails, sessions and tracing.


## Claude Agent SDK

The Claude Agent SDK: the agent loop behind Claude Code, tools, sub-agents, hooks and permissions.


## Google ADK

Google's Agent Development Kit: agents, workflows, tools, evaluation and deployment on Vertex AI.


## MCP

The Model Context Protocol in depth: servers, clients, tools, resources, prompts, transports and authorisation.


## A2A

The Agent2Agent protocol: agent cards, tasks and messages, and how agents from different vendors work together.


## ReAct

The ReAct algorithm: interleaving reasoning and actions, its prompt format, failure modes and measured results.

- [ReAct explained: the reason-act-observe loop from the paper to LangChain 1.5 code](https://www.ozercemkelahmet.com/articles/react-reason-act-loop-paper-code) (2026-11-24)

## Plan-and-Execute

Plan-and-execute agents: a planner writes the steps, an executor runs them, a re-planner fixes the plan.

- [Plan-and-execute agents explained: planner, executor and replanner in LangGraph 1.2](https://www.ozercemkelahmet.com/articles/plan-and-execute-agents-replanning-langgraph) (2026-11-24)

## Reflexion

Reflexion and self-critique: agents that evaluate their own attempts and retry with written lessons.

- [Reflexion explained: agents that learn from failure with verbal feedback, step by step](https://www.ozercemkelahmet.com/articles/reflexion-verbal-reinforcement-agents-explained) (2026-11-24)

## Tree of Thoughts

Tree of Thoughts: searching over reasoning steps with breadth-first or depth-first search and a value function.

- [Tree of Thoughts explained: propose, evaluate and search with a runnable Game of 24](https://www.ozercemkelahmet.com/articles/tree-of-thoughts-search-explained-code) (2026-11-24)

## LATS

Language Agent Tree Search: Monte Carlo tree search over agent actions with reflection and value estimates.

- [LATS explained: Monte Carlo tree search for language agents, step by step with code](https://www.ozercemkelahmet.com/articles/lats-language-agent-tree-search-mcts) (2026-11-24)

## ReWOO

ReWOO: planning all tool calls up front without waiting for observations, and what it saves in tokens.

- [ReWOO explained: plan every tool call up front and cut agent tokens, step by step](https://www.ozercemkelahmet.com/articles/rewoo-plan-once-agents-fewer-tokens) (2026-11-24)

## Self-consistency

Self-consistency and majority voting: sampling several reasoning paths and choosing the most common answer.

- [Self-consistency explained: sample many reasoning paths, vote, and know when it pays](https://www.ozercemkelahmet.com/articles/self-consistency-majority-vote-reasoning) (2026-11-24)

## Agent routing

Routing and model cascades: sending each request to the right agent, tool or model by cost and difficulty.

- [Agent routing explained: send each task to the cheapest model that can do it well](https://www.ozercemkelahmet.com/articles/agent-routing-model-cascades-cost) (2026-11-24)

