This repository contains lesson materials, code examples, reference scripts for Week 5 of the Agentic AI Developer Certification Program by Ready Tensor. This week marks the transition from traditional prompt pipelines to building agent-based AI systems using tools like LangGraph, LangChain, and LangSmith.
- When to use workflows vs. agents
- How to build and run LangGraph projects
- How to trace and debug agentic flows with LangSmith
- How to integrate tools — both built-in and custom — into agent loops
- How to manage shared state and node-level behavior in LangGraph
Learn when and why to move beyond static LLM workflows toward more flexible, adaptive agentic systems.
Get introduced to LangGraph — a framework for designing agentic flows as graphs of nodes, edges, and state — built for scalability and control.
Build a simple, non-LLM LangGraph joke bot to learn about graph structure, state objects, and routing logic.
Enhance your joke bot with LLMs and a writer–critic architecture. The agent generates, evaluates, and refines its output before sharing it with the user.
Use LangSmith to trace every step of your agent's process — from LLM calls to tool usage — with full visibility into the graph’s state transitions.
Integrate built-in tools into your LangGraph workflow and design a Think–Act–Think loop. Let your agent retrieve real data and make decisions dynamically.
Build your own tools from scratch and register them with your agent. Extend functionality in ways that suit your own domain or product use case.
rt-agentic-ai-cert-week5/
├── code/
│ ├── custom_tools.py # Custom tool implementations for Lesson 3b
│ ├── llm.py # LLM utility wrapper
│ ├── paths.py # Standardized file path management
│ ├── prompt_builder.py # Modular prompt construction functions
│ ├── run_wk5_l2b_pyjokes_joke_bot.py # Lesson 2b: Run joke-bot using pyjokes
│ ├── run_wk5_l2c_llm_joke_bot.py # Lesson 2c: Run joke-bot using ai agents
│ ├── run_wk5_l4b_custom_tools.py # Lesson 4b: Run agent with custom tools
│ └── utils.py # Common utilities
├── config/
│ ├── config.yaml # Configuration file for tool registration or agent setup
│ └── prompt_config.yaml # Prompt configurations for agents
├── lessons/ # Lesson content and images
├── outputs/
│ └── graph.png # Example LangGraph visualization
├── .env.example # Sample environment variable file (e.g., Groq API key)
├── .gitignore
├── LICENSE
├── README.md # You are here
└── requirements.txt # Required Python dependencies-
Clone the repository:
git clone https://github.com/readytensor/rt-agentic-ai-cert-week5.git cd rt-agentic-ai-cert-week5 -
Install dependencies:
pip install -r requirements.txt
-
Set up your environment variables:
Copy the
.env.exampleto.envand update the values (e.g., Groq API key):cp .env.example .env
You can get your API key from Groq.
This project is licensed under the CC BY-NC-SA 4.0 License – see the LICENSE file for details.
Ready Tensor, Inc.
- Email: contact at readytensor dot com
- Issues & Contributions: Open an issue or PR on this repo
- Website: https://readytensor.ai