<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Agents on William Denniss</title>
    <link>https://dev.wdenniss.com/ap/1-agent/</link>
    <description>Recent content in Agents on William Denniss</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 15 May 2026 11:03:02 -0700</lastBuildDate>
    <atom:link href="https://dev.wdenniss.com/ap/1-agent/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Deploy an ADK agent to Agent Platform Runtime</title>
      <link>https://dev.wdenniss.com/ap/1-agent/1.2-deploy-to-ap-runtime/</link>
      <pubDate>Fri, 15 May 2026 11:03:02 -0700</pubDate>
      <guid>https://dev.wdenniss.com/ap/1-agent/1.2-deploy-to-ap-runtime/</guid>
      <description>&lt;p&gt;In my &lt;a href=&#34;https://dev.wdenniss.com/ap/1-agent/1.1-create-an-adk-agent/&#34;&gt;previous post&lt;/a&gt;, we created an agent with ADK and ran it locally. The next step is to deploy it to Agent Platform runtime.&lt;/p&gt;&#xA;&lt;p&gt;You can deploy to the runtime using a Python script that imports your agent, and configures the remote resource, and performs the deployment. This approach serializes your live object graph which is simple, but not suitable for production. We&amp;rsquo;ll cover production hardening later.&lt;/p&gt;&#xA;&lt;p&gt;Create the following script in the root project folder (the one containing &lt;code&gt;trading_agent&lt;/code&gt; from the previous example). There’s nothing to edit in it: the project ID is read from your environment (via Application Default Credentials), and the staging bucket name is derived from it (&lt;code&gt;gs://${PROJECT_ID}-trading-agent&lt;/code&gt;), with the bucket created on first run if it doesn’t exist. Just point gcloud at the right project first:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Building a stock-trading agent with ADK</title>
      <link>https://dev.wdenniss.com/ap/1-agent/1.1-create-an-adk-agent/</link>
      <pubDate>Wed, 22 Apr 2026 11:17:03 -0700</pubDate>
      <guid>https://dev.wdenniss.com/ap/1-agent/1.1-create-an-adk-agent/</guid>
      <description>&lt;p&gt;The &lt;a href=&#34;https://adk.dev/&#34;&gt;Agent Development Kit&lt;/a&gt; (ADK) is Google’s open-source Python framework for building AI agents. You write the agent’s logic and the tools it can call, and ADK handles orchestrating everything — with evaluation and deployment built in too.&lt;/p&gt;&#xA;&lt;p&gt;I wanted a slightly more interesting app than Hello World to exercise more parts of the platform, so I figured I’d write a little stock trading agent that applies a sentiment momentum trading strategy. We’ll use ADK and the Gemini API to execute trades on &lt;a href=&#34;https://alpaca.markets/&#34;&gt;Alpaca&lt;/a&gt;, chosen for its REST API and free paper-trading account.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
