How datatalksclub/build-media-agent-workshop works
This repository presents a workshop prototype for a media agent: a CPU-based agent coordinates GPU media-generation models, with an image-generation tool as the first capability and text-to-speech added through MCP. The documented workflow also compares always-on Serverless Endpoints with batch Jobs for generating 50 records. The only source excerpt is project metadata; notebook contents were not provided, so notebook-to-component assignments are tentative and relationships below are supported by the README rather than inspected runtime code.
Main entry points: notebook.ipynb MCP Tool Interface · 01_simple_media_agent.ipynb Image Tool
Components 12
Agent Control Plane
- CPU Agent
notebook.ipynb - MCP Tool Interface
notebook.ipynb
Media Generation
- Image Tool
01_simple_media_agent.ipynb - Speech Tool
notebook.ipynb - Text-to-Image Model
- Text-to-Speech Model
GPU Execution
- Object Storage
- Serverless Endpoint
- Batch Job
- Latency and Cost Comparison
notebook.ipynb
Other components
- User
- Media Brief
Connections 11
- User → CPU Agent: provides brief
README.md - CPU Agent → MCP Tool Interface: selects tools
README.md - MCP Tool Interface → Image Tool: dispatches
README.md - MCP Tool Interface → Speech Tool: dispatches
README.md - Image Tool → Serverless Endpoint: invokes
README.md - Serverless Endpoint → Text-to-Image Model: runs
README.md - Image Tool → Object Storage: returns link
README.md - Speech Tool → Text-to-Speech Model: invokes
README.md - Latency and Cost Comparison → Serverless Endpoint: compares latency
README.md - Latency and Cost Comparison → Batch Job: compares cost
README.md - Batch Job → Text-to-Image Model: runs generation
README.md