Welcome to the AI Agents Fundamentals course. AI-driven applications are transforming industries by enabling systems to reason, remember, and act — automating workflows and augmenting decision-making. This lesson provides a hands-on path from your first API call to building production-quality, stateful AI agents. You’ll move from environment verification to implementing semantic search, Retrieval-Augmented Generation (RAG), and graph-based workflows that maintain memory and reasoning. Labs include runnable code examples so you can quickly move from theory to practical implementation. What you’ll learnDocumentation Index
Fetch the complete documentation index at: https://notes.kodekloud.com/llms.txt
Use this file to discover all available pages before exploring further.
- Make your first AI API call and understand modern model interactions.
- Build and deploy AI features using agent frameworks and prompt engineering best practices.
- Implement vector databases and a semantic search engine for technical documentation to retrieve by meaning rather than keywords.
- Combine retrieval and generation using Retrieval-Augmented Generation (RAG) for more accurate, context-aware outputs.
- Design stateful, graph-based workflows and agents that remember, reason, and react over time.
- Extend workflows with external tools, observability, and production-ready safety patterns.
| Module | Focus | Outcome |
|---|---|---|
| Environment & Setup | Verify virtualenv and Python packages | Run a verification script to confirm dependencies |
| Vector Search & Semantic Retrieval | sentence-transformers, Chroma/ChromaDB, embeddings | Build a semantic search index for docs |
| RAG Pipelines | Retrieval + generation patterns | Create context-conditioned generation pipelines |
| Graph-based Agents | StateGraph primitives, memory & reasoning | Implement stateful agents that maintain context |
| Advanced & Production | Tool integrations, observability, safety | Extend workflows for real-world deployment |
Make sure your virtual environment is activated before running verification or lab scripts. If you created the venv in a different path, update the
source command to point to your activate script.- LangChain — orchestration of prompts and chains
- ChromaDB / Chroma — lightweight vector database options
- sentence-transformers — high-quality embedding models
- numpy — numerical operations for preprocessing
- Additional tooling: Docker, cloud object stores, monitoring/observability tools (for advanced labs)

- Ingest documents (split into passages / chunks).
- Compute embeddings with a suitable encoder (e.g., sentence-transformers).
- Store embeddings in a vector store (ChromaDB, FAISS, Milvus, etc.).
- Query by embedding for nearest neighbors, then re-rank or filter before use.
- User query → embedding → nearest-neighbor documents → concat or summarization → conditioned generation

- Integrate external tools (APIs, databases, search) into graph workflows.
- Add observability and logging for debugging and auditing agent behavior.
- Apply safety patterns and guardrails (rate limits, input sanitization, rejection sampling).
- Compose multi-step flows and orchestrate complex agent behavior suitable for production.
- LangChain: https://docs.langchain.com/
- Chroma (ChromaDB): https://www.trychroma.com/
- sentence-transformers: https://www.sbert.net/
- Retrieval-Augmented Generation (overview): https://en.wikipedia.org/wiki/Retrieval-Augmented_Generation