Chat
Read and send in channels and DMs, interactive screen, talk with agents, incoming webhooks (co chat)
co chat uses channels and DMs from the terminal. Run co chat alone, without arguments, to open the interactive screen.
Use it to check and answer mentions in the terminal without opening the app, to send notifications such as deploy results to a channel from a script, and to let an AI agent answer mentions.
All options are in co chat <command> --help.
Read and send
co chat # interactive screen (= co chat open)
co chat list # channels, DMs and agent conversations I belong to
co chat view general -n 50
co chat inbox # mentions of me, thread replies, DMs
co chat send general "Deploy finished"
co chat send @alice -m "Could you review this?"
co chat send general --thread <message id> "Got it"
git log -1 --oneline | co chat send devWith agents
co chat ask "Summarize the open issues in this sprint" # ask an agent and print the answer
git diff | co chat ask "Review this change"
co chat watch --all --mentions-only # new messages in real time (for an agent answering mentions)
co chat card <channel id> --set priority=high --run # run a card the agent proposed
co chat approve <run id> <step> # approve agent work (reject to decline)Outside a terminal, co chat open <channel> opens in line mode. It prints new messages and sends each line of standard input as a message. Without a channel it fails, because there is no way to pick one.
Other commands
| Command | What it does |
|---|---|
| create · invite | Create a channel, invite people (or a webhook bot) |
| edit · delete · react · pin | Edit or delete my messages, react, pin |
| unread | Unread counts |
| webhook | Channel incoming webhooks: list, create, edit, delete. See Incoming webhooks |
A webhook secret is shown only once, when it is created. It is also in the --json output, so if you saved that to a file, do not commit it.