Connect Messaging Apps

Connect your agent to a messaging app so you can text the agent from your phone or workspace.

lnk agent start
lnk agent connect telegram

Choose an App

Use a bot or app of your own on Telegram, Slack, Discord, or Signal. Each app's connection guide explains the account, credentials, and pairing steps the app needs.

lnk agent connect telegram|slack|discord|signal

Pair Your Agent

A running agent keeps answering its other connections and its terminal while the pairing code waits, and restarts with the new connection once you're paired. Connecting a connection the agent already has stops the agent while you pair, since the agent could answer the code itself. So does linking a connection that makes the agent a device, such as Signal. Each starts the agent again after. Connecting asks before it stops the agent, and answering no changes nothing.

Replace an Expired Code

A pairing code waits ten minutes. An expired code says so. Run the same lnk agent connect again to make a new code.

Select Another Agent

Give each agent its own bot or app, and use --agent to select the agent you want to connect. The connection's setup and conversation history belong to that agent.

lnk agent connect telegram --agent work

Share a Conversation

Grant a group access to your agent, and end that access, with Share a Conversation. Chat covers conversations in this terminal.

Receive Service Events

A service or script posts signed events to your agent through a webhook. Each webhook has its own identity and secret, and its posts arrive as messages from a service.

Understand Pairing and Shared Access

Owner pairing, shared conversations, and signed service events are in Security. Decisions explains why connections isolate chats and use a bridge for delivery.