浏览 1.1.1 文档
1.1.1

ait-agent — 完整参考

配置、查看并管理可选的 Telegram、LINE、Discord 和 Slack 传输 worker。

适用人群: 开发者、集成维护者与运维

作用边界#

用途: 配置、查看并管理可选的 Telegram、LINE、Discord 和 Slack 传输 worker。

覆盖: ait-agent 共给出 43 个公开 help surface。

这一页原样保留被准入的 1.1.1 可执行文件输出,由校验和绑定的发布二进制 生成,包含它给出的每一个参数、选项、默认值、可选值、冲突关系和必填要求。

完整命令树#

代码 · text
ait-agent
ait-agent telegram
ait-agent telegram add
ait-agent telegram list
ait-agent telegram status
ait-agent telegram start
ait-agent telegram stop
ait-agent telegram restart
ait-agent telegram logs
ait-agent telegram remove
ait-agent telegram supervisor
ait-agent telegram supervisor status
ait-agent telegram supervisor start
ait-agent telegram supervisor run
ait-agent telegram supervisor stop
ait-agent telegram supervisor restart
ait-agent line
ait-agent line add
ait-agent line list
ait-agent line status
ait-agent line start
ait-agent line stop
ait-agent line restart
ait-agent line logs
ait-agent line remove
ait-agent discord
ait-agent discord add
ait-agent discord list
ait-agent discord status
ait-agent discord start
ait-agent discord stop
ait-agent discord restart
ait-agent discord logs
ait-agent discord remove
ait-agent slack
ait-agent slack add
ait-agent slack list
ait-agent slack status
ait-agent slack start
ait-agent slack stop
ait-agent slack restart
ait-agent slack logs
ait-agent slack remove

原样输出的 help#

ait-agent#

代码 · text
Run optional ait external runtime workers.

Usage: ait-agent <COMMAND>

Commands:
  telegram  Run and configure Telegram agent workers.
  line      Run and configure LINE agent workers.
  discord   Run and configure Discord agent workers.
  slack     Run and configure Slack agent workers.
  help      Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

说明

运行可选的 ait 外部运行时 worker。

参数 / 选项说明
telegram运行并配置 Telegram agent worker。
line运行并配置 LINE agent worker。
discord运行并配置 Discord agent worker。
slack运行并配置 Slack agent worker。
help打印本消息或给定子命令的帮助
-h, --help打印帮助
-V, --version打印版本

ait-agent telegram#

代码 · text
Run and configure Telegram agent workers.

Usage: ait-agent telegram [OPTIONS] [COMMAND]

Commands:
  add         Add or update a named Telegram worker config.
  list        List named Telegram worker configs.
  status      Show named Telegram worker runtime status.
  start       Start a named Telegram worker in daemon mode.
  stop        Stop a named Telegram worker.
  restart     Stop and restart a named Telegram worker in daemon mode.
  logs        Read the last N lines from a named Telegram worker's log.
  remove      Remove a named Telegram worker config.
  supervisor  Supervise configured Telegram workers.
  help        Print this message or the help of the given subcommand(s)

Options:
      --mode <MODE>      [default: polling] [possible values: polling, webhook]
      --worker <WORKER>  [default: main]
  -h, --help             Print help

说明

运行并配置 Telegram agent worker。

参数 / 选项说明
add添加或更新一个命名的 Telegram worker 配置。
list列出命名的 Telegram worker 配置。
status显示指定名称 Telegram worker 的运行时状态。
start以守护进程模式启动一个指定名称的 Telegram worker。
stop停止一个指定名称的 Telegram worker。
restart以守护进程模式停止并重启一个指定名称的 Telegram worker。
logs读取指定名称 Telegram worker 日志的最后 N 行。
remove删除一个命名的 Telegram worker 配置。
supervisor监管已配置的 Telegram worker。
help打印本消息或给定子命令的帮助
--mode <MODE>[default: polling] [possible values: polling, webhook]
--worker <WORKER>[default: main]
-h, --help打印帮助

