promptli-comms
SDKs, CLI and the agent-plugin gateway for Promptli Comms: email, SMS and phone calls for AI agents.
| Path | What |
|---|---|
sdk/python |
pip install promptli: async-first client (AsyncPromptli) + sync Promptli, typed models, webhook verification, Agent Link client, promptli CLI |
gateway |
promptli-gateway: runtime-agnostic plugin core (Agent Link → per-contact agent sessions, setup/bootstrap/doctor, autostart) |
spec |
Synced from the server's contracts/ (OpenAPI, errors, Agent Link protocol, signing vectors); never edit by hand |
Quick start
from promptli import Promptli
with Promptli() as p: # PROMPTLI_API_KEY from the environment
glow = p.identity("glow")
glow.send_email("jane@example.com", "Your booking", text="Confirmed for 3pm")
glow.provision_phone_number(region="NY")
glow.send_text("+15551234567", "Reminder: 3pm tomorrow")
import asyncio
from promptli import AsyncPromptli
async def main():
async with AsyncPromptli() as p:
async with p.identity("glow").link(instance="laptop") as link: # outbound WebSocket, no public URL
async for event in link:
print(event["type"], event["data"])
await link.ack(event)
asyncio.run(main())
CLI: promptli login, promptli whoami, promptli email send -i glow --to jane@example.com --subject Hi --text Hello,
promptli text send -i glow --to +15551234567 --text Hi, promptli events tail -i glow, promptli doctor -i glow.
Webhooks: from promptli import verify_webhook → verify_webhook(raw_body, headers, "whsec_…").
Development
uv sync
./scripts/generate_models.sh # after syncing spec/
uv run pytest # unit + conformance
PROMPTLI_API_KEY=psk_test_… PROMPTLI_BASE_URL=http://localhost:8000 uv run pytest -m live tests/live
Metadata
Release files for promptli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| promptli-0.1.0.tar.gz | 36.7 kB | With provenance | Details for promptli-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| promptli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for promptli-0.1.0-py3-none-any.whl |
Total release size: 76.5 kB
Release files / promptli-0.1.0.tar.gz
| Download URL | promptli-0.1.0.tar.gz |
|---|---|
| Size | 36.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b48a37ae40da79cb7116508aa5899f699c22b806b864b36adc2d256800f5067
|
|
BLAKE2b-256 checksum How to use checksums |
eb90089b2578eb557304428b967cc377ab8302cfcc78d0c643289667050fd020
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Oct 27, 2026.
Transparency logRelease files / promptli-0.1.0-py3-none-any.whl
| Download URL | promptli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 39.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4c7cb531f2fa725c91ff265c772226fdc4e63187e5788af9888c7a6d84f0af7
|
|
BLAKE2b-256 checksum How to use checksums |
d350b3027c6d902edc8a1924c80b059ee4e9a99161b57da1dafb890cd0ee5160
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Oct 27, 2026.
Transparency logSecurity for promptli 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for promptli-0.1.0.tar.gz
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 Oct 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.