Skip to content

This repository contains the lesson content and code examples for Week 6 of the Ready Tensor Agentic AI Developer Certification Program, focused on building collaborative multi-agent systems.

License

Notifications You must be signed in to change notification settings

readytensor/rt-agentic-ai-cert-week6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ready Tensor Agentic AI Certification – Week 6

Welcome to Week 6 of the Agentic AI Developer Certification Program by Ready Tensor!

Last week, you built your first agentic systems — intelligent assistants powered by LangGraph, memory, tools, and observability. This week, we take things further by shifting from individual agents to multi-agent systems that collaborate, specialize, and even debate.


🧠 What You'll Learn

Week 6 is all about system architecture — designing agentic systems composed of multiple, modular agents that interact meaningfully and reliably. You’ll go from developer to agent system designer.

By the end of the week, you’ll be able to:

  • Design and implement multi-agent workflows
  • Assign agent roles and manage collaboration boundaries
  • Use LangGraph to orchestrate agent communication and shared memory
  • Resolve tool conflicts and handle unreliable agent behavior
  • Connect agents to external systems via Model Context Protocol (MCP)
  • Architect resilient and modular systems ready for scale

📚 Lessons in This Repository

Understand the key components and patterns of agentic system design. Learn how agent teams are structured and what differentiates a multi-agent system from a single, complex agent.

Introduce the Week 6 project: an Agentic Authoring Assistant. Define its overall goals and scope down to the tag extraction sub-project, setting the stage for implementation.

Implement the tag extraction component using LangGraph. Combine traditional logic, ML models, and LLM reasoning — and explore when (and whether) agents are actually needed.

Explore how to define clear agent responsibilities and boundaries to reduce redundancy, improve clarity, and enable specialization in your systems.

Learn how to design agentic systems that produce coherent, coordinated outputs. Explore different architectural approaches — from simple sequential chains to sophisticated coordinated systems — and understand the trade-offs between complexity, quality, and efficiency.

Lesson 4a – Introduction to MCP

Discover MCP (Model Context Protocol) — the universal standard that's doing for AI what HTTP did for the web. Learn how MCP solves integration chaos, provides built-in security, and enables AI agents to seamlessly connect with external tools and data sources through a standardized protocol.

Lesson 4b – MCP In Action

Go from MCP theory to practice. Learn how to connect your AI to existing MCP servers (like GitHub, file systems, and databases) and build your own custom MCP server from scratch. Includes hands-on code walkthroughs and real-world integration examples.


Repository Structure

rt-agentic-ai-cert-week6/
├── code/
│   ├── graphs/
│   │   ├── a3_graph.py                         # LangGraph definition for the A3 system
│   │   └── tag_generation_graph.py             # LangGraph definition for tag extraction flow
│   ├── nodes/
│   │   ├── a3_nodes.py                         # Nodes for the A3 system (manager, tldr, title, etc.)
│   │   ├── output_types.py                     # Pydantic output schemas for structured LLM responses
│   │   └── tag_generation.py                   # Nodes for tag extraction (LLM, spaCy, gazetteer, etc.)
│   ├── states/
│   │   ├── a3_state.py                         # LangGraph state class for the A3 system
│   │   └── tag_generation_state.py             # LangGraph state class for tag generation
│   ├── consts.py                               # Global constants for key names and node labels
│   ├── langgraph_utils.py                      # Utilities for visualizing LangGraphs and creating LLMs
│   ├── lesson2b_extract_entities.py            # Lesson 2b: Run entity/tag extraction pipeline
│   ├── lesson3b_a3_system.py                   # Lesson 3b: Run the full A3 authoring assistant system
│   ├── lesson4_mcp.py                          # Lesson 4: MCP integration demo
│   ├── llm.py                                  # LLM wrapper utility for structured outputs
│   ├── paths.py                                # Path management for input/output/config files
│   ├── prompt_builder.py                       # Utilities for building system and human prompts
│   └── utils.py                                # Shared helper functions
├── config/
│   ├── config.yaml                             # Main configuration file for agents and flows
│   ├── gazetteer_entities.yaml                 # Regex-based gazetteer entity definitions
│   └── reasoning.yaml                          # Example config for reasoning patterns (if used)
├── data/
│   ├── publication_example1.md                 # Sample input articles
│   ├── publication_example2.md
│   └── publication_example3.md
├── lessons/                                    # Lesson explanations and assets
├── outputs/                                    # Output files and visualizations (e.g., graph.png)
├── .env.example                                # Example environment file for API keys (e.g., Tavily)
├── .gitignore
├── LICENSE
├── README.md                                   # You are here
└── requirements.txt                            # Required Python dependencies

Installation & Setup

  1. Clone the repository:

    git clone https://github.com/readytensor/rt-agentic-ai-cert-week6.git
    cd rt-agentic-ai-cert-week6
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up your environment variables:

    Copy the .env.example file and update it with your API keys and other required environment variables (e.g., for OpenAI or Tavily):

    cp .env.example .env
    • You can get your Open AI API key for LLM access.
    • If using Tavily for search, sign up at Tavily and add your API key to .env.

Usage

This week's code supports three lessons with runnable scripts:

🏷️ Lesson 2b – Tag Extraction System

Run the tag extraction system on example articles:

python code/lesson2b_extract_entities.py

This script uses the tag extraction pipeline built in Lesson 2b and processes articles from the data/ folder.

🧠 Lesson 3b – A3 (Agentic Authoring Assistant) System

Run the full A3 system that generates tags, TL;DR, title, and references:

python code/lesson3b_a3_system.py

This script integrates multiple agents developed across lessons into a cohesive multi-agent authoring system.

🔌 Lesson 4 – MCP Integration

Try out basic MCP integration for agent-to-tool communication:

python code/lesson4_mcp.py

This demo shows how to connect your agents to external systems using the Model Context Protocol, as taught in Lessons 4a and 4b.

You can modify or replace the input articles in the data/ directory with your own content for experimentation.


License

This project is licensed under the CC BY-NC-SA 4.0 License – see the LICENSE file for details.


Contact

Ready Tensor, Inc.

  • Email: contact at readytensor dot com
  • Issues & Contributions: Open an issue or pull request on this repository
  • Website: https://readytensor.ai

About

This repository contains the lesson content and code examples for Week 6 of the Ready Tensor Agentic AI Developer Certification Program, focused on building collaborative multi-agent systems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages