{"id":28863212,"url":"https://github.com/readytensor/rt-agentic-ai-cert-week5","last_synced_at":"2026-05-02T05:09:02.145Z","repository":{"id":299523528,"uuid":"1002644174","full_name":"readytensor/rt-agentic-ai-cert-week5","owner":"readytensor","description":"Hands-on code and examples for Week 5 of the Ready Tensor Agentic AI Developer Certification Program – building agentic systems with LangGraph, custom tools, and multi-agent workflows.","archived":false,"fork":false,"pushed_at":"2025-08-23T06:17:14.000Z","size":4527,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-24T09:28:07.107Z","etag":null,"topics":["agentic-ai","ai-agents","certification","langchain","langgraph","langsmith","llms","ready-tensor"],"latest_commit_sha":null,"homepage":"https://app.readytensor.ai/publications/HrJ0xWtLzLNt","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/readytensor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-15T22:35:50.000Z","updated_at":"2025-08-23T06:17:17.000Z","dependencies_parsed_at":"2025-06-17T01:37:44.830Z","dependency_job_id":"e42ad2f6-d9fc-432b-a478-9f2c0a887e99","html_url":"https://github.com/readytensor/rt-agentic-ai-cert-week5","commit_stats":null,"previous_names":["readytensor/rt-agentic-ai-cert-week5"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/readytensor/rt-agentic-ai-cert-week5","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readytensor%2Frt-agentic-ai-cert-week5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readytensor%2Frt-agentic-ai-cert-week5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readytensor%2Frt-agentic-ai-cert-week5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readytensor%2Frt-agentic-ai-cert-week5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/readytensor","download_url":"https://codeload.github.com/readytensor/rt-agentic-ai-cert-week5/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/readytensor%2Frt-agentic-ai-cert-week5/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32523480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentic-ai","ai-agents","certification","langchain","langgraph","langsmith","llms","ready-tensor"],"created_at":"2025-06-20T07:02:12.319Z","updated_at":"2026-05-02T05:09:02.134Z","avatar_url":"https://github.com/readytensor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ready Tensor Agentic AI Certification – Unit 5\n\nThis repository contains lesson materials, code examples, reference scripts for **Unit 5** of the [Agentic AI Developer Certification Program](https://app.readytensor.ai/publications/HrJ0xWtLzLNt) 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**.\n\n---\n\n## What You'll Learn\n\n- When to use workflows vs. agents\n- How to build and run LangGraph projects\n- How to trace and debug agentic flows with LangSmith\n- How to integrate tools — both built-in and custom — into agent loops\n- How to manage shared state and node-level behavior in LangGraph\n\n---\n\n## Lessons in This Repository\n\n### 1. From Workflows to Agents: When Predictable Paths Aren’t Enough\n\nLearn when and why to move beyond static LLM workflows toward more flexible, adaptive agentic systems.\n\n### 2a. Building Agentic Systems at Scale: An Introduction to LangGraph\n\nGet introduced to LangGraph — a framework for designing agentic flows as graphs of nodes, edges, and state — built for scalability and control.\n\n### 2b. Your First LangGraph Project: Building a Joke Bot\n\nBuild a simple, non-LLM LangGraph joke bot to learn about graph structure, state objects, and routing logic.\n\n### 2c. Agentic AI With LangGraph: Building a Writer–Critic Loop\n\nEnhance your joke bot with LLMs and a writer–critic architecture. The agent generates, evaluates, and refines its output before sharing it with the user.\n\n### 3. Inside the Mind of an Agent: Observability with LangSmith\n\nUse 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.\n\n### 4a. Beyond Conversation: Giving Your AI Agent the Power of Tools\n\nIntegrate built-in tools into your LangGraph workflow and design a **Think–Act–Think** loop. Let your agent retrieve real data and make decisions dynamically.\n\n### 4b. Custom Tools, Custom Powers: Extending Your Agent’s Capabilities\n\nBuild your own tools from scratch and register them with your agent. Extend functionality in ways that suit your own domain or product use case.\n\n---\n\n## Repository Structure\n\n```txt\nrt-agentic-ai-cert-unit5/\n├── code/\n│   ├── custom_tools.py                         # Custom tool implementations for Lesson 3b\n│   ├── llm.py                                  # LLM utility wrapper\n│   ├── paths.py                                # Standardized file path management\n│   ├── prompt_builder.py                       # Modular prompt construction functions\n│   ├── run_wk5_l2b_pyjokes_joke_bot.py         # Lesson 2b: Run joke-bot using pyjokes\n│   ├── run_wk5_l2c_llm_joke_bot.py             # Lesson 2c: Run joke-bot using ai agents\n│   ├── run_wk5_l4b_custom_tools.py             # Lesson 4b: Run agent with custom tools\n│   └── utils.py                                # Common utilities\n├── config/\n│   ├── config.yaml                             # Configuration file for tool registration or agent setup\n│   └── prompt_config.yaml                      # Prompt configurations for agents\n├── lessons/                                    # Lesson content and images\n├── outputs/\n│   └── graph.png                               # Example LangGraph visualization\n├── .env.example                                # Sample environment variable file (e.g., Groq API key)\n├── .gitignore\n├── LICENSE\n├── README.md                                   # You are here\n└── requirements.txt                            # Required Python dependencies\n```\n\n---\n\n## Installation \u0026 Setup\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/readytensor/rt-agentic-ai-cert-week5.git\n   cd rt-agentic-ai-cert-week5\n   ```\n\n2. **Install dependencies:**\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. **Set up your environment variables:**\n\n   Copy the `.env.example` to `.env` and update the values (e.g., Groq API key):\n\n   ```bash\n   cp .env.example .env\n   ```\n\n   You can get your API key from [Groq](https://console.groq.com/).\n\n---\n\n## License\n\nThis project is licensed under the CC BY-NC-SA 4.0 License – see the [LICENSE](LICENSE) file for details.\n\n---\n\n## Contact\n\n**Ready Tensor, Inc.**\n\n- Email: contact at readytensor dot com\n- Issues \u0026 Contributions: Open an issue or PR on this repo\n- Website: [https://readytensor.ai](https://readytensor.ai)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freadytensor%2Frt-agentic-ai-cert-week5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freadytensor%2Frt-agentic-ai-cert-week5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freadytensor%2Frt-agentic-ai-cert-week5/lists"}