ait-agent telegram add#

代码 · text
Add or update a named Telegram worker config.

Usage: ait-agent telegram add [OPTIONS] --token <TOKEN> <NAME>

Arguments:
  <NAME>  

Options:
      --token <TOKEN>                      
      --username <USERNAME>                
      --sync-state-path <SYNC_STATE_PATH>  
      --pid-file <PID_FILE>                
      --log-file <LOG_FILE>                
      --env-path <ENV_PATH>                
      --json                               
  -h, --help                               Print help

说明

添加或更新一个命名的 Telegram worker 配置。

参数 / 选项说明
-h, --help打印帮助

ait-agent telegram list#

代码 · text
List named Telegram worker configs.

Usage: ait-agent telegram list [OPTIONS]

Options:
      --json  
  -h, --help  Print help

说明

列出命名的 Telegram worker 配置。

参数 / 选项说明
-h, --help打印帮助

ait-agent telegram status#

代码 · text
Show named Telegram worker runtime status.

Usage: ait-agent telegram status [OPTIONS] [NAME]

Arguments:
  [NAME]  

Options:
      --json  
  -h, --help  Print help

说明

显示指定名称 Telegram worker 的运行时状态。

参数 / 选项说明
-h, --help打印帮助

ait-agent telegram start#

代码 · text
Start a named Telegram worker in daemon mode.

