Automated authentication for web agents
Project description
AgentAuth
AgentAuth is a Python package that helps automate web authentication. It supports various authentication methods including email magic links, email verification codes, TOTP, and standard username/password login.
Usage
from agentauth import AgentAuth
aa = AgentAuth(
credentials_file="credentials.json",
IMAP_SERVER="imap.example.com",
IMAP_USERNAME="agent@example.com",
IMAP_PASSWORD="agent_email_password"
)
cookies = await aa.auth(
"https://example.com",
"agent@example.com",
cdp_url="wss://..." # Optional, but services like Browserbase are helpful to avoid bot detection
)
# Use cookies for authenticated agent actions
To Do
- Look at package managers
- Add license
- Add example: browser-use
- Add example: playwright
- Add example: browserbase (cdp)
- Publish to pip
- Add 1Password integration
- Add Bitwarden integration
- Use local LLM for email scanning
- Allow other LLMs
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
agentauth-0.1.0.tar.gz
(105.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentauth-0.1.0.tar.gz.
File metadata
- Download URL: agentauth-0.1.0.tar.gz
- Upload date:
- Size: 105.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.29
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b826dbb6e89ae63b690bc9e27553f8ea78daca372e22d7b451de042eaa6797c2
|
|
| MD5 |
cac73c42dd70996577385769c6756131
|
|
| BLAKE2b-256 |
2ecbeb3a31d742274eb55129704e5e47c404df2f03ba4f9f4b72ae01ae240e01
|
File details
Details for the file agentauth-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentauth-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.29
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54e018b6117245c78cb8e6dbe0fc7f0677815b5f0007cb1d8cdc3ef62fe4105f
|
|
| MD5 |
9ea1db278a059416c48b266e5155a78e
|
|
| BLAKE2b-256 |
1f01af413aafbd6de4f9d93616849b6c9f99aed5144abbd697e5ee0fc02605bf
|