@actagent/zalouser
v2026.6.5
Published
ACTAgent Zalo Personal Account plugin via native zca-js integration.
Readme
@actagent/zalouser
ACTAgent extension for Zalo Personal Account messaging via native zca-js integration.
Warning: Using Zalo automation may result in account suspension or ban. Use at your own risk. This is an unofficial integration.
Features
- Channel plugin integration with setup wizard + QR login
- In-process listener/sender via
zca-js(no external CLI) - Multi-account support
- Agent tool integration (
zalouser) - DM/group policy support
Prerequisites
- ACTAgent Gateway
- Zalo mobile app (for QR login)
No external zca, openzca, or zca-cli binary is required.
Install
Option A: npm
actagent plugins install @actagent/zalouserOption B: local source checkout
PLUGIN_SRC=./path/to/local/zalouser-plugin
actagent plugins install "$PLUGIN_SRC"
cd "$PLUGIN_SRC" && pnpm installRestart the Gateway after install.
Quick start
Login (QR)
actagent channels login --channel zalouserScan the QR code with the Zalo app on your phone.
Enable channel
channels:
zalouser:
enabled: true
dmPolicy: pairing # pairing | allowlist | open | disabledSend a message
actagent message send --channel zalouser --target <threadId> --message "Hello from ACTAgent"Configuration
Basic:
channels:
zalouser:
enabled: true
dmPolicy: pairingMulti-account:
channels:
zalouser:
enabled: true
defaultAccount: default
accounts:
default:
enabled: true
profile: default
work:
enabled: true
profile: workUseful commands
actagent channels login --channel zalouser
actagent channels login --channel zalouser --account work
actagent channels status --probe
actagent channels logout --channel zalouser
actagent directory self --channel zalouser
actagent directory peers list --channel zalouser --query "name"
actagent directory groups list --channel zalouser --query "work"
actagent directory groups members --channel zalouser --group-id <id>Agent tool
The extension registers a zalouser tool for AI agents.
Available actions: send, image, link, friends, groups, me, status
Troubleshooting
- Login not persisted:
actagent channels logout --channel zalouser && actagent channels login --channel zalouser - Probe status:
actagent channels status --probe - Name resolution issues (allowlist/groups): use numeric IDs or exact Zalo names
Credits
Built on zca-js.
