Skip to main content

LlamaIndex Tools Integration: Humanless

Identity for AI agents. Humanless gives agents email inboxes with parsed OTP codes and magic links, TOTP, authenticator import (QR / otpauth / setup key) and backup codes, so an agent can finish sign-up, login and 2FA on apps you own or are authorized to test.

pip install llama-index-tools-humanless
export HUMANLESS_API_KEY=hl_live_...   # prefer a scoped per-agent key

Usage

from llama_index.tools.humanless import HumanlessToolSpec
from llama_index.core.agent.workflow import FunctionAgent

spec = HumanlessToolSpec()             # or HumanlessToolSpec(api_key="hl_live_...")
agent = FunctionAgent(tools=spec.to_tool_list(), llm=llm)   # llm: any function-calling LLM
response = await agent.run("Create an inbox, sign up at https://staging.example.com and verify the email.")

Each tool returns the text the model reads; API errors come back as Error <status> <code>: ... so the agent can recover.

Tools

Tool What it does
create_verification_identity New disposable email inbox and/or TOTP secret (channels: email, totp)
wait_for_verification_code Block until the next email arrives; returns the parsed OTP code and/or magic link
get_totp_code Current TOTP code (identity secret, or an imported authenticator by authenticator_id / issuer)
enroll_authenticator Import a site's 2FA setup from an otpauth:// URI, base32 setup key or QR image (base64)
list_authenticators Imported authenticators (never secrets)
get_authenticator_code Current (and near rollover, next) code of an imported authenticator
store_backup_codes / use_backup_code Save a site's recovery codes; hand them out one at a time
revoke_authenticator Destroy an imported authenticator and its backup codes
delete_verification_identity Delete an identity when done
list_identities Identities this key can use

Names and descriptions match the Humanless remote MCP server (https://api.usehumanless.com/mcp). Pick a subset with include=[...] / exclude=[...]. Prefer a scoped per-agent key (POST /v1/keys with scope="identities"); every call shows up in the account audit log.

Try it free: POST https://api.usehumanless.com/v1/sandbox/keys mints a 1-hour sandbox key (email/TOTP only, at most 5 identities, only receives mail from the demo app at https://api.usehumanless.com/demo/acme). Each package has a from_sandbox() / sandbox=True helper. HumanlessToolSpec.from_sandbox().

Use policy

Use Humanless only for apps and accounts you own or are authorized to use or test. Never create bulk or fake accounts, and never use it to bypass someone else's verification.

Metadata

Release files for llama-index-tools-humanless 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 llama-index-tools-humanless 0.1.0
File Size Uploaded Provenance Actions
llama_index_tools_humanless-0.1.0.tar.gz 5.9 kB Without provenance Details for llama_index_tools_humanless-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-tools-humanless 0.1.0
File Interpreter ABI Platform Actions
llama_index_tools_humanless-0.1.0-py3-none-any.whl Python 3 none any Details for llama_index_tools_humanless-0.1.0-py3-none-any.whl

Total release size: 11.6 kB

Release files / llama_index_tools_humanless-0.1.0.tar.gz

Download URL llama_index_tools_humanless-0.1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
60119ff7447f8803f692e9b5d2f554108eb2e2b398ca5a0e99df259010efc2d3
BLAKE2b-256 checksum
How to use checksums
86b75b7ffbbae1fc99e45eed467f1fd41c672ce2be3d02b19c80c61ced744e75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

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

Download URL llama_index_tools_humanless-0.1.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d52e8011479f42a9d25cfdfd4db4d54e98de6dd00adb0a5035cc081f913383e9
BLAKE2b-256 checksum
How to use checksums
55fd98f101b45fe68ae86b2f80eccc8a889a2f8714fe58d2a4f9186e7f036723
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

Security for llama-index-tools-humanless 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

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