This repository contains notebooks, scripts and other resources from the DDS AI Residency program. Materials range from Python fundamentals and deep learning tutorials to examples using frameworks such as LangChain and LangGraph. Use these samples and demos as references for building chatbots, exploring retrieval‑augmented generation (RAG) techniques and experimenting with agentic workflows.
This repository is the hands-on lab archive for the Decoding Data Science (DDS) AI Residency program.
It contains the exact notebooks, scripts, and mini-projects used across cohorts — from Python foundations and prompt engineering, through RAG + evaluation, and ending with agentic systems + MCP.
Recommended flow: Prompting → Python + Data → LLM Apps → RAG → Evaluation → Agents → Multi-Agents → MCP → Ship
- Go to: https://colab.research.google.com
- Open any notebook directly from GitHub:
- Replace the URL pattern:
https://colab.research.google.com/github/Decoding-Data-Science/airesidency/blob/main/<NOTEBOOK>.ipynb
- Replace the URL pattern:
python_for_ai/— Python fundamentals for AI buildersfast_api/— API deployment demosaws-bedrock/— Bedrock examples + integrationslangchain_airesidency/— LangChain apps, tools, memory, agentslanggraph/— LangGraph workflows, corrective RAG, agent graphsragmc/— Retrieval-Augmented Generation demos and variantsmcp_handson/— MCP hands-on labs (late-stage: tool ecosystem + integration)crewai-first/— Multi-agent systems with CrewAIkahoot/— Quizzes used in sessionsmath_llm/— (Historical) LLM + math experiments
This is the suggested day-level flow we use in the Residency.
Each day points to the type of files you’ll find in this repo and how they connect.
Goal: stop “prompt luck” and build repeatable prompting habits.
What you learn
- Zero-shot / few-shot / structured prompting
- System vs user instructions, grounding, constraints
- Output formatting, safety & guardrails mindset
Where to look in this repo
tools_agents.ipynb,tools_multi_agents.ipynb(tools + thinking patterns)- Notebooks that contain “assistant” patterns (e.g., weather assistants, first chatbots)
Goal: write clean Python to ship AI apps fast.
Key notebooks
Variables.ipynbLesson_2_Repeating_tasks_with_for_loops.ipynbUsing_files_in_Python.ipynbstrating_with_data_in_python.ipynbxtracting_restaurant_information_from_journal_entries.ipynbLesson_3_Reading_journals_from_food_critics.ipynb
Outcome
- You can manipulate text/data, structure outputs, read files, and prepare inputs for LLM pipelines.
Goal: build a working chatbot end-to-end, then ship a UI version.
Core demos
first_chatbot_19jul.ipynbfirst_chatbot_19jul_gradio.ipynbfirst_python_chatbot_logo_HF.ipynbpython_tutor_03_01.ipynb,python_tutor_22_02.ipynb(teaching/assistant style bots)
LLM providers used across cohorts
- Groq demos:
groq_colab.ipynb,groq_colab_5july.ipynb,groq_sdk.ipynbgroq_colab_5july_withgradio.ipynb
- Bedrock demos:
aws-bedrock/
Outcome
- You can move from notebook → working assistant → basic Gradio/HF deployment.
Goal: understand embeddings as the foundation for retrieval, memory, and agent grounding.
Key notebooks
Vector_embedding.ipynbweavite_Vector_embedding23_jan.ipynbweavite_Vector_embedding29mar.ipynb
Outcome
- You can generate embeddings, store/search vectors, and prepare for RAG.
Goal: stop hallucinations by grounding responses in your documents.
Core notebooks
your_firstRAG.ipynbyour_firstRAG_cohort7.ipynbyour_firstRAG_cohort7_updated.ipynbrag_llamaindex.ipynbCopy_of_rag_llamaindex.ipynbfirst_rag_llamaindex_c7.ipynb
Index + vector store demos
Cohort_6_PineconeIndexDemo.ipynbCopy_of_PineconeIndexDemo.ipynbMC_11_PineconeIndexDemo.ipynb
Outcome
- You can ingest docs → chunk → embed → retrieve → answer with citations/grounding.
Goal: measure quality like an engineer, not by vibes.
Key notebooks
1_evaluation_recipe.ipynb1_evaluation_recipe-c7.ipynb
Outcome
- You can define evaluation signals (accuracy, relevance, faithfulness), test changes, and iterate systematically.
Goal: turn prompts into applications with structure: tools, memory, retrieval, routing.
Key notebooks
langchain_agent.ipynbMemory_management_for_AI_Apps_Agents_using_Langchain.ipynbMemory_management_for_AI_Apps_Agents_using_Langchain6thsep.ipynb- LangChain chain + agent variants:
Langchain_chains_agent_6thsep.ipynbLangchain_chains_agent_12thapr.ipynbLangchain_chains_agent_12thjul.ipynbLangchain_chains_agent_15thov.ipynbLangchain_chains_agent_1feb-2025.ipynbLangchain_chains_agent_1febnew.ipynb
Outcome
- You can build tool-using assistants and control behavior with memory and routing.
Goal: build stateful agent systems with robust control flow.
Key notebooks
simplegraph20sep.ipynbsimplegraph20thfeb.ipynbCopy_of_simplegraph20sep.ipynbLangraph_with_tools_cohort7.ipynbBuilding_an_Agentic_Corrective_RAG_System_with_LangGraph.ipynb
Outcome
- You can model multi-step workflows (states, retries, tool calls, verification loops).
Goal: orchestrate specialists that collaborate on a goal (planner/writer/reviewer/tool-runner).
Key notebooks
crewai_21stnov2024.ipynbcrewai_15thfeb.ipynbcrewai_26th.ipynbcrewai_multiagent_2025_level_1.ipynbcrewai_multiagent_2025.ipynbcrewai_multiagent_Gitex_level_2_.ipynbcrewai_multiagent_Gitex_level_2_29th_nov_.ipynbmulti_agent_collaboration.ipynb
Reference PDF
Ship_Your_Multi-Agent_System_Building_a_Collaborative_Writer_App_with_CrewAI.pdf
Outcome
- You can design roles, tasks, tool access, and evaluation for multi-agent pipelines.
Goal: connect agents to real tools reliably, like production systems.
Where to look
mcp_handson/
Why MCP comes late
- MCP becomes powerful only after you understand:
- tool calling + structured outputs
- routing + memory
- evaluation + safety boundaries
- multi-agent orchestration
Outcome
- You can standardize tool integrations and scale beyond one-off scripts.
These notebooks are used as mini-projects and concept reinforcement.
Weather_assistant26jul.ipynbweather_assistant14thsep.ipynbweather_assistant24thmay.ipynbweather_assistant4thoct.ipynbWeather_functioncall (1).ipynbAnother_copy_of_weather_assistant.ipynb
stock_market_14thsep.ipynbstock_market_26_jul.ipynbstock_market_28th_sep.ipynb- Folder:
Creating AI Financial Market Assistant Using AI Agents/
hf_transformer.ipynbhuggingface_practice.ipynbText_Summary_T5_Fine_Tuned.ipynblora_finetuning.yml
- Prompting & tool mindset
- Python foundations (files, loops, data basics)
- First chatbot + Gradio (ship something)
- Embeddings
- RAG + Pinecone/LlamaIndex
- Evaluation recipes
- LangChain (tools/memory/routing)
- LangGraph (workflows + corrective loops)
- CrewAI multi-agents
- MCP hands-on (production-grade tool ecosystem)
- Use notebooks as reference implementations (not copy-paste only).
- Every major concept has at least one of:
- a minimal demo
- a cohort-specific variant
- a shipping version (Gradio / deployment)
Tip for trainers: Prefer the most recent cohort notebook variant when duplicates exist.
These materials are provided for DDS AI Residency learning and internal cohort use.
If you want to reuse for training delivery or workshops, request permission from DDS.
- Ask in the cohort community channel (preferred)
- Tag your mentor with the notebook name + error screenshot + what you tried