Quick Start
Commands
Gateway Management
| Command | Description | Example |
|---|---|---|
praisonai gateway start | Start the gateway server | praisonai gateway start --port 9000 |
praisonai gateway status | Check gateway and daemon status | praisonai gateway status --daemon-only |
praisonai gateway channels | List configured channels | praisonai gateway channels --json |
Daemon Service
| Command | Description | Example |
|---|---|---|
praisonai gateway install | Install as OS daemon | praisonai gateway install --no-start |
praisonai gateway uninstall | Remove daemon service | praisonai gateway uninstall |
praisonai gateway logs | Show daemon logs | praisonai gateway logs -n 100 |
Testing & Debugging
| Command | Description | Example |
|---|---|---|
praisonai gateway send | Send test message | praisonai gateway send --channel telegram --channel-id 12345 -m "test" |
Command Reference
- start
- status
- channels
Status Output Examples
Healthy Gateway
Daemon Issues
Not Installed
Platform Support
Gateway CLI works across platforms with native daemon integration:| Platform | Service Type | Log Location | Management |
|---|---|---|---|
| macOS | LaunchAgent | ~/.praisonai/logs/bot-stderr.log | launchctl |
| Linux | systemd user service | journalctl --user -u praisonai | systemctl --user |
| Windows | Scheduled Task | Windows Event Log | Task Scheduler |
Configuration Files
- agents.yaml
- gateway.yaml
Best Practices
Use daemon-only for health checks
Use daemon-only for health checks
Use
--daemon-only flag when monitoring daemon status in scripts or CI/CD pipelines to avoid gateway connection attempts.Check logs for troubleshooting
Check logs for troubleshooting
Always check
praisonai gateway logs when the daemon is running but gateway is unreachable - this reveals startup errors.Test channel configuration
Test channel configuration
Use
praisonai gateway send to test channel bot configuration before deploying to production environments.Monitor daemon status regularly
Monitor daemon status regularly
Set up monitoring that runs
praisonai gateway status --daemon-only to detect service failures quickly.Related
Gateway Server
Gateway architecture and configuration
Troubleshooting
Common gateway issues and solutions

