Browse / Agent tools
messagebird/bird-sdk-python
The official Python SDK for the Bird API: email, SMS, WhatsApp, verification, and Realtime on one typed client.
- ai-agents
- api
- bird
- cpaas
- email-api
- python
- realtime
- sdk
- sms
- sms-api
- verify
- webhooks
- whatsapp-api
Needs keys or hardware.Tested on 2026-11-17. From the README alone, on Linux with Haiku.
For maintainers
Fix your README for agents
Paste this prompt into Claude Code, Codex, or your coding agent to fix the exact setup issue Coldpass recorded.
Improve the README and setup experience of messagebird/bird-sdk-python so a small coding agent can install and verify it from scratch on a fresh Linux machine (Python 3, Node 22, standard tools).
Latest Coldpass Linux status: Needs keys or hardware (BIRD_API_KEY, tested 2026-11-17).
Please:
1. List all required environment variables, keys, logins, or hardware clearly at the top of the README (and add a .env.example if env vars are needed).
2. If possible, add a keyless local dry-run, mock, or fixture mode documented in the README so developers and agents can verify installation without live credentials.
3. Keep install and first-use commands copy-pasteable with pinned dependencies.
Also review the recorded check notes (possible secrets, known vulnerabilities) and address any unintended dependency advisories or committed sample tokens.Shareable status badge
Add a live Coldpass Linux verification badge to your README.
[](https://coldpass.dev/repo/messagebird--bird-sdk-python/)Static status badge · SVG · read-only JSON
What we checked
Is it safe?Review first. Found: possible secrets, known vulnerabilities.Each check
- Malware: not checked on every setup (its lockfile dependencies and the packages installed during our run).
- Secrets in its files: 20 possible hardcoded secrets found by gitleaks (values and locations withheld, 18 of them in test, fixture or vendored files).
- Known vulnerabilities in its dependencies: 50 OSV advisories: anyio 4.13.0 (GHSA-5p39-cfhj-2xmp); anyio 4.13.0 (GHSA-82r6-8w77-94w6); anyio 4.13.0 (PYSEC-2026-4024); anyio 4.13.0 (PYSEC-2026-4025); certifi 2026.5.20 (GHSA-6q48-6c7w-9gw2); certifi 2026.5.20 (PYSEC-2026-4320); django 5.2.15 (GHSA-3h9f-r86x-qvjx); django 5.2.15 (GHSA-8qcx-xf44-272x); django 5.2.15 (GHSA-crhf-3pfg-w68w); django 5.2.15 (GHSA-q238-5cxm-5c9h); django 5.2.15 (GHSA-wvqv-fj8w-qmhm); django 5.2.15 (PYSEC-2026-2090); django 5.2.15 (PYSEC-2026-2091); django 5.2.15 (PYSEC-2026-2092); django 5.2.15 (PYSEC-2026-3717); django 5.2.15 (PYSEC-2026-4035); django 6.0.6 (GHSA-3h9f-r86x-qvjx); django 6.0.6 (GHSA-8qcx-xf44-272x); django 6.0.6 (GHSA-crhf-3pfg-w68w); django 6.0.6 (GHSA-q238-5cxm-5c9h); django 6.0.6 (GHSA-wvqv-fj8w-qmhm); django 6.0.6 (PYSEC-2026-2090); django 6.0.6 (PYSEC-2026-2091); django 6.0.6 (PYSEC-2026-2092); django 6.0.6 (PYSEC-2026-3717); django 6.0.6 (PYSEC-2026-4035); pip 24.0 (GHSA-4xh5-x5gv-qwph); pip 24.0 (GHSA-58qw-9mgm-455v); pip 24.0 (GHSA-6vgw-5pg2-w6jp); pip 24.0 (GHSA-jp4c-xjxw-mgf9); pip 24.0 (GHSA-qwm4-qh6w-59xr); pip 24.0 (GHSA-wf93-45jw-7689); pip 24.0 (PYSEC-2026-1795); pip 24.0 (PYSEC-2026-1796); pip 24.0 (PYSEC-2026-196); pip 24.0 (PYSEC-2026-2875); pip 24.0 (PYSEC-2026-2876); pip 24.0 (PYSEC-2026-3721); sqlparse 0.5.5 (GHSA-3496-9g83-7v6x); sqlparse 0.5.5 (GHSA-cfqr-cjx5-5jcm); sqlparse 0.5.5 (GHSA-f2ff-p2ww-7p4p); sqlparse 0.5.5 (GHSA-prg7-hcfm-mfcr); sqlparse 0.5.5 (GHSA-pwgv-4x5q-6m9f); sqlparse 0.5.5 (PYSEC-2026-3696); sqlparse 0.5.5 (PYSEC-2026-3697); sqlparse 0.5.5 (PYSEC-2026-3698); sqlparse 0.5.5 (PYSEC-2026-3699); sqlparse 0.5.5 (PYSEC-2026-3923); werkzeug 3.1.8 (GHSA-g6x2-hccm-hh4m); werkzeug 3.1.8 (PYSEC-2026-4312). Packages installed during our run were not checked for ordinary vulnerabilities on every setup.
- Lines that download and run a program: none found in its source.
- Planted fake secret files: repo code opened none.
- Planted fake credential: not seen in unencrypted outgoing traffic. Encrypted traffic can't be read.
- Hosts the repo's own code contacted: none. Not recorded for Haiku.
From our newest run of each setup (Nov 17, 2026, Nov 27, 2026). A quiet run is not a safety guarantee.
Can a small agent set it up?Not tested (Haiku, BIRD_API_KEY)The run
Stuck at: /bin/bash -c 'o=$(mktemp);e=$(mktemp);/bin/bash --noprofile --norc -c "$1" </dev/null >"$o" 2>"$e";c=$?;cat "$o";cat "$e" >&2;rm -f "$o" "$e";exit $c' coldpass 'exec /usr/bin/env -i USER=agent LOGNAME=agent USERNAME=agent <email> '"'"'GIT_AUTHOR_NAME=Coldpass Cold Agent'"'"' <email> '"'"'GIT_COMMITTER_NAME=Coldpass Cold Agent'"'"' <email> GIT_CONFIG_NOSYSTEM=1 GIT_CONFIG_SYSTEM=/dev/null GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_COUNT=5 GIT_CONFIG_KEY_0=user.name '"'"'GIT_CONFIG_VALUE_0=Coldpass Cold Agent'"'"' GIT_CONFIG_KEY_1=user.email <email> GIT_CONFIG_KEY_2=user.useConfigOnly GIT_CONFIG_VALUE_2=true GIT_CONFIG_KEY_3=credential.helper GIT_CONFIG_VALUE_3= GIT_CONFIG_KEY_4=safe.directory '"'"'GIT_CONFIG_VALUE_4=*'"'"' HOME=<guest-path> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 SHELL=/bin/bash <env-var>=<guest-path> XDG_CONFIG_HOME=<guest-path> NPM_CONFIG_CACHE=/var<guest-path> PIP_CACHE_DIR=/var<guest-path> CARGO_HOME=/var<guest-path> GOCACHE=/var<guest-path> GOMODCACHE=/var<guest-path> /bin/bash --noprofile --norc -c '"'"'cd <guest-path> && cd <guest-path> && cat > .coldpass/claims.json <<'"'"'"'"'"'"'"'"'EOF'"'"'"'"'"'"'"'"' [{"kind":"claim","claim":"Official Python SDK for the Bird API covering email, SMS, WhatsApp, verification and Realtime","source":"The official Python SDK for the [Bird](https://bird.com) API: email, SMS, WhatsApp, verification, and Realtime, over one typed client.","testable":false,"reason":"prerequisite","needs":"user key"},{"kind":"claim","claim":"Bird() with no arguments works when BIRD_API_KEY is set","source":"`api_key` and `base_url` fall back to the `BIRD_API_KEY` / `BIRD_BASE_URL` environment variables, so `Bird()` with no arguments works when they are set.","testable":false,"reason":"prerequisite","needs":"user key"}] EOF mkdir -p .coldpass && cat > .coldpass/report.json <<'"'"'"'"'"'"'"'"'EOF'"'"'"'"'"'"'"'"' {"outcome":"needs_credentials","fault_owner":"prerequisite","operation":"Install messagebird-sdk from the pinned source and exercise a Bird API call","operation_scope":"Python SDK client construction and a documented example; no live Bird API key available in the guest","steps":["git init; git remote add origin https://github.com/messagebird/bird-sdk-python; git fetch --depth 1 origin 0e937d75b93792d9209d51ceef5a449c7b1818ea; git reset --mixed FETCH_HEAD","python3 -m venv .venv (Python 3.12.3, README requires 3.10+)",".venv/bin/pip install -q -e .","env -u BIRD_API_KEY .venv/bin/python examples/quickstart-email.py (exit 1, BirdError: configure api_key=)"],"dependencies":["python3 3.12.3","pip/venv","httpx and pydantic via pyproject"],"readme_differences":["README install uses pip install messagebird-sdk; the pinned checkout was installed editable from source instead"],"deviations":["No BIRD_API_KEY or Bird API key in the guest, so no live email/SMS/WhatsApp/lookup/realtime call could be made","Generated module emits a pydantic UserWarning for field '"'"'"'"'"'"'"'"'schema'"'"'"'"'"'"'"'"' (cosmetic)"],"stuck_step":null,"stuck_kind":null,"missing":"key_or_login","main_blocker":"Bird API key (BIRD_API_KEY) required for live API calls; the documented missing-key path raises BirdError as expected","plain_failure":"Requires a user Bird API key; the offline behavior verified is the documented BirdError when no key is configured.","suggested_fix":"Provide a Bird API key (BIRD_API_KEY) in the guest to run quickstart-email.py against the sandbox recipient and replay live probes."} EOF <env-var>=<guest-path> python3 -I <guest-path> --validate 2>&1 | tail -5; python3 -I -m json.tool .coldpass/report.json >/dev/null && echo ok'"'"''
What failed: Requires a user Bird API key; the offline behavior verified is the documented BirdError when no key is configured.
Suggested fix: Provide a Bird API key (BIRD_API_KEY) in the guest to run quickstart-email.py against the sandbox recipient and replay live probes.
Test history
- Nov 17, 2026 · 0e937d75b937 · linux / Haiku 5.5 · needs a key or login we did not have · run JSON
Does it do what the README says?0 of 2 claims held up. A claim is one README promise we ran and checked.Evidence
No claim held up.
Which checks were skipped?2 checks skipped.Reasons
Skipped checks count as neither passes nor failures.
- Official Python SDK for the Bird API covering email, SMS, WhatsApp, verification and Realtime: prerequisite
- Bird() with no arguments works when BIRD_API_KEY is set: prerequisite
Does the repo’s own CI pass?Success.GitHub checks
GitHub’s check status for the default branch at the commit we tested. We did not run their CI.
Needs keys, a login or a browser?Yes.Details
credentials
What does it depend on?python3 3.12.3, pip/venv, httpx and pydantic via pyprojectDependencies
Software the test agent reported the README needed.
Local or hosted?Local: runs on your machineHow we tell
From the README and the endpoint we tested.
Is the README accurate?Yes.Deviations
No step differed.
What did it do when we ran it?Nothing unexpected seen during our run.What we saw
Linux / Haiku
- Nothing unexpected in the trace for this setup.
Linux / Luna
- Nothing unexpected in the trace for this setup.
- While installing, git-remote-https looked up github.com.
- While installing, python looked up files.pythonhosted.org, pypi.org.
- We found no known-malicious packages among the 20 Python and npm packages we observed (checked against OSV malicious-package advisories).
No OSV malware advisory for its pinned dependencies. OSV reads supported lockfiles only; unpinned dependencies and other formats are outside this check.
We found no compiled programs in its files.
What we checked: OSV vulnerability and malware advisories for pinned dependencies, secret-pattern scanning (gitleaks), compiled files shipped in the repo, and the connection attempts, file writes and credential-file reads we traced from repo processes while we installed and ran it. Expected package-manager and cache activity is left out. Where a setup's record is missing, capped or cut short, it says so above, and these checks may not have run for it.
What we didn't check: host name lookups; whether a connection got through; other UDP traffic; environment variables it read; minified JavaScript; programs packed inside archives or Git LFS; or what the code is meant to do.
A quiet run is not a safety guarantee.
Is it maintained?MaintainedActivity
actively maintained: last commit 0 days ago; 133 commits and 0 merged PRs in 90 days; 1 open issues, 0 open PRs; latest release 2026-11-17
AboutStars: 0 · Forks: 0 · Contributors: 2 · Owner account since Jun 30, 2014Source
Recorded GitHub repository and owner account metadata.
LicenseSPDX: MIT · commercial use: yesSource
From GitHub’s license detection. The repository’s license text gives the terms.
Cost to runNeeds a key or login (BIRD_API_KEY)Details
Peak guest RAM: not captured
Guest disk change: not captured
GPU need: not captured
Paid service: not captured