Agentis Pay CLI — interact with Pix accounts via Bipa, with MCP support for agent workflows
Project description
agentis-pay
Install
Build and install the CLI locally with:
./scripts/install-agentis-pay.sh
Options:
--bin-dirto change the binary destination (default:~/.local/bin).- Shell completion installation is currently not bundled in this CLI package.
Usage
Discover available commands with:
agentis-pay --help
agentis-pay pay --help
Example commands:
agentis-pay signup --email user@example.com --cpf 123.456.78901 --phone "+55 (11) 99999 0000"
agentis-pay pay --key 12345678901 --amount 12,34 --note "coffee"
agentis-pay pay --key 12345678901 --amount-cents 1234 --note "coffee"
agentis-pay keys
agentis-pay history --limit 10
MCP
Install and run the MCP server in read-only mode (default):
agentis-pay login
agentis-pay mcp install --client claude --mode readonly
The generated JSON can be pasted directly into Claude Desktop config.
For local MCP clients, agentis-pay mcp serve automatically reuses the session already saved by the CLI in ~/.agentis-pay/credentials.json, including refreshable auth state and the persisted installation/device identity.
The MCP command surface intentionally exposes only:
agentispay_signupagentispay_loginagentispay_whoamiagentispay_statusagentispay_accountagentispay_balanceagentispay_historyagentispay_depositagentispay_limitsagentispay_pix_lookupagentispay_pay(and optional aliasagentispay_pix_send)
Trust-related tools are intentionally omitted from MCP for now.
Most local agents should use the saved-login flow above and avoid embedding JWTs in config files. For advanced cases, MCP still supports explicit env overrides:
AGENTIS_PAY_OUTPUT=json \
AGENTIS_PAY_JWT=<token> \
AGENTIS_PAY_AGENT_NAME=<name> \
AGENTIS_PAY_DEVICE_ID=<device-id> \
agentis-pay mcp serve --stdio --mode readonly
To allow payment execution, run MCP in write mode:
agentis-pay mcp serve --stdio --mode write
Include a request_id and optional idempotency_key for production-safe retries:
{
"name": "agentispay_pay",
"arguments": {
"key": "alice@pix",
"amount_cents": 1250,
"request_id": "request-123e4567",
"idempotency_key": "idem-123e4567"
}
}
agentispay_pay returns the transfer result:
{
"request_id": "request-123e4567",
"status": "paid",
"key": "alice@pix",
"owner_name": "Alice Cooper",
"key_type": "pix",
"amount_cents": 1250,
"amount_brl": "R$ 12.50",
"note": ""
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 agentis_pay-0.1.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: agentis_pay-0.1.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.9 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5753384b27dc4c67e03e3f8264ea12237e00c17e8d23103a8e08894333eff5af
|
|
| MD5 |
078ec02dd8037a4a40a3d635371d4d2c
|
|
| BLAKE2b-256 |
7e0d861a51c8a36c8019a5ba329e2e18fcfdf9bd15a328b56da8174bc981162e
|