<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Yurii Serhiichuk</title>
    <description>The latest articles on DEV Community by Yurii Serhiichuk (@xsavikx).</description>
    <link>https://dev.to/xsavikx</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3672298%2F5a4315d2-459d-4675-8775-9b0b75d3199b.jpg</url>
      <title>DEV Community: Yurii Serhiichuk</title>
      <link>https://dev.to/xsavikx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xsavikx"/>
    <language>en</language>
    <item>
      <title>Running AWS Emulator in Docker, on any arch, in CI</title>
      <dc:creator>Yurii Serhiichuk</dc:creator>
      <pubDate>Fri, 27 Nov 2026 20:37:44 +0000</pubDate>
      <link>https://dev.to/xsavikx/running-aws-emulator-in-docker-on-any-arch-in-ci-2ob6</link>
      <guid>https://dev.to/xsavikx/running-aws-emulator-in-docker-on-any-arch-in-ci-2ob6</guid>
      <description>&lt;p&gt;The original of this article is on my site: &lt;a href="https://serhiichuk.dev/blog/aws-emulator-container-image/?utm_source=devto&amp;amp;utm_medium=syndication&amp;amp;utm_campaign=aws-emulator-container-image" rel="noopener noreferrer"&gt;Running AWS Emulator in Docker, on any arch, in CI&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;So AWS released &lt;a href="https://github.com/aws/aws-emulator" rel="noopener noreferrer"&gt;AWS Emulator&lt;/a&gt; today, a local copy of the AWS APIs that the &lt;a href="https://www.allthingsdistributed.com/2026/11/aws-emulator-and-the-engineers-job-when-agents-write-the-code.html" rel="noopener noreferrer"&gt;Werner Vogels guest post&lt;/a&gt; says is "built from more than 400 API models covering more than 200 AWS services". You read the &lt;a href="https://aboutamazon.com/news/aws/how-autonomous-ai-agents-built-aws-emulator" rel="noopener noreferrer"&gt;announcement&lt;/a&gt;, you want it in your integration tests, and you go looking for the image to &lt;code&gt;docker run&lt;/code&gt;. And the &lt;a href="https://docs.aws.amazon.com/emulator/latest/userguide/getting-started-docker.html" rel="noopener noreferrer"&gt;Docker guide&lt;/a&gt; tells you this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;We don't publish a prebuilt image. You build one from a short Dockerfile that installs the Linux package.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The emulator runs natively only on Linux (x86_64 or aarch64, glibc 2.17+), so on macOS and Windows, Docker is the documented path and every one of us is now expected to build and maintain our own image. The Dockerfile in the guide hardcodes the &lt;code&gt;x86_64&lt;/code&gt; RPM too, so on Apple silicon you edit the &lt;code&gt;ADD&lt;/code&gt; line by hand.&lt;/p&gt;

&lt;p&gt;So I built one.&lt;/p&gt;

&lt;h2&gt;
  
  
  The image
&lt;/h2&gt;

&lt;p&gt;It lives at &lt;a href="https://github.com/xSAVIKx/aws-emulator-docker" rel="noopener noreferrer"&gt;github.com/xSAVIKx/aws-emulator-docker&lt;/a&gt;. The release workflow builds &lt;code&gt;linux/amd64&lt;/code&gt; and &lt;code&gt;linux/arm64&lt;/code&gt; and publishes them to GHCR, Docker Hub and Quay, all public. &lt;code&gt;latest&lt;/code&gt; follows the newest LTS release, a version tag such as &lt;code&gt;1.0.322.1&lt;/code&gt; stays on that release, and a &lt;code&gt;-debian&lt;/code&gt; suffix gives you the Debian-based variant:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker pull ghcr.io/xsavikx/aws-emulator:latest
docker pull docker.io/xsavikx/aws-emulator:1.0.322.1
docker pull quay.io/xsavikx/aws-emulator:debian
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is an unofficial community build, not affiliated with or endorsed by AWS. The image installs the same LTS package the guide installs and changes nothing about the emulator.&lt;/p&gt;

&lt;h2&gt;
  
  
  Running it with docker run
&lt;/h2&gt;

&lt;p&gt;The emulator writes per-run files (credentials, config and the CA) to &lt;code&gt;~/.aws/emulator/&amp;lt;port&amp;gt;/&lt;/code&gt;, and your SDK needs those files on the host. So you mount that directory and keep &lt;code&gt;HOME&lt;/code&gt; the same inside and outside the container:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;mkdir -p ~/.aws/emulator
&lt;span class="nv"&gt;PORT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;9297
&lt;span class="c"&gt;# Rootful Docker on Linux: keep the --user line. On macOS and Windows: remove it.&lt;/span&gt;
&lt;span class="c"&gt;# Rootless Docker: use --user 0:0 instead (see "Rootless Docker" below).&lt;/span&gt;
docker run -d --name aws-emulator --rm --memory=2g --memory-swap=2g -p 127.0.0.1:&lt;span class="nv"&gt;$PORT&lt;/span&gt;:&lt;span class="nv"&gt;$PORT&lt;/span&gt; \
  --user &lt;span class="s2"&gt;"$(id -u):$(id -g)"&lt;/span&gt; \
  -e &lt;span class="nv"&gt;HOME&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"$HOME"&lt;/span&gt; -e &lt;span class="nv"&gt;EMULATOR_TELEMETRY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;off -e &lt;span class="nv"&gt;EMULATOR_HEALTHCHECK_PORT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$PORT&lt;/span&gt; \
  -v &lt;span class="s2"&gt;"$HOME/.aws/emulator:$HOME/.aws/emulator"&lt;/span&gt; \
  ghcr.io/xsavikx/aws-emulator:1.0.322.1 -p &lt;span class="nv"&gt;$PORT&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I ran exactly this on my server (amd64, rootless Docker) with &lt;code&gt;--user 0:0&lt;/code&gt; in place of the &lt;code&gt;--user&lt;/code&gt; line. A few seconds later the container is healthy and the four per-run files are on the host, mode 0600 and owned by my user (I replaced the user and group names in the output):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;...
Digest: sha256:aae162c3df8a7f5343fb7c329caa5c6d982352ae2a893c719e7cbdc738cbbe10
Status: Downloaded newer image &lt;span class="k"&gt;for&lt;/span&gt; ghcr.io/xsavikx/aws-emulator:1.0.322.1
0624daff2fb1a08616fc7120fa97c5cb45d597a3b9541eed42777b1cb076b7f7
$ docker ps --filter &lt;span class="nv"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;aws-emulator
CONTAINER ID   IMAGE                                    COMMAND                  CREATED         STATUS                   PORTS                      NAMES
0624daff2fb1   ghcr.io/xsavikx/aws-emulator:1.0.322.1   &lt;span class="s2"&gt;"aws-emulator -b 0.0…"&lt;/span&gt;   6 seconds ago   Up 5 seconds &lt;span class="o"&gt;(&lt;/span&gt;healthy&lt;span class="o"&gt;)&lt;/span&gt;   127.0.0.1:9297-&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;9297/tcp   aws-emulator
$ ls -l ~/.aws/emulator/9297/
total 16
-rw------- 1 &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;user&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;group&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; 570 Nov 11 21:51 ca.pem
-rw------- 1 &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;user&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;group&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; 181 Nov 11 21:51 config
-rw------- 1 &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;user&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;group&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; 116 Nov 11 21:51 emulator_credentials
-rw------- 1 &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;user&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;group&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; 552 Nov 11 21:51 truststore.p12
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then point the AWS CLI at it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;AWS_ENDPOINT_URL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;https://127.0.0.1:9297
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;AWS_SHARED_CREDENTIALS_FILE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;~/.aws/emulator/9297/emulator_credentials
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;AWS_CONFIG_FILE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;~/.aws/emulator/9297/config
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;AWS_CA_BUNDLE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;~/.aws/emulator/9297/ca.pem
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;AWS_EC2_METADATA_DISABLED&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;AWS_DISABLE_HOST_PREFIX_INJECTION&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;AWS_REGION&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;us-west-2 &lt;span class="nv"&gt;AWS_DEFAULT_REGION&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;us-west-2
&lt;span class="kd"&gt;unset&lt;/span&gt; AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN AWS_PROFILE
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With those exports (AWS CLI 2.39.6) STS and an S3 round trip work:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;$ aws sts get-caller-identity
&lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="s2"&gt;"UserId"&lt;/span&gt;: &lt;span class="s2"&gt;"AIDAH5I7GEMO7ADXNFAZU"&lt;/span&gt;,
    &lt;span class="s2"&gt;"Account"&lt;/span&gt;: &lt;span class="s2"&gt;"000000000000"&lt;/span&gt;,
    &lt;span class="s2"&gt;"Arn"&lt;/span&gt;: &lt;span class="s2"&gt;"arn:aws:iam::000000000000:user/emulator"&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
$ aws s3 mb s3://my-test-bucket
make_bucket: my-test-bucket
...
$ aws s3 ls s3://my-test-bucket/
2026-11-11 21:51:57         28 hello.txt
$ aws s3 cp s3://my-test-bucket/hello.txt -
hello from the AWS Emulator
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After &lt;code&gt;docker stop&lt;/code&gt; the &lt;code&gt;9297/&lt;/code&gt; directory on the host is empty again.&lt;/p&gt;

