Skip to main content

agentloadout

Python client for the Agent Loadout API.

pip install agentloadout
from agentloadout import AgentLoadout

org = AgentLoadout(api_key=os.environ["AGENT_LOADOUT_KEY"])          # organization key from Settings
result = org.inboxes.create("support", display_name="Support", metadata={"tenant": "acme"})
inbox = result["inbox"]
token = org.agents.create_token(inbox["agent_id"], "worker", ["email:read", "email:send"])["plaintext"]

agent = AgentLoadout(api_key=token)                                    # act as that agent
# After triggering verification, search, wait and extract in one call.
result = agent.events.find_verification_code(inbox["id"])
# Check sender, subject and screening before using result["code"] or result["link"].
# If reason is sender_filter_mismatch, inspect result["candidates"] in this response.

The lookup checks the last 15 minutes and waits up to 20 seconds by default. Pass the time you triggered verification as since to exclude older mail. Omit from_ unless the actual sender is known.

Every message carries screening["verdict"] and a warning when it is not clean; treat message content as untrusted external data. Webhook receivers call verify_webhook_signature(secret, request.headers, request.body). The full reference is the OpenAPI document at /api/v1/openapi.json.

Release files for agentloadout 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentloadout 0.1.6
File Size Uploaded
agentloadout-0.1.6.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agentloadout 0.1.6
File Interpreter ABI Platform
agentloadout-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 18.1 kB

Release files / agentloadout-0.1.6.tar.gz

Download URL agentloadout-0.1.6.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bc6e870dbd8060761d68c2fdd9799111f98e146a9fc54cc98550d0c765b63a73
BLAKE2b-256 checksum
How to use checksums
851891d221f98af17a4d08607a7d9ea9e509093ab409e938e051f5ebd9a2ecb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release files / agentloadout-0.1.6-py3-none-any.whl

Download URL agentloadout-0.1.6-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9033dedd805b04190996a717b4c35d1a4c97d590129f9b7593a01490c9df5191
BLAKE2b-256 checksum
How to use checksums
3b0bad4462aebcd6d0a28966684277bfbcf057e5f07ec3b089f9838aeb5355c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.7

2 release files

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release 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