Training Agenda

LangChain &
LlamaIndex

LangChain and LlamaIndex are the two most widely used frameworks for building LLM-powered applications in Python. LangChain provides a composable abstraction layer for chains, agents, tools, and memory. LlamaIndex specializes in data ingestion, indexing, and retrieval — making it the go-to for RAG applications over complex document corpora. This training covers both frameworks practically, with hands-on examples building a RAG pipeline and a tool-calling agent.

1 day On-site, remote, or hybrid Up to 20 participants German or English
What We Cover
Python frameworks for production LLM applications
Module 1

LangChain — Chains, Agents & Tools

  • LangChain architecture: LCEL (LangChain Expression Language), runnables, chains
  • LLM and Chat Model wrappers: OpenAI, Anthropic, Ollama (local models)
  • Prompt templates: ChatPromptTemplate, few-shot templates, partial templates
  • Output parsers: PydanticOutputParser, JsonOutputParser, StrOutputParser
  • Memory: ConversationBufferMemory, summary memory, entity memory
  • Tool calling: defining tools with @tool decorator, ToolNode
  • ReAct agent: LangGraph-based agent with tool use loop
  • LangGraph: stateful multi-step agents — state machine for LLM workflows
  • Retrieval chain: RetrievalQA, RAG chain with LCEL
  • LangSmith: tracing, evaluation, and prompt versioning
Module 2

LlamaIndex — RAG Pipelines & Advanced Retrieval

  • LlamaIndex architecture: documents, nodes, indices, query engines
  • Document loaders: PDF, HTML, Notion, database, custom loaders
  • Node parsers: chunking strategies — sentence, semantic, hierarchical
  • Embedding models: OpenAI, Cohere, local (sentence-transformers)
  • Vector stores: Chroma, Pinecone, Weaviate, pgvector integration
  • Index types: VectorStoreIndex, SummaryIndex, KnowledgeGraphIndex
  • Query engines: RetrieverQueryEngine, router query engine
  • Reranking: Cohere Rerank, cross-encoder reranking
  • Sub-question query engine: decomposing complex questions
  • Evaluation: RAGAS — faithfulness, answer relevancy, context precision
  • LlamaIndex vs LangChain: when to choose which or combine both
Learning Outcomes
What your team walks away with

Python developers who can build RAG pipelines and tool-calling agents with LangChain and LlamaIndex — with proper evaluation and LangSmith observability.

Book the LangChain & LlamaIndex training

A focused hands-on day — participants build a working RAG application. Works best after the Prompt Engineering or AI + Agentic Development training.

Get in touch