&lt;p&gt;How fast does it start? From &lt;code&gt;docker run -d&lt;/code&gt; to the first HTTP 200 on &lt;code&gt;/__admin/health&lt;/code&gt;, with the image already pulled, it took &lt;strong&gt;0.72 s&lt;/strong&gt; on average on my server (amd64), &lt;strong&gt;0.42 s&lt;/strong&gt; on a GitHub &lt;code&gt;ubuntu-24.04&lt;/code&gt; runner and &lt;strong&gt;0.29 s&lt;/strong&gt; on &lt;code&gt;ubuntu-24.04-arm&lt;/code&gt; (five runs each).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Docker's own &lt;code&gt;healthy&lt;/code&gt; status shows up later than that, because it only changes when the image's &lt;code&gt;HEALTHCHECK&lt;/code&gt; runs, every 10 s.&lt;/p&gt;

&lt;h2&gt;
  
  
  The gotchas
&lt;/h2&gt;

&lt;p&gt;Most of these come from the &lt;a href="https://docs.aws.amazon.com/emulator/latest/userguide/getting-started-docker.html" rel="noopener noreferrer"&gt;Docker guide&lt;/a&gt;, the &lt;a href="https://docs.aws.amazon.com/emulator/latest/userguide/cli-reference.html" rel="noopener noreferrer"&gt;CLI reference&lt;/a&gt; and the &lt;a href="https://docs.aws.amazon.com/emulator/latest/userguide/point-sdk-to-emulator.html" rel="noopener noreferrer"&gt;SDK guide&lt;/a&gt;. Where I reproduced one, I say what I measured.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bind address.&lt;/strong&gt; The emulator binds &lt;code&gt;127.0.0.1&lt;/code&gt; by default, which Docker can't forward, so the image starts &lt;code&gt;aws-emulator -b 0.0.0.0&lt;/code&gt; and the emulator logs a WARN about it. That's fine inside the container. On the host side always publish on &lt;code&gt;127.0.0.1&lt;/code&gt;, because a plain &lt;code&gt;-p 9297:9297&lt;/code&gt; opens the emulator to your whole network.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Port.&lt;/strong&gt; The emulator names the per-run directory after the port and writes the port into the generated &lt;code&gt;config&lt;/code&gt;. So the host side of &lt;code&gt;-p&lt;/code&gt;, the container side of &lt;code&gt;-p&lt;/code&gt; and the emulator's own &lt;code&gt;-p&lt;/code&gt; must match, and &lt;code&gt;-p 0&lt;/code&gt; doesn't work in a container. The guide says two containers on the same inner port "replace and delete each other's files", and I checked it: two containers on inner port 9297 with the same mount (host ports 19410 and 19411). The second one replaced the key file, so with that key the first answered &lt;code&gt;InvalidClientTokenId&lt;/code&gt; and the second &lt;code&gt;000000000000&lt;/code&gt;. Then I stopped the second one and the &lt;code&gt;9297/&lt;/code&gt; directory went empty for both. If you change the port, also set &lt;code&gt;EMULATOR_HEALTHCHECK_PORT&lt;/code&gt; so the image's &lt;code&gt;HEALTHCHECK&lt;/code&gt; knocks on the right one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TLS.&lt;/strong&gt; The emulator serves HTTPS with a self-signed certificate it generates on each start and writes as &lt;code&gt;ca.pem&lt;/code&gt; and &lt;code&gt;truststore.p12&lt;/code&gt;, so whatever trusted yesterday's &lt;code&gt;ca.pem&lt;/code&gt; won't trust today's. The &lt;code&gt;ca_bundle&lt;/code&gt; in the generated &lt;code&gt;config&lt;/code&gt; is the path inside the container. Mirroring &lt;code&gt;$HOME&lt;/code&gt; like above makes the two paths match, but if you mount the directory anywhere else (the README's Windows command mounts it at &lt;code&gt;/home/emulator/.aws/emulator&lt;/code&gt;) they don't, and you set &lt;code&gt;AWS_CA_BUNDLE&lt;/code&gt; to the host path yourself. Node needs &lt;code&gt;NODE_EXTRA_CA_CERTS&lt;/code&gt;, Rust and .NET need &lt;code&gt;SSL_CERT_FILE&lt;/code&gt;, Java needs the &lt;code&gt;truststore.p12&lt;/code&gt;. Except for Node, these replace the default trust store, so that process can't reach real AWS anymore.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Auth.&lt;/strong&gt; SigV4 is on by default and the keys are new on each run, in &lt;code&gt;emulator_credentials&lt;/code&gt; (mode 0600) next to &lt;code&gt;config&lt;/code&gt;. That's why the mount matters. The README unsets &lt;code&gt;AWS_ACCESS_KEY_ID&lt;/code&gt;, &lt;code&gt;AWS_SECRET_ACCESS_KEY&lt;/code&gt;, &lt;code&gt;AWS_SESSION_TOKEN&lt;/code&gt; and &lt;code&gt;AWS_PROFILE&lt;/code&gt; so the SDK uses the emulator's keys and not yours. Use &lt;code&gt;127.0.0.1&lt;/code&gt;, not &lt;code&gt;localhost&lt;/code&gt;, in &lt;code&gt;AWS_ENDPOINT_URL&lt;/code&gt;, otherwise the JS, Java and Go SDKs switch to virtual-host S3 addressing. I tried it with the JS SDK (&lt;code&gt;@aws-sdk/client-s3&lt;/code&gt; 3.1167.0 on Node v26.13.0): &lt;code&gt;https://127.0.0.1&lt;/code&gt; listed the bucket, and &lt;code&gt;https://localhost&lt;/code&gt; failed with &lt;code&gt;Error: getaddrinfo ENOTFOUND js-localhost.localhost&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Region.&lt;/strong&gt; The &lt;a href="https://docs.aws.amazon.com/emulator/latest/userguide/what-is-service.html" rel="noopener noreferrer"&gt;docs&lt;/a&gt; say the emulator has one account (&lt;code&gt;000000000000&lt;/code&gt;) and is verified in &lt;code&gt;us-west-2&lt;/code&gt;, with global services in &lt;code&gt;us-east-1&lt;/code&gt;, and the generated &lt;code&gt;config&lt;/code&gt; sets &lt;code&gt;region = us-east-1&lt;/code&gt;. &lt;code&gt;AWS_REGION&lt;/code&gt; wins over that file, and other Regions work too. I tried &lt;code&gt;eu-central-1&lt;/code&gt;, &lt;code&gt;eu-west-1&lt;/code&gt;, &lt;code&gt;ap-southeast-2&lt;/code&gt;, &lt;code&gt;sa-east-1&lt;/code&gt; and &lt;code&gt;me-central-1&lt;/code&gt;: STS, S3 with a &lt;code&gt;LocationConstraint&lt;/code&gt;, SQS and DynamoDB all worked, and DynamoDB tables and SQS queues were separate per Region, like on AWS. It doesn't validate the name either, so &lt;code&gt;AWS_REGION=xx-fake-1&lt;/code&gt; happily gives you &lt;code&gt;arn:aws:dynamodb:xx-fake-1:000000000000:table/tbl&lt;/code&gt;. So a typo in the Region won't fail your tests the way it would against AWS.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Persistence.&lt;/strong&gt; There's none. All emulated resources live in memory. The mounted directory holds the per-run credentials, config and certificates (plus &lt;code&gt;config.toml&lt;/code&gt; and the telemetry ID one level up), and the emulator deletes the per-run files on a clean stop. There's no reset route and no snapshot, so restarting the container is your reset. Over the 2 GiB limit the container is killed with exit code 137 and takes the state with it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rootless Docker.&lt;/strong&gt; On rootful Docker, &lt;code&gt;--user "$(id -u):$(id -g)"&lt;/code&gt; makes the files belong to you, and the guide recommends it on Linux. On my rootless Docker the same flag with the bind mount failed with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;emulator serve failed: server I/O error: Permission denied (os error 13)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Container UIDs map to other host UIDs there, and leaving &lt;code&gt;--user&lt;/code&gt; out fails with the same error. What works is &lt;code&gt;--user 0:0&lt;/code&gt;: on rootless Docker container root maps to your own user, so the emulator can write to the mount and the files on the host belong to you (that's the &lt;code&gt;ls -l&lt;/code&gt; above). Either way, create &lt;code&gt;~/.aws/emulator&lt;/code&gt; before the first run, or Docker creates it as root and your SDK can't read the files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Telemetry.&lt;/strong&gt; Upstream sends anonymous usage telemetry by default and the image doesn't change that. Pass &lt;code&gt;-e EMULATOR_TELEMETRY=off&lt;/code&gt; to &lt;code&gt;docker run&lt;/code&gt;. Exporting it in your own shell doesn't reach the container.&lt;/p&gt;

&lt;h2&gt;
  
  
  Docker Compose
&lt;/h2&gt;

