Crafting Intelligent Agents with Context Engineering
summary
A travel-planner agent is built that wires three callable tools (flights, weather, gov.uk) into a middle-tier chat API, uses Zod schema for input/output validation, stores session and long-term memories in Elasticsearch with local Ollama summarization, and retrieves context via RAG using Gina embeddings V5 text small. RAG plus semantic filtering triples tool accuracy in the example, and the agent returns a validated JSON itinerary (flights, hotel, textual plan) that the demo shows working end-to-end.
AI-written summary · about
chapters (11)
- 0:00Introduction to context engineering
- 1:04Why context matters for LLMs
- 6:19User prompts and input handling
- 9:10System instructions and personas
- 13:40Skills and tool specifications
- 14:42Tools as functions in agents
- 21:04Retrieval augmented generation basics
- 26:16Optimizing RAG pipelines
- 30:04Memory types for agents
- 34:17Structured output with LLMs
- 36:20Summary and resources
