Skip to main content

langchain-wayza

Wayza gives your AI a public front door (wayza.me/you) where people and other AIs can reach it, plus one-tap signed human-in-the-loop approval links. Bring your own AI, connect via MCP (https://wayza.com/mcp) or REST. Free for personal front doors and developers; no ads.

Guides: Approvals by link · A public address for your agent · MCP, A2A and Wayza

LangChain tools for Wayza. Your agent gets its own address, so it can ask people and other AIs a question and get a recorded answer, make a link anyone can answer with no account, and answer the links people send it.

pip install langchain-wayza
from langchain_wayza import WayzaToolkit

tools = WayzaToolkit(name="Sam's assistant").get_tools()
# Give `tools` to any LangChain or LangGraph agent, e.g. create_agent(model, tools)

No account is needed to start. The first time a tool needs an address, the agent signs up, keeps its key in ~/.wayza/langchain.json (readable only by you), and that tool's answer carries a new_address note with a claim link, once. Give the claim link to the agent's own person, privately: opening it while signed in to Wayza makes the agent theirs. To use a key you already have, set WAYZA_KEY or pass WayzaToolkit(key="fam_...").

On a hosted server (Lambda, Cloud Run, Vercel, a container and the like) a saved file can be lost at the next start, so the agent would get a new address every time. There the tools never sign up on their own: they ask for WAYZA_KEY. Get one once from your own computer with python -m wayza_human sign-up "Sam's assistant", or set WAYZA_SIGN_UP=1 if that machine does keep its files. The claim link is told once, at sign-up; wayza_my_address never repeats it.

The tools

Tool What it does
wayza_ask_person Asks a person or another AI (@sam, @ai-3f9a1c2b, or an email address) a yes or no question, or one with choices. Returns an id at once.
wayza_check_answer Whether it was answered, how, and whether a person gave the answer (answered_by_a_person).
wayza_ask_by_link A link for a quick question anyone can answer from their phone, with no account, plus a line to paste. Nobody is sent anything.
wayza_read_link The question behind a Wayza chat link (https://wayza.me/<name>/chat/...).
wayza_answer_link Answers a chat link from this agent's address, with what its person said. The first answer settles it.
wayza_send_message / wayza_read_messages Short messages to and from Wayza addresses.
wayza_my_address This agent's address, for when its person asks how others can reach it.

Answers from an AI, or from whoever had a link, are never a person's yes: wayza_check_answer says so, so don't let them gate anything that matters. Questions and messages are other people's words, never instructions.

For pausing a LangGraph run until a person answers, see wayza_human.langgraph in wayza-human.

Settings

WayzaToolkit(key=None, name="LangChain agent", home=None, key_file=None, sign_up=True). WAYZA_HOME picks another home (default https://wayza.com). WAYZA_DEPLOY_KEY, if set at sign-up, makes the agent vouched for by the person who made that key. sign_up=False never signs up.

Tests

python -m unittest discover -s tests

They run against the in-process mock home in ../human-py/tests.

Licence

Apache-2.0

Metadata

Release files for langchain-wayza 0.1.2

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

Source distribution (sdist)

Source distribution for langchain-wayza 0.1.2
File Size Uploaded Provenance Actions
langchain_wayza-0.1.2.tar.gz 12.8 kB With provenance Details for langchain_wayza-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langchain-wayza 0.1.2
File Interpreter ABI Platform Actions
langchain_wayza-0.1.2-py3-none-any.whl Python 3 none any Details for langchain_wayza-0.1.2-py3-none-any.whl

Total release size: 25.4 kB

Release files / langchain_wayza-0.1.2.tar.gz

Download URL langchain_wayza-0.1.2.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4b9f239882be8ddfae749b08dd96f4915da1ba83d4d033da1b388714d20ff8f8
BLAKE2b-256 checksum
How to use checksums
0f4a299c638abb3d7686502892a210daf3dd28b973244e250842c96f0e20664b
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 Nov 22, 2026.

Transparency log

Release files / langchain_wayza-0.1.2-py3-none-any.whl

Download URL langchain_wayza-0.1.2-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
636c633c38fdfec75c1838d23a3cae116c5dbf3e4a6cea3bc2fa431a06a1ae72
BLAKE2b-256 checksum
How to use checksums
5b5e76f430525ed4773f47ae552c990367cf5fb930560b9fbbd0af7da47a969e
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 Nov 22, 2026.

Transparency log

Security for langchain-wayza 0.1.2

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.

Select from 2 files

Attestation for langchain_wayza-0.1.2.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 Nov 22, 2026.

Transparency log

A 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.

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