Skip to main content

agent-wait-aws

AWS announce adapters for agent-wait.

pip install agent-wait-aws          # pulls in agent-wait and boto3
from agent_wait_aws import DynamoDbAnnounce, EventBridgeAnnounce, SnsAnnounce, SqsAnnounce
Adapter Where the question lands
SnsAnnounce(topic_arn) A topic. Policy tags become message attributes, so subscription filter policies can route on them.
SqsAnnounce(queue_url) A queue. On FIFO: MessageGroupId = thread_id, and MessageDeduplicationId is the stable dedupe key, so a republished question is swallowed.
EventBridgeAnnounce(bus) A bus, with the transition as detail-type. Notices partial failures, which PutEvents reports inside an HTTP 200.
DynamoDbAnnounce(table) A row. created writes it open, resumed marks it closed; a GSI on status gives an approvals UI its query with no broker involved.

Every one is a BaseAnnounce subclass with a single deliver() method, so a failure is a log line rather than a failed run. They are also the reference for writing your own: sqs.py is twenty lines.

The package also carries a CDK stack for the example agent — a FIFO queue, a topic, one Lambda, the checkpointer's table and an approvals table.

Full documentation: skamalj.github.io/agent-wait.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_wait_aws-0.2.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_wait_aws-0.2.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file agent_wait_aws-0.2.0.tar.gz.

File metadata

  • Download URL: agent_wait_aws-0.2.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_wait_aws-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d13bd3409a137e09046bd1f34d54d01732281b7133e4db1c5c4731227f62edaa
MD5 46f3f5a8e3938641a633bd8c25869ba9
BLAKE2b-256 8df83dca0310f2d5a684fce4a96cfb9d20f2865044563146beb872a35c49f696

See more details on using hashes here.

File details

Details for the file agent_wait_aws-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: agent_wait_aws-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_wait_aws-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 debdb3c2d05b5b653993d61638c8d5be8d4b44dcbb3a193e7882c92330e02aea
MD5 2757b45daf917212c0ffdcc8f12b04f3
BLAKE2b-256 3946b0ef446afef1b2419f242c2fcf6a6aa0516a91c15feb8aa64b19522b2459

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.1

2 files

This release

0.2.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page