<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Python on Tim O&#39;Hare Random Collection</title>
    <link>https://www.ohare.id.au/tags/python/</link>
    <description>Recent content in Python on Tim O&#39;Hare Random Collection</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 22 Mar 2026 00:00:00 +1000</lastBuildDate>
    <atom:link href="https://www.ohare.id.au/tags/python/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Building a Multi-Agent AI Pipeline with Google ADK to Generate Movie Pitches</title>
      <link>https://www.ohare.id.au/posts/20260322-google-adk-movie-pitches/</link>
      <pubDate>Sun, 22 Mar 2026 00:00:00 +1000</pubDate>
      <guid>https://www.ohare.id.au/posts/20260322-google-adk-movie-pitches/</guid>
      <description>I recently worked through a tutorial using Google&amp;rsquo;s Agent Development Kit (ADK), a Python framework for building multi-agent AI workflows. The tutorial used a fun premise: an AI pipeline that researches historical figures and generates full movie pitches, complete with plot outlines, box office projections, and casting suggestions.&#xA;What is Google ADK? The ADK lets you compose multiple AI agents into pipelines using three core building blocks:&#xA;SequentialAgent — runs sub-agents one after another, passing state between them LoopAgent — repeatedly runs sub-agents until a termination condition is met (using exit_loop) ParallelAgent — runs sub-agents concurrently and merges their outputs Agents communicate through a shared state dictionary, which tools can read and write via a ToolContext object.</description>
    </item>
    <item>
      <title>Python Class and Instance Variables Explained</title>
      <link>https://www.ohare.id.au/posts/python-class-and-instance-varibles/</link>
      <pubDate>Thu, 02 Sep 2021 21:22:26 +1000</pubDate>
      <guid>https://www.ohare.id.au/posts/python-class-and-instance-varibles/</guid>
      <description>Python Instance and Class Variables Call me late to the game, but TIL about Python Instance and Class variables the hard way. Setting up mulplie classes using composition and was struck wondering why when storing data in a list of class instances, the data was stored across all instances.&#xA;As specified 9.3.5. Class and Instance Variables&#xA;class Dog: kind = &amp;#39;canine&amp;#39; # class variable shared by all instances def __init__(self, name): self.</description>
    </item>
  </channel>
</rss>