&lt;p&gt;The repository ships a &lt;a href="https://github.com/xSAVIKx/aws-emulator-docker/blob/main/compose.yaml" rel="noopener noreferrer"&gt;&lt;code&gt;compose.yaml&lt;/code&gt;&lt;/a&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;aws-emulator&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ghcr.io/xsavikx/aws-emulator:latest&lt;/span&gt;
    &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"-p"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"9297"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="na"&gt;user&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"${UID_GID:-1000:1000}"&lt;/span&gt;
    &lt;span class="na"&gt;environment&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;HOME&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${HOME}&lt;/span&gt;
      &lt;span class="na"&gt;EMULATOR_TELEMETRY&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${EMULATOR_TELEMETRY:-on}&lt;/span&gt;
    &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"127.0.0.1:9297:9297"&lt;/span&gt;
    &lt;span class="na"&gt;volumes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s"&gt;${HOME}/.aws/emulator:${HOME}/.aws/emulator&lt;/span&gt;
    &lt;span class="na"&gt;mem_limit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;2g&lt;/span&gt;
    &lt;span class="na"&gt;memswap_limit&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;2g&lt;/span&gt;
    &lt;span class="na"&gt;restart&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"no"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;mkdir -p ~/.aws/emulator
&lt;span class="c"&gt;# Rootless Docker: UID_GID=0:0&lt;/span&gt;
&lt;span class="nv"&gt;UID_GID&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"$(id -u):$(id -g)"&lt;/span&gt; &lt;span class="nv"&gt;EMULATOR_TELEMETRY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;off docker compose up
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here Compose passes &lt;code&gt;EMULATOR_TELEMETRY&lt;/code&gt; from your shell into the container, unlike plain &lt;code&gt;docker run&lt;/code&gt;. On rootless Docker I ran it with &lt;code&gt;UID_GID=0:0&lt;/code&gt; and &lt;code&gt;up -d&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;$ &lt;span class="nv"&gt;UID_GID&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;0:0 &lt;span class="nv"&gt;EMULATOR_TELEMETRY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;off docker compose up -d
...
 Container compose-aws-emulator-1 Started
$ docker compose ps
NAME                     IMAGE                                 COMMAND                  SERVICE        CREATED         STATUS                   PORTS
compose-aws-emulator-1   ghcr.io/xsavikx/aws-emulator:latest   &lt;span class="s2"&gt;"aws-emulator -b 0.0…"&lt;/span&gt;   aws-emulator   6 seconds ago   Up 5 seconds &lt;span class="o"&gt;(&lt;/span&gt;healthy&lt;span class="o"&gt;)&lt;/span&gt;   127.0.0.1:9297-&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;9297/tcp
$ docker compose logs
...
aws-emulator-1  &lt;span class="o"&gt;|&lt;/span&gt; This emulator collects usage and error telemetry: disabled &lt;span class="o"&gt;(&lt;/span&gt;via &lt;span class="nv"&gt;EMULATOR_TELEMETRY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;off&lt;span class="o"&gt;)&lt;/span&gt; — to turn it back on, remove every opt-out setting and restart
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This setup is for tests and tools on the host that call &lt;code&gt;https://127.0.0.1:9297&lt;/code&gt;. A second container on the same Compose network that calls the emulator by its service name doesn't work. The emulator's certificate only names &lt;code&gt;localhost&lt;/code&gt;, &lt;code&gt;127.0.0.1&lt;/code&gt; and &lt;code&gt;::1&lt;/code&gt;, so the AWS CLI in the &lt;code&gt;amazon/aws-cli&lt;/code&gt; image fails with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SSL validation failed for https://aws-emulator:19402/ hostname 'aws-emulator' doesn't match either of 'localhost', '127.0.0.1', '0:0:0:0:0:0:0:1'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Path-style S3 fails with the same TLS error, and virtual-hosted style can't even resolve &lt;code&gt;https://net-bucket4.aws-emulator:19402/&lt;/code&gt;. What worked is running the client container in the emulator's network namespace (&lt;code&gt;docker run --network container:&amp;lt;emulator&amp;gt;&lt;/code&gt;) with the endpoint &lt;code&gt;https://127.0.0.1:&amp;lt;port&amp;gt;&lt;/code&gt;: STS, &lt;code&gt;s3 mb&lt;/code&gt; and &lt;code&gt;s3 ls&lt;/code&gt; passed. In Compose that would be &lt;code&gt;network_mode: service:aws-emulator&lt;/code&gt; on the client service, which I haven't tested.&lt;/p&gt;

&lt;h2&gt;
  
  
  GitHub Actions
&lt;/h2&gt;

&lt;p&gt;This is the part I built the image for. The shortest way is the &lt;a href="https://github.com/marketplace/actions/run-aws-emulator" rel="noopener noreferrer"&gt;Run AWS Emulator&lt;/a&gt; action I published next to the image:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;integration&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt; &lt;span class="c1"&gt;# or ubuntu-24.04-arm for arm64
&lt;/span&gt;    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/checkout@v7&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;xSAVIKx/run-aws-emulator@v1&lt;/span&gt;
        &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ghcr.io/xsavikx/aws-emulator:1.0.322.1-20261111.12&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;make integration-test&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It starts the image, waits until it's healthy and exports &lt;code&gt;AWS_ENDPOINT_URL&lt;/code&gt;, the credentials and config files and the CA for the AWS CLI and every SDK. It sets &lt;code&gt;NODE_EXTRA_CA_CERTS&lt;/code&gt; for Node, and for Rust, .NET and Java it builds combined trust files (the system CAs plus the emulator's CA) behind &lt;code&gt;SSL_CERT_FILE&lt;/code&gt; and &lt;code&gt;JAVA_TOOL_OPTIONS&lt;/code&gt;, so Maven, NuGet or crates.io downloads in the same job keep working. Its inputs cover the image, the port, the Region (default &lt;code&gt;us-east-1&lt;/code&gt;), memory and telemetry (off by default).&lt;/p&gt;

&lt;p&gt;If you'd rather see the moving parts, here's the same thing as one plain step that starts the emulator, waits for it and hands the settings to the next steps through &lt;code&gt;$GITHUB_ENV&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;integration&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt; &lt;span class="c1"&gt;# or ubuntu-24.04-arm for arm64, same image
&lt;/span&gt;    &lt;span class="na"&gt;env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;EMU_PORT&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"9297"&lt;/span&gt;
      &lt;span class="na"&gt;EMU_IMAGE&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ghcr.io/xsavikx/aws-emulator:1.0.322.1@sha256:743172fa4509c73580af3fdd1a40fbd7eb7f91b98e19bc84e5c9595e9ce04487&lt;/span&gt;
    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Start AWS Emulator&lt;/span&gt;
        &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt;
          &lt;span class="s"&gt;D="$HOME/.aws/emulator/$EMU_PORT"&lt;/span&gt;
          &lt;span class="s"&gt;mkdir -p "$HOME/.aws/emulator"&lt;/span&gt;
          &lt;span class="s"&gt;docker run -d --name aws-emulator -p "127.0.0.1:$EMU_PORT:$EMU_PORT" \&lt;/span&gt;
            &lt;span class="s"&gt;--user "$(id -u):$(id -g)" -e HOME="$HOME" -e EMULATOR_TELEMETRY=off \&lt;/span&gt;
            &lt;span class="s"&gt;-e EMULATOR_HEALTHCHECK_PORT="$EMU_PORT" \&lt;/span&gt;
            &lt;span class="s"&gt;-v "$HOME/.aws/emulator:$HOME/.aws/emulator" "$EMU_IMAGE" -p "$EMU_PORT"&lt;/span&gt;
          &lt;span class="s"&gt;timeout 60 sh -c "until curl -sf --cacert $D/ca.pem https://127.0.0.1:$EMU_PORT/__admin/health; do sleep 1; done"&lt;/span&gt;
          &lt;span class="s"&gt;cat &amp;gt;&amp;gt; "$GITHUB_ENV" &amp;lt;&amp;lt;EOF&lt;/span&gt;
          &lt;span class="s"&gt;AWS_ENDPOINT_URL=https://127.0.0.1:$EMU_PORT&lt;/span&gt;
          &lt;span class="s"&gt;AWS_SHARED_CREDENTIALS_FILE=$D/emulator_credentials&lt;/span&gt;
          &lt;span class="s"&gt;AWS_CONFIG_FILE=$D/config&lt;/span&gt;
          &lt;span class="s"&gt;AWS_CA_BUNDLE=$D/ca.pem&lt;/span&gt;
          &lt;span class="s"&gt;AWS_DISABLE_HOST_PREFIX_INJECTION=true&lt;/span&gt;
          &lt;span class="s"&gt;AWS_REGION=us-west-2&lt;/span&gt;
          &lt;span class="s"&gt;EOF&lt;/span&gt;

      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;make integration-test&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A longer version of this job, with separate steps, a log dump on failure and STS plus an S3 round trip in place of &lt;code&gt;make&lt;/code&gt;, is &lt;a href="https://github.com/xSAVIKx/aws-emulator-docker/blob/main/.github/workflows/example-integration.yml" rel="noopener noreferrer"&gt;&lt;code&gt;example-integration.yml&lt;/code&gt;&lt;/a&gt; in the image repository, and &lt;a href="https://github.com/xSAVIKx/aws-emulator-docker/actions/runs/43106485098" rel="noopener noreferrer"&gt;its run&lt;/a&gt; passed on &lt;code&gt;ubuntu-24.04&lt;/code&gt; and &lt;code&gt;ubuntu-24.04-arm&lt;/code&gt;. I ran the shorter step above on my server too (with &lt;code&gt;--user 0:0&lt;/code&gt; for rootless Docker), and STS and S3 worked against it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb6ctrfsdnvvbukttx231.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb6ctrfsdnvvbukttx231.png" alt="The GitHub Actions summary of run 43106485098 of example-integration.yml: status Success, total duration 40s, both jobs integration (ubuntu-24.04) and integration (ubuntu-24.04-arm) green" width="799" height="283"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A few notes on it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Pin a build tag or a digest. The release workflow re-tags &lt;code&gt;1.0.322.1&lt;/code&gt; and &lt;code&gt;1.0.322&lt;/code&gt; on every push to &lt;code&gt;main&lt;/code&gt; that touches the image, so a version tag can move even when the upstream version doesn't. And it already did: &lt;code&gt;1.0.322.1&lt;/code&gt; pointed at five different builds on launch day while the upstream version stayed &lt;code&gt;1.0.322.1&lt;/code&gt;. That's why every build now also gets its own tag that never moves, like &lt;code&gt;1.0.322.1-20261111.12&lt;/code&gt; (and &lt;code&gt;1.0.322.1-20261111.12-debian&lt;/code&gt;). &lt;code&gt;latest&lt;/code&gt; and &lt;code&gt;lts&lt;/code&gt; also move every time AWS ships a new version.&lt;/li&gt;
