Skip to main content

langchain-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_...").

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

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.0
File Size Uploaded Provenance
langchain_wayza-0.1.0.tar.gz 12.8 kB With provenance Details

Built distribution (wheel)

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

Total release size: 25.9 kB

Release files / langchain_wayza-0.1.0.tar.gz

Download URL langchain_wayza-0.1.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a3a13f28391b7ed2e28c7e9ea30584cb4543f6b7a6e7f2c2c83e75cc05bfd208
BLAKE2b-256 checksum
How to use checksums
2d53cad4ee7c3f35fb930b5726d267927c1c504b549861e35804d95c692235e6
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 20, 2026.

Transparency log

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

Download URL langchain_wayza-0.1.0-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56b0fe0ed946862848fe92a203d957f9275c8fc4e76fa5afedef4907e3d5bbec
BLAKE2b-256 checksum
How to use checksums
82cd3ee6683d880d9e4955d86398bbe6ec1565c5f447a9c5cac047879dfdd5f2
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 20, 2026.

Transparency log

Security for langchain-wayza 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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for langchain_wayza-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 20, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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