n4nAI

Topic

LlamaIndex Agents & Tool Use

13 posts on llamaindex agents & tool use — part of framework tutorials on the n4n AI blog.

Framework tutorialsGuide

Multi-agent workflows in LlamaIndex explained

A practical guide to building multi-agent workflows in LlamaIndex with AgentWorkflow, covering communication patterns, state management, and production pitfalls.

4 min read
Framework tutorialsHow-to

Debugging LlamaIndex agent tool calls

A step-by-step guide to debugging LlamaIndex agent tool calls with logging, callbacks, and trace inspection.

4 min read
Framework tutorialsGuide

LlamaIndex QueryEngineTool: turning RAG into a tool

Learn to wrap LlamaIndex query engines as tools for agents, with working patterns for multi-index routing, metadata filtering, and error handling.

4 min read
Framework tutorialsTutorial

LlamaIndex OpenAIAgent with n4n.ai function calling

Build a LlamaIndex OpenAIAgent that routes function calls through n4n.ai with automatic provider fallback and per-token metering.

3 min read
Framework tutorialsTutorial

LlamaIndex AgentWorkflow for multi-step tasks

Build multi-step LLM agents with LlamaIndex AgentWorkflow — prerequisites, step-by-step implementation, and runnable code for production workflows.

4 min read
Framework tutorialsTutorial

LlamaIndex agents with Claude 3.5 Sonnet on n4n.ai

Build a LlamaIndex agent with Claude 3.5 Sonnet using n4n.ai's OpenAI-compatible endpoint — complete with tool use, streaming, and fallback handling.

2 min read
Framework tutorialsComparison

LlamaIndex agents vs LangChain agents compared

A practitioner's head-to-head comparison of LlamaIndex and LangChain agent architectures, tool use patterns, memory models, and ecosystem trade-offs — with a clear verdict by use case.

6 min read
Framework tutorialsGuide

LlamaIndex agent memory and state management

A practical guide to implementing memory and state management in LlamaIndex agents, covering chat buffers, vector memory, persistence patterns, and common production pitfalls.

4 min read
Framework tutorialsGuide

LlamaIndex FunctionAgent tool calling explained

A practical llamaindex functionagent tool calling tutorial: build agents with function tools, handle schemas, streaming, and avoid common pitfalls.

4 min read
Framework tutorialsHow-to

Give a LlamaIndex agent custom Python tools

A practical llamaindex custom tools tutorial: build Python functions, wrap them as tools, and wire them into a LlamaIndex agent that calls them reliably.

3 min read
Framework tutorialsHow-to

Connect LlamaIndex agents to external APIs

Step-by-step llamaindex agents external api tutorial: build LlamaIndex agents that call real HTTP APIs as tools, with runnable Python code and verification.

3 min read
Framework tutorialsTutorial

Build a research agent in LlamaIndex with n4n.ai

Learn to build a LlamaIndex research agent that queries external APIs and local data, using n4n.ai as an OpenAI-compatible LLM gateway.

3 min read
Framework tutorialsTutorial

Build a LlamaIndex ReAct agent with n4n.ai

Step-by-step llamaindex react agent tutorial: build a ReAct agent with custom tools using LlamaIndex and an OpenAI-compatible LLM gateway with runnable code.

2 min read