&lt;li&gt;Know what the pin costs you. The &lt;a href="https://docs.aws.amazon.com/emulator/latest/userguide/versioning.html" rel="noopener noreferrer"&gt;versioning page&lt;/a&gt; says "We publish security fixes only in the latest release", and AWS's own agent skill says "Always use the &lt;code&gt;latest&lt;/code&gt; package; do not pin a version." A digest pin keeps your tests stable, and bumping it is on you.&lt;/li&gt;
&lt;li&gt;Keep &lt;code&gt;--cacert&lt;/code&gt; in the wait loop. It only passes once &lt;code&gt;ca.pem&lt;/code&gt; exists and the TLS handshake against it works, which is the same thing your SDK will need.&lt;/li&gt;
&lt;li&gt;Don't set &lt;code&gt;AWS_ACCESS_KEY_ID&lt;/code&gt; or &lt;code&gt;AWS_PROFILE&lt;/code&gt; anywhere in the job env, or the SDK uses them instead of the emulator's credentials file.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;--user&lt;/code&gt; line assumes rootful Docker, which is what the GitHub-hosted runners have, and the CI run used it as written.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The GHCR package page a few minutes after those runs shows the second move, with &lt;code&gt;aae162c3…&lt;/code&gt; left without tags:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxb3b92lv604q446mnm0x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxb3b92lv604q446mnm0x.png" alt="The GHCR package page of aws-emulator, recent tagged image versions: one digest with latest, lts, 1.0.322, 1.0.322.1, 1 and 1.0, one with the -debian tags, and the older digest aae162c3 now without tags" width="750" height="554"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When a test fails, don't expect much from &lt;code&gt;docker logs&lt;/code&gt;. In my tests most requests wrote no log line at all, and the error text comes back in the API response instead. An operation that isn't implemented returns 501 &lt;code&gt;NotImplemented&lt;/code&gt;, as the &lt;a href="https://docs.aws.amazon.com/emulator/latest/userguide/fidelity.html" rel="noopener noreferrer"&gt;fidelity page&lt;/a&gt; says, and two other results surprised me:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;$ aws sqs create-queue --queue-name demo-queue
&lt;span class="o"&gt;{&lt;/span&gt;
    &lt;span class="s2"&gt;"QueueUrl"&lt;/span&gt;: &lt;span class="s2"&gt;"https://sqs.us-west-2.amazonaws.com/000000000000/demo-queue"&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
$ docker logs aws-emulator   &lt;span class="c"&gt;# lines written for the request above&lt;/span&gt;
...
$ aws s3control list-access-points --account-id 000000000000

aws: &lt;span class="o"&gt;[&lt;/span&gt;ERROR&lt;span class="o"&gt;]&lt;/span&gt;: Could not connect to the endpoint URL: &lt;span class="s2"&gt;"https://000000000000.127.0.0.1:9297/v20180820/accesspoint"&lt;/span&gt;
$ docker logs aws-emulator   &lt;span class="c"&gt;# lines written for the request above&lt;/span&gt;
$ aws gamelift list-fleets

aws: &lt;span class="o"&gt;[&lt;/span&gt;ERROR&lt;span class="o"&gt;]&lt;/span&gt;: An error occurred &lt;span class="o"&gt;(&lt;/span&gt;NotImplemented&lt;span class="o"&gt;)&lt;/span&gt; when calling the ListFleets operation: operation ListFleets is scaffolded but not implemented &lt;span class="k"&gt;in&lt;/span&gt; this emulator
$ docker logs aws-emulator   &lt;span class="c"&gt;# lines written for the request above&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;S3 Control puts the account ID in front of the host, so the request never reaches the emulator, and the SQS queue URL points at the real &lt;code&gt;sqs.us-west-2.amazonaws.com&lt;/code&gt; host name. That last one bites the JS SDK v3: it sends SQS calls to the host in the queue URL, so they went to real AWS and failed with &lt;code&gt;InvalidClientTokenId&lt;/code&gt;. &lt;code&gt;new SQSClient({ useQueueUrlAsEndpoint: false })&lt;/code&gt; keeps them on the emulator. Python, Go, Java, .NET and Rust used &lt;code&gt;AWS_ENDPOINT_URL&lt;/code&gt; without any extra setting. The fidelity page also says the emulator matches AWS most closely for control plane APIs, and code runs only in Lambda, for Python and Node.js zip packages (&lt;a href="https://github.com/aws/aws-emulator/issues/3" rel="noopener noreferrer"&gt;issue #3&lt;/a&gt;). So check that the services and operations your tests call are covered before you delete the moto or LocalStack setup you have today.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the image is built and kept current
&lt;/h2&gt;

&lt;p&gt;The guide's &lt;code&gt;ADD&lt;/code&gt; then &lt;code&gt;RUN rm&lt;/code&gt; pattern leaves the &lt;strong&gt;166 MB&lt;/strong&gt; RPM in a layer anyway. So a &lt;code&gt;fetch&lt;/code&gt; stage downloads it and the runtime stage installs it through &lt;code&gt;RUN --mount=type=bind&lt;/code&gt;, and the RPM never lands in the image. My first try mounted it under &lt;code&gt;/tmp&lt;/code&gt;, which failed with &lt;code&gt;rm: cannot remove '/tmp/aws-emulator.rpm': Device or resource busy&lt;/code&gt;, so it lives under &lt;code&gt;/mnt/pkg&lt;/code&gt; now. &lt;code&gt;TARGETARCH&lt;/code&gt; picks the &lt;code&gt;x86_64&lt;/code&gt; or &lt;code&gt;aarch64&lt;/code&gt; package, and each architecture builds on a native GitHub runner without QEMU.&lt;/p&gt;

&lt;p&gt;Every hour a scheduled workflow reads &lt;code&gt;versions.json&lt;/code&gt; from the &lt;a href="https://docs.aws.amazon.com/emulator/latest/userguide/versioning.html" rel="noopener noreferrer"&gt;versioning page&lt;/a&gt; and builds only if that version isn't on GHCR yet. Its first job records the SHA-256 of each package, the &lt;code&gt;fetch&lt;/code&gt; stage checks it, and then &lt;code&gt;rpmkeys --checksig&lt;/code&gt; checks the signature against the AWS "SSM Publishing" key (fingerprint &lt;code&gt;98BC F336 A3BE 53B7 34E9 67C5 2E5B F49B D940 F624&lt;/code&gt;) committed in the repository, so a changed key fails the build. The Debian variant installs the &lt;code&gt;.deb&lt;/code&gt; on &lt;code&gt;debian:trixie-slim&lt;/code&gt; and checks its detached &lt;code&gt;.sig&lt;/code&gt; with &lt;code&gt;gpg&lt;/code&gt;. Pushes that only change docs, the site or the example workflows don't republish, thanks to &lt;code&gt;paths-ignore&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Base images are pinned by digest and every &lt;code&gt;uses:&lt;/code&gt; by SHA. Each published image gets an SBOM, SLSA provenance (&lt;code&gt;mode=max&lt;/code&gt;), a keyless &lt;a href="https://github.com/sigstore/cosign" rel="noopener noreferrer"&gt;cosign&lt;/a&gt; signature and a GitHub build attestation. Trivy scans &lt;code&gt;latest&lt;/code&gt; on every push to &lt;code&gt;main&lt;/code&gt; and Dependabot watches the repository.&lt;/p&gt;

&lt;p&gt;For the first release the registry shows &lt;strong&gt;305 MiB&lt;/strong&gt; compressed for amd64 and &lt;strong&gt;291 MiB&lt;/strong&gt; for arm64. Uncompressed on the GitHub runners the &lt;code&gt;743172fa…&lt;/code&gt; image is &lt;strong&gt;1.07 GB&lt;/strong&gt; on amd64 (1074631603 bytes) and &lt;strong&gt;1.01 GB&lt;/strong&gt; on arm64 (1013029040 bytes). The 1.4 GB I saw on my server comes from a different image store.&lt;/p&gt;

&lt;p&gt;Both checks below pass. Use cosign v3: v2.5.3 says "no signatures found" for the same digest, because the workflow signs in the newer bundle format.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cosign verify ghcr.io/xsavikx/aws-emulator:latest \
  --certificate-identity-regexp &lt;span class="s1"&gt;'^https://github.com/xSAVIKx/aws-emulator-docker/'&lt;/span&gt; \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

gh attestation verify oci://ghcr.io/xsavikx/aws-emulator:latest --owner xSAVIKx
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For working tests in your language, the repository has &lt;a href="https://github.com/xSAVIKx/aws-emulator-docker/tree/main/examples" rel="noopener noreferrer"&gt;examples&lt;/a&gt; for Python (pytest and Boto3), TypeScript (Vitest and JS SDK v3), Java (JUnit 5), Go, C# (xUnit) and Rust. Each one covers STS, S3, DynamoDB, SQS, SNS to SQS and Secrets Manager, and all of them pass in CI on amd64 and arm64.&lt;/p&gt;

&lt;p&gt;If something in your setup breaks, a gotcha I missed or a platform that misbehaves, open an &lt;a href="https://github.com/xSAVIKx/aws-emulator-docker/issues" rel="noopener noreferrer"&gt;issue&lt;/a&gt; and I'll look at it. The upstream repository &lt;a href="https://github.com/aws/aws-emulator" rel="noopener noreferrer"&gt;doesn't take PRs&lt;/a&gt;, so emulator bugs go to its issue tracker, not mine. And the next post covers the build pipeline in detail, with the numbers from the first real CI runs.&lt;/p&gt;




&lt;p&gt;Originally published at &lt;a href="https://serhiichuk.dev/blog/aws-emulator-container-image/?utm_source=devto&amp;amp;utm_medium=syndication&amp;amp;utm_campaign=aws-emulator-container-image" rel="noopener noreferrer"&gt;serhiichuk.dev&lt;/a&gt;, where the post also carries an FAQ this copy leaves out.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>docker</category>
      <category>githubactions</category>
      <category>testing</category>
    </item>
    <item>
      <title>Your llms.txt guide is out of date: what v2 changed</title>
      <dc:creator>Yurii Serhiichuk</dc:creator>
      <pubDate>Mon, 24 Aug 2026 12:28:52 +0000</pubDate>
      <link>https://dev.to/xsavikx/your-llmstxt-guide-is-out-of-date-what-v2-changed-job</link>
      <guid>https://dev.to/xsavikx/your-llmstxt-guide-is-out-of-date-what-v2-changed-job</guid>
      <description>&lt;p&gt;&lt;em&gt;TL;DR: llms.txt v2 landed on 10 August 2026, and two of the things the guides taught you about the format are no longer true.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The spec moved and nobody said anything
&lt;/h2&gt;

&lt;p&gt;So you added an llms.txt at some point, most likely from a guide, and it's been sitting at the root of your site ever since doing whatever it is that it does. &lt;a href="https://llmstxt.org/" rel="noopener noreferrer"&gt;llmstxt.org&lt;/a&gt; now reads "The /llms.txt file, v2" and carries a modified date of 10 August 2026. The whole v1 to v2 diff lives on a separate &lt;a href="https://llmstxt.org/changes.html" rel="noopener noreferrer"&gt;changes page&lt;/a&gt;, which the spec links exactly once, in a single sentence in the Background, and that's the only pointer to it you're going to get.&lt;/p&gt;

&lt;p&gt;Which means every guide written before that date describes v1 as current, because it was. That's not a criticism of the guides. The problem is the shape of this particular topic: you write your llms.txt once, the article that told you how to write it keeps ranking, and nothing anywhere tells a reader that the ground moved under it.&lt;/p&gt;

&lt;p&gt;I searched for how to write an llms.txt file while writing this, eleven days after v2 landed, and nothing on the first page of results mentions v2. Several of them carry 2026 in the title and were written this year. One from &lt;a href="https://www.2pointagency.com/blog/how-to-write-llms-txt/" rel="noopener noreferrer"&gt;6 May&lt;/a&gt; still tells you the &lt;code&gt;Optional&lt;/code&gt; block is "reserved for lower-priority content the parser can safely skip when context windows are tight". That is the first of the two things that stopped being true.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two things you were told that are no longer true
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The Optional section does not mean what you think
&lt;/h3&gt;

&lt;p&gt;v1 came with a tool called &lt;code&gt;llms_txt2ctx&lt;/code&gt; that expanded an llms.txt file into a context for a model, and the &lt;code&gt;Optional&lt;/code&gt; section was an instruction to that tool: these are the links you drop when the context has to be shorter. That's where "put your secondary links under Optional and agents will skip them" comes from. The tool is no longer part of the proposal, and the meaning left with it.&lt;/p&gt;

&lt;p&gt;Verbatim from the changes page:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The context-expansion tooling is no longer part of the proposal, and with it&lt;br&gt;
goes the special meaning of the &lt;code&gt;Optional&lt;/code&gt; section, which told those tools&lt;br&gt;
what to omit. Optional sections are still allowed, and remain a useful&lt;br&gt;
convention for secondary links, but they no longer carry mechanical&lt;br&gt;
semantics.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;So if you structured your file around Optional because a guide told you agents skip it, they never did. The skipping was one local tool's behaviour and never a promise any agent made, and now it's not in the spec either. It's a name for a section, a useful one that the spec still recommends, but only a name.&lt;/p&gt;

&lt;p&gt;In my opinion this is barely a loss and mostly a correction. A mechanical &lt;code&gt;Optional&lt;/code&gt; was only ever real inside &lt;code&gt;llms_txt2ctx&lt;/code&gt;, and I've never seen an agent read that heading and act on it, so v2 removing the semantics changes what your file means on paper and nothing about what happens to it in practice. The thing left over is worth saying out loud though: there is now no way at all to tell an agent "this part is skippable", and that was a genuinely useful thing to be able to say.&lt;/p&gt;

&lt;h3&gt;
  
  
  "Zero or more" means zero
&lt;/h3&gt;

&lt;p&gt;v2's Format section lists the parts of the file, and the H2 file lists are "Zero or more markdown sections delimited by H2 headers". The H1 is the one thing that has to be there, and the spec says so directly: it is "the only required section". So a file that is an H1, a blockquote summary and a paragraph of context, with no H2 anywhere in it, is a conformant llms.txt.&lt;/p&gt;

&lt;p&gt;Plenty of tooling reports that as a spec violation. Mine did. The validator I put up on 12 August, two days after v2 landed, flagged "No H2 sections" with its basis set to &lt;code&gt;spec&lt;/code&gt;, and in the same run it told you the &lt;code&gt;Optional&lt;/code&gt; section was reserved by the spec for secondary links. Both of those were wrong on the day they shipped, and both were fixed on the 16th. A file with no H2 sections is still a file an agent can do nothing with, so it's worth a warning, but the warning is about practice and not about the spec, and labelling it wrong is how you get people restructuring files that were fine.&lt;/p&gt;

&lt;h2&gt;
  
  
  What v2 actually adds
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Link relations for discovery.&lt;/strong&gt; This is the one the changes page says people asked for most. Given a page, how does a client find its markdown version, or the llms.txt that covers it, without guessing at URLs? v2 answers with standard relations:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="err"&gt;Link: &amp;lt;/docs/page.html.md&amp;gt;; rel="alternate"; type="text/markdown", &amp;lt;/docs/llms.txt&amp;gt;; rel="describedby"
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;rel="alternate" type="text/markdown"&lt;/code&gt; points at a page's markdown version and &lt;code&gt;rel="describedby"&lt;/code&gt; points at the llms.txt file that covers it. The clause worth reading twice is that these "can be provided as HTML &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; elements, or as an HTTP &lt;code&gt;Link:&lt;/code&gt; response header. The header form also works for non-HTML resources, such as the markdown files themselves, and can be added in web server or CDN configuration without modifying any pages." So if you run a docs site behind a CDN you can ship the whole discovery half of v2 without touching a single page or redeploying anything.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Both markdown-twin URL forms are legal.&lt;/strong&gt; v1 allowed only &lt;code&gt;page.html.md&lt;/code&gt;, appending &lt;code&gt;.md&lt;/code&gt; to the full page URL. v2 also allows &lt;code&gt;page.md&lt;/code&gt; with the extension replaced, plus &lt;code&gt;index.html.md&lt;/code&gt; or &lt;code&gt;index.md&lt;/code&gt; for URLs without a filename. Publishing tools were already emitting the second form, and the spec blessed it rather than fighting it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Subpath files finally mean something.&lt;/strong&gt; v1 let you put an llms.txt at any path and said nothing about what that path implied. v2 does:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A file covers the URLs under its path, and where more than one file applies,&lt;br&gt;
agents should use the most specific one.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That's also what lets you take part when you control a path and not the origin root. A GitHub Pages project site can never write into the host's &lt;code&gt;/.well-known/&lt;/code&gt;, but it can put an llms.txt in its own directory and have that mean something.&lt;/p&gt;

&lt;p&gt;Worth being precise about what that rule is and is not. It is not a search: an agent does not walk up the tree asking for files until one answers. Every file whose path is a prefix of the page's URL covers that page, and where several do, the longest path wins:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhqzhxrdbkuhzmwesjcfw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhqzhxrdbkuhzmwesjcfw.png" alt="Two llms.txt files against two pages: the root file covers every URL on the host and is the only one that applies to /r2/buckets/, while /workers/llms.txt also covers /workers/runtime-apis/ and, being the more specific file, is the one an agent uses there" width="799" height="381"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Mermaid source for the diagram&lt;/p&gt;
&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart TB
    page["A page at&amp;lt;br&amp;gt;/workers/runtime-apis/"]
    other["A page at&amp;lt;br&amp;gt;/r2/buckets/"]
    root["/llms.txt&amp;lt;br&amp;gt;covers every URL on the host"]
    workers["/workers/llms.txt&amp;lt;br&amp;gt;covers /workers/ and below"]

    root -. "applies, but is less specific" .-&amp;amp;gt; page
    workers == "applies and is the most specific — an agent uses this one" ==&amp;amp;gt; page
    root == "the only file that applies" ==&amp;amp;gt; other

    classDef file fill:#dbe7fe,stroke:#2563eb,stroke-width:1px,color:#0f172a
    classDef url fill:#f2f5fa,stroke:#94a3b8,stroke-width:1px,color:#0f172a
    class root,workers file
    class page,other url&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Both files genuinely cover &lt;code&gt;/workers/runtime-apis/&lt;/code&gt;. The root one does not stop covering it because a deeper file exists — it is still the file that describes the rest of the host, and the deeper file wins only for the URLs beneath its own path.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who actually does this
&lt;/h2&gt;

&lt;p&gt;I checked these with curl on 21 August 2026:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Site&lt;/th&gt;
&lt;th&gt;Root&lt;/th&gt;
&lt;th&gt;Subpath&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;developers.cloudflare.com&lt;/td&gt;
&lt;td&gt;200, 15,906 bytes&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;/workers/llms.txt&lt;/code&gt; 200, 82,671 bytes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;docs.stripe.com&lt;/td&gt;
&lt;td&gt;200, 89,857 bytes&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;docs.astro.build&lt;/td&gt;
&lt;td&gt;404&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Cloudflare is the one worth dwelling on. &lt;strong&gt;15,906 bytes&lt;/strong&gt; at the root and &lt;strong&gt;82,671 bytes&lt;/strong&gt; under &lt;code&gt;/workers/&lt;/code&gt; is the subpath rule doing its job in production: a small index for the whole developer site, and a big section-specific file for the part a coding agent is most likely to be deep inside already. Ask about Workers, get the Workers file, and the root file still covers everything the deeper one does not.&lt;/p&gt;

&lt;p&gt;Here's what that pair looks like from the inside, checked from the page itself:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn77zujdop5td6d0o3roy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn77zujdop5td6d0o3roy.png" alt="The llms.txt checker open beside developers.cloudflare.com/workers/, reporting that one less specific llms.txt file sits above this one and offering to check /llms.txt as well" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The note tagged &lt;code&gt;spec&lt;/code&gt; is the v2 rule stated back at you: the file at &lt;code&gt;/workers/&lt;/code&gt; covers the URLs under &lt;code&gt;/workers/&lt;/code&gt;, the root file covers everything, and an agent standing on this page takes the more specific one. Which file wins is a question you can only ask from a page, because the answer depends on which page you are standing on.&lt;/p&gt;

&lt;p&gt;One curiosity while you're in there: llmstxt.org serves its own &lt;code&gt;/llms.txt&lt;/code&gt; as &lt;code&gt;text/plain&lt;/code&gt;. The spec says nothing about content types so nothing is broken, but if your checker treats anything other than &lt;code&gt;text/markdown&lt;/code&gt; as a failure, it's going to fail the spec's own file.&lt;/p&gt;

&lt;h2&gt;
  
  
  Astro removed theirs
&lt;/h2&gt;

&lt;p&gt;Astro deleted its files in &lt;a href="https://github.com/withastro/docs/pull/13538" rel="noopener noreferrer"&gt;withastro/docs#13538&lt;/a&gt;, titled "[i18nIgnore] Remove &lt;code&gt;llms.txt&lt;/code&gt; files", merged on 20 April 2026. &lt;code&gt;llms-full.txt&lt;/code&gt; and &lt;code&gt;llms-small.txt&lt;/code&gt; went, and &lt;code&gt;docs.astro.build/llms.txt&lt;/code&gt; is a 404 today as well. The stated reason is the one that should worry you if you maintain a docs site:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;we've seen little uptake recently in usage — these files get very little traffic&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;They chose to put the effort into their &lt;a href="https://github.com/withastro/docs-mcp" rel="noopener noreferrer"&gt;MCP server&lt;/a&gt; instead, "and perhaps in the future offer per-page Markdown content", then signed off with "AI trends move quickly". The PR also shows what the files were costing them, flagged as "anecdotal obviously": two Netlify builds, 5m 6s with the files and 4m 22s without.&lt;/p&gt;

&lt;p&gt;Two dates matter here. The removal is April and v2 is August, so what Astro measured was v1, and v1 gave an agent no way to find the file other than guessing the URL. Discovery is the exact hole v2 spends most of its new text filling. So I wouldn't read "very little traffic" as a verdict on the idea. I read it as a verdict on a file nobody could find.&lt;/p&gt;

&lt;p&gt;That half-sentence about per-page Markdown aged strangely well. Astro walked out in April saying what they'd rather have is Markdown per page. Four months later the headline additions in v2 are markdown twins per page, plus the link relations that make them findable.&lt;/p&gt;

&lt;p&gt;What v2 still doesn't do, and I'm not sure a text file at a well-known path ever can, is give an agent a reason to prefer your llms.txt over just fetching the page. Astro's answer to that was MCP, where the agent is handed the tool rather than having to go looking for a file, and that's a stronger position than a filename convention has ever been. Both things can be true: v2 is a real improvement, and the harder question is still open.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to do about it
&lt;/h2&gt;

&lt;p&gt;None of this takes long. If your file has an Optional section that you picked for mechanical reasons, keep the name if you like it but stop expecting it to do anything. If your pages have markdown twins, add the relations: one &lt;code&gt;&amp;lt;link rel="describedby"&amp;gt;&lt;/code&gt; and one &lt;code&gt;&amp;lt;link rel="alternate" type="text/markdown"&amp;gt;&lt;/code&gt;, or the same thing as a &lt;code&gt;Link:&lt;/code&gt; header at the CDN if you'd rather not go near the templates. serhiichuk.dev emits the &lt;code&gt;describedby&lt;/code&gt; one on every page. And if your docs live under a path, an llms.txt at that path now has a defined meaning, so a large section-specific file sitting next to a small root one is a shape the spec understands rather than a shape you're getting away with.&lt;/p&gt;

&lt;p&gt;What none of it buys you is search ranking. No engine has said it uses llms.txt for anything, and anyone who tells you otherwise is guessing.&lt;/p&gt;

&lt;p&gt;I keep a checker for all of this at &lt;a href="https://serhiichuk.dev/tools/llms-txt/" rel="noopener noreferrer"&gt;serhiichuk.dev/tools/llms-txt&lt;/a&gt; — it validates against v2 and labels every finding as spec, convention or hygiene, so you can decide which ones you care about. There's &lt;a href="https://serhiichuk.dev/tools/llms-txt/#extension" rel="noopener noreferrer"&gt;a Chrome extension&lt;/a&gt; as well, which runs the same rules against the tab you're on. That one exists because half of v2 is discovery, and the link relations live on the page rather than in the file — so a checker that only ever fetches a URL is looking in the wrong place for them. It also reaches what a hosted checker cannot: a staging host, an intranet address, anything that is not on the open internet.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>seo</category>
      <category>documentation</category>
      <category>llmstxt</category>
    </item>
    <item>
      <title>Building an Autonomous SRE Agent with Google ADK and the Antigravity SDK</title>
      <dc:creator>Yurii Serhiichuk</dc:creator>
      <pubDate>Thu, 09 Jul 2026 16:58:44 +0000</pubDate>
      <link>https://dev.to/gde/building-an-autonomous-sre-agent-with-google-adk-and-the-antigravity-sdk-1fgl</link>
      <guid>https://dev.to/gde/building-an-autonomous-sre-agent-with-google-adk-and-the-antigravity-sdk-1fgl</guid>
      <description>&lt;p&gt;One of the most stressful parts of being an on-call engineer is triaging a production incident in the middle of the night. Modern distributed systems amplify the pain with extra cognitive overload of, well, the distributed systems: logs scattered across dozens of microservices, traces potentially stored in multiple different locations and a dozen of observability tools and dashboards on hand. While this (usually) makes total sense for SREs to design and develop this the way it is (maybe because of the costs or being knowledgeable in this or that tool, or just optimizing for a particular concern), this adds a lot of load for any on-call engineer.&lt;/p&gt;

&lt;p&gt;So in era of AI, it makes total sense to get some aid from the autonomous and smart systems that are fine-tuned for your setup, that remember all the bits and pieces that are suitable for your infrastructure.&lt;/p&gt;

&lt;p&gt;In this post I'm trying to go over a blueprint of such an autonomous SRE system - an AI agent that can be hosted near your main system and fine tuned to work with a set of tools you use.&lt;/p&gt;

&lt;p&gt;I will be using Google &lt;a href="https://adk.dev/" rel="noopener noreferrer"&gt;&lt;strong&gt;Agent Development KIT (ADK)&lt;/strong&gt;&lt;/a&gt; for multi-agent diagnostic &lt;em&gt;reasoning&lt;/em&gt; and &lt;a href="https://antigravity.google/product/antigravity-sdk" rel="noopener noreferrer"&gt;&lt;strong&gt;Google Antigravity SDK&lt;/strong&gt;&lt;/a&gt; for the agent &lt;em&gt;runtime&lt;/em&gt; - tool wiring, easy-to-apply safety policies and agentic orchestration. The setup will be deployed as a set of Google Cloud Run services but while being containerized can be easily ported to any other containerized platform. The entire stack runs locally as well with &lt;strong&gt;zero GCP credentials&lt;/strong&gt; in a mock-telemetry mode, so you can try it in under a minute.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Core Architecture: Reasoning + Safety
&lt;/h2&gt;

&lt;p&gt;A proper SRE assistant has to get two things right at once: &lt;strong&gt;reasoning orchestration&lt;/strong&gt; (which diagnostic step happens when) and &lt;strong&gt;environmental safety&lt;/strong&gt; (the agent must never be able to mutate production while it pokes around). The blueprint splits these concerns across four small Fast API services that talk to each other over &lt;a href="https://a2a-protocol.org/latest/" rel="noopener noreferrer"&gt;Agent-To-Agent protocol&lt;/a&gt; with results being streamed back as &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events" rel="noopener noreferrer"&gt;Server-Sent Events (SSE)&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv2yubd6sawo7c6i2xbjc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv2yubd6sawo7c6i2xbjc.png" alt="Architecture: the Orchestrator's only capability is to delegate to the read-only SRE sub-agent" width="800" height="1354"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm using Google Antigravity SDK as an orchestrator and front-facing agent while it provides superior safety gates out of the box and is smart-enough to handle user requests.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;safety_policies&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="nf"&gt;deny&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;*&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;  &lt;span class="c1"&gt;# nothing is allowed by default
&lt;/span&gt;    &lt;span class="nf"&gt;allow&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;diagnose_sre&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# …except delegating to the SRE sub-agent
&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The config above basically gates whatever tools we want to allow for the agent to use.&lt;/p&gt;

&lt;p&gt;And Google ADK agents fulfill the diagnostic workflows. ADK v2 which I am using is graph-based and the SRE sub-agent runs two-node graph:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;TraceAnalyzer&lt;/strong&gt; - scans recent trace summaries, filters for transactions that errrored or breached the latency budget (&amp;gt;5000ms), and isolates the single failing &lt;code&gt;traceId&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LogCorrelator&lt;/strong&gt; pulls the spans and the logs tagged with that &lt;code&gt;traceId&lt;/code&gt;, then reasons over them with metric queries, cascade analysis, and post-mortem generation tools to produce the root-case report.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The third agent is an inventory agent that aids the SRE with aggregated knowledge of resources available in the GCP project. This helps grounding diagnostics and makes sure the agent works against particular resources instead of trying to look around too much.&lt;/p&gt;




&lt;h2&gt;
  
  
  Anatomy of a Diagnosis
&lt;/h2&gt;

&lt;p&gt;When an alert fires, here's what actually is going to happen end to end from the on-call prompt to a finished post-mortem.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqyj8h1ho0pzr9xuij0rr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqyj8h1ho0pzr9xuij0rr.png" alt="End-to-end diagnosis sequence from alert to post-mortem" width="800" height="437"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Orchestrator does the one thing its policy allows: it hands the problem to the SRE sub-agent and steps back. From there the sub-agent streams its progress back as Server-Sent Events, so the on-call engineer watches the investigation unfold live instead of waiting on a spinner.&lt;/p&gt;

&lt;p&gt;It starts by pulling the project topology — which services exist, how they call each other, and where their databases sit — from the Inventory agent's Firestore-backed cache; that map tells the diagnosis where to look. It then fetches the recent traces and runs them through the two-node graph: &lt;code&gt;TraceAnalyzer&lt;/code&gt; collapses thousands of spans down to the single failing trace worth investigating, and &lt;code&gt;LogCorrelator&lt;/code&gt; pulls every span and log line sharing that trace's ID to name the actual root cause — not just &lt;em&gt;"the database was slow,"&lt;/em&gt; but which span failed, with which error, and why.&lt;/p&gt;

&lt;p&gt;Only then does it run the cascade analysis and draft the post-mortem, streaming the finished report back through the Orchestrator to the chat UI, where it lands as a rendered dashboard with a one-click download.&lt;/p&gt;

&lt;p&gt;The beauty of such approach is extensibility of the setup. You can add new sub-agents or expand existing tools easily with ADK and A2A protocol.&lt;/p&gt;




&lt;h2&gt;
  
  
  Deep Dive: Cascade Latency &amp;amp; Bottleneck Analysis
&lt;/h2&gt;

&lt;p&gt;In order to showcase the agent, I have also built another Fast API service that emulates real database errors with timeout exceptions and telemetry spans. As it is just a simulation, quite a lot of actual problems are quite similar to this one and frequently the initial gateways/backends latency or errors are hidden downstream. But of course this is a textbook example still: a gateway request that looks 10-second-slow, but where 99% of the time is actually trapped in a database call three levels down.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fddi3p30ktkl37pa495ng.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fddi3p30ktkl37pa495ng.png" alt="Trace waterfall: gateway, backend and database all look ~10s inclusive; the database is the real bottleneck" width="800" height="249"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;All three spans look ~10 s slow (inclusive), but the red /api/database bar is where the time is actually spent.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The cascade-analysis tool builds the span parent/child map and computes, for every span:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Inclusive duration&lt;/strong&gt; — wall-clock time of the span including its children.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exclusive (self) duration&lt;/strong&gt; — the active time spent in that span alone:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;ExclusiveTime(s) = InclusiveTime(s) - sum of InclusiveTime(children)&lt;/p&gt;

&lt;p&gt;The span with the largest exclusive time is the true bottleneck. Here is the &lt;strong&gt;actual, verified output&lt;/strong&gt; from incident simulator (available in the repo):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;### 🔍 Span Latency Breakdown
Service / Span Name     Span ID             Parent ID           Status   Inclusive Time   Exclusive (Self) Time   Contribution
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
/api/gateway            span-gateway-111    None                ERROR    10270 ms         20 ms                   0.2%
  └── /api/backend      span-backend-222    span-gateway-111    ERROR    10250 ms         50 ms                   0.5%
      └── /api/database span-database-333   span-backend-222    ERROR    10200 ms         10200 ms                99.3%

### 🚨 Identified Bottleneck
*   Bottleneck Span:     /api/database (span-database-333)
*   Self-Execution Time: 10200 ms (99.3% of total trace)
*   Status:              ERROR
*   Error Message:       ConnectionTimeoutError: Failed to connect to db-primary.gcp.internal:5432 after 10000ms
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The gateway and backend each look "slow" at 10 s inclusive, but their &lt;em&gt;self&lt;/em&gt; time is a rounding error. The agent ignores the noise and points straight at &lt;code&gt;/api/database&lt;/code&gt; — 99.3% of the budget, burned in a single connection timeout.&lt;/p&gt;




&lt;h2&gt;
  
  
  Automated Post-Mortem &amp;amp; One-Click Export
&lt;/h2&gt;

&lt;p&gt;Diagnosis is only half the job; the deliverable on-call engineers actually need is a &lt;strong&gt;post-mortem&lt;/strong&gt;. After the cascade analysis, a post-mortem generator drafts a complete Markdown document with an Incident Overview (time, root service, Trace ID, impact duration), a Timeline, a Root Cause Analysis, and a Prevention Plan — all populated from the real trace and log data.&lt;/p&gt;

&lt;p&gt;That Markdown is then rendered via &lt;a href="https://a2ui.org/" rel="noopener noreferrer"&gt;A2UI protocol&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1rmdbugccn6x3uibgmpj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1rmdbugccn6x3uibgmpj.png" alt="Post-mortem markdown flows through a translator to a client-side download button" width="796" height="65"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;From SRE report markdown to a one-click, client-side post-mortem download.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A server-side translator spots the post-mortem heading and appends a download-button component; the browser renders it as a styled button that builds the file entirely in the browser — no server round-trip — from the Markdown it already holds.&lt;/p&gt;

&lt;p&gt;One click exports &lt;code&gt;post_mortem.md&lt;/code&gt;, ready to drop into your incident-review wiki.&lt;/p&gt;

&lt;p&gt;And here is how this actually looks like in the deployed UI.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3w9z61mtbj361a66o5en.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3w9z61mtbj361a66o5en.png" alt="SRE agent chat UI" width="800" height="568"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  Least-Privilege IAM on Cloud Run
&lt;/h2&gt;

&lt;p&gt;Handing an autonomous agent unrestricted cloud access is a non-starter. The deploy pipeline gives each Cloud Run service its &lt;strong&gt;own service account&lt;/strong&gt; with the narrowest possible role set:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx6jfesymipmbx8xenzpg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fx6jfesymipmbx8xenzpg.png" alt="Least-privilege IAM: a write-only app service account vs a read-only agent service account" width="800" height="877"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The write-only target app and the read-only SRE agent can never act on each other's plane.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The split is the whole point: the app that &lt;em&gt;generates&lt;/em&gt; the chaos can only ever &lt;strong&gt;write&lt;/strong&gt; telemetry, and the agent that &lt;em&gt;investigates&lt;/em&gt; it can only ever &lt;strong&gt;read&lt;/strong&gt;. Neither can act on the other's plane. (The deploy also provisions an &lt;code&gt;inventory-agent-sa&lt;/code&gt; for topology discovery and a dedicated &lt;code&gt;sre-build-sa&lt;/code&gt; for Cloud Build, each similarly scoped.)&lt;/p&gt;


&lt;h2&gt;
  
  
  Try It Yourself in 60 Seconds
&lt;/h2&gt;

&lt;p&gt;You can run the entire scan → correlate → analyze → post-mortem loop locally. &lt;strong&gt;No GCP account or credentials required.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# 1. Clone the repo&lt;/span&gt;
git clone https://github.com/xSAVIKx/sre-agent.git
&lt;span class="nb"&gt;cd &lt;/span&gt;sre-agent

&lt;span class="c"&gt;# 2. Install uv and sync the workspace (app, agent, sre_agent, inventory_agent, sre_common)&lt;/span&gt;
pip &lt;span class="nb"&gt;install &lt;/span&gt;uv
uv &lt;span class="nb"&gt;sync&lt;/span&gt; &lt;span class="nt"&gt;--all-packages&lt;/span&gt;

&lt;span class="c"&gt;# 3. Run the incident simulation&lt;/span&gt;
uv run simulate_incident.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The simulation triggers a database-timeout incident in the target app, writes mock traces and logs to &lt;code&gt;mock_telemetry_data/&lt;/code&gt;, boots the Orchestrator in mock mode, runs the diagnostic workflow in-process, and prints the report to your terminal. You will see the structured telemetry logs (gateway → backend → database, ending in a &lt;code&gt;CRITICAL ConnectionTimeoutError&lt;/code&gt;) followed by the full diagnosis: the &lt;strong&gt;99.3% &lt;code&gt;/api/database&lt;/code&gt; bottleneck table&lt;/strong&gt; and the complete &lt;strong&gt;&lt;code&gt;# 🚨 Incident Post-Mortem&lt;/code&gt;&lt;/strong&gt; shown above.&lt;/p&gt;

&lt;p&gt;Want the full multi-service experience with the web chat UI? &lt;code&gt;docker-compose up --build&lt;/code&gt; brings up the Orchestrator, SRE agent, Inventory agent, a Firestore emulator, and the target app together — then open the chat at &lt;code&gt;/chat&lt;/code&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Project Resources
&lt;/h2&gt;

&lt;p&gt;The complete, runnable source — plus a step-by-step &lt;a href="https://github.com/xSAVIKx/sre-agent/blob/HEAD/CODELAB.md" rel="noopener noreferrer"&gt;&lt;strong&gt;CODELAB&lt;/strong&gt;&lt;/a&gt; that builds this from scratch — lives on GitHub:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;👉 &lt;a href="https://github.com/xSAVIKx/sre-agent" rel="noopener noreferrer"&gt;github.com/xSAVIKx/sre-agent&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>sre</category>
      <category>antigravity</category>
    </item>
    <item>
      <title>Open Knowledge Format - portable digital map of your data as code</title>
      <dc:creator>Yurii Serhiichuk</dc:creator>
      <pubDate>Mon, 15 Jun 2026 07:38:08 +0000</pubDate>
      <link>https://dev.to/gde/open-knowledge-format-portable-digital-map-of-your-data-as-code-26n9</link>
      <guid>https://dev.to/gde/open-knowledge-format-portable-digital-map-of-your-data-as-code-26n9</guid>
      <description>&lt;p&gt;Yesterday Google dropped an &lt;a href="https://cloud.google.com/blog/products/data-analytics/how-the-open-knowledge-format-can-improve-data-sharing" rel="noopener noreferrer"&gt;article&lt;/a&gt; describing an interesting idea - a portable format for knowledge sharing as markdown. This is not new or unique (llm wiki, obsidian values and even agents/claude.md are similar concepts). What stands out here is the openness of the proposed standard (also, just a v0.1 draft now) and actual ability of Google to make it a de-facto standard.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb3hr9dpq0h2nnhbtdhsi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb3hr9dpq0h2nnhbtdhsi.png" alt="OKF google blog post" width="799" height="611"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;I've spent quite some time as GDE and AI integrator helping teams wire data into the LLM agents, and I keep hitting the same wall. The model is brilliant and the data is right there, but the &lt;strong&gt;knowledge about the data&lt;/strong&gt;  - what a table means, how a metric is defined or why a column was deprecated is, unfortunately, scattered across hundreds of different places. Something is available in company google docs or drive, the other things are available directly in readme and the extra missing piece is actually in that one engineer's head. Unfortunately, we can't write a connector for the last piece, but as Sam McVeety and Amir Hormati highlights in the blogpost we can at least help the agents (and developers) navigate through such knowledge better by introducing some shared and well known way of sharing the knowledge. And don't get me wrong, almost every team has probably already solved this in that or another proprietary way, rebuilding that same plumbing again and again from scratch.&lt;/p&gt;

&lt;p&gt;OKF's wager against that mess is almost provocatively simple. If you can &lt;code&gt;cat&lt;/code&gt; a file, you can read it. If you can &lt;code&gt;git clone&lt;/code&gt; a repository, you can ship it. The spec only enforces one field to be explicitly provided - type&amp;nbsp;, and that's exactly the trick: standardize only the smallest possible interoperability surface while leaving everything else to the people producing the data.&lt;/p&gt;




&lt;p&gt;The reference repository indeed provides only the bare minimum - a pretty simple &lt;a href="https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/4c40ef103cd7dd9ca978bbb190fc795cfde4f7c3/okf/SPEC.md" rel="noopener noreferrer"&gt;spec&lt;/a&gt;, example agent (which is BigQuery-oriented and pretty opinionated) and some sample bundles. And while this is a great starter pack, the idea of OKF how I see it is that knowledge lives &lt;em&gt;everywhere&lt;/em&gt;. My SQLite file has knowledge. My Postgres instance has knowledge. My &lt;code&gt;~/notes&lt;/code&gt; folder and my Git history as well. If OKF is going to be a lingua franca, it needs producers for the messy real data the most of us actually work with, and it needs consumers that are not tied to any one vendor's agent.&lt;/p&gt;

&lt;p&gt;So I built that: the &lt;a href="https://github.com/xSAVIKx/okf-skills" rel="noopener noreferrer"&gt;OKF Skills&lt;/a&gt;, a vendor-neutral fleet of producers and consumers for OKF.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftksrewfbhyhlcajxzfb8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftksrewfbhyhlcajxzfb8.png" alt="OKF viz screenshot" width="800" height="434"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;The idea is simple - any source in, any agent out.&lt;/p&gt;

&lt;p&gt;What I built already is just a small baseline that I hope would be useful moving forward. That's six connectors - SQLite, MySQL, PostgreSQL, BigQuery, the local file system and Git. Each is a single portable Go binary with the same three commands: &lt;code&gt;produce&lt;/code&gt; a bundle from the source, &lt;code&gt;ingest&lt;/code&gt; a bundle to verify it (or --sync curated descriptions back to the source), and &lt;code&gt;schema&lt;/code&gt; to describe itself. The SQL connectors can embed a per-column data profile and sample rows right in the concept docs.&lt;/p&gt;

&lt;p&gt;Then three guidance skills with zero extra runtime. &lt;code&gt;reader&lt;/code&gt; teaches an agent how to traverse any OKF bundle cheaply (index first, frontmatter only, grep before you read). The &lt;code&gt;enricher&lt;/code&gt; teaches your harness to write good descriptions grounded in the schema, profile, and samples. And finally the &lt;code&gt;producer-generator&lt;/code&gt; to bootstrap other connectors real fast.&lt;/p&gt;

&lt;p&gt;I also decided to rebuild the visualizer Google team embedded into their agent. The &lt;code&gt;viz&lt;/code&gt; renders any bundle into a single self-contained index.html near your OKF data. It produces a three-pane explorer with an interactive graph, navigator and content reader. Now there's no need to reach for Google-provided agent just to create a visualization if you just want that.&lt;/p&gt;

&lt;p&gt;Finally, there's the mcp server that is capable of discovering every installed connector and exposes them as relevant tools. Point Claude Code or Antigravity at it and you're ready to rock. You can install all of them today with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx skills add xSAVIKx/okf-skills
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now you should be able to just ask your harness nicely to create, enrich and visualize the OKF bundle.&lt;/p&gt;




&lt;p&gt;I hope this agentic tooling would allow the community to embrace the new format and truly make it a widely used standard. And also warmly welcome any new contributions to the existing connectors.&lt;/p&gt;

&lt;p&gt;Useful links:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://cloud.google.com/blog/products/data-analytics/how-the-open-knowledge-format-can-improve-data-sharing" rel="noopener noreferrer"&gt;Introducing the Open Knowledge Format&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/GoogleCloudPlatform/knowledge-catalog/tree/main/okf" rel="noopener noreferrer"&gt;OKF GitHub repo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/xSAVIKx/okf-skills" rel="noopener noreferrer"&gt;OKF-skills repo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://xsavikx.github.io/okf-skills" rel="noopener noreferrer"&gt;OKF-skills visualization demo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>agentskills</category>
      <category>openknowledgeformat</category>
      <category>googlecloud</category>
    </item>
  </channel>
</rss>