Usage: ait-agent telegram start [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

以守护进程模式启动一个指定名称的 Telegram worker。

参数 / 选项说明
-h, --help打印帮助

ait-agent telegram stop#

代码 · text
Stop a named Telegram worker.

Usage: ait-agent telegram stop [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

停止一个指定名称的 Telegram worker。

参数 / 选项说明
-h, --help打印帮助

ait-agent telegram restart#

代码 · text
Stop and restart a named Telegram worker in daemon mode.

Usage: ait-agent telegram restart [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

以守护进程模式停止并重启一个指定名称的 Telegram worker。

参数 / 选项说明
-h, --help打印帮助

ait-agent telegram logs#

代码 · text
Read the last N lines from a named Telegram worker's log.

Usage: ait-agent telegram logs [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --lines <LINES>  [default: 100]
      --json           
  -h, --help           Print help

说明

读取指定名称 Telegram worker 日志的最后 N 行。

参数 / 选项说明
--lines <LINES>[default: 100]
-h, --help打印帮助

ait-agent telegram remove#

代码 · text
Remove a named Telegram worker config.

Usage: ait-agent telegram remove [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

删除一个命名的 Telegram worker 配置。

参数 / 选项说明
-h, --help打印帮助

ait-agent telegram supervisor#

代码 · text
Supervise configured Telegram workers.

Usage: ait-agent telegram supervisor <COMMAND>

Commands:
  status   Show runtime status for all Telegram workers.
  start    Start all configured Telegram workers.
  run      Continuously start stopped Telegram workers at an interval.
  stop     Stop all running Telegram workers.
  restart  Restart all Telegram workers.
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

说明

监管已配置的 Telegram worker。

参数 / 选项说明
status显示所有 Telegram worker 的运行时状态。
start启动所有已配置的 Telegram worker。
run按固定间隔持续启动已停止的 Telegram worker。
stop停止所有运行中的 Telegram worker。
restart重启所有 Telegram worker。
help打印本消息或给定子命令的帮助
-h, --help打印帮助

ait-agent telegram supervisor status#

代码 · text
Show runtime status for all Telegram workers.

Usage: ait-agent telegram supervisor status [OPTIONS]

Options:
      --json  
  -h, --help  Print help

说明

显示所有 Telegram worker 的运行时状态。

参数 / 选项说明
-h, --help打印帮助

ait-agent telegram supervisor start#

代码 · text
Start all configured Telegram workers.

Usage: ait-agent telegram supervisor start [OPTIONS]

Options:
      --json  
  -h, --help  Print help

说明

启动所有已配置的 Telegram worker。

参数 / 选项说明
-h, --help打印帮助

ait-agent telegram supervisor run#

代码 · text
Continuously start stopped Telegram workers at an interval.

Usage: ait-agent telegram supervisor run [OPTIONS]

Options:
      --interval-seconds <INTERVAL_SECONDS>  [default: 30]
      --once                                 
      --json                                 
  -h, --help                                 Print help

说明

按固定间隔持续启动已停止的 Telegram worker。

参数 / 选项说明
--interval-seconds <INTERVAL_SECONDS>[default: 30]
-h, --help打印帮助

ait-agent telegram supervisor stop#

代码 · text
Stop all running Telegram workers.

Usage: ait-agent telegram supervisor stop [OPTIONS]

Options:
      --json  
  -h, --help  Print help

说明

停止所有运行中的 Telegram worker。

参数 / 选项说明
-h, --help打印帮助

ait-agent telegram supervisor restart#

代码 · text
Restart all Telegram workers.

Usage: ait-agent telegram supervisor restart [OPTIONS]

Options:
      --json  
  -h, --help  Print help

说明

重启所有 Telegram worker。

参数 / 选项说明
-h, --help打印帮助

ait-agent line#

代码 · text
Run and configure LINE agent workers.

Usage: ait-agent line <COMMAND>

Commands:
  add      Add or update a named LINE worker config.
  list     
  status   
  start    
  stop     
  restart  
  logs     
  remove   
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

说明

运行并配置 LINE agent worker。

参数 / 选项说明
add添加或更新一个命名的 LINE worker 配置。
help打印本消息或给定子命令的帮助
-h, --help打印帮助

ait-agent line add#

代码 · text
Add or update a named LINE worker config.

Usage: ait-agent line add [OPTIONS] --token <TOKEN> --secret <SECRET> <NAME>

Arguments:
  <NAME>  

Options:
      --token <TOKEN>                      
      --secret <SECRET>                    
      --sync-state-path <SYNC_STATE_PATH>  
      --pid-file <PID_FILE>                
      --log-file <LOG_FILE>                
      --env-path <ENV_PATH>                
      --json                               
  -h, --help                               Print help

说明

添加或更新一个命名的 LINE worker 配置。

参数 / 选项说明
-h, --help打印帮助

ait-agent line list#

代码 · text
Usage: ait-agent line list [OPTIONS]

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent line status#

代码 · text
Usage: ait-agent line status [OPTIONS] [NAME]

Arguments:
  [NAME]  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent line start#

代码 · text
Usage: ait-agent line start [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent line stop#

代码 · text
Usage: ait-agent line stop [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent line restart#

代码 · text
Usage: ait-agent line restart [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent line logs#

代码 · text
Usage: ait-agent line logs [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --lines <LINES>  [default: 100]
      --json           
  -h, --help           Print help

说明

参数 / 选项说明
--lines <LINES>[default: 100]
-h, --help打印帮助

ait-agent line remove#

代码 · text
Usage: ait-agent line remove [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent discord#

代码 · text
Run and configure Discord agent workers.

Usage: ait-agent discord <COMMAND>

Commands:
  add      Add or update a named Discord worker config.
  list     
  status   
  start    
  stop     
  restart  
  logs     
  remove   
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

说明

运行并配置 Discord agent worker。

参数 / 选项说明
add添加或更新一个命名的 Discord worker 配置。
help打印本消息或给定子命令的帮助
-h, --help打印帮助

ait-agent discord add#

代码 · text
Add or update a named Discord worker config.

Usage: ait-agent discord add [OPTIONS] --application-id <APPLICATION_ID> --bot-token <BOT_TOKEN> <NAME>

Arguments:
  <NAME>  

Options:
      --application-id <APPLICATION_ID>    
      --bot-token <BOT_TOKEN>              
      --sync-state-path <SYNC_STATE_PATH>  
      --pid-file <PID_FILE>                
      --log-file <LOG_FILE>                
      --env-path <ENV_PATH>                
      --json                               
  -h, --help                               Print help

说明

添加或更新一个命名的 Discord worker 配置。

参数 / 选项说明
-h, --help打印帮助

ait-agent discord list#

代码 · text
Usage: ait-agent discord list [OPTIONS]

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent discord status#

代码 · text
Usage: ait-agent discord status [OPTIONS] [NAME]

Arguments:
  [NAME]  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent discord start#

代码 · text
Usage: ait-agent discord start [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent discord stop#

代码 · text
Usage: ait-agent discord stop [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent discord restart#

代码 · text
Usage: ait-agent discord restart [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent discord logs#

代码 · text
Usage: ait-agent discord logs [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --lines <LINES>  [default: 100]
      --json           
  -h, --help           Print help

说明

参数 / 选项说明
--lines <LINES>[default: 100]
-h, --help打印帮助

ait-agent discord remove#

代码 · text
Usage: ait-agent discord remove [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent slack#

代码 · text
Run and configure Slack agent workers.

Usage: ait-agent slack <COMMAND>

Commands:
  add      Add or update a named Slack worker config.
  list     
  status   
  start    
  stop     
  restart  
  logs     
  remove   
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

说明

运行并配置 Slack agent worker。

参数 / 选项说明
add添加或更新一个命名的 Slack worker 配置。
help打印本消息或给定子命令的帮助
-h, --help打印帮助

ait-agent slack add#

代码 · text
Add or update a named Slack worker config.

Usage: ait-agent slack add [OPTIONS] --app-token <APP_TOKEN> <NAME>

Arguments:
  <NAME>  

Options:
      --app-token <APP_TOKEN>              
      --sync-state-path <SYNC_STATE_PATH>  
      --pid-file <PID_FILE>                
      --log-file <LOG_FILE>                
      --env-path <ENV_PATH>                
      --json                               
  -h, --help                               Print help

说明

添加或更新一个命名的 Slack worker 配置。

参数 / 选项说明
-h, --help打印帮助

ait-agent slack list#

代码 · text
Usage: ait-agent slack list [OPTIONS]

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent slack status#

代码 · text
Usage: ait-agent slack status [OPTIONS] [NAME]

Arguments:
  [NAME]  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent slack start#

代码 · text
Usage: ait-agent slack start [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent slack stop#

代码 · text
Usage: ait-agent slack stop [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent slack restart#

代码 · text
Usage: ait-agent slack restart [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

ait-agent slack logs#

代码 · text
Usage: ait-agent slack logs [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --lines <LINES>  [default: 100]
      --json           
  -h, --help           Print help

说明

参数 / 选项说明
--lines <LINES>[default: 100]
-h, --help打印帮助

ait-agent slack remove#

代码 · text
Usage: ait-agent slack remove [OPTIONS] <NAME>

Arguments:
  <NAME>  

Options:
      --json  
  -h, --help  Print help

说明

参数 / 选项说明
-h, --help打印帮助

抓取来源#

  • 产品版本:1.1.1
  • 二进制版本:ait-agent 1.1.1
  • 二进制 SHA-256:d0eb40a320e320bbefefd4faa11bdcfa0bac3fe1bff4cc3b1752de26983dc6d6
  • 抓取日期:2026-09-02

版本权威

对照 1.1.1 源码逐条核对

这一页是公开文档,不是第二份产品契约。要确认发布权威,请以确切的源码和分发契约为准。

所属组件 Snapshot
  • ait-coreSNP-ED7593DBF982
  • ait-serverSNP-0CCD7DD2A077
  • ait-runnerSNP-35C9C133D2EE
  • ait-pythonSNP-756C731A4CC0
  • ait-nodeSNP-55E90D0A